@aws-sdk/client-dlm 3.987.0 → 3.989.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.
@@ -4,7 +4,7 @@ const _AR = "ArchiveRule";
4
4
  const _ARR = "ArchiveRetainRule";
5
5
  const _AZ = "AvailabilityZones";
6
6
  const _Ac = "Actions";
7
- const _C = "Count";
7
+ const _C = "Code";
8
8
  const _CA = "CmkArn";
9
9
  const _CE = "CronExpression";
10
10
  const _CI = "CreateInterval";
@@ -23,7 +23,7 @@ const _CRCT = "CrossRegionCopyTargets";
23
23
  const _CRCTL = "CrossRegionCopyTargetList";
24
24
  const _CRCTr = "CrossRegionCopyTarget";
25
25
  const _CT = "CopyTags";
26
- const _Co = "Code";
26
+ const _Co = "Count";
27
27
  const _D = "Description";
28
28
  const _DC = "DateCreated";
29
29
  const _DLP = "DeleteLifecyclePolicy";
@@ -89,14 +89,14 @@ const _Po = "Policies";
89
89
  const _Pol = "Policy";
90
90
  const _RA = "ResourceArn";
91
91
  const _RAT = "RetentionArchiveTier";
92
- const _RI = "RetainInterval";
93
- const _RIe = "ResourceIds";
92
+ const _RI = "ResourceIds";
93
+ const _RIe = "RetainInterval";
94
94
  const _RL = "ResourceLocations";
95
95
  const _RNFE = "ResourceNotFoundException";
96
96
  const _RP = "RequiredParameters";
97
97
  const _RR = "RetainRule";
98
- const _RT = "ResourceTypes";
99
- const _RTe = "ResourceType";
98
+ const _RT = "ResourceType";
99
+ const _RTe = "ResourceTypes";
100
100
  const _S = "State";
101
101
  const _SL = "ScheduleList";
102
102
  const _SLc = "ScriptsList";
@@ -143,9 +143,9 @@ const _hE = "httpError";
143
143
  const _hQ = "httpQuery";
144
144
  const _pI = "policyIds";
145
145
  const _rT = "resourceTypes";
146
- const _s = "state";
146
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
147
147
  const _se = "server";
148
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
148
+ const _st = "state";
149
149
  const _tK = "tagKeys";
150
150
  const _tT = "targetTags";
151
151
  const _tTA = "tagsToAdd";
@@ -153,6 +153,38 @@ const n0 = "com.amazonaws.dlm";
153
153
  import { TypeRegistry } from "@smithy/core/schema";
154
154
  import { DLMServiceException } from "../models/DLMServiceException";
155
155
  import { InternalServerException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, } from "../models/errors";
156
+ const _s_registry = TypeRegistry.for(_s);
157
+ export var DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];
158
+ _s_registry.registerError(DLMServiceException$, DLMServiceException);
159
+ const n0_registry = TypeRegistry.for(n0);
160
+ export var InternalServerException$ = [-3, n0, _ISE,
161
+ { [_e]: _se, [_hE]: 500 },
162
+ [_M, _C],
163
+ [0, 0]
164
+ ];
165
+ n0_registry.registerError(InternalServerException$, InternalServerException);
166
+ export var InvalidRequestException$ = [-3, n0, _IRE,
167
+ { [_e]: _c, [_hE]: 400 },
168
+ [_M, _C, _RP, _MEP],
169
+ [0, 0, 64 | 0, 64 | 0]
170
+ ];
171
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
172
+ export var LimitExceededException$ = [-3, n0, _LEE,
173
+ { [_e]: _c, [_hE]: 429 },
174
+ [_M, _C, _RT],
175
+ [0, 0, 0]
176
+ ];
177
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
178
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
179
+ { [_e]: _c, [_hE]: 404 },
180
+ [_M, _C, _RT, _RI],
181
+ [0, 0, 0, 64 | 0]
182
+ ];
183
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
184
+ export const errorTypeRegistries = [
185
+ _s_registry,
186
+ n0_registry,
187
+ ];
156
188
  export var Action$ = [3, n0, _A,
157
189
  0,
158
190
  [_N, _CRC],
@@ -170,7 +202,7 @@ export var ArchiveRule$ = [3, n0, _AR,
170
202
  ];
171
203
  export var CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,
172
204
  0,
173
- [_ERA, _D, _S, _PD, _T, _DP, _CI, _RI, _CT, _ED, _CRCT, _E],
205
+ [_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],
174
206
  [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 3
175
207
  ];
176
208
  export var CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,
@@ -220,7 +252,7 @@ export var DeleteLifecyclePolicyResponse$ = [3, n0, _DLPRe,
220
252
  ];
221
253
  export var DeprecateRule$ = [3, n0, _DR,
222
254
  0,
223
- [_C, _I, _IU],
255
+ [_Co, _I, _IU],
224
256
  [1, 1, 0]
225
257
  ];
226
258
  export var EncryptionConfiguration$ = [3, n0, _EC,
@@ -245,13 +277,13 @@ export var Exclusions$ = [3, n0, _E,
245
277
  ];
246
278
  export var FastRestoreRule$ = [3, n0, _FRR,
247
279
  0,
248
- [_AZ, _C, _I, _IU],
280
+ [_AZ, _Co, _I, _IU],
249
281
  [64 | 0, 1, 1, 0], 1
250
282
  ];
251
283
  export var GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,
252
284
  0,
253
- [_PIo, _S, _RT, _TT, _TTA, _DPT],
254
- [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _s }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
285
+ [_PIo, _S, _RTe, _TT, _TTA, _DPT],
286
+ [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
255
287
  ];
256
288
  export var GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,
257
289
  0,
@@ -268,18 +300,6 @@ export var GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,
268
300
  [_Pol],
269
301
  [() => LifecyclePolicy$]
270
302
  ];
271
- export var InternalServerException$ = [-3, n0, _ISE,
272
- { [_e]: _se, [_hE]: 500 },
273
- [_M, _Co],
274
- [0, 0]
275
- ];
276
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
277
- export var InvalidRequestException$ = [-3, n0, _IRE,
278
- { [_e]: _c, [_hE]: 400 },
279
- [_M, _Co, _RP, _MEP],
280
- [0, 0, 64 | 0, 64 | 0]
281
- ];
282
- TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
283
303
  export var LifecyclePolicy$ = [3, n0, _LP,
284
304
  0,
285
305
  [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
@@ -290,12 +310,6 @@ export var LifecyclePolicySummary$ = [3, n0, _LPS,
290
310
  [_PI, _D, _S, _T, _PT, _DP],
291
311
  [0, 0, 0, 128 | 0, 0, 2]
292
312
  ];
293
- export var LimitExceededException$ = [-3, n0, _LEE,
294
- { [_e]: _c, [_hE]: 429 },
295
- [_M, _Co, _RTe],
296
- [0, 0, 0]
297
- ];
298
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
299
313
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
300
314
  0,
301
315
  [_RA],
@@ -313,23 +327,17 @@ export var _Parameters$ = [3, n0, _P,
313
327
  ];
314
328
  export var PolicyDetails$ = [3, n0, _PD,
315
329
  0,
316
- [_PT, _RT, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RTe, _CI, _RI, _CT, _CRCT, _ED, _E],
330
+ [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],
317
331
  [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => Exclusions$]
318
332
  ];
319
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
320
- { [_e]: _c, [_hE]: 404 },
321
- [_M, _Co, _RTe, _RIe],
322
- [0, 0, 0, 64 | 0]
323
- ];
324
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
325
333
  export var RetainRule$ = [3, n0, _RR,
326
334
  0,
327
- [_C, _I, _IU],
335
+ [_Co, _I, _IU],
328
336
  [1, 1, 0]
329
337
  ];
330
338
  export var RetentionArchiveTier$ = [3, n0, _RAT,
331
339
  0,
332
- [_C, _I, _IU],
340
+ [_Co, _I, _IU],
333
341
  [1, 1, 0]
334
342
  ];
335
343
  export var Schedule$ = [3, n0, _Sche,
@@ -374,7 +382,7 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
374
382
  ];
375
383
  export var UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,
376
384
  0,
377
- [_PI, _ERA, _S, _D, _PD, _CI, _RI, _CT, _ED, _CRCT, _E],
385
+ [_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],
378
386
  [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 1
379
387
  ];
380
388
  export var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
@@ -382,8 +390,6 @@ export var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
382
390
  [],
383
391
  []
384
392
  ];
385
- export var DLMServiceException$ = [-3, _sm, "DLMServiceException", 0, [], []];
386
- TypeRegistry.for(_sm).registerError(DLMServiceException$, DLMServiceException);
387
393
  var ActionList = [1, n0, _AL,
388
394
  0, () => Action$
389
395
  ];
@@ -1,4 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var DLMServiceException$: StaticErrorSchema;
4
+ export declare var InternalServerException$: StaticErrorSchema;
5
+ export declare var InvalidRequestException$: StaticErrorSchema;
6
+ export declare var LimitExceededException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
2
14
  export declare var Action$: StaticStructureSchema;
3
15
  export declare var ArchiveRetainRule$: StaticStructureSchema;
4
16
  export declare var ArchiveRule$: StaticStructureSchema;
@@ -22,16 +34,12 @@ export declare var GetLifecyclePoliciesRequest$: StaticStructureSchema;
22
34
  export declare var GetLifecyclePoliciesResponse$: StaticStructureSchema;
23
35
  export declare var GetLifecyclePolicyRequest$: StaticStructureSchema;
24
36
  export declare var GetLifecyclePolicyResponse$: StaticStructureSchema;
25
- export declare var InternalServerException$: StaticErrorSchema;
26
- export declare var InvalidRequestException$: StaticErrorSchema;
27
37
  export declare var LifecyclePolicy$: StaticStructureSchema;
28
38
  export declare var LifecyclePolicySummary$: StaticStructureSchema;
29
- export declare var LimitExceededException$: StaticErrorSchema;
30
39
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
31
40
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
32
41
  export declare var _Parameters$: StaticStructureSchema;
33
42
  export declare var PolicyDetails$: StaticStructureSchema;
34
- export declare var ResourceNotFoundException$: StaticErrorSchema;
35
43
  export declare var RetainRule$: StaticStructureSchema;
36
44
  export declare var RetentionArchiveTier$: StaticStructureSchema;
37
45
  export declare var Schedule$: StaticStructureSchema;
@@ -44,7 +52,6 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
44
52
  export declare var UntagResourceResponse$: StaticStructureSchema;
45
53
  export declare var UpdateLifecyclePolicyRequest$: StaticStructureSchema;
46
54
  export declare var UpdateLifecyclePolicyResponse$: StaticStructureSchema;
47
- export declare var DLMServiceException$: StaticErrorSchema;
48
55
  export declare var CreateLifecyclePolicy$: StaticOperationSchema;
49
56
  export declare var DeleteLifecyclePolicy$: StaticOperationSchema;
50
57
  export declare var GetLifecyclePolicies$: StaticOperationSchema;
@@ -1,8 +1,15 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var DLMServiceException$: StaticErrorSchema;
8
+ export declare var InternalServerException$: StaticErrorSchema;
9
+ export declare var InvalidRequestException$: StaticErrorSchema;
10
+ export declare var LimitExceededException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare const errorTypeRegistries: TypeRegistry[];
6
13
  export declare var Action$: StaticStructureSchema;
7
14
  export declare var ArchiveRetainRule$: StaticStructureSchema;
8
15
  export declare var ArchiveRule$: StaticStructureSchema;
@@ -26,16 +33,12 @@ export declare var GetLifecyclePoliciesRequest$: StaticStructureSchema;
26
33
  export declare var GetLifecyclePoliciesResponse$: StaticStructureSchema;
27
34
  export declare var GetLifecyclePolicyRequest$: StaticStructureSchema;
28
35
  export declare var GetLifecyclePolicyResponse$: StaticStructureSchema;
29
- export declare var InternalServerException$: StaticErrorSchema;
30
- export declare var InvalidRequestException$: StaticErrorSchema;
31
36
  export declare var LifecyclePolicy$: StaticStructureSchema;
32
37
  export declare var LifecyclePolicySummary$: StaticStructureSchema;
33
- export declare var LimitExceededException$: StaticErrorSchema;
34
38
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
35
39
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
36
40
  export declare var _Parameters$: StaticStructureSchema;
37
41
  export declare var PolicyDetails$: StaticStructureSchema;
38
- export declare var ResourceNotFoundException$: StaticErrorSchema;
39
42
  export declare var RetainRule$: StaticStructureSchema;
40
43
  export declare var RetentionArchiveTier$: StaticStructureSchema;
41
44
  export declare var Schedule$: StaticStructureSchema;
@@ -48,7 +51,6 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
48
51
  export declare var UntagResourceResponse$: StaticStructureSchema;
49
52
  export declare var UpdateLifecyclePolicyRequest$: StaticStructureSchema;
50
53
  export declare var UpdateLifecyclePolicyResponse$: StaticStructureSchema;
51
- export declare var DLMServiceException$: StaticErrorSchema;
52
54
  export declare var CreateLifecyclePolicy$: StaticOperationSchema;
53
55
  export declare var DeleteLifecyclePolicy$: StaticOperationSchema;
54
56
  export declare var GetLifecyclePolicies$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dlm",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",