View Source AWS.DLM (aws-elixir v1.0.0)

Amazon Data Lifecycle Manager

With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources.

You create lifecycle policies, which are used to automate operations on the specified resources.

Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager with Amazon EBS, see Amazon Data Lifecycle Manager in the Amazon EC2 User Guide.

Summary

Functions

Creates an Amazon Data Lifecycle Manager lifecycle policy.

Deletes the specified lifecycle policy and halts the automated operations that the policy specified.

Gets detailed information about the specified lifecycle policy.

Lists the tags for the specified resource.

Adds the specified tags to the specified resource.

Removes the specified tags from the specified resource.

Functions

Link to this function

create_lifecycle_policy(client, input, options \\ [])

View Source

Creates an Amazon Data Lifecycle Manager lifecycle policy.

Amazon Data Lifecycle Manager supports the following policy types:

* Custom EBS snapshot policy

* Custom EBS-backed AMI policy

* Cross-account copy event policy

* Default policy for EBS snapshots

* Default policy for EBS-backed AMIs

For more information, see Default policies vs custom policies.

If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.

Link to this function

delete_lifecycle_policy(client, policy_id, input, options \\ [])

View Source

Deletes the specified lifecycle policy and halts the automated operations that the policy specified.

For more information about deleting a policy, see Delete lifecycle policies.

Link to this function

get_lifecycle_policies(client, default_policy_type \\ nil, policy_ids \\ nil, resource_types \\ nil, state \\ nil, tags_to_add \\ nil, target_tags \\ nil, options \\ [])

View Source

Gets summary information about all or the specified data lifecycle policies.

To get complete information about a policy, use GetLifecyclePolicy.

Link to this function

get_lifecycle_policy(client, policy_id, options \\ [])

View Source

Gets detailed information about the specified lifecycle policy.

Link to this function

list_tags_for_resource(client, resource_arn, options \\ [])

View Source

Lists the tags for the specified resource.

Link to this function

tag_resource(client, resource_arn, input, options \\ [])

View Source

Adds the specified tags to the specified resource.

Link to this function

untag_resource(client, resource_arn, input, options \\ [])

View Source

Removes the specified tags from the specified resource.

Link to this function

update_lifecycle_policy(client, policy_id, input, options \\ [])

View Source

Updates the specified lifecycle policy.

For more information about updating a policy, see Modify lifecycle policies.