Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DLM

import { DLM } from "https://aws-api-bqtgftz736ft.deno.dev/v0.5/services/dlm.ts?docs=full";
class DLM {
constructor(apiFactory: client.ApiFactory);
async createLifecyclePolicy(params: CreateLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<CreateLifecyclePolicyResponse>;
async deleteLifecyclePolicy(params: DeleteLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<void>;
async getLifecyclePolicies(params?: GetLifecyclePoliciesRequest, opts?: client.RequestOptions): Promise<GetLifecyclePoliciesResponse>;
async getLifecyclePolicy(params: GetLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<GetLifecyclePolicyResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateLifecyclePolicy(params: UpdateLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new DLM(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

! IMPORTANT: ! 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.

§
deleteLifecyclePolicy(params: DeleteLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

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

To get complete information about a policy, use GetLifecyclePolicy.

§

Gets detailed information about the specified lifecycle policy.

§

Lists the tags for the specified resource.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds the specified tags to the specified resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes the specified tags from the specified resource.

§
updateLifecyclePolicy(params: UpdateLifecyclePolicyRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates the specified lifecycle policy.

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

§Static Properties