Learn R Programming

paws.storage (version 0.7.0)

dlm_get_lifecycle_policies: Gets summary information about all or the specified data lifecycle policies

Description

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

See https://www.paws-r-sdk.com/docs/dlm_get_lifecycle_policies/ for full documentation.

Usage

dlm_get_lifecycle_policies(
  PolicyIds = NULL,
  State = NULL,
  ResourceTypes = NULL,
  TargetTags = NULL,
  TagsToAdd = NULL,
  DefaultPolicyType = NULL
)

Arguments

PolicyIds

The identifiers of the data lifecycle policies.

State

The activation state.

ResourceTypes

The resource type.

TargetTags

The target tag for a policy.

Tags are strings in the format key=value.

TagsToAdd

The tags to add to objects created by the policy.

Tags are strings in the format key=value.

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

DefaultPolicyType

[Default policies only] Specifies the type of default policy to get. Specify one of the following:

  • VOLUME - To get only the default policy for EBS snapshots

  • INSTANCE - To get only the default policy for EBS-backed AMIs

  • ALL - To get all default policies