Learn R Programming

paws.storage (version 0.1.12)

dlm: Amazon Data Lifecycle Manager

Description

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.

Usage

dlm(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- dlm(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

create_lifecycle_policyCreates a policy to manage the lifecycle of the specified AWS resources
delete_lifecycle_policyDeletes the specified lifecycle policy and halts the automated operations that the policy specified
get_lifecycle_policiesGets summary information about all or the specified data lifecycle policies
get_lifecycle_policyGets detailed information about the specified lifecycle policy
list_tags_for_resourceLists the tags for the specified resource
tag_resourceAdds the specified tags to the specified resource
untag_resourceRemoves the specified tags from the specified resource
update_lifecycle_policyUpdates the specified lifecycle policy

Examples

Run this code
if (FALSE) {
svc <- dlm()
svc$create_lifecycle_policy(
  Foo = 123
)
}

Run the code above in your browser using DataLab