@aws-sdk/client-dlm 3.1137.0 → 3.1138.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-cjs/index.js +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/DLM.d.ts +23 -17
- package/dist-types/ts3.4/DLM.d.ts +23 -17
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -369,10 +369,10 @@ const _tK = "tagKeys";
|
|
|
369
369
|
const _tT = "targetTags";
|
|
370
370
|
const _tTA = "tagsToAdd";
|
|
371
371
|
const n0 = "com.amazonaws.dlm";
|
|
372
|
-
const _s_registry = TypeRegistry
|
|
372
|
+
const _s_registry = new TypeRegistry(_s);
|
|
373
373
|
var DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];
|
|
374
374
|
_s_registry.registerError(DLMServiceException$, DLMServiceException);
|
|
375
|
-
const n0_registry = TypeRegistry
|
|
375
|
+
const n0_registry = new TypeRegistry(n0);
|
|
376
376
|
var InternalServerException$ = [-3, n0, _ISE,
|
|
377
377
|
{ [_e]: _se, [_hE]: 500 },
|
|
378
378
|
[_M, _C],
|
|
@@ -154,10 +154,10 @@ const n0 = "com.amazonaws.dlm";
|
|
|
154
154
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
155
155
|
import { DLMServiceException } from "../models/DLMServiceException";
|
|
156
156
|
import { InternalServerException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, } from "../models/errors";
|
|
157
|
-
const _s_registry = TypeRegistry
|
|
157
|
+
const _s_registry = new TypeRegistry(_s);
|
|
158
158
|
export var DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];
|
|
159
159
|
_s_registry.registerError(DLMServiceException$, DLMServiceException);
|
|
160
|
-
const n0_registry = TypeRegistry
|
|
160
|
+
const n0_registry = new TypeRegistry(n0);
|
|
161
161
|
export var InternalServerException$ = [-3, n0, _ISE,
|
|
162
162
|
{ [_e]: _se, [_hE]: 500 },
|
|
163
163
|
[_M, _C],
|
package/dist-types/DLM.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type CreateLifecyclePolicyCommandInput, type CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
|
|
3
3
|
import { type DeleteLifecyclePolicyCommandInput, type DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
4
4
|
import { type GetLifecyclePoliciesCommandInput, type GetLifecyclePoliciesCommandOutput } from "./commands/GetLifecyclePoliciesCommand";
|
|
@@ -8,56 +8,62 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
|
|
|
8
8
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
9
9
|
import { type UpdateLifecyclePolicyCommandInput, type UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
|
|
10
10
|
import { DLMClient } from "./DLMClient";
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface DLMRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface DLM {
|
|
12
18
|
/**
|
|
13
19
|
* @see {@link CreateLifecyclePolicyCommand}
|
|
14
20
|
*/
|
|
15
|
-
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?:
|
|
21
|
+
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: DLMRequestOptions): Promise<CreateLifecyclePolicyCommandOutput>;
|
|
16
22
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
17
|
-
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options:
|
|
23
|
+
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: DLMRequestOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
18
24
|
/**
|
|
19
25
|
* @see {@link DeleteLifecyclePolicyCommand}
|
|
20
26
|
*/
|
|
21
|
-
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?:
|
|
27
|
+
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: DLMRequestOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
22
28
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
23
|
-
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options:
|
|
29
|
+
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: DLMRequestOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
24
30
|
/**
|
|
25
31
|
* @see {@link GetLifecyclePoliciesCommand}
|
|
26
32
|
*/
|
|
27
33
|
getLifecyclePolicies(): Promise<GetLifecyclePoliciesCommandOutput>;
|
|
28
|
-
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options?:
|
|
34
|
+
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options?: DLMRequestOptions): Promise<GetLifecyclePoliciesCommandOutput>;
|
|
29
35
|
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
30
|
-
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options:
|
|
36
|
+
getLifecyclePolicies(args: GetLifecyclePoliciesCommandInput, options: DLMRequestOptions, cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void): void;
|
|
31
37
|
/**
|
|
32
38
|
* @see {@link GetLifecyclePolicyCommand}
|
|
33
39
|
*/
|
|
34
|
-
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?:
|
|
40
|
+
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: DLMRequestOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
35
41
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
36
|
-
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options:
|
|
42
|
+
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: DLMRequestOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
37
43
|
/**
|
|
38
44
|
* @see {@link ListTagsForResourceCommand}
|
|
39
45
|
*/
|
|
40
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
46
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: DLMRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
41
47
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
42
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
48
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: DLMRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
43
49
|
/**
|
|
44
50
|
* @see {@link TagResourceCommand}
|
|
45
51
|
*/
|
|
46
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
52
|
+
tagResource(args: TagResourceCommandInput, options?: DLMRequestOptions): Promise<TagResourceCommandOutput>;
|
|
47
53
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
48
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
54
|
+
tagResource(args: TagResourceCommandInput, options: DLMRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
49
55
|
/**
|
|
50
56
|
* @see {@link UntagResourceCommand}
|
|
51
57
|
*/
|
|
52
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
58
|
+
untagResource(args: UntagResourceCommandInput, options?: DLMRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
53
59
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
54
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
60
|
+
untagResource(args: UntagResourceCommandInput, options: DLMRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
55
61
|
/**
|
|
56
62
|
* @see {@link UpdateLifecyclePolicyCommand}
|
|
57
63
|
*/
|
|
58
|
-
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?:
|
|
64
|
+
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: DLMRequestOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
|
|
59
65
|
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
|
|
60
|
-
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options:
|
|
66
|
+
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: DLMRequestOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
|
|
61
67
|
}
|
|
62
68
|
/**
|
|
63
69
|
* <fullname>Amazon Data Lifecycle Manager</fullname>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
CreateLifecyclePolicyCommandInput,
|
|
4
7
|
CreateLifecyclePolicyCommandOutput,
|
|
@@ -29,10 +32,13 @@ import {
|
|
|
29
32
|
UpdateLifecyclePolicyCommandOutput,
|
|
30
33
|
} from "./commands/UpdateLifecyclePolicyCommand";
|
|
31
34
|
import { DLMClient } from "./DLMClient";
|
|
35
|
+
export interface DLMRequestOptions extends __HttpHandlerOptions {
|
|
36
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
37
|
+
}
|
|
32
38
|
export interface DLM {
|
|
33
39
|
createLifecyclePolicy(
|
|
34
40
|
args: CreateLifecyclePolicyCommandInput,
|
|
35
|
-
options?:
|
|
41
|
+
options?: DLMRequestOptions,
|
|
36
42
|
): Promise<CreateLifecyclePolicyCommandOutput>;
|
|
37
43
|
createLifecyclePolicy(
|
|
38
44
|
args: CreateLifecyclePolicyCommandInput,
|
|
@@ -40,12 +46,12 @@ export interface DLM {
|
|
|
40
46
|
): void;
|
|
41
47
|
createLifecyclePolicy(
|
|
42
48
|
args: CreateLifecyclePolicyCommandInput,
|
|
43
|
-
options:
|
|
49
|
+
options: DLMRequestOptions,
|
|
44
50
|
cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void,
|
|
45
51
|
): void;
|
|
46
52
|
deleteLifecyclePolicy(
|
|
47
53
|
args: DeleteLifecyclePolicyCommandInput,
|
|
48
|
-
options?:
|
|
54
|
+
options?: DLMRequestOptions,
|
|
49
55
|
): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
50
56
|
deleteLifecyclePolicy(
|
|
51
57
|
args: DeleteLifecyclePolicyCommandInput,
|
|
@@ -53,13 +59,13 @@ export interface DLM {
|
|
|
53
59
|
): void;
|
|
54
60
|
deleteLifecyclePolicy(
|
|
55
61
|
args: DeleteLifecyclePolicyCommandInput,
|
|
56
|
-
options:
|
|
62
|
+
options: DLMRequestOptions,
|
|
57
63
|
cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void,
|
|
58
64
|
): void;
|
|
59
65
|
getLifecyclePolicies(): Promise<GetLifecyclePoliciesCommandOutput>;
|
|
60
66
|
getLifecyclePolicies(
|
|
61
67
|
args: GetLifecyclePoliciesCommandInput,
|
|
62
|
-
options?:
|
|
68
|
+
options?: DLMRequestOptions,
|
|
63
69
|
): Promise<GetLifecyclePoliciesCommandOutput>;
|
|
64
70
|
getLifecyclePolicies(
|
|
65
71
|
args: GetLifecyclePoliciesCommandInput,
|
|
@@ -67,12 +73,12 @@ export interface DLM {
|
|
|
67
73
|
): void;
|
|
68
74
|
getLifecyclePolicies(
|
|
69
75
|
args: GetLifecyclePoliciesCommandInput,
|
|
70
|
-
options:
|
|
76
|
+
options: DLMRequestOptions,
|
|
71
77
|
cb: (err: any, data?: GetLifecyclePoliciesCommandOutput) => void,
|
|
72
78
|
): void;
|
|
73
79
|
getLifecyclePolicy(
|
|
74
80
|
args: GetLifecyclePolicyCommandInput,
|
|
75
|
-
options?:
|
|
81
|
+
options?: DLMRequestOptions,
|
|
76
82
|
): Promise<GetLifecyclePolicyCommandOutput>;
|
|
77
83
|
getLifecyclePolicy(
|
|
78
84
|
args: GetLifecyclePolicyCommandInput,
|
|
@@ -80,12 +86,12 @@ export interface DLM {
|
|
|
80
86
|
): void;
|
|
81
87
|
getLifecyclePolicy(
|
|
82
88
|
args: GetLifecyclePolicyCommandInput,
|
|
83
|
-
options:
|
|
89
|
+
options: DLMRequestOptions,
|
|
84
90
|
cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void,
|
|
85
91
|
): void;
|
|
86
92
|
listTagsForResource(
|
|
87
93
|
args: ListTagsForResourceCommandInput,
|
|
88
|
-
options?:
|
|
94
|
+
options?: DLMRequestOptions,
|
|
89
95
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
90
96
|
listTagsForResource(
|
|
91
97
|
args: ListTagsForResourceCommandInput,
|
|
@@ -93,12 +99,12 @@ export interface DLM {
|
|
|
93
99
|
): void;
|
|
94
100
|
listTagsForResource(
|
|
95
101
|
args: ListTagsForResourceCommandInput,
|
|
96
|
-
options:
|
|
102
|
+
options: DLMRequestOptions,
|
|
97
103
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
98
104
|
): void;
|
|
99
105
|
tagResource(
|
|
100
106
|
args: TagResourceCommandInput,
|
|
101
|
-
options?:
|
|
107
|
+
options?: DLMRequestOptions,
|
|
102
108
|
): Promise<TagResourceCommandOutput>;
|
|
103
109
|
tagResource(
|
|
104
110
|
args: TagResourceCommandInput,
|
|
@@ -106,12 +112,12 @@ export interface DLM {
|
|
|
106
112
|
): void;
|
|
107
113
|
tagResource(
|
|
108
114
|
args: TagResourceCommandInput,
|
|
109
|
-
options:
|
|
115
|
+
options: DLMRequestOptions,
|
|
110
116
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
111
117
|
): void;
|
|
112
118
|
untagResource(
|
|
113
119
|
args: UntagResourceCommandInput,
|
|
114
|
-
options?:
|
|
120
|
+
options?: DLMRequestOptions,
|
|
115
121
|
): Promise<UntagResourceCommandOutput>;
|
|
116
122
|
untagResource(
|
|
117
123
|
args: UntagResourceCommandInput,
|
|
@@ -119,12 +125,12 @@ export interface DLM {
|
|
|
119
125
|
): void;
|
|
120
126
|
untagResource(
|
|
121
127
|
args: UntagResourceCommandInput,
|
|
122
|
-
options:
|
|
128
|
+
options: DLMRequestOptions,
|
|
123
129
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
124
130
|
): void;
|
|
125
131
|
updateLifecyclePolicy(
|
|
126
132
|
args: UpdateLifecyclePolicyCommandInput,
|
|
127
|
-
options?:
|
|
133
|
+
options?: DLMRequestOptions,
|
|
128
134
|
): Promise<UpdateLifecyclePolicyCommandOutput>;
|
|
129
135
|
updateLifecyclePolicy(
|
|
130
136
|
args: UpdateLifecyclePolicyCommandInput,
|
|
@@ -132,7 +138,7 @@ export interface DLM {
|
|
|
132
138
|
): void;
|
|
133
139
|
updateLifecyclePolicy(
|
|
134
140
|
args: UpdateLifecyclePolicyCommandInput,
|
|
135
|
-
options:
|
|
141
|
+
options: DLMRequestOptions,
|
|
136
142
|
cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void,
|
|
137
143
|
): void;
|
|
138
144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dlm",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|