DLM
public struct DLM
Client object for interacting with AWS DLM service.
Amazon Data Lifecycle Manager With Amazon Data Lifecycle Manager, you can manage the lifecycle of your AWS resources. You create lifecycle policies, which are used to automate operations on the specified resources. Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM with Amazon EBS, see Automating the Amazon EBS Snapshot Lifecycle in the Amazon EC2 User Guide.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the DLM client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.
Declaration
Swift
public func createLifecyclePolicy(_ input: CreateLifecyclePolicyRequest) -> EventLoopFuture<CreateLifecyclePolicyResponse>
-
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
Declaration
Swift
public func deleteLifecyclePolicy(_ input: DeleteLifecyclePolicyRequest) -> EventLoopFuture<DeleteLifecyclePolicyResponse>
-
Gets summary information about all or the specified data lifecycle policies. To get complete information about a policy, use GetLifecyclePolicy.
Declaration
Swift
public func getLifecyclePolicies(_ input: GetLifecyclePoliciesRequest) -> EventLoopFuture<GetLifecyclePoliciesResponse>
-
Gets detailed information about the specified lifecycle policy.
Declaration
Swift
public func getLifecyclePolicy(_ input: GetLifecyclePolicyRequest) -> EventLoopFuture<GetLifecyclePolicyResponse>
-
Lists the tags for the specified resource.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse>
-
Adds the specified tags to the specified resource.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResponse>
-
Removes the specified tags from the specified resource.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResponse>
-
Updates the specified lifecycle policy.
Declaration
Swift
public func updateLifecyclePolicy(_ input: UpdateLifecyclePolicyRequest) -> EventLoopFuture<UpdateLifecyclePolicyResponse>
-
Undocumented
See moreDeclaration
Swift
public enum GettablePolicyStateValues : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum IntervalUnitValues : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum PolicyTypeValues : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ResourceTypeValues : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RetentionIntervalUnitValues : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SettablePolicyStateValues : String, CustomStringConvertible, Codable