The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::DLM - Perl Interface to AWS Amazon Data Lifecycle Manager

SYNOPSIS

  use Paws;

  my $obj = Paws->service('DLM');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html) in the Amazon EC2 User Guide.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12

METHODS

CreateLifecyclePolicy

Description => Str
ExecutionRoleArn => Str
PolicyDetails => Paws::DLM::PolicyDetails
State => Str
[Tags => Paws::DLM::TagMap]

Each argument is described in detail in: Paws::DLM::CreateLifecyclePolicy

Returns: a Paws::DLM::CreateLifecyclePolicyResponse instance

Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.

DeleteLifecyclePolicy

PolicyId => Str

Each argument is described in detail in: Paws::DLM::DeleteLifecyclePolicy

Returns: a Paws::DLM::DeleteLifecyclePolicyResponse instance

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

GetLifecyclePolicies

[PolicyIds => ArrayRef[Str|Undef]]
[ResourceTypes => ArrayRef[Str|Undef]]
[State => Str]
[TagsToAdd => ArrayRef[Str|Undef]]
[TargetTags => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::DLM::GetLifecyclePolicies

Returns: a Paws::DLM::GetLifecyclePoliciesResponse instance

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

To get complete information about a policy, use GetLifecyclePolicy.

GetLifecyclePolicy

PolicyId => Str

Each argument is described in detail in: Paws::DLM::GetLifecyclePolicy

Returns: a Paws::DLM::GetLifecyclePolicyResponse instance

Gets detailed information about the specified lifecycle policy.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::DLM::ListTagsForResource

Returns: a Paws::DLM::ListTagsForResourceResponse instance

Lists the tags for the specified resource.

TagResource

ResourceArn => Str
Tags => Paws::DLM::TagMap

Each argument is described in detail in: Paws::DLM::TagResource

Returns: a Paws::DLM::TagResourceResponse instance

Adds the specified tags to the specified resource.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::DLM::UntagResource

Returns: a Paws::DLM::UntagResourceResponse instance

Removes the specified tags from the specified resource.

UpdateLifecyclePolicy

PolicyId => Str
[Description => Str]
[ExecutionRoleArn => Str]
[PolicyDetails => Paws::DLM::PolicyDetails]
[State => Str]

Each argument is described in detail in: Paws::DLM::UpdateLifecyclePolicy

Returns: a Paws::DLM::UpdateLifecyclePolicyResponse instance

Updates the specified lifecycle policy.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues