@aws-sdk/client-dlm 3.927.0 → 3.929.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.
Files changed (29) hide show
  1. package/dist-cjs/index.js +528 -397
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DLMClient.js +2 -0
  4. package/dist-es/commands/CreateLifecyclePolicyCommand.js +3 -9
  5. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
  6. package/dist-es/commands/GetLifecyclePoliciesCommand.js +3 -9
  7. package/dist-es/commands/GetLifecyclePolicyCommand.js +3 -9
  8. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  9. package/dist-es/commands/TagResourceCommand.js +3 -9
  10. package/dist-es/commands/UntagResourceCommand.js +3 -9
  11. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +3 -9
  12. package/dist-es/runtimeConfig.shared.js +2 -0
  13. package/dist-es/schemas/schemas_0.js +526 -0
  14. package/dist-types/DLMClient.d.ts +10 -1
  15. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  16. package/dist-types/runtimeConfig.d.ts +1 -0
  17. package/dist-types/runtimeConfig.native.d.ts +1 -0
  18. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  19. package/dist-types/schemas/schemas_0.d.ts +83 -0
  20. package/dist-types/ts3.4/DLMClient.d.ts +4 -0
  21. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  22. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +88 -0
  26. package/package.json +5 -5
  27. package/dist-es/protocols/Aws_restJson1.js +0 -343
  28. package/dist-types/protocols/Aws_restJson1.d.ts +0 -74
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -101
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class DLMClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class DLMClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class DLMServiceException extends smithyClient.ServiceException {
113
+ let DLMServiceException$1 = class DLMServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, DLMServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const RetentionIntervalUnitValues = {
121
121
  DAYS: "DAYS",
@@ -170,7 +170,7 @@ const SettablePolicyStateValues = {
170
170
  DISABLED: "DISABLED",
171
171
  ENABLED: "ENABLED",
172
172
  };
173
- class InternalServerException extends DLMServiceException {
173
+ let InternalServerException$1 = class InternalServerException extends DLMServiceException$1 {
174
174
  name = "InternalServerException";
175
175
  $fault = "server";
176
176
  Message;
@@ -185,8 +185,8 @@ class InternalServerException extends DLMServiceException {
185
185
  this.Message = opts.Message;
186
186
  this.Code = opts.Code;
187
187
  }
188
- }
189
- class InvalidRequestException extends DLMServiceException {
188
+ };
189
+ let InvalidRequestException$1 = class InvalidRequestException extends DLMServiceException$1 {
190
190
  name = "InvalidRequestException";
191
191
  $fault = "client";
192
192
  Message;
@@ -205,8 +205,8 @@ class InvalidRequestException extends DLMServiceException {
205
205
  this.RequiredParameters = opts.RequiredParameters;
206
206
  this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
207
207
  }
208
- }
209
- class LimitExceededException extends DLMServiceException {
208
+ };
209
+ let LimitExceededException$1 = class LimitExceededException extends DLMServiceException$1 {
210
210
  name = "LimitExceededException";
211
211
  $fault = "client";
212
212
  Message;
@@ -223,13 +223,13 @@ class LimitExceededException extends DLMServiceException {
223
223
  this.Code = opts.Code;
224
224
  this.ResourceType = opts.ResourceType;
225
225
  }
226
- }
226
+ };
227
227
  const DefaultPoliciesTypeValues = {
228
228
  ALL: "ALL",
229
229
  INSTANCE: "INSTANCE",
230
230
  VOLUME: "VOLUME",
231
231
  };
232
- class ResourceNotFoundException extends DLMServiceException {
232
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DLMServiceException$1 {
233
233
  name = "ResourceNotFoundException";
234
234
  $fault = "client";
235
235
  Message;
@@ -248,365 +248,531 @@ class ResourceNotFoundException extends DLMServiceException {
248
248
  this.ResourceType = opts.ResourceType;
249
249
  this.ResourceIds = opts.ResourceIds;
250
250
  }
251
- }
251
+ };
252
252
  const GettablePolicyStateValues = {
253
253
  DISABLED: "DISABLED",
254
254
  ENABLED: "ENABLED",
255
255
  ERROR: "ERROR",
256
256
  };
257
257
 
258
- const se_CreateLifecyclePolicyCommand = async (input, context) => {
259
- const b = core.requestBuilder(input, context);
260
- const headers = {
261
- "content-type": "application/json",
262
- };
263
- b.bp("/policies");
264
- let body;
265
- body = JSON.stringify(smithyClient.take(input, {
266
- CopyTags: [],
267
- CreateInterval: [],
268
- CrossRegionCopyTargets: (_) => smithyClient._json(_),
269
- DefaultPolicy: [],
270
- Description: [],
271
- Exclusions: (_) => smithyClient._json(_),
272
- ExecutionRoleArn: [],
273
- ExtendDeletion: [],
274
- PolicyDetails: (_) => smithyClient._json(_),
275
- RetainInterval: [],
276
- State: [],
277
- Tags: (_) => smithyClient._json(_),
278
- }));
279
- b.m("POST").h(headers).b(body);
280
- return b.build();
281
- };
282
- const se_DeleteLifecyclePolicyCommand = async (input, context) => {
283
- const b = core.requestBuilder(input, context);
284
- const headers = {};
285
- b.bp("/policies/{PolicyId}");
286
- b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
287
- let body;
288
- b.m("DELETE").h(headers).b(body);
289
- return b.build();
290
- };
291
- const se_GetLifecyclePoliciesCommand = async (input, context) => {
292
- const b = core.requestBuilder(input, context);
293
- const headers = {};
294
- b.bp("/policies");
295
- const query = smithyClient.map({
296
- [_pI]: [() => input.PolicyIds !== void 0, () => input[_PI] || []],
297
- [_s]: [, input[_S]],
298
- [_rT]: [() => input.ResourceTypes !== void 0, () => input[_RT] || []],
299
- [_tT]: [() => input.TargetTags !== void 0, () => input[_TT] || []],
300
- [_tTA]: [() => input.TagsToAdd !== void 0, () => input[_TTA] || []],
301
- [_dPT]: [, input[_DPT]],
302
- });
303
- let body;
304
- b.m("GET").h(headers).q(query).b(body);
305
- return b.build();
306
- };
307
- const se_GetLifecyclePolicyCommand = async (input, context) => {
308
- const b = core.requestBuilder(input, context);
309
- const headers = {};
310
- b.bp("/policies/{PolicyId}");
311
- b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
312
- let body;
313
- b.m("GET").h(headers).b(body);
314
- return b.build();
315
- };
316
- const se_ListTagsForResourceCommand = async (input, context) => {
317
- const b = core.requestBuilder(input, context);
318
- const headers = {};
319
- b.bp("/tags/{ResourceArn}");
320
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
321
- let body;
322
- b.m("GET").h(headers).b(body);
323
- return b.build();
324
- };
325
- const se_TagResourceCommand = async (input, context) => {
326
- const b = core.requestBuilder(input, context);
327
- const headers = {
328
- "content-type": "application/json",
329
- };
330
- b.bp("/tags/{ResourceArn}");
331
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
332
- let body;
333
- body = JSON.stringify(smithyClient.take(input, {
334
- Tags: (_) => smithyClient._json(_),
335
- }));
336
- b.m("POST").h(headers).b(body);
337
- return b.build();
338
- };
339
- const se_UntagResourceCommand = async (input, context) => {
340
- const b = core.requestBuilder(input, context);
341
- const headers = {};
342
- b.bp("/tags/{ResourceArn}");
343
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
344
- const query = smithyClient.map({
345
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
346
- });
347
- let body;
348
- b.m("DELETE").h(headers).q(query).b(body);
349
- return b.build();
350
- };
351
- const se_UpdateLifecyclePolicyCommand = async (input, context) => {
352
- const b = core.requestBuilder(input, context);
353
- const headers = {
354
- "content-type": "application/json",
355
- };
356
- b.bp("/policies/{PolicyId}");
357
- b.p("PolicyId", () => input.PolicyId, "{PolicyId}", false);
358
- let body;
359
- body = JSON.stringify(smithyClient.take(input, {
360
- CopyTags: [],
361
- CreateInterval: [],
362
- CrossRegionCopyTargets: (_) => smithyClient._json(_),
363
- Description: [],
364
- Exclusions: (_) => smithyClient._json(_),
365
- ExecutionRoleArn: [],
366
- ExtendDeletion: [],
367
- PolicyDetails: (_) => smithyClient._json(_),
368
- RetainInterval: [],
369
- State: [],
370
- }));
371
- b.m("PATCH").h(headers).b(body);
372
- return b.build();
373
- };
374
- const de_CreateLifecyclePolicyCommand = async (output, context) => {
375
- if (output.statusCode !== 200 && output.statusCode >= 300) {
376
- return de_CommandError(output, context);
377
- }
378
- const contents = smithyClient.map({
379
- $metadata: deserializeMetadata(output),
380
- });
381
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
382
- const doc = smithyClient.take(data, {
383
- PolicyId: smithyClient.expectString,
384
- });
385
- Object.assign(contents, doc);
386
- return contents;
387
- };
388
- const de_DeleteLifecyclePolicyCommand = async (output, context) => {
389
- if (output.statusCode !== 200 && output.statusCode >= 300) {
390
- return de_CommandError(output, context);
391
- }
392
- const contents = smithyClient.map({
393
- $metadata: deserializeMetadata(output),
394
- });
395
- await smithyClient.collectBody(output.body, context);
396
- return contents;
397
- };
398
- const de_GetLifecyclePoliciesCommand = async (output, context) => {
399
- if (output.statusCode !== 200 && output.statusCode >= 300) {
400
- return de_CommandError(output, context);
401
- }
402
- const contents = smithyClient.map({
403
- $metadata: deserializeMetadata(output),
404
- });
405
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
406
- const doc = smithyClient.take(data, {
407
- Policies: smithyClient._json,
408
- });
409
- Object.assign(contents, doc);
410
- return contents;
411
- };
412
- const de_GetLifecyclePolicyCommand = async (output, context) => {
413
- if (output.statusCode !== 200 && output.statusCode >= 300) {
414
- return de_CommandError(output, context);
415
- }
416
- const contents = smithyClient.map({
417
- $metadata: deserializeMetadata(output),
418
- });
419
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
420
- const doc = smithyClient.take(data, {
421
- Policy: (_) => de_LifecyclePolicy(_),
422
- });
423
- Object.assign(contents, doc);
424
- return contents;
425
- };
426
- const de_ListTagsForResourceCommand = async (output, context) => {
427
- if (output.statusCode !== 200 && output.statusCode >= 300) {
428
- return de_CommandError(output, context);
429
- }
430
- const contents = smithyClient.map({
431
- $metadata: deserializeMetadata(output),
432
- });
433
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
434
- const doc = smithyClient.take(data, {
435
- Tags: smithyClient._json,
436
- });
437
- Object.assign(contents, doc);
438
- return contents;
439
- };
440
- const de_TagResourceCommand = async (output, context) => {
441
- if (output.statusCode !== 200 && output.statusCode >= 300) {
442
- return de_CommandError(output, context);
443
- }
444
- const contents = smithyClient.map({
445
- $metadata: deserializeMetadata(output),
446
- });
447
- await smithyClient.collectBody(output.body, context);
448
- return contents;
449
- };
450
- const de_UntagResourceCommand = async (output, context) => {
451
- if (output.statusCode !== 200 && output.statusCode >= 300) {
452
- return de_CommandError(output, context);
453
- }
454
- const contents = smithyClient.map({
455
- $metadata: deserializeMetadata(output),
456
- });
457
- await smithyClient.collectBody(output.body, context);
458
- return contents;
459
- };
460
- const de_UpdateLifecyclePolicyCommand = async (output, context) => {
461
- if (output.statusCode !== 200 && output.statusCode >= 300) {
462
- return de_CommandError(output, context);
463
- }
464
- const contents = smithyClient.map({
465
- $metadata: deserializeMetadata(output),
466
- });
467
- await smithyClient.collectBody(output.body, context);
468
- return contents;
469
- };
470
- const de_CommandError = async (output, context) => {
471
- const parsedOutput = {
472
- ...output,
473
- body: await core$1.parseJsonErrorBody(output.body, context),
474
- };
475
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
476
- switch (errorCode) {
477
- case "InternalServerException":
478
- case "com.amazonaws.dlm#InternalServerException":
479
- throw await de_InternalServerExceptionRes(parsedOutput);
480
- case "InvalidRequestException":
481
- case "com.amazonaws.dlm#InvalidRequestException":
482
- throw await de_InvalidRequestExceptionRes(parsedOutput);
483
- case "LimitExceededException":
484
- case "com.amazonaws.dlm#LimitExceededException":
485
- throw await de_LimitExceededExceptionRes(parsedOutput);
486
- case "ResourceNotFoundException":
487
- case "com.amazonaws.dlm#ResourceNotFoundException":
488
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
489
- default:
490
- const parsedBody = parsedOutput.body;
491
- return throwDefaultError({
492
- output,
493
- parsedBody,
494
- errorCode,
495
- });
496
- }
497
- };
498
- const throwDefaultError = smithyClient.withBaseException(DLMServiceException);
499
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
500
- const contents = smithyClient.map({});
501
- const data = parsedOutput.body;
502
- const doc = smithyClient.take(data, {
503
- Code: smithyClient.expectString,
504
- Message: smithyClient.expectString,
505
- });
506
- Object.assign(contents, doc);
507
- const exception = new InternalServerException({
508
- $metadata: deserializeMetadata(parsedOutput),
509
- ...contents,
510
- });
511
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
512
- };
513
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
514
- const contents = smithyClient.map({});
515
- const data = parsedOutput.body;
516
- const doc = smithyClient.take(data, {
517
- Code: smithyClient.expectString,
518
- Message: smithyClient.expectString,
519
- MutuallyExclusiveParameters: smithyClient._json,
520
- RequiredParameters: smithyClient._json,
521
- });
522
- Object.assign(contents, doc);
523
- const exception = new InvalidRequestException({
524
- $metadata: deserializeMetadata(parsedOutput),
525
- ...contents,
526
- });
527
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
528
- };
529
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
530
- const contents = smithyClient.map({});
531
- const data = parsedOutput.body;
532
- const doc = smithyClient.take(data, {
533
- Code: smithyClient.expectString,
534
- Message: smithyClient.expectString,
535
- ResourceType: smithyClient.expectString,
536
- });
537
- Object.assign(contents, doc);
538
- const exception = new LimitExceededException({
539
- $metadata: deserializeMetadata(parsedOutput),
540
- ...contents,
541
- });
542
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
543
- };
544
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
545
- const contents = smithyClient.map({});
546
- const data = parsedOutput.body;
547
- const doc = smithyClient.take(data, {
548
- Code: smithyClient.expectString,
549
- Message: smithyClient.expectString,
550
- ResourceIds: smithyClient._json,
551
- ResourceType: smithyClient.expectString,
552
- });
553
- Object.assign(contents, doc);
554
- const exception = new ResourceNotFoundException({
555
- $metadata: deserializeMetadata(parsedOutput),
556
- ...contents,
557
- });
558
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
559
- };
560
- const de_LifecyclePolicy = (output, context) => {
561
- return smithyClient.take(output, {
562
- DateCreated: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
563
- DateModified: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
564
- DefaultPolicy: smithyClient.expectBoolean,
565
- Description: smithyClient.expectString,
566
- ExecutionRoleArn: smithyClient.expectString,
567
- PolicyArn: smithyClient.expectString,
568
- PolicyDetails: smithyClient._json,
569
- PolicyId: smithyClient.expectString,
570
- State: smithyClient.expectString,
571
- StatusMessage: smithyClient.expectString,
572
- Tags: smithyClient._json,
573
- });
574
- };
575
- const deserializeMetadata = (output) => ({
576
- httpStatusCode: output.statusCode,
577
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
578
- extendedRequestId: output.headers["x-amz-id-2"],
579
- cfId: output.headers["x-amz-cf-id"],
580
- });
258
+ const _A = "Action";
259
+ const _AL = "ActionList";
260
+ const _AR = "ArchiveRule";
261
+ const _ARR = "ArchiveRetainRule";
262
+ const _AZ = "AvailabilityZones";
263
+ const _Ac = "Actions";
264
+ const _C = "Count";
265
+ const _CA = "CmkArn";
266
+ const _CE = "CronExpression";
267
+ const _CI = "CreateInterval";
268
+ const _CLP = "CreateLifecyclePolicy";
269
+ const _CLPR = "CreateLifecyclePolicyRequest";
270
+ const _CLPRr = "CreateLifecyclePolicyResponse";
271
+ const _CR = "CreateRule";
272
+ const _CRC = "CrossRegionCopy";
273
+ const _CRCA = "CrossRegionCopyAction";
274
+ const _CRCAL = "CrossRegionCopyActionList";
275
+ const _CRCDR = "CrossRegionCopyDeprecateRule";
276
+ const _CRCR = "CrossRegionCopyRule";
277
+ const _CRCRR = "CrossRegionCopyRetainRule";
278
+ const _CRCRr = "CrossRegionCopyRules";
279
+ const _CRCT = "CrossRegionCopyTargets";
280
+ const _CRCTL = "CrossRegionCopyTargetList";
281
+ const _CRCTr = "CrossRegionCopyTarget";
282
+ const _CT = "CopyTags";
283
+ const _Co = "Code";
284
+ const _D = "Description";
285
+ const _DC = "DateCreated";
286
+ const _DLP = "DeleteLifecyclePolicy";
287
+ const _DLPR = "DeleteLifecyclePolicyRequest";
288
+ const _DLPRe = "DeleteLifecyclePolicyResponse";
289
+ const _DM = "DateModified";
290
+ const _DP = "DefaultPolicy";
581
291
  const _DPT = "DefaultPolicyType";
582
- const _PI = "PolicyIds";
292
+ const _DR = "DeprecateRule";
293
+ const _DRe = "DescriptionRegex";
294
+ const _E = "Exclusions";
295
+ const _EBV = "ExcludeBootVolumes";
296
+ const _EBVx = "ExcludeBootVolume";
297
+ const _EC = "EncryptionConfiguration";
298
+ const _ED = "ExtendDeletion";
299
+ const _EDVT = "ExcludeDataVolumeTags";
300
+ const _EDVTL = "ExcludeDataVolumeTagList";
301
+ const _EH = "ExecutionHandler";
302
+ const _EHS = "ExecutionHandlerService";
303
+ const _EOOSF = "ExecuteOperationOnScriptFailure";
304
+ const _EP = "EventParameters";
305
+ const _ERA = "ExecutionRoleArn";
306
+ const _ES = "EventSource";
307
+ const _ET = "EventType";
308
+ const _ETL = "ExcludeTagsList";
309
+ const _ETx = "ExcludeTags";
310
+ const _ETxe = "ExecutionTimeout";
311
+ const _EVT = "ExcludeVolumeTypes";
312
+ const _En = "Encrypted";
313
+ const _FRR = "FastRestoreRule";
314
+ const _GLP = "GetLifecyclePolicies";
315
+ const _GLPR = "GetLifecyclePoliciesRequest";
316
+ const _GLPRe = "GetLifecyclePoliciesResponse";
317
+ const _GLPRet = "GetLifecyclePolicyRequest";
318
+ const _GLPReti = "GetLifecyclePolicyResponse";
319
+ const _GLPe = "GetLifecyclePolicy";
320
+ const _I = "Interval";
321
+ const _IRE = "InvalidRequestException";
322
+ const _ISE = "InternalServerException";
323
+ const _IU = "IntervalUnit";
324
+ const _K = "Key";
325
+ const _L = "Location";
326
+ const _LEE = "LimitExceededException";
327
+ const _LP = "LifecyclePolicy";
328
+ const _LPS = "LifecyclePolicySummary";
329
+ const _LPSL = "LifecyclePolicySummaryList";
330
+ const _LTFR = "ListTagsForResource";
331
+ const _LTFRR = "ListTagsForResourceRequest";
332
+ const _LTFRRi = "ListTagsForResourceResponse";
333
+ const _M = "Message";
334
+ const _MEP = "MutuallyExclusiveParameters";
335
+ const _MRC = "MaximumRetryCount";
336
+ const _N = "Name";
337
+ const _NR = "NoReboot";
338
+ const _P = "Parameters";
339
+ const _PA = "PolicyArn";
340
+ const _PD = "PolicyDetails";
341
+ const _PI = "PolicyId";
342
+ const _PIo = "PolicyIds";
343
+ const _PL = "PolicyLanguage";
344
+ const _PT = "PolicyType";
345
+ const _Po = "Policies";
346
+ const _Pol = "Policy";
347
+ const _RA = "ResourceArn";
348
+ const _RAT = "RetentionArchiveTier";
349
+ const _RI = "RetainInterval";
350
+ const _RIe = "ResourceIds";
351
+ const _RL = "ResourceLocations";
352
+ const _RNFE = "ResourceNotFoundException";
353
+ const _RP = "RequiredParameters";
354
+ const _RR = "RetainRule";
583
355
  const _RT = "ResourceTypes";
356
+ const _RTe = "ResourceType";
584
357
  const _S = "State";
358
+ const _SL = "ScheduleList";
359
+ const _SLc = "ScriptsList";
360
+ const _SM = "StatusMessage";
361
+ const _SO = "SnapshotOwner";
362
+ const _SR = "ShareRules";
363
+ const _SRh = "ShareRule";
364
+ const _Sc = "Scripts";
365
+ const _Sch = "Schedules";
366
+ const _Sche = "Schedule";
367
+ const _Scr = "Script";
368
+ const _St = "Stages";
369
+ const _T = "Tags";
370
+ const _TA = "TargetAccounts";
585
371
  const _TK = "TagKeys";
372
+ const _TR = "TargetRegion";
373
+ const _TRR = "TagResourceRequest";
374
+ const _TRRa = "TagResourceResponse";
375
+ const _TRa = "TagResource";
586
376
  const _TT = "TargetTags";
587
377
  const _TTA = "TagsToAdd";
378
+ const _TTAL = "TagsToAddList";
379
+ const _TTL = "TargetTagList";
380
+ const _Ta = "Target";
381
+ const _Tag = "Tag";
382
+ const _Ti = "Times";
383
+ const _Ty = "Type";
384
+ const _UI = "UnshareInterval";
385
+ const _UIU = "UnshareIntervalUnit";
386
+ const _ULP = "UpdateLifecyclePolicy";
387
+ const _ULPR = "UpdateLifecyclePolicyRequest";
388
+ const _ULPRp = "UpdateLifecyclePolicyResponse";
389
+ const _UR = "UntagResource";
390
+ const _URR = "UntagResourceRequest";
391
+ const _URRn = "UntagResourceResponse";
392
+ const _V = "Value";
393
+ const _VT = "VariableTags";
394
+ const _VTL = "VariableTagsList";
395
+ const _c = "client";
588
396
  const _dPT = "defaultPolicyType";
397
+ const _e = "error";
398
+ const _h = "http";
399
+ const _hE = "httpError";
400
+ const _hQ = "httpQuery";
589
401
  const _pI = "policyIds";
590
402
  const _rT = "resourceTypes";
591
403
  const _s = "state";
404
+ const _se = "server";
405
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
592
406
  const _tK = "tagKeys";
593
407
  const _tT = "targetTags";
594
408
  const _tTA = "tagsToAdd";
409
+ const n0 = "com.amazonaws.dlm";
410
+ var Action = [3, n0, _A, 0, [_N, _CRC], [0, () => CrossRegionCopyActionList]];
411
+ var ArchiveRetainRule = [3, n0, _ARR, 0, [_RAT], [() => RetentionArchiveTier]];
412
+ var ArchiveRule = [3, n0, _AR, 0, [_RR], [() => ArchiveRetainRule]];
413
+ var CreateLifecyclePolicyRequest = [
414
+ 3,
415
+ n0,
416
+ _CLPR,
417
+ 0,
418
+ [_ERA, _D, _S, _PD, _T, _DP, _CI, _RI, _CT, _ED, _CRCT, _E],
419
+ [0, 0, 0, () => PolicyDetails, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions],
420
+ ];
421
+ var CreateLifecyclePolicyResponse = [3, n0, _CLPRr, 0, [_PI], [0]];
422
+ var CreateRule = [
423
+ 3,
424
+ n0,
425
+ _CR,
426
+ 0,
427
+ [_L, _I, _IU, _Ti, _CE, _Sc],
428
+ [0, 1, 0, 64 | 0, 0, () => ScriptsList],
429
+ ];
430
+ var CrossRegionCopyAction = [
431
+ 3,
432
+ n0,
433
+ _CRCA,
434
+ 0,
435
+ [_Ta, _EC, _RR],
436
+ [0, () => EncryptionConfiguration, () => CrossRegionCopyRetainRule],
437
+ ];
438
+ var CrossRegionCopyDeprecateRule = [3, n0, _CRCDR, 0, [_I, _IU], [1, 0]];
439
+ var CrossRegionCopyRetainRule = [3, n0, _CRCRR, 0, [_I, _IU], [1, 0]];
440
+ var CrossRegionCopyRule = [
441
+ 3,
442
+ n0,
443
+ _CRCR,
444
+ 0,
445
+ [_TR, _Ta, _En, _CA, _CT, _RR, _DR],
446
+ [0, 0, 2, 0, 2, () => CrossRegionCopyRetainRule, () => CrossRegionCopyDeprecateRule],
447
+ ];
448
+ var CrossRegionCopyTarget = [3, n0, _CRCTr, 0, [_TR], [0]];
449
+ var DeleteLifecyclePolicyRequest = [3, n0, _DLPR, 0, [_PI], [[0, 1]]];
450
+ var DeleteLifecyclePolicyResponse = [3, n0, _DLPRe, 0, [], []];
451
+ var DeprecateRule = [3, n0, _DR, 0, [_C, _I, _IU], [1, 1, 0]];
452
+ var EncryptionConfiguration = [3, n0, _EC, 0, [_En, _CA], [2, 0]];
453
+ var EventParameters = [3, n0, _EP, 0, [_ET, _SO, _DRe], [0, 64 | 0, 0]];
454
+ var EventSource = [3, n0, _ES, 0, [_Ty, _P], [0, () => EventParameters]];
455
+ var Exclusions = [3, n0, _E, 0, [_EBV, _EVT, _ETx], [2, 64 | 0, () => ExcludeTagsList]];
456
+ var FastRestoreRule = [3, n0, _FRR, 0, [_C, _I, _IU, _AZ], [1, 1, 0, 64 | 0]];
457
+ var GetLifecyclePoliciesRequest = [
458
+ 3,
459
+ n0,
460
+ _GLPR,
461
+ 0,
462
+ [_PIo, _S, _RT, _TT, _TTA, _DPT],
463
+ [
464
+ [
465
+ 64 | 0,
466
+ {
467
+ [_hQ]: _pI,
468
+ },
469
+ ],
470
+ [
471
+ 0,
472
+ {
473
+ [_hQ]: _s,
474
+ },
475
+ ],
476
+ [
477
+ 64 | 0,
478
+ {
479
+ [_hQ]: _rT,
480
+ },
481
+ ],
482
+ [
483
+ 64 | 0,
484
+ {
485
+ [_hQ]: _tT,
486
+ },
487
+ ],
488
+ [
489
+ 64 | 0,
490
+ {
491
+ [_hQ]: _tTA,
492
+ },
493
+ ],
494
+ [
495
+ 0,
496
+ {
497
+ [_hQ]: _dPT,
498
+ },
499
+ ],
500
+ ],
501
+ ];
502
+ var GetLifecyclePoliciesResponse = [
503
+ 3,
504
+ n0,
505
+ _GLPRe,
506
+ 0,
507
+ [_Po],
508
+ [() => LifecyclePolicySummaryList],
509
+ ];
510
+ var GetLifecyclePolicyRequest = [3, n0, _GLPRet, 0, [_PI], [[0, 1]]];
511
+ var GetLifecyclePolicyResponse = [3, n0, _GLPReti, 0, [_Pol], [() => LifecyclePolicy]];
512
+ var InternalServerException = [
513
+ -3,
514
+ n0,
515
+ _ISE,
516
+ {
517
+ [_e]: _se,
518
+ [_hE]: 500,
519
+ },
520
+ [_M, _Co],
521
+ [0, 0],
522
+ ];
523
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
524
+ var InvalidRequestException = [
525
+ -3,
526
+ n0,
527
+ _IRE,
528
+ {
529
+ [_e]: _c,
530
+ [_hE]: 400,
531
+ },
532
+ [_M, _Co, _RP, _MEP],
533
+ [0, 0, 64 | 0, 64 | 0],
534
+ ];
535
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
536
+ var LifecyclePolicy = [
537
+ 3,
538
+ n0,
539
+ _LP,
540
+ 0,
541
+ [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
542
+ [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails, 128 | 0, 0, 2],
543
+ ];
544
+ var LifecyclePolicySummary = [
545
+ 3,
546
+ n0,
547
+ _LPS,
548
+ 0,
549
+ [_PI, _D, _S, _T, _PT, _DP],
550
+ [0, 0, 0, 128 | 0, 0, 2],
551
+ ];
552
+ var LimitExceededException = [
553
+ -3,
554
+ n0,
555
+ _LEE,
556
+ {
557
+ [_e]: _c,
558
+ [_hE]: 429,
559
+ },
560
+ [_M, _Co, _RTe],
561
+ [0, 0, 0],
562
+ ];
563
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
564
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
565
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
566
+ var _Parameters = [
567
+ 3,
568
+ n0,
569
+ _P,
570
+ 0,
571
+ [_EBVx, _NR, _EDVT],
572
+ [2, 2, () => ExcludeDataVolumeTagList],
573
+ ];
574
+ var PolicyDetails = [
575
+ 3,
576
+ n0,
577
+ _PD,
578
+ 0,
579
+ [_PT, _RT, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RTe, _CI, _RI, _CT, _CRCT, _ED, _E],
580
+ [
581
+ 0,
582
+ 64 | 0,
583
+ 64 | 0,
584
+ () => TargetTagList,
585
+ () => ScheduleList,
586
+ () => _Parameters,
587
+ () => EventSource,
588
+ () => ActionList,
589
+ 0,
590
+ 0,
591
+ 1,
592
+ 1,
593
+ 2,
594
+ () => CrossRegionCopyTargetList,
595
+ 2,
596
+ () => Exclusions,
597
+ ],
598
+ ];
599
+ var ResourceNotFoundException = [
600
+ -3,
601
+ n0,
602
+ _RNFE,
603
+ {
604
+ [_e]: _c,
605
+ [_hE]: 404,
606
+ },
607
+ [_M, _Co, _RTe, _RIe],
608
+ [0, 0, 0, 64 | 0],
609
+ ];
610
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
611
+ var RetainRule = [3, n0, _RR, 0, [_C, _I, _IU], [1, 1, 0]];
612
+ var RetentionArchiveTier = [3, n0, _RAT, 0, [_C, _I, _IU], [1, 1, 0]];
613
+ var Schedule = [
614
+ 3,
615
+ n0,
616
+ _Sche,
617
+ 0,
618
+ [_N, _CT, _TTA, _VT, _CR, _RR, _FRR, _CRCRr, _SR, _DR, _AR],
619
+ [
620
+ 0,
621
+ 2,
622
+ () => TagsToAddList,
623
+ () => VariableTagsList,
624
+ () => CreateRule,
625
+ () => RetainRule,
626
+ () => FastRestoreRule,
627
+ () => CrossRegionCopyRules,
628
+ () => ShareRules,
629
+ () => DeprecateRule,
630
+ () => ArchiveRule,
631
+ ],
632
+ ];
633
+ var Script = [
634
+ 3,
635
+ n0,
636
+ _Scr,
637
+ 0,
638
+ [_St, _EHS, _EH, _EOOSF, _ETxe, _MRC],
639
+ [64 | 0, 0, 0, 2, 1, 1],
640
+ ];
641
+ var ShareRule = [3, n0, _SRh, 0, [_TA, _UI, _UIU], [64 | 0, 1, 0]];
642
+ var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
643
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
644
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
645
+ var UntagResourceRequest = [
646
+ 3,
647
+ n0,
648
+ _URR,
649
+ 0,
650
+ [_RA, _TK],
651
+ [
652
+ [0, 1],
653
+ [
654
+ 64 | 0,
655
+ {
656
+ [_hQ]: _tK,
657
+ },
658
+ ],
659
+ ],
660
+ ];
661
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
662
+ var UpdateLifecyclePolicyRequest = [
663
+ 3,
664
+ n0,
665
+ _ULPR,
666
+ 0,
667
+ [_PI, _ERA, _S, _D, _PD, _CI, _RI, _CT, _ED, _CRCT, _E],
668
+ [[0, 1], 0, 0, 0, () => PolicyDetails, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions],
669
+ ];
670
+ var UpdateLifecyclePolicyResponse = [3, n0, _ULPRp, 0, [], []];
671
+ var DLMServiceException = [-3, _sm, "DLMServiceException", 0, [], []];
672
+ schema.TypeRegistry.for(_sm).registerError(DLMServiceException, DLMServiceException$1);
673
+ var ActionList = [1, n0, _AL, 0, () => Action];
674
+ var CrossRegionCopyActionList = [1, n0, _CRCAL, 0, () => CrossRegionCopyAction];
675
+ var CrossRegionCopyRules = [1, n0, _CRCRr, 0, () => CrossRegionCopyRule];
676
+ var CrossRegionCopyTargetList = [1, n0, _CRCTL, 0, () => CrossRegionCopyTarget];
677
+ var ExcludeDataVolumeTagList = [1, n0, _EDVTL, 0, () => Tag];
678
+ var ExcludeTagsList = [1, n0, _ETL, 0, () => Tag];
679
+ var LifecyclePolicySummaryList = [1, n0, _LPSL, 0, () => LifecyclePolicySummary];
680
+ var ScheduleList = [1, n0, _SL, 0, () => Schedule];
681
+ var ScriptsList = [1, n0, _SLc, 0, () => Script];
682
+ var ShareRules = [1, n0, _SR, 0, () => ShareRule];
683
+ var TagsToAddList = [1, n0, _TTAL, 0, () => Tag];
684
+ var TargetTagList = [1, n0, _TTL, 0, () => Tag];
685
+ var VariableTagsList = [1, n0, _VTL, 0, () => Tag];
686
+ var CreateLifecyclePolicy = [
687
+ 9,
688
+ n0,
689
+ _CLP,
690
+ {
691
+ [_h]: ["POST", "/policies", 200],
692
+ },
693
+ () => CreateLifecyclePolicyRequest,
694
+ () => CreateLifecyclePolicyResponse,
695
+ ];
696
+ var DeleteLifecyclePolicy = [
697
+ 9,
698
+ n0,
699
+ _DLP,
700
+ {
701
+ [_h]: ["DELETE", "/policies/{PolicyId}", 200],
702
+ },
703
+ () => DeleteLifecyclePolicyRequest,
704
+ () => DeleteLifecyclePolicyResponse,
705
+ ];
706
+ var GetLifecyclePolicies = [
707
+ 9,
708
+ n0,
709
+ _GLP,
710
+ {
711
+ [_h]: ["GET", "/policies", 200],
712
+ },
713
+ () => GetLifecyclePoliciesRequest,
714
+ () => GetLifecyclePoliciesResponse,
715
+ ];
716
+ var GetLifecyclePolicy = [
717
+ 9,
718
+ n0,
719
+ _GLPe,
720
+ {
721
+ [_h]: ["GET", "/policies/{PolicyId}", 200],
722
+ },
723
+ () => GetLifecyclePolicyRequest,
724
+ () => GetLifecyclePolicyResponse,
725
+ ];
726
+ var ListTagsForResource = [
727
+ 9,
728
+ n0,
729
+ _LTFR,
730
+ {
731
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
732
+ },
733
+ () => ListTagsForResourceRequest,
734
+ () => ListTagsForResourceResponse,
735
+ ];
736
+ var TagResource = [
737
+ 9,
738
+ n0,
739
+ _TRa,
740
+ {
741
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
742
+ },
743
+ () => TagResourceRequest,
744
+ () => TagResourceResponse,
745
+ ];
746
+ var UntagResource = [
747
+ 9,
748
+ n0,
749
+ _UR,
750
+ {
751
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
752
+ },
753
+ () => UntagResourceRequest,
754
+ () => UntagResourceResponse,
755
+ ];
756
+ var UpdateLifecyclePolicy = [
757
+ 9,
758
+ n0,
759
+ _ULP,
760
+ {
761
+ [_h]: ["PATCH", "/policies/{PolicyId}", 200],
762
+ },
763
+ () => UpdateLifecyclePolicyRequest,
764
+ () => UpdateLifecyclePolicyResponse,
765
+ ];
595
766
 
596
767
  class CreateLifecyclePolicyCommand extends smithyClient.Command
597
768
  .classBuilder()
598
769
  .ep(commonParams)
599
770
  .m(function (Command, cs, config, o) {
600
- return [
601
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
602
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
603
- ];
771
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
604
772
  })
605
773
  .s("dlm_20180112", "CreateLifecyclePolicy", {})
606
774
  .n("DLMClient", "CreateLifecyclePolicyCommand")
607
- .f(void 0, void 0)
608
- .ser(se_CreateLifecyclePolicyCommand)
609
- .de(de_CreateLifecyclePolicyCommand)
775
+ .sc(CreateLifecyclePolicy)
610
776
  .build() {
611
777
  }
612
778
 
@@ -614,16 +780,11 @@ class DeleteLifecyclePolicyCommand extends smithyClient.Command
614
780
  .classBuilder()
615
781
  .ep(commonParams)
616
782
  .m(function (Command, cs, config, o) {
617
- return [
618
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
619
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
620
- ];
783
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
621
784
  })
622
785
  .s("dlm_20180112", "DeleteLifecyclePolicy", {})
623
786
  .n("DLMClient", "DeleteLifecyclePolicyCommand")
624
- .f(void 0, void 0)
625
- .ser(se_DeleteLifecyclePolicyCommand)
626
- .de(de_DeleteLifecyclePolicyCommand)
787
+ .sc(DeleteLifecyclePolicy)
627
788
  .build() {
628
789
  }
629
790
 
@@ -631,16 +792,11 @@ class GetLifecyclePoliciesCommand extends smithyClient.Command
631
792
  .classBuilder()
632
793
  .ep(commonParams)
633
794
  .m(function (Command, cs, config, o) {
634
- return [
635
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
636
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
637
- ];
795
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
638
796
  })
639
797
  .s("dlm_20180112", "GetLifecyclePolicies", {})
640
798
  .n("DLMClient", "GetLifecyclePoliciesCommand")
641
- .f(void 0, void 0)
642
- .ser(se_GetLifecyclePoliciesCommand)
643
- .de(de_GetLifecyclePoliciesCommand)
799
+ .sc(GetLifecyclePolicies)
644
800
  .build() {
645
801
  }
646
802
 
@@ -648,16 +804,11 @@ class GetLifecyclePolicyCommand extends smithyClient.Command
648
804
  .classBuilder()
649
805
  .ep(commonParams)
650
806
  .m(function (Command, cs, config, o) {
651
- return [
652
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
653
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
654
- ];
807
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
655
808
  })
656
809
  .s("dlm_20180112", "GetLifecyclePolicy", {})
657
810
  .n("DLMClient", "GetLifecyclePolicyCommand")
658
- .f(void 0, void 0)
659
- .ser(se_GetLifecyclePolicyCommand)
660
- .de(de_GetLifecyclePolicyCommand)
811
+ .sc(GetLifecyclePolicy)
661
812
  .build() {
662
813
  }
663
814
 
@@ -665,16 +816,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
665
816
  .classBuilder()
666
817
  .ep(commonParams)
667
818
  .m(function (Command, cs, config, o) {
668
- return [
669
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
670
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
671
- ];
819
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
672
820
  })
673
821
  .s("dlm_20180112", "ListTagsForResource", {})
674
822
  .n("DLMClient", "ListTagsForResourceCommand")
675
- .f(void 0, void 0)
676
- .ser(se_ListTagsForResourceCommand)
677
- .de(de_ListTagsForResourceCommand)
823
+ .sc(ListTagsForResource)
678
824
  .build() {
679
825
  }
680
826
 
@@ -682,16 +828,11 @@ class TagResourceCommand extends smithyClient.Command
682
828
  .classBuilder()
683
829
  .ep(commonParams)
684
830
  .m(function (Command, cs, config, o) {
685
- return [
686
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
687
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
688
- ];
831
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
689
832
  })
690
833
  .s("dlm_20180112", "TagResource", {})
691
834
  .n("DLMClient", "TagResourceCommand")
692
- .f(void 0, void 0)
693
- .ser(se_TagResourceCommand)
694
- .de(de_TagResourceCommand)
835
+ .sc(TagResource)
695
836
  .build() {
696
837
  }
697
838
 
@@ -699,16 +840,11 @@ class UntagResourceCommand extends smithyClient.Command
699
840
  .classBuilder()
700
841
  .ep(commonParams)
701
842
  .m(function (Command, cs, config, o) {
702
- return [
703
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
704
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
705
- ];
843
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
706
844
  })
707
845
  .s("dlm_20180112", "UntagResource", {})
708
846
  .n("DLMClient", "UntagResourceCommand")
709
- .f(void 0, void 0)
710
- .ser(se_UntagResourceCommand)
711
- .de(de_UntagResourceCommand)
847
+ .sc(UntagResource)
712
848
  .build() {
713
849
  }
714
850
 
@@ -716,16 +852,11 @@ class UpdateLifecyclePolicyCommand extends smithyClient.Command
716
852
  .classBuilder()
717
853
  .ep(commonParams)
718
854
  .m(function (Command, cs, config, o) {
719
- return [
720
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
721
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
722
- ];
855
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
723
856
  })
724
857
  .s("dlm_20180112", "UpdateLifecyclePolicy", {})
725
858
  .n("DLMClient", "UpdateLifecyclePolicyCommand")
726
- .f(void 0, void 0)
727
- .ser(se_UpdateLifecyclePolicyCommand)
728
- .de(de_UpdateLifecyclePolicyCommand)
859
+ .sc(UpdateLifecyclePolicy)
729
860
  .build() {
730
861
  }
731
862
 
@@ -754,7 +885,7 @@ Object.defineProperty(exports, "__Client", {
754
885
  exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
755
886
  exports.DLM = DLM;
756
887
  exports.DLMClient = DLMClient;
757
- exports.DLMServiceException = DLMServiceException;
888
+ exports.DLMServiceException = DLMServiceException$1;
758
889
  exports.DefaultPoliciesTypeValues = DefaultPoliciesTypeValues;
759
890
  exports.DefaultPolicyTypeValues = DefaultPolicyTypeValues;
760
891
  exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
@@ -764,16 +895,16 @@ exports.ExecutionHandlerServiceValues = ExecutionHandlerServiceValues;
764
895
  exports.GetLifecyclePoliciesCommand = GetLifecyclePoliciesCommand;
765
896
  exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
766
897
  exports.GettablePolicyStateValues = GettablePolicyStateValues;
767
- exports.InternalServerException = InternalServerException;
898
+ exports.InternalServerException = InternalServerException$1;
768
899
  exports.IntervalUnitValues = IntervalUnitValues;
769
- exports.InvalidRequestException = InvalidRequestException;
770
- exports.LimitExceededException = LimitExceededException;
900
+ exports.InvalidRequestException = InvalidRequestException$1;
901
+ exports.LimitExceededException = LimitExceededException$1;
771
902
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
772
903
  exports.LocationValues = LocationValues;
773
904
  exports.PolicyLanguageValues = PolicyLanguageValues;
774
905
  exports.PolicyTypeValues = PolicyTypeValues;
775
906
  exports.ResourceLocationValues = ResourceLocationValues;
776
- exports.ResourceNotFoundException = ResourceNotFoundException;
907
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
777
908
  exports.ResourceTypeValues = ResourceTypeValues;
778
909
  exports.RetentionIntervalUnitValues = RetentionIntervalUnitValues;
779
910
  exports.SettablePolicyStateValues = SettablePolicyStateValues;