PutBucketLifecycleConfigurationRequest
public struct PutBucketLifecycleConfigurationRequest : AWSShape
Undocumented
-
The key for the payload
Declaration
Swift
public static let payloadPath: String?
-
Declaration
Swift
public static let _xmlNamespace: String?
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the bucket for which to set the configuration.
Declaration
Swift
public let bucket: String
-
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
Declaration
Swift
public let expectedBucketOwner: String?
-
Container for lifecycle rules. You can add as many as 1,000 rules.
Declaration
Swift
public let lifecycleConfiguration: BucketLifecycleConfiguration?
-
Undocumented
Declaration
Swift
public init(bucket: String, expectedBucketOwner: String? = nil, lifecycleConfiguration: BucketLifecycleConfiguration? = nil)
-
Declaration
Swift
public func validate(name: String) throws