@aws-sdk/client-dlm 3.54.1 → 3.58.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-dlm
9
+
10
+
11
+
12
+
13
+
14
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-dlm
17
+
18
+
19
+
20
+
21
+
22
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-dlm
25
+
26
+
27
+
28
+
29
+
6
30
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-dlm
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class DLMClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class CreateLifecyclePolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class CreateLifecyclePolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateLifecyclePolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateLifecyclePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateLifecyclePolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateLifecyclePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
@@ -11,7 +11,7 @@ class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteLifecyclePolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteLifecyclePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteLifecyclePolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteLifecyclePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
@@ -11,7 +11,7 @@ class GetLifecyclePoliciesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class GetLifecyclePoliciesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetLifecyclePoliciesCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetLifecyclePoliciesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetLifecyclePoliciesCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetLifecyclePoliciesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetLifecyclePoliciesCommand = GetLifecyclePoliciesCommand;
@@ -11,7 +11,7 @@ class GetLifecyclePolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class GetLifecyclePolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetLifecyclePolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetLifecyclePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetLifecyclePolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetLifecyclePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateLifecyclePolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DLMClient";
@@ -27,10 +27,10 @@ class UpdateLifecyclePolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateLifecyclePolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLifecyclePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateLifecyclePolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLifecyclePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "dlm",
128
128
  regionHash,
@@ -43,7 +43,7 @@ const serializeAws_restJson1DeleteLifecyclePolicyCommand = async (input, context
43
43
  if (labelValue.length <= 0) {
44
44
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
45
45
  }
46
- resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
46
+ resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
47
47
  }
48
48
  else {
49
49
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -95,7 +95,7 @@ const serializeAws_restJson1GetLifecyclePolicyCommand = async (input, context) =
95
95
  if (labelValue.length <= 0) {
96
96
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
97
97
  }
98
- resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
98
+ resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
99
99
  }
100
100
  else {
101
101
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -121,7 +121,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
121
121
  if (labelValue.length <= 0) {
122
122
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
123
123
  }
124
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
124
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
125
125
  }
126
126
  else {
127
127
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -149,7 +149,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
149
149
  if (labelValue.length <= 0) {
150
150
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
151
151
  }
152
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
152
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
153
153
  }
154
154
  else {
155
155
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -178,7 +178,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
178
178
  if (labelValue.length <= 0) {
179
179
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
180
180
  }
181
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
181
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
182
182
  }
183
183
  else {
184
184
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -210,7 +210,7 @@ const serializeAws_restJson1UpdateLifecyclePolicyCommand = async (input, context
210
210
  if (labelValue.length <= 0) {
211
211
  throw new Error("Empty value provided for input HTTP label: PolicyId.");
212
212
  }
213
- resolvedPath = resolvedPath.replace("{PolicyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
213
+ resolvedPath = resolvedPath.replace("{PolicyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
214
214
  }
215
215
  else {
216
216
  throw new Error("No value provided for input HTTP label: PolicyId.");
@@ -245,9 +245,9 @@ const deserializeAws_restJson1CreateLifecyclePolicyCommand = async (output, cont
245
245
  $metadata: deserializeMetadata(output),
246
246
  PolicyId: undefined,
247
247
  };
248
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
248
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
249
249
  if (data.PolicyId !== undefined && data.PolicyId !== null) {
250
- contents.PolicyId = smithy_client_1.expectString(data.PolicyId);
250
+ contents.PolicyId = (0, smithy_client_1.expectString)(data.PolicyId);
251
251
  }
252
252
  return Promise.resolve(contents);
253
253
  };
@@ -277,7 +277,7 @@ const deserializeAws_restJson1CreateLifecyclePolicyCommandError = async (output,
277
277
  $fault: "client",
278
278
  $metadata: deserializeMetadata(output),
279
279
  });
280
- throw smithy_client_1.decorateServiceException(response, parsedBody);
280
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
281
281
  }
282
282
  };
283
283
  const deserializeAws_restJson1DeleteLifecyclePolicyCommand = async (output, context) => {
@@ -316,7 +316,7 @@ const deserializeAws_restJson1DeleteLifecyclePolicyCommandError = async (output,
316
316
  $fault: "client",
317
317
  $metadata: deserializeMetadata(output),
318
318
  });
319
- throw smithy_client_1.decorateServiceException(response, parsedBody);
319
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
320
320
  }
321
321
  };
322
322
  const deserializeAws_restJson1GetLifecyclePoliciesCommand = async (output, context) => {
@@ -327,7 +327,7 @@ const deserializeAws_restJson1GetLifecyclePoliciesCommand = async (output, conte
327
327
  $metadata: deserializeMetadata(output),
328
328
  Policies: undefined,
329
329
  };
330
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
330
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
331
331
  if (data.Policies !== undefined && data.Policies !== null) {
332
332
  contents.Policies = deserializeAws_restJson1LifecyclePolicySummaryList(data.Policies, context);
333
333
  }
@@ -362,7 +362,7 @@ const deserializeAws_restJson1GetLifecyclePoliciesCommandError = async (output,
362
362
  $fault: "client",
363
363
  $metadata: deserializeMetadata(output),
364
364
  });
365
- throw smithy_client_1.decorateServiceException(response, parsedBody);
365
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
366
366
  }
367
367
  };
368
368
  const deserializeAws_restJson1GetLifecyclePolicyCommand = async (output, context) => {
@@ -373,7 +373,7 @@ const deserializeAws_restJson1GetLifecyclePolicyCommand = async (output, context
373
373
  $metadata: deserializeMetadata(output),
374
374
  Policy: undefined,
375
375
  };
376
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
376
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
377
377
  if (data.Policy !== undefined && data.Policy !== null) {
378
378
  contents.Policy = deserializeAws_restJson1LifecyclePolicy(data.Policy, context);
379
379
  }
@@ -405,7 +405,7 @@ const deserializeAws_restJson1GetLifecyclePolicyCommandError = async (output, co
405
405
  $fault: "client",
406
406
  $metadata: deserializeMetadata(output),
407
407
  });
408
- throw smithy_client_1.decorateServiceException(response, parsedBody);
408
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
409
409
  }
410
410
  };
411
411
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -416,7 +416,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
416
416
  $metadata: deserializeMetadata(output),
417
417
  Tags: undefined,
418
418
  };
419
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
419
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
420
420
  if (data.Tags !== undefined && data.Tags !== null) {
421
421
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
422
422
  }
@@ -448,7 +448,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
448
448
  $fault: "client",
449
449
  $metadata: deserializeMetadata(output),
450
450
  });
451
- throw smithy_client_1.decorateServiceException(response, parsedBody);
451
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
452
452
  }
453
453
  };
454
454
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -487,7 +487,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
487
487
  $fault: "client",
488
488
  $metadata: deserializeMetadata(output),
489
489
  });
490
- throw smithy_client_1.decorateServiceException(response, parsedBody);
490
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
491
491
  }
492
492
  };
493
493
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -526,7 +526,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
526
526
  $fault: "client",
527
527
  $metadata: deserializeMetadata(output),
528
528
  });
529
- throw smithy_client_1.decorateServiceException(response, parsedBody);
529
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
530
530
  }
531
531
  };
532
532
  const deserializeAws_restJson1UpdateLifecyclePolicyCommand = async (output, context) => {
@@ -568,32 +568,32 @@ const deserializeAws_restJson1UpdateLifecyclePolicyCommandError = async (output,
568
568
  $fault: "client",
569
569
  $metadata: deserializeMetadata(output),
570
570
  });
571
- throw smithy_client_1.decorateServiceException(response, parsedBody);
571
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
572
572
  }
573
573
  };
574
574
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
575
575
  const contents = {};
576
576
  const data = parsedOutput.body;
577
577
  if (data.Code !== undefined && data.Code !== null) {
578
- contents.Code = smithy_client_1.expectString(data.Code);
578
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
579
579
  }
580
580
  if (data.Message !== undefined && data.Message !== null) {
581
- contents.Message = smithy_client_1.expectString(data.Message);
581
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
582
582
  }
583
583
  const exception = new models_0_1.InternalServerException({
584
584
  $metadata: deserializeMetadata(parsedOutput),
585
585
  ...contents,
586
586
  });
587
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
587
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
588
588
  };
589
589
  const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
590
590
  const contents = {};
591
591
  const data = parsedOutput.body;
592
592
  if (data.Code !== undefined && data.Code !== null) {
593
- contents.Code = smithy_client_1.expectString(data.Code);
593
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
594
594
  }
595
595
  if (data.Message !== undefined && data.Message !== null) {
596
- contents.Message = smithy_client_1.expectString(data.Message);
596
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
597
597
  }
598
598
  if (data.MutuallyExclusiveParameters !== undefined && data.MutuallyExclusiveParameters !== null) {
599
599
  contents.MutuallyExclusiveParameters = deserializeAws_restJson1ParameterList(data.MutuallyExclusiveParameters, context);
@@ -605,46 +605,46 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
605
605
  $metadata: deserializeMetadata(parsedOutput),
606
606
  ...contents,
607
607
  });
608
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
608
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
609
609
  };
610
610
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
611
611
  const contents = {};
612
612
  const data = parsedOutput.body;
613
613
  if (data.Code !== undefined && data.Code !== null) {
614
- contents.Code = smithy_client_1.expectString(data.Code);
614
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
615
615
  }
616
616
  if (data.Message !== undefined && data.Message !== null) {
617
- contents.Message = smithy_client_1.expectString(data.Message);
617
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
618
618
  }
619
619
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
620
- contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
620
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
621
621
  }
622
622
  const exception = new models_0_1.LimitExceededException({
623
623
  $metadata: deserializeMetadata(parsedOutput),
624
624
  ...contents,
625
625
  });
626
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
626
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
627
627
  };
628
628
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
629
629
  const contents = {};
630
630
  const data = parsedOutput.body;
631
631
  if (data.Code !== undefined && data.Code !== null) {
632
- contents.Code = smithy_client_1.expectString(data.Code);
632
+ contents.Code = (0, smithy_client_1.expectString)(data.Code);
633
633
  }
634
634
  if (data.Message !== undefined && data.Message !== null) {
635
- contents.Message = smithy_client_1.expectString(data.Message);
635
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
636
636
  }
637
637
  if (data.ResourceIds !== undefined && data.ResourceIds !== null) {
638
638
  contents.ResourceIds = deserializeAws_restJson1PolicyIdList(data.ResourceIds, context);
639
639
  }
640
640
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
641
- contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
641
+ contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
642
642
  }
643
643
  const exception = new models_0_1.ResourceNotFoundException({
644
644
  $metadata: deserializeMetadata(parsedOutput),
645
645
  ...contents,
646
646
  });
647
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
647
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
648
648
  };
649
649
  const serializeAws_restJson1Action = (input, context) => {
650
650
  return {
@@ -991,7 +991,7 @@ const deserializeAws_restJson1Action = (output, context) => {
991
991
  CrossRegionCopy: output.CrossRegionCopy !== undefined && output.CrossRegionCopy !== null
992
992
  ? deserializeAws_restJson1CrossRegionCopyActionList(output.CrossRegionCopy, context)
993
993
  : undefined,
994
- Name: smithy_client_1.expectString(output.Name),
994
+ Name: (0, smithy_client_1.expectString)(output.Name),
995
995
  };
996
996
  };
997
997
  const deserializeAws_restJson1ActionList = (output, context) => {
@@ -1012,16 +1012,16 @@ const deserializeAws_restJson1AvailabilityZoneList = (output, context) => {
1012
1012
  if (entry === null) {
1013
1013
  return null;
1014
1014
  }
1015
- return smithy_client_1.expectString(entry);
1015
+ return (0, smithy_client_1.expectString)(entry);
1016
1016
  });
1017
1017
  return retVal;
1018
1018
  };
1019
1019
  const deserializeAws_restJson1CreateRule = (output, context) => {
1020
1020
  return {
1021
- CronExpression: smithy_client_1.expectString(output.CronExpression),
1022
- Interval: smithy_client_1.expectInt32(output.Interval),
1023
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1024
- Location: smithy_client_1.expectString(output.Location),
1021
+ CronExpression: (0, smithy_client_1.expectString)(output.CronExpression),
1022
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1023
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1024
+ Location: (0, smithy_client_1.expectString)(output.Location),
1025
1025
  Times: output.Times !== undefined && output.Times !== null
1026
1026
  ? deserializeAws_restJson1TimesList(output.Times, context)
1027
1027
  : undefined,
@@ -1035,7 +1035,7 @@ const deserializeAws_restJson1CrossRegionCopyAction = (output, context) => {
1035
1035
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1036
1036
  ? deserializeAws_restJson1CrossRegionCopyRetainRule(output.RetainRule, context)
1037
1037
  : undefined,
1038
- Target: smithy_client_1.expectString(output.Target),
1038
+ Target: (0, smithy_client_1.expectString)(output.Target),
1039
1039
  };
1040
1040
  };
1041
1041
  const deserializeAws_restJson1CrossRegionCopyActionList = (output, context) => {
@@ -1051,29 +1051,29 @@ const deserializeAws_restJson1CrossRegionCopyActionList = (output, context) => {
1051
1051
  };
1052
1052
  const deserializeAws_restJson1CrossRegionCopyDeprecateRule = (output, context) => {
1053
1053
  return {
1054
- Interval: smithy_client_1.expectInt32(output.Interval),
1055
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1054
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1055
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1056
1056
  };
1057
1057
  };
1058
1058
  const deserializeAws_restJson1CrossRegionCopyRetainRule = (output, context) => {
1059
1059
  return {
1060
- Interval: smithy_client_1.expectInt32(output.Interval),
1061
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1060
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1061
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1062
1062
  };
1063
1063
  };
1064
1064
  const deserializeAws_restJson1CrossRegionCopyRule = (output, context) => {
1065
1065
  return {
1066
- CmkArn: smithy_client_1.expectString(output.CmkArn),
1067
- CopyTags: smithy_client_1.expectBoolean(output.CopyTags),
1066
+ CmkArn: (0, smithy_client_1.expectString)(output.CmkArn),
1067
+ CopyTags: (0, smithy_client_1.expectBoolean)(output.CopyTags),
1068
1068
  DeprecateRule: output.DeprecateRule !== undefined && output.DeprecateRule !== null
1069
1069
  ? deserializeAws_restJson1CrossRegionCopyDeprecateRule(output.DeprecateRule, context)
1070
1070
  : undefined,
1071
- Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
1071
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
1072
1072
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1073
1073
  ? deserializeAws_restJson1CrossRegionCopyRetainRule(output.RetainRule, context)
1074
1074
  : undefined,
1075
- Target: smithy_client_1.expectString(output.Target),
1076
- TargetRegion: smithy_client_1.expectString(output.TargetRegion),
1075
+ Target: (0, smithy_client_1.expectString)(output.Target),
1076
+ TargetRegion: (0, smithy_client_1.expectString)(output.TargetRegion),
1077
1077
  };
1078
1078
  };
1079
1079
  const deserializeAws_restJson1CrossRegionCopyRules = (output, context) => {
@@ -1089,21 +1089,21 @@ const deserializeAws_restJson1CrossRegionCopyRules = (output, context) => {
1089
1089
  };
1090
1090
  const deserializeAws_restJson1DeprecateRule = (output, context) => {
1091
1091
  return {
1092
- Count: smithy_client_1.expectInt32(output.Count),
1093
- Interval: smithy_client_1.expectInt32(output.Interval),
1094
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1092
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
1093
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1094
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1095
1095
  };
1096
1096
  };
1097
1097
  const deserializeAws_restJson1EncryptionConfiguration = (output, context) => {
1098
1098
  return {
1099
- CmkArn: smithy_client_1.expectString(output.CmkArn),
1100
- Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
1099
+ CmkArn: (0, smithy_client_1.expectString)(output.CmkArn),
1100
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
1101
1101
  };
1102
1102
  };
1103
1103
  const deserializeAws_restJson1EventParameters = (output, context) => {
1104
1104
  return {
1105
- DescriptionRegex: smithy_client_1.expectString(output.DescriptionRegex),
1106
- EventType: smithy_client_1.expectString(output.EventType),
1105
+ DescriptionRegex: (0, smithy_client_1.expectString)(output.DescriptionRegex),
1106
+ EventType: (0, smithy_client_1.expectString)(output.EventType),
1107
1107
  SnapshotOwner: output.SnapshotOwner !== undefined && output.SnapshotOwner !== null
1108
1108
  ? deserializeAws_restJson1SnapshotOwnerList(output.SnapshotOwner, context)
1109
1109
  : undefined,
@@ -1114,7 +1114,7 @@ const deserializeAws_restJson1EventSource = (output, context) => {
1114
1114
  Parameters: output.Parameters !== undefined && output.Parameters !== null
1115
1115
  ? deserializeAws_restJson1EventParameters(output.Parameters, context)
1116
1116
  : undefined,
1117
- Type: smithy_client_1.expectString(output.Type),
1117
+ Type: (0, smithy_client_1.expectString)(output.Type),
1118
1118
  };
1119
1119
  };
1120
1120
  const deserializeAws_restJson1FastRestoreRule = (output, context) => {
@@ -1122,28 +1122,28 @@ const deserializeAws_restJson1FastRestoreRule = (output, context) => {
1122
1122
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
1123
1123
  ? deserializeAws_restJson1AvailabilityZoneList(output.AvailabilityZones, context)
1124
1124
  : undefined,
1125
- Count: smithy_client_1.expectInt32(output.Count),
1126
- Interval: smithy_client_1.expectInt32(output.Interval),
1127
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1125
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
1126
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1127
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1128
1128
  };
1129
1129
  };
1130
1130
  const deserializeAws_restJson1LifecyclePolicy = (output, context) => {
1131
1131
  return {
1132
1132
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
1133
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
1133
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateCreated)))
1134
1134
  : undefined,
1135
1135
  DateModified: output.DateModified !== undefined && output.DateModified !== null
1136
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
1136
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateModified)))
1137
1137
  : undefined,
1138
- Description: smithy_client_1.expectString(output.Description),
1139
- ExecutionRoleArn: smithy_client_1.expectString(output.ExecutionRoleArn),
1140
- PolicyArn: smithy_client_1.expectString(output.PolicyArn),
1138
+ Description: (0, smithy_client_1.expectString)(output.Description),
1139
+ ExecutionRoleArn: (0, smithy_client_1.expectString)(output.ExecutionRoleArn),
1140
+ PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
1141
1141
  PolicyDetails: output.PolicyDetails !== undefined && output.PolicyDetails !== null
1142
1142
  ? deserializeAws_restJson1PolicyDetails(output.PolicyDetails, context)
1143
1143
  : undefined,
1144
- PolicyId: smithy_client_1.expectString(output.PolicyId),
1145
- State: smithy_client_1.expectString(output.State),
1146
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
1144
+ PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
1145
+ State: (0, smithy_client_1.expectString)(output.State),
1146
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
1147
1147
  Tags: output.Tags !== undefined && output.Tags !== null
1148
1148
  ? deserializeAws_restJson1TagMap(output.Tags, context)
1149
1149
  : undefined,
@@ -1151,10 +1151,10 @@ const deserializeAws_restJson1LifecyclePolicy = (output, context) => {
1151
1151
  };
1152
1152
  const deserializeAws_restJson1LifecyclePolicySummary = (output, context) => {
1153
1153
  return {
1154
- Description: smithy_client_1.expectString(output.Description),
1155
- PolicyId: smithy_client_1.expectString(output.PolicyId),
1156
- PolicyType: smithy_client_1.expectString(output.PolicyType),
1157
- State: smithy_client_1.expectString(output.State),
1154
+ Description: (0, smithy_client_1.expectString)(output.Description),
1155
+ PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
1156
+ PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
1157
+ State: (0, smithy_client_1.expectString)(output.State),
1158
1158
  Tags: output.Tags !== undefined && output.Tags !== null
1159
1159
  ? deserializeAws_restJson1TagMap(output.Tags, context)
1160
1160
  : undefined,
@@ -1178,14 +1178,14 @@ const deserializeAws_restJson1ParameterList = (output, context) => {
1178
1178
  if (entry === null) {
1179
1179
  return null;
1180
1180
  }
1181
- return smithy_client_1.expectString(entry);
1181
+ return (0, smithy_client_1.expectString)(entry);
1182
1182
  });
1183
1183
  return retVal;
1184
1184
  };
1185
1185
  const deserializeAws_restJson1_Parameters = (output, context) => {
1186
1186
  return {
1187
- ExcludeBootVolume: smithy_client_1.expectBoolean(output.ExcludeBootVolume),
1188
- NoReboot: smithy_client_1.expectBoolean(output.NoReboot),
1187
+ ExcludeBootVolume: (0, smithy_client_1.expectBoolean)(output.ExcludeBootVolume),
1188
+ NoReboot: (0, smithy_client_1.expectBoolean)(output.NoReboot),
1189
1189
  };
1190
1190
  };
1191
1191
  const deserializeAws_restJson1PolicyDetails = (output, context) => {
@@ -1199,7 +1199,7 @@ const deserializeAws_restJson1PolicyDetails = (output, context) => {
1199
1199
  Parameters: output.Parameters !== undefined && output.Parameters !== null
1200
1200
  ? deserializeAws_restJson1_Parameters(output.Parameters, context)
1201
1201
  : undefined,
1202
- PolicyType: smithy_client_1.expectString(output.PolicyType),
1202
+ PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
1203
1203
  ResourceLocations: output.ResourceLocations !== undefined && output.ResourceLocations !== null
1204
1204
  ? deserializeAws_restJson1ResourceLocationList(output.ResourceLocations, context)
1205
1205
  : undefined,
@@ -1221,7 +1221,7 @@ const deserializeAws_restJson1PolicyIdList = (output, context) => {
1221
1221
  if (entry === null) {
1222
1222
  return null;
1223
1223
  }
1224
- return smithy_client_1.expectString(entry);
1224
+ return (0, smithy_client_1.expectString)(entry);
1225
1225
  });
1226
1226
  return retVal;
1227
1227
  };
@@ -1232,7 +1232,7 @@ const deserializeAws_restJson1ResourceLocationList = (output, context) => {
1232
1232
  if (entry === null) {
1233
1233
  return null;
1234
1234
  }
1235
- return smithy_client_1.expectString(entry);
1235
+ return (0, smithy_client_1.expectString)(entry);
1236
1236
  });
1237
1237
  return retVal;
1238
1238
  };
@@ -1243,20 +1243,20 @@ const deserializeAws_restJson1ResourceTypeValuesList = (output, context) => {
1243
1243
  if (entry === null) {
1244
1244
  return null;
1245
1245
  }
1246
- return smithy_client_1.expectString(entry);
1246
+ return (0, smithy_client_1.expectString)(entry);
1247
1247
  });
1248
1248
  return retVal;
1249
1249
  };
1250
1250
  const deserializeAws_restJson1RetainRule = (output, context) => {
1251
1251
  return {
1252
- Count: smithy_client_1.expectInt32(output.Count),
1253
- Interval: smithy_client_1.expectInt32(output.Interval),
1254
- IntervalUnit: smithy_client_1.expectString(output.IntervalUnit),
1252
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
1253
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
1254
+ IntervalUnit: (0, smithy_client_1.expectString)(output.IntervalUnit),
1255
1255
  };
1256
1256
  };
1257
1257
  const deserializeAws_restJson1Schedule = (output, context) => {
1258
1258
  return {
1259
- CopyTags: smithy_client_1.expectBoolean(output.CopyTags),
1259
+ CopyTags: (0, smithy_client_1.expectBoolean)(output.CopyTags),
1260
1260
  CreateRule: output.CreateRule !== undefined && output.CreateRule !== null
1261
1261
  ? deserializeAws_restJson1CreateRule(output.CreateRule, context)
1262
1262
  : undefined,
@@ -1269,7 +1269,7 @@ const deserializeAws_restJson1Schedule = (output, context) => {
1269
1269
  FastRestoreRule: output.FastRestoreRule !== undefined && output.FastRestoreRule !== null
1270
1270
  ? deserializeAws_restJson1FastRestoreRule(output.FastRestoreRule, context)
1271
1271
  : undefined,
1272
- Name: smithy_client_1.expectString(output.Name),
1272
+ Name: (0, smithy_client_1.expectString)(output.Name),
1273
1273
  RetainRule: output.RetainRule !== undefined && output.RetainRule !== null
1274
1274
  ? deserializeAws_restJson1RetainRule(output.RetainRule, context)
1275
1275
  : undefined,
@@ -1300,8 +1300,8 @@ const deserializeAws_restJson1ShareRule = (output, context) => {
1300
1300
  TargetAccounts: output.TargetAccounts !== undefined && output.TargetAccounts !== null
1301
1301
  ? deserializeAws_restJson1ShareTargetAccountList(output.TargetAccounts, context)
1302
1302
  : undefined,
1303
- UnshareInterval: smithy_client_1.expectInt32(output.UnshareInterval),
1304
- UnshareIntervalUnit: smithy_client_1.expectString(output.UnshareIntervalUnit),
1303
+ UnshareInterval: (0, smithy_client_1.expectInt32)(output.UnshareInterval),
1304
+ UnshareIntervalUnit: (0, smithy_client_1.expectString)(output.UnshareIntervalUnit),
1305
1305
  };
1306
1306
  };
1307
1307
  const deserializeAws_restJson1ShareRules = (output, context) => {
@@ -1322,7 +1322,7 @@ const deserializeAws_restJson1ShareTargetAccountList = (output, context) => {
1322
1322
  if (entry === null) {
1323
1323
  return null;
1324
1324
  }
1325
- return smithy_client_1.expectString(entry);
1325
+ return (0, smithy_client_1.expectString)(entry);
1326
1326
  });
1327
1327
  return retVal;
1328
1328
  };
@@ -1333,14 +1333,14 @@ const deserializeAws_restJson1SnapshotOwnerList = (output, context) => {
1333
1333
  if (entry === null) {
1334
1334
  return null;
1335
1335
  }
1336
- return smithy_client_1.expectString(entry);
1336
+ return (0, smithy_client_1.expectString)(entry);
1337
1337
  });
1338
1338
  return retVal;
1339
1339
  };
1340
1340
  const deserializeAws_restJson1Tag = (output, context) => {
1341
1341
  return {
1342
- Key: smithy_client_1.expectString(output.Key),
1343
- Value: smithy_client_1.expectString(output.Value),
1342
+ Key: (0, smithy_client_1.expectString)(output.Key),
1343
+ Value: (0, smithy_client_1.expectString)(output.Value),
1344
1344
  };
1345
1345
  };
1346
1346
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -1350,7 +1350,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1350
1350
  }
1351
1351
  return {
1352
1352
  ...acc,
1353
- [key]: smithy_client_1.expectString(value),
1353
+ [key]: (0, smithy_client_1.expectString)(value),
1354
1354
  };
1355
1355
  }, {});
1356
1356
  };
@@ -1383,7 +1383,7 @@ const deserializeAws_restJson1TimesList = (output, context) => {
1383
1383
  if (entry === null) {
1384
1384
  return null;
1385
1385
  }
1386
- return smithy_client_1.expectString(entry);
1386
+ return (0, smithy_client_1.expectString)(entry);
1387
1387
  });
1388
1388
  return retVal;
1389
1389
  };
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
package/dist-es/DLM.js CHANGED
@@ -20,7 +20,7 @@ var DLM = (function (_super) {
20
20
  }
21
21
  else if (typeof cb === "function") {
22
22
  if (typeof optionsOrCb !== "object")
23
- throw new Error("Expect http options but get " + typeof optionsOrCb);
23
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
24
24
  this.send(command, optionsOrCb || {}, cb);
25
25
  }
26
26
  else {
@@ -34,7 +34,7 @@ var DLM = (function (_super) {
34
34
  }
35
35
  else if (typeof cb === "function") {
36
36
  if (typeof optionsOrCb !== "object")
37
- throw new Error("Expect http options but get " + typeof optionsOrCb);
37
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
38
38
  this.send(command, optionsOrCb || {}, cb);
39
39
  }
40
40
  else {
@@ -48,7 +48,7 @@ var DLM = (function (_super) {
48
48
  }
49
49
  else if (typeof cb === "function") {
50
50
  if (typeof optionsOrCb !== "object")
51
- throw new Error("Expect http options but get " + typeof optionsOrCb);
51
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
52
52
  this.send(command, optionsOrCb || {}, cb);
53
53
  }
54
54
  else {
@@ -62,7 +62,7 @@ var DLM = (function (_super) {
62
62
  }
63
63
  else if (typeof cb === "function") {
64
64
  if (typeof optionsOrCb !== "object")
65
- throw new Error("Expect http options but get " + typeof optionsOrCb);
65
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
66
66
  this.send(command, optionsOrCb || {}, cb);
67
67
  }
68
68
  else {
@@ -76,7 +76,7 @@ var DLM = (function (_super) {
76
76
  }
77
77
  else if (typeof cb === "function") {
78
78
  if (typeof optionsOrCb !== "object")
79
- throw new Error("Expect http options but get " + typeof optionsOrCb);
79
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
80
80
  this.send(command, optionsOrCb || {}, cb);
81
81
  }
82
82
  else {
@@ -90,7 +90,7 @@ var DLM = (function (_super) {
90
90
  }
91
91
  else if (typeof cb === "function") {
92
92
  if (typeof optionsOrCb !== "object")
93
- throw new Error("Expect http options but get " + typeof optionsOrCb);
93
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
94
94
  this.send(command, optionsOrCb || {}, cb);
95
95
  }
96
96
  else {
@@ -104,7 +104,7 @@ var DLM = (function (_super) {
104
104
  }
105
105
  else if (typeof cb === "function") {
106
106
  if (typeof optionsOrCb !== "object")
107
- throw new Error("Expect http options but get " + typeof optionsOrCb);
107
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
108
108
  this.send(command, optionsOrCb || {}, cb);
109
109
  }
110
110
  else {
@@ -118,7 +118,7 @@ var DLM = (function (_super) {
118
118
  }
119
119
  else if (typeof cb === "function") {
120
120
  if (typeof optionsOrCb !== "object")
121
- throw new Error("Expect http options but get " + typeof optionsOrCb);
121
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
122
122
  this.send(command, optionsOrCb || {}, cb);
123
123
  }
124
124
  else {
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateLifecyclePolicyCommand = function (input,
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies";
17
17
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ExecutionRoleArn !== undefined &&
18
18
  input.ExecutionRoleArn !== null && { ExecutionRoleArn: input.ExecutionRoleArn })), (input.PolicyDetails !== undefined &&
19
19
  input.PolicyDetails !== null && {
@@ -39,7 +39,7 @@ export var serializeAws_restJson1DeleteLifecyclePolicyCommand = function (input,
39
39
  case 1:
40
40
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
41
41
  headers = {};
42
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
42
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
43
43
  if (input.PolicyId !== undefined) {
44
44
  labelValue = input.PolicyId;
45
45
  if (labelValue.length <= 0) {
@@ -70,7 +70,7 @@ export var serializeAws_restJson1GetLifecyclePoliciesCommand = function (input,
70
70
  case 1:
71
71
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
72
72
  headers = {};
73
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies";
73
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies";
74
74
  query = __assign(__assign(__assign(__assign(__assign({}, (input.PolicyIds !== undefined && { policyIds: (input.PolicyIds || []).map(function (_entry) { return _entry; }) })), (input.State !== undefined && { state: input.State })), (input.ResourceTypes !== undefined && {
75
75
  resourceTypes: (input.ResourceTypes || []).map(function (_entry) { return _entry; }),
76
76
  })), (input.TargetTags !== undefined && { targetTags: (input.TargetTags || []).map(function (_entry) { return _entry; }) })), (input.TagsToAdd !== undefined && { tagsToAdd: (input.TagsToAdd || []).map(function (_entry) { return _entry; }) }));
@@ -95,7 +95,7 @@ export var serializeAws_restJson1GetLifecyclePolicyCommand = function (input, co
95
95
  case 1:
96
96
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
97
97
  headers = {};
98
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
98
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
99
99
  if (input.PolicyId !== undefined) {
100
100
  labelValue = input.PolicyId;
101
101
  if (labelValue.length <= 0) {
@@ -126,7 +126,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
126
126
  case 1:
127
127
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
128
128
  headers = {};
129
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
129
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
130
130
  if (input.ResourceArn !== undefined) {
131
131
  labelValue = input.ResourceArn;
132
132
  if (labelValue.length <= 0) {
@@ -159,7 +159,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
159
159
  headers = {
160
160
  "content-type": "application/json",
161
161
  };
162
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
162
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
163
163
  if (input.ResourceArn !== undefined) {
164
164
  labelValue = input.ResourceArn;
165
165
  if (labelValue.length <= 0) {
@@ -191,7 +191,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
191
191
  case 1:
192
192
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
193
193
  headers = {};
194
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
194
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
195
195
  if (input.ResourceArn !== undefined) {
196
196
  labelValue = input.ResourceArn;
197
197
  if (labelValue.length <= 0) {
@@ -226,7 +226,7 @@ export var serializeAws_restJson1UpdateLifecyclePolicyCommand = function (input,
226
226
  headers = {
227
227
  "content-type": "application/json",
228
228
  };
229
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
229
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policies/{PolicyId}";
230
230
  if (input.PolicyId !== undefined) {
231
231
  labelValue = input.PolicyId;
232
232
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: DLMClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.1",
4
+ "version": "3.58.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",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"