DLM class
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.
Constructors
- DLM({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
createLifecyclePolicy(
{required String description, required String executionRoleArn, required PolicyDetails policyDetails, required SettablePolicyStateValues state, Map< String, String> ? tags}) → Future<CreateLifecyclePolicyResponse> - Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.
-
deleteLifecyclePolicy(
{required String policyId}) → Future< void> - Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
-
getLifecyclePolicies(
{List< String> ? policyIds, List<ResourceTypeValues> ? resourceTypes, GettablePolicyStateValues? state, List<String> ? tagsToAdd, List<String> ? targetTags}) → Future<GetLifecyclePoliciesResponse> - Gets summary information about all or the specified data lifecycle policies.
-
getLifecyclePolicy(
{required String policyId}) → Future< GetLifecyclePolicyResponse> - Gets detailed information about the specified lifecycle policy.
-
listTagsForResource(
{required String resourceArn}) → Future< ListTagsForResourceResponse> - Lists the tags for the specified resource.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tagResource(
{required String resourceArn, required Map< String, String> tags}) → Future<void> - Adds the specified tags to the specified resource.
-
toString(
) → String -
A string representation of this object.
inherited
-
untagResource(
{required String resourceArn, required List< String> tagKeys}) → Future<void> - Removes the specified tags from the specified resource.
-
updateLifecyclePolicy(
{required String policyId, String? description, String? executionRoleArn, PolicyDetails? policyDetails, SettablePolicyStateValues? state}) → Future< void> - Updates the specified lifecycle policy.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited