@aws-sdk/client-dlm 3.295.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/DLM.d.ts +9 -0
- package/dist-types/DLMClient.d.ts +24 -4
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePoliciesCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/models/DLMServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +104 -0
- package/package.json +29 -29
package/dist-types/DLM.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
9
9
|
import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
|
|
10
10
|
import { DLMClient } from "./DLMClient";
|
|
11
11
|
/**
|
|
12
|
+
* @public
|
|
12
13
|
* <fullname>Amazon Data Lifecycle Manager</fullname>
|
|
13
14
|
* <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create
|
|
14
15
|
* lifecycle policies, which are used to automate operations on the specified
|
|
@@ -19,6 +20,7 @@ import { DLMClient } from "./DLMClient";
|
|
|
19
20
|
*/
|
|
20
21
|
export declare class DLM extends DLMClient {
|
|
21
22
|
/**
|
|
23
|
+
* @public
|
|
22
24
|
* <p>Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can
|
|
23
25
|
* create up to 100 lifecycle policies.</p>
|
|
24
26
|
*/
|
|
@@ -26,6 +28,7 @@ export declare class DLM extends DLMClient {
|
|
|
26
28
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
27
29
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
28
30
|
/**
|
|
31
|
+
* @public
|
|
29
32
|
* <p>Deletes the specified lifecycle policy and halts the automated operations that the
|
|
30
33
|
* policy specified.</p>
|
|
31
34
|
* <p>For more information about deleting a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#delete">Delete lifecycle
|
|
@@ -35,6 +38,7 @@ export declare class DLM extends DLMClient {
|
|
|
35
38
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
36
39
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
37
40
|
/**
|
|
41
|
+
* @public
|
|
38
42
|
* <p>Gets summary information about all or the specified data lifecycle policies.</p>
|
|
39
43
|
* <p>To get complete information about a policy, use <a>GetLifecyclePolicy</a>.</p>
|
|
40
44
|
*/
|
|
@@ -42,30 +46,35 @@ export declare class DLM extends DLMClient {
|
|
|
42
46
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
43
47
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
44
48
|
/**
|
|
49
|
+
* @public
|
|
45
50
|
* <p>Gets detailed information about the specified lifecycle policy.</p>
|
|
46
51
|
*/
|
|
47
52
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
48
53
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
49
54
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
50
55
|
/**
|
|
56
|
+
* @public
|
|
51
57
|
* <p>Lists the tags for the specified resource.</p>
|
|
52
58
|
*/
|
|
53
59
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
54
60
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
55
61
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
56
62
|
/**
|
|
63
|
+
* @public
|
|
57
64
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
58
65
|
*/
|
|
59
66
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
60
67
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
61
68
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
62
69
|
/**
|
|
70
|
+
* @public
|
|
63
71
|
* <p>Removes the specified tags from the specified resource.</p>
|
|
64
72
|
*/
|
|
65
73
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
66
74
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
67
75
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
68
76
|
/**
|
|
77
|
+
* @public
|
|
69
78
|
* <p>Updates the specified lifecycle policy.</p>
|
|
70
79
|
* <p>For more information about updating a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#modify">Modify lifecycle
|
|
71
80
|
* policies</a>.</p>
|
|
@@ -16,15 +16,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
16
16
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
17
|
import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
19
22
|
export type ServiceInputTypes = CreateLifecyclePolicyCommandInput | DeleteLifecyclePolicyCommandInput | GetLifecyclePoliciesCommandInput | GetLifecyclePolicyCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLifecyclePolicyCommandInput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
20
26
|
export type ServiceOutputTypes = CreateLifecyclePolicyCommandOutput | DeleteLifecyclePolicyCommandOutput | GetLifecyclePoliciesCommandOutput | GetLifecyclePolicyCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLifecyclePolicyCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
21
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
31
|
/**
|
|
23
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
24
33
|
*/
|
|
25
34
|
requestHandler?: __HttpHandler;
|
|
26
35
|
/**
|
|
27
|
-
* A constructor for a class implementing the {@link
|
|
36
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
28
37
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
38
|
* @internal
|
|
30
39
|
*/
|
|
@@ -114,23 +123,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
114
123
|
*/
|
|
115
124
|
logger?: __Logger;
|
|
116
125
|
/**
|
|
117
|
-
* The {@link
|
|
126
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
118
127
|
*/
|
|
119
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
120
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
121
133
|
type DLMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
122
134
|
/**
|
|
123
|
-
*
|
|
135
|
+
* @public
|
|
136
|
+
*
|
|
137
|
+
* The configuration interface of DLMClient class constructor that set the region, credentials and other options.
|
|
124
138
|
*/
|
|
125
139
|
export interface DLMClientConfig extends DLMClientConfigType {
|
|
126
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
127
144
|
type DLMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
128
145
|
/**
|
|
129
|
-
*
|
|
146
|
+
* @public
|
|
147
|
+
*
|
|
148
|
+
* The resolved configuration interface of DLMClient class. This is resolved and normalized from the {@link DLMClientConfig | constructor configuration interface}.
|
|
130
149
|
*/
|
|
131
150
|
export interface DLMClientResolvedConfig extends DLMClientResolvedConfigType {
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
153
|
+
* @public
|
|
134
154
|
* <fullname>Amazon Data Lifecycle Manager</fullname>
|
|
135
155
|
* <p>With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create
|
|
136
156
|
* lifecycle policies, which are used to automate operations on the specified
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { CreateLifecyclePolicyRequest, CreateLifecyclePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateLifecyclePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateLifecyclePolicyCommandInput extends CreateLifecyclePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateLifecyclePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can
|
|
18
23
|
* create up to 100 lifecycle policies.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolic
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param CreateLifecyclePolicyCommandInput - {@link CreateLifecyclePolicyCommandInput}
|
|
35
|
+
* @returns {@link CreateLifecyclePolicyCommandOutput}
|
|
29
36
|
* @see {@link CreateLifecyclePolicyCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link CreateLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface CreateLifecyclePolicyCommandOutput extends CreateLifecyclePolic
|
|
|
45
52
|
export declare class CreateLifecyclePolicyCommand extends $Command<CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
|
|
46
53
|
readonly input: CreateLifecyclePolicyCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: CreateLifecyclePolicyCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { DeleteLifecyclePolicyRequest, DeleteLifecyclePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteLifecyclePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteLifecyclePolicyCommandInput extends DeleteLifecyclePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteLifecyclePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the specified lifecycle policy and halts the automated operations that the
|
|
18
23
|
* policy specified.</p>
|
|
19
24
|
* <p>For more information about deleting a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#delete">Delete lifecycle
|
|
@@ -28,6 +33,8 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param DeleteLifecyclePolicyCommandInput - {@link DeleteLifecyclePolicyCommandInput}
|
|
37
|
+
* @returns {@link DeleteLifecyclePolicyCommandOutput}
|
|
31
38
|
* @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
46
53
|
export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
|
|
47
54
|
readonly input: DeleteLifecyclePolicyCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: DeleteLifecyclePolicyCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { GetLifecyclePoliciesRequest, GetLifecyclePoliciesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetLifecyclePoliciesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetLifecyclePoliciesCommandInput extends GetLifecyclePoliciesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetLifecyclePoliciesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets summary information about all or the specified data lifecycle policies.</p>
|
|
18
23
|
* <p>To get complete information about a policy, use <a>GetLifecyclePolicy</a>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesR
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param GetLifecyclePoliciesCommandInput - {@link GetLifecyclePoliciesCommandInput}
|
|
35
|
+
* @returns {@link GetLifecyclePoliciesCommandOutput}
|
|
29
36
|
* @see {@link GetLifecyclePoliciesCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link GetLifecyclePoliciesCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface GetLifecyclePoliciesCommandOutput extends GetLifecyclePoliciesR
|
|
|
48
55
|
export declare class GetLifecyclePoliciesCommand extends $Command<GetLifecyclePoliciesCommandInput, GetLifecyclePoliciesCommandOutput, DLMClientResolvedConfig> {
|
|
49
56
|
readonly input: GetLifecyclePoliciesCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: GetLifecyclePoliciesCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecyclePoliciesCommandInput, GetLifecyclePoliciesCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { GetLifecyclePolicyRequest, GetLifecyclePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetLifecyclePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetLifecyclePolicyCommandInput extends GetLifecyclePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetLifecyclePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets detailed information about the specified lifecycle policy.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetLifecyclePolicyCommandInput - {@link GetLifecyclePolicyCommandInput}
|
|
34
|
+
* @returns {@link GetLifecyclePolicyCommandOutput}
|
|
28
35
|
* @see {@link GetLifecyclePolicyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
|
|
|
43
50
|
export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
|
|
44
51
|
readonly input: GetLifecyclePolicyCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: GetLifecyclePolicyCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the tags for the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
44
51
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, DLMClientResolvedConfig> {
|
|
45
52
|
readonly input: ListTagsForResourceCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: ListTagsForResourceCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
34
|
+
* @returns {@link TagResourceCommandOutput}
|
|
28
35
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
44
51
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DLMClientResolvedConfig> {
|
|
45
52
|
readonly input: TagResourceCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: TagResourceCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the specified tags from the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
44
51
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DLMClientResolvedConfig> {
|
|
45
52
|
readonly input: UntagResourceCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: UntagResourceCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DLMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DLMClient";
|
|
5
5
|
import { UpdateLifecyclePolicyRequest, UpdateLifecyclePolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateLifecyclePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateLifecyclePolicyCommandInput extends UpdateLifecyclePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateLifecyclePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the specified lifecycle policy.</p>
|
|
18
23
|
* <p>For more information about updating a policy, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-modify-delete.html#modify">Modify lifecycle
|
|
19
24
|
* policies</a>.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolic
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateLifecyclePolicyCommandInput - {@link UpdateLifecyclePolicyCommandInput}
|
|
36
|
+
* @returns {@link UpdateLifecyclePolicyCommandOutput}
|
|
30
37
|
* @see {@link UpdateLifecyclePolicyCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link DLMClientResolvedConfig | config} for DLMClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface UpdateLifecyclePolicyCommandOutput extends UpdateLifecyclePolic
|
|
|
49
56
|
export declare class UpdateLifecyclePolicyCommand extends $Command<UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput, DLMClientResolvedConfig> {
|
|
50
57
|
readonly input: UpdateLifecyclePolicyCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: UpdateLifecyclePolicyCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from DLM service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class DLMServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>
|
|
5
6
|
* <b>[Event-based policies only]</b> Specifies the encryption settings for cross-Region snapshot copies created by
|
|
6
7
|
* event-based policies.</p>
|
|
@@ -18,6 +19,9 @@ export interface EncryptionConfiguration {
|
|
|
18
19
|
*/
|
|
19
20
|
CmkArn?: string;
|
|
20
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
21
25
|
export declare enum RetentionIntervalUnitValues {
|
|
22
26
|
DAYS = "DAYS",
|
|
23
27
|
MONTHS = "MONTHS",
|
|
@@ -25,6 +29,7 @@ export declare enum RetentionIntervalUnitValues {
|
|
|
25
29
|
YEARS = "YEARS"
|
|
26
30
|
}
|
|
27
31
|
/**
|
|
32
|
+
* @public
|
|
28
33
|
* <p>Specifies a retention rule for cross-Region snapshot copies created by snapshot or
|
|
29
34
|
* event-based policies, or cross-Region AMI copies created by AMI policies. After the
|
|
30
35
|
* retention period expires, the cross-Region copy is deleted.</p>
|
|
@@ -42,6 +47,7 @@ export interface CrossRegionCopyRetainRule {
|
|
|
42
47
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
43
48
|
}
|
|
44
49
|
/**
|
|
50
|
+
* @public
|
|
45
51
|
* <p>
|
|
46
52
|
* <b>[Event-based policies only]</b> Specifies a cross-Region copy action for event-based policies.</p>
|
|
47
53
|
* <note>
|
|
@@ -66,6 +72,7 @@ export interface CrossRegionCopyAction {
|
|
|
66
72
|
RetainRule?: CrossRegionCopyRetainRule;
|
|
67
73
|
}
|
|
68
74
|
/**
|
|
75
|
+
* @public
|
|
69
76
|
* <p>
|
|
70
77
|
* <b>[Event-based policies only]</b> Specifies an action for an event-based policy.</p>
|
|
71
78
|
*/
|
|
@@ -80,6 +87,7 @@ export interface Action {
|
|
|
80
87
|
CrossRegionCopy: CrossRegionCopyAction[] | undefined;
|
|
81
88
|
}
|
|
82
89
|
/**
|
|
90
|
+
* @public
|
|
83
91
|
* <p>
|
|
84
92
|
* <b>[Snapshot policies only]</b> Describes the retention rule for archived snapshots. Once the archive
|
|
85
93
|
* retention threshold is met, the snapshots are permanently deleted from the archive tier.</p>
|
|
@@ -114,6 +122,7 @@ export interface RetentionArchiveTier {
|
|
|
114
122
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
115
123
|
}
|
|
116
124
|
/**
|
|
125
|
+
* @public
|
|
117
126
|
* <p>
|
|
118
127
|
* <b>[Snapshot policies only]</b> Specifies information about the archive storage tier retention period.</p>
|
|
119
128
|
*/
|
|
@@ -126,6 +135,7 @@ export interface ArchiveRetainRule {
|
|
|
126
135
|
RetentionArchiveTier: RetentionArchiveTier | undefined;
|
|
127
136
|
}
|
|
128
137
|
/**
|
|
138
|
+
* @public
|
|
129
139
|
* <p>
|
|
130
140
|
* <b>[Snapshot policies only]</b> Specifies a snapshot archiving rule for a schedule.</p>
|
|
131
141
|
*/
|
|
@@ -135,10 +145,14 @@ export interface ArchiveRule {
|
|
|
135
145
|
*/
|
|
136
146
|
RetainRule: ArchiveRetainRule | undefined;
|
|
137
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
138
151
|
export declare enum EventTypeValues {
|
|
139
152
|
SHARE_SNAPSHOT = "shareSnapshot"
|
|
140
153
|
}
|
|
141
154
|
/**
|
|
155
|
+
* @public
|
|
142
156
|
* <p>
|
|
143
157
|
* <b>[Event-based policies only]</b> Specifies an event that activates an event-based policy.</p>
|
|
144
158
|
*/
|
|
@@ -162,10 +176,14 @@ export interface EventParameters {
|
|
|
162
176
|
*/
|
|
163
177
|
DescriptionRegex: string | undefined;
|
|
164
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
165
182
|
export declare enum EventSourceValues {
|
|
166
183
|
MANAGED_CWE = "MANAGED_CWE"
|
|
167
184
|
}
|
|
168
185
|
/**
|
|
186
|
+
* @public
|
|
169
187
|
* <p>
|
|
170
188
|
* <b>[Event-based policies only]</b> Specifies an event that activates an event-based policy.</p>
|
|
171
189
|
*/
|
|
@@ -180,6 +198,7 @@ export interface EventSource {
|
|
|
180
198
|
Parameters?: EventParameters;
|
|
181
199
|
}
|
|
182
200
|
/**
|
|
201
|
+
* @public
|
|
183
202
|
* <p>Specifies a tag for a resource.</p>
|
|
184
203
|
*/
|
|
185
204
|
export interface Tag {
|
|
@@ -193,6 +212,7 @@ export interface Tag {
|
|
|
193
212
|
Value: string | undefined;
|
|
194
213
|
}
|
|
195
214
|
/**
|
|
215
|
+
* @public
|
|
196
216
|
* <p>
|
|
197
217
|
* <b>[Snapshot and AMI policies only]</b> Specifies optional parameters for snapshot and AMI policies. The
|
|
198
218
|
* set of valid parameters depends on the combination of policy type and target resource
|
|
@@ -230,27 +250,43 @@ export interface _Parameters {
|
|
|
230
250
|
*/
|
|
231
251
|
ExcludeDataVolumeTags?: Tag[];
|
|
232
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
233
256
|
export declare enum PolicyTypeValues {
|
|
234
257
|
EBS_SNAPSHOT_MANAGEMENT = "EBS_SNAPSHOT_MANAGEMENT",
|
|
235
258
|
EVENT_BASED_POLICY = "EVENT_BASED_POLICY",
|
|
236
259
|
IMAGE_MANAGEMENT = "IMAGE_MANAGEMENT"
|
|
237
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
238
264
|
export declare enum ResourceLocationValues {
|
|
239
265
|
CLOUD = "CLOUD",
|
|
240
266
|
OUTPOST = "OUTPOST"
|
|
241
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
242
271
|
export declare enum ResourceTypeValues {
|
|
243
272
|
INSTANCE = "INSTANCE",
|
|
244
273
|
VOLUME = "VOLUME"
|
|
245
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
246
278
|
export declare enum IntervalUnitValues {
|
|
247
279
|
HOURS = "HOURS"
|
|
248
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
249
284
|
export declare enum LocationValues {
|
|
250
285
|
CLOUD = "CLOUD",
|
|
251
286
|
OUTPOST_LOCAL = "OUTPOST_LOCAL"
|
|
252
287
|
}
|
|
253
288
|
/**
|
|
289
|
+
* @public
|
|
254
290
|
* <p>
|
|
255
291
|
* <b>[Snapshot and AMI policies only]</b> Specifies when the policy should create snapshots or AMIs.</p>
|
|
256
292
|
* <note>
|
|
@@ -302,6 +338,7 @@ export interface CreateRule {
|
|
|
302
338
|
CronExpression?: string;
|
|
303
339
|
}
|
|
304
340
|
/**
|
|
341
|
+
* @public
|
|
305
342
|
* <p>
|
|
306
343
|
* <b>[AMI policies only]</b> Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.</p>
|
|
307
344
|
*/
|
|
@@ -320,6 +357,7 @@ export interface CrossRegionCopyDeprecateRule {
|
|
|
320
357
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
321
358
|
}
|
|
322
359
|
/**
|
|
360
|
+
* @public
|
|
323
361
|
* <p>
|
|
324
362
|
* <b>[Snapshot and AMI policies only]</b> Specifies a cross-Region copy rule for snapshot and AMI policies.</p>
|
|
325
363
|
* <note>
|
|
@@ -373,6 +411,7 @@ export interface CrossRegionCopyRule {
|
|
|
373
411
|
DeprecateRule?: CrossRegionCopyDeprecateRule;
|
|
374
412
|
}
|
|
375
413
|
/**
|
|
414
|
+
* @public
|
|
376
415
|
* <p>
|
|
377
416
|
* <b>[AMI policies only]</b> Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.</p>
|
|
378
417
|
* <p>For age-based schedules, you must specify <b>Interval</b> and
|
|
@@ -399,6 +438,7 @@ export interface DeprecateRule {
|
|
|
399
438
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
400
439
|
}
|
|
401
440
|
/**
|
|
441
|
+
* @public
|
|
402
442
|
* <p>
|
|
403
443
|
* <b>[Snapshot policies only]</b> Specifies a rule for enabling fast snapshot restore for snapshots created by
|
|
404
444
|
* snapshot policies. You can enable fast snapshot restore based on either a count or a
|
|
@@ -424,6 +464,7 @@ export interface FastRestoreRule {
|
|
|
424
464
|
AvailabilityZones: string[] | undefined;
|
|
425
465
|
}
|
|
426
466
|
/**
|
|
467
|
+
* @public
|
|
427
468
|
* <p>
|
|
428
469
|
* <b>[Snapshot and AMI policies only]</b> Specifies a retention rule for snapshots created by snapshot policies, or for AMIs
|
|
429
470
|
* created by AMI policies.</p>
|
|
@@ -481,6 +522,7 @@ export interface RetainRule {
|
|
|
481
522
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
482
523
|
}
|
|
483
524
|
/**
|
|
525
|
+
* @public
|
|
484
526
|
* <p>
|
|
485
527
|
* <b>[Snapshot policies only]</b> Specifies a rule for sharing snapshots across Amazon Web Services accounts.</p>
|
|
486
528
|
*/
|
|
@@ -499,6 +541,7 @@ export interface ShareRule {
|
|
|
499
541
|
UnshareIntervalUnit?: RetentionIntervalUnitValues | string;
|
|
500
542
|
}
|
|
501
543
|
/**
|
|
544
|
+
* @public
|
|
502
545
|
* <p>
|
|
503
546
|
* <b>[Snapshot and AMI policies only]</b> Specifies a schedule for a snapshot or AMI lifecycle policy.</p>
|
|
504
547
|
*/
|
|
@@ -570,6 +613,7 @@ export interface Schedule {
|
|
|
570
613
|
ArchiveRule?: ArchiveRule;
|
|
571
614
|
}
|
|
572
615
|
/**
|
|
616
|
+
* @public
|
|
573
617
|
* <p>
|
|
574
618
|
* <b>[All policy types]</b> Specifies the configuration of a lifecycle policy.</p>
|
|
575
619
|
*/
|
|
@@ -633,10 +677,16 @@ export interface PolicyDetails {
|
|
|
633
677
|
*/
|
|
634
678
|
Actions?: Action[];
|
|
635
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
636
683
|
export declare enum SettablePolicyStateValues {
|
|
637
684
|
DISABLED = "DISABLED",
|
|
638
685
|
ENABLED = "ENABLED"
|
|
639
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* @public
|
|
689
|
+
*/
|
|
640
690
|
export interface CreateLifecyclePolicyRequest {
|
|
641
691
|
/**
|
|
642
692
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by
|
|
@@ -661,6 +711,9 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
661
711
|
*/
|
|
662
712
|
Tags?: Record<string, string>;
|
|
663
713
|
}
|
|
714
|
+
/**
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
664
717
|
export interface CreateLifecyclePolicyResponse {
|
|
665
718
|
/**
|
|
666
719
|
* <p>The identifier of the lifecycle policy.</p>
|
|
@@ -668,6 +721,7 @@ export interface CreateLifecyclePolicyResponse {
|
|
|
668
721
|
PolicyId?: string;
|
|
669
722
|
}
|
|
670
723
|
/**
|
|
724
|
+
* @public
|
|
671
725
|
* <p>The service failed in an unexpected way.</p>
|
|
672
726
|
*/
|
|
673
727
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -681,6 +735,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
681
735
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
682
736
|
}
|
|
683
737
|
/**
|
|
738
|
+
* @public
|
|
684
739
|
* <p>Bad request. The request is missing required parameters or has invalid
|
|
685
740
|
* parameters.</p>
|
|
686
741
|
*/
|
|
@@ -703,6 +758,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
703
758
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
704
759
|
}
|
|
705
760
|
/**
|
|
761
|
+
* @public
|
|
706
762
|
* <p>The request failed because a limit was exceeded.</p>
|
|
707
763
|
*/
|
|
708
764
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -719,15 +775,22 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
719
775
|
*/
|
|
720
776
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
721
777
|
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
722
781
|
export interface DeleteLifecyclePolicyRequest {
|
|
723
782
|
/**
|
|
724
783
|
* <p>The identifier of the lifecycle policy.</p>
|
|
725
784
|
*/
|
|
726
785
|
PolicyId: string | undefined;
|
|
727
786
|
}
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
728
790
|
export interface DeleteLifecyclePolicyResponse {
|
|
729
791
|
}
|
|
730
792
|
/**
|
|
793
|
+
* @public
|
|
731
794
|
* <p>A requested resource was not found.</p>
|
|
732
795
|
*/
|
|
733
796
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -748,11 +811,17 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
748
811
|
*/
|
|
749
812
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
750
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
751
817
|
export declare enum GettablePolicyStateValues {
|
|
752
818
|
DISABLED = "DISABLED",
|
|
753
819
|
ENABLED = "ENABLED",
|
|
754
820
|
ERROR = "ERROR"
|
|
755
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
756
825
|
export interface GetLifecyclePoliciesRequest {
|
|
757
826
|
/**
|
|
758
827
|
* <p>The identifiers of the data lifecycle policies.</p>
|
|
@@ -779,6 +848,7 @@ export interface GetLifecyclePoliciesRequest {
|
|
|
779
848
|
TagsToAdd?: string[];
|
|
780
849
|
}
|
|
781
850
|
/**
|
|
851
|
+
* @public
|
|
782
852
|
* <p>Summary information about a lifecycle policy.</p>
|
|
783
853
|
*/
|
|
784
854
|
export interface LifecyclePolicySummary {
|
|
@@ -807,12 +877,18 @@ export interface LifecyclePolicySummary {
|
|
|
807
877
|
*/
|
|
808
878
|
PolicyType?: PolicyTypeValues | string;
|
|
809
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
810
883
|
export interface GetLifecyclePoliciesResponse {
|
|
811
884
|
/**
|
|
812
885
|
* <p>Summary information about the lifecycle policies.</p>
|
|
813
886
|
*/
|
|
814
887
|
Policies?: LifecyclePolicySummary[];
|
|
815
888
|
}
|
|
889
|
+
/**
|
|
890
|
+
* @public
|
|
891
|
+
*/
|
|
816
892
|
export interface GetLifecyclePolicyRequest {
|
|
817
893
|
/**
|
|
818
894
|
* <p>The identifier of the lifecycle policy.</p>
|
|
@@ -820,6 +896,7 @@ export interface GetLifecyclePolicyRequest {
|
|
|
820
896
|
PolicyId: string | undefined;
|
|
821
897
|
}
|
|
822
898
|
/**
|
|
899
|
+
* @public
|
|
823
900
|
* <p>
|
|
824
901
|
* <b>[All policy types]</b> Detailed information about a snapshot, AMI, or event-based lifecycle policy.</p>
|
|
825
902
|
*/
|
|
@@ -866,24 +943,36 @@ export interface LifecyclePolicy {
|
|
|
866
943
|
*/
|
|
867
944
|
PolicyArn?: string;
|
|
868
945
|
}
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
*/
|
|
869
949
|
export interface GetLifecyclePolicyResponse {
|
|
870
950
|
/**
|
|
871
951
|
* <p>Detailed information about the lifecycle policy.</p>
|
|
872
952
|
*/
|
|
873
953
|
Policy?: LifecyclePolicy;
|
|
874
954
|
}
|
|
955
|
+
/**
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
875
958
|
export interface ListTagsForResourceRequest {
|
|
876
959
|
/**
|
|
877
960
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
878
961
|
*/
|
|
879
962
|
ResourceArn: string | undefined;
|
|
880
963
|
}
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
881
967
|
export interface ListTagsForResourceResponse {
|
|
882
968
|
/**
|
|
883
969
|
* <p>Information about the tags.</p>
|
|
884
970
|
*/
|
|
885
971
|
Tags?: Record<string, string>;
|
|
886
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
887
976
|
export interface TagResourceRequest {
|
|
888
977
|
/**
|
|
889
978
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
@@ -894,8 +983,14 @@ export interface TagResourceRequest {
|
|
|
894
983
|
*/
|
|
895
984
|
Tags: Record<string, string> | undefined;
|
|
896
985
|
}
|
|
986
|
+
/**
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
897
989
|
export interface TagResourceResponse {
|
|
898
990
|
}
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
899
994
|
export interface UntagResourceRequest {
|
|
900
995
|
/**
|
|
901
996
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
@@ -906,8 +1001,14 @@ export interface UntagResourceRequest {
|
|
|
906
1001
|
*/
|
|
907
1002
|
TagKeys: string[] | undefined;
|
|
908
1003
|
}
|
|
1004
|
+
/**
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
909
1007
|
export interface UntagResourceResponse {
|
|
910
1008
|
}
|
|
1009
|
+
/**
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
911
1012
|
export interface UpdateLifecyclePolicyRequest {
|
|
912
1013
|
/**
|
|
913
1014
|
* <p>The identifier of the lifecycle policy.</p>
|
|
@@ -932,6 +1033,9 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
932
1033
|
*/
|
|
933
1034
|
PolicyDetails?: PolicyDetails;
|
|
934
1035
|
}
|
|
1036
|
+
/**
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
935
1039
|
export interface UpdateLifecyclePolicyResponse {
|
|
936
1040
|
}
|
|
937
1041
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|