@aws-sdk/client-cloudcontrol 3.53.0 → 3.55.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.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-cloudcontrol
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
31
 
8
32
 
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class CloudControlClient 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 CancelResourceRequestCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class CancelResourceRequestCommand 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_json1_0_1.serializeAws_json1_0CancelResourceRequestCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CancelResourceRequestCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0CancelResourceRequestCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CancelResourceRequestCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CancelResourceRequestCommand = CancelResourceRequestCommand;
@@ -11,7 +11,7 @@ class CreateResourceCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class CreateResourceCommand 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_json1_0_1.serializeAws_json1_0CreateResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0CreateResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateResourceCommand = CreateResourceCommand;
@@ -11,7 +11,7 @@ class DeleteResourceCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class DeleteResourceCommand 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_json1_0_1.serializeAws_json1_0DeleteResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0DeleteResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteResourceCommand = DeleteResourceCommand;
@@ -11,7 +11,7 @@ class GetResourceCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class GetResourceCommand 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_json1_0_1.serializeAws_json1_0GetResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0GetResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetResourceCommand = GetResourceCommand;
@@ -11,7 +11,7 @@ class GetResourceRequestStatusCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class GetResourceRequestStatusCommand 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_json1_0_1.serializeAws_json1_0GetResourceRequestStatusCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetResourceRequestStatusCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0GetResourceRequestStatusCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetResourceRequestStatusCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetResourceRequestStatusCommand = GetResourceRequestStatusCommand;
@@ -11,7 +11,7 @@ class ListResourceRequestsCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class ListResourceRequestsCommand 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_json1_0_1.serializeAws_json1_0ListResourceRequestsCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListResourceRequestsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0ListResourceRequestsCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListResourceRequestsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListResourceRequestsCommand = ListResourceRequestsCommand;
@@ -11,7 +11,7 @@ class ListResourcesCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class ListResourcesCommand 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_json1_0_1.serializeAws_json1_0ListResourcesCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListResourcesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0ListResourcesCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListResourcesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListResourcesCommand = ListResourcesCommand;
@@ -11,7 +11,7 @@ class UpdateResourceCommand 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 = "CloudControlClient";
@@ -27,10 +27,10 @@ class UpdateResourceCommand 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_json1_0_1.serializeAws_json1_0UpdateResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0UpdateResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0UpdateResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateResourceCommand = UpdateResourceCommand;
@@ -184,7 +184,7 @@ const partitionHash = {
184
184
  ],
185
185
  },
186
186
  };
187
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
187
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
188
188
  ...options,
189
189
  signingService: "cloudcontrolapi",
190
190
  regionHash,
@@ -122,7 +122,7 @@ const deserializeAws_json1_0CancelResourceRequestCommandError = async (output, c
122
122
  $fault: "client",
123
123
  $metadata: deserializeMetadata(output),
124
124
  });
125
- throw smithy_client_1.decorateServiceException(response, parsedBody);
125
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
126
126
  }
127
127
  };
128
128
  const deserializeAws_json1_0CreateResourceCommand = async (output, context) => {
@@ -212,7 +212,7 @@ const deserializeAws_json1_0CreateResourceCommandError = async (output, context)
212
212
  $fault: "client",
213
213
  $metadata: deserializeMetadata(output),
214
214
  });
215
- throw smithy_client_1.decorateServiceException(response, parsedBody);
215
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
216
216
  }
217
217
  };
218
218
  const deserializeAws_json1_0DeleteResourceCommand = async (output, context) => {
@@ -302,7 +302,7 @@ const deserializeAws_json1_0DeleteResourceCommandError = async (output, context)
302
302
  $fault: "client",
303
303
  $metadata: deserializeMetadata(output),
304
304
  });
305
- throw smithy_client_1.decorateServiceException(response, parsedBody);
305
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
306
306
  }
307
307
  };
308
308
  const deserializeAws_json1_0GetResourceCommand = async (output, context) => {
@@ -386,7 +386,7 @@ const deserializeAws_json1_0GetResourceCommandError = async (output, context) =>
386
386
  $fault: "client",
387
387
  $metadata: deserializeMetadata(output),
388
388
  });
389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
390
390
  }
391
391
  };
392
392
  const deserializeAws_json1_0GetResourceRequestStatusCommand = async (output, context) => {
@@ -422,7 +422,7 @@ const deserializeAws_json1_0GetResourceRequestStatusCommandError = async (output
422
422
  $fault: "client",
423
423
  $metadata: deserializeMetadata(output),
424
424
  });
425
- throw smithy_client_1.decorateServiceException(response, parsedBody);
425
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
426
426
  }
427
427
  };
428
428
  const deserializeAws_json1_0ListResourceRequestsCommand = async (output, context) => {
@@ -455,7 +455,7 @@ const deserializeAws_json1_0ListResourceRequestsCommandError = async (output, co
455
455
  $fault: "client",
456
456
  $metadata: deserializeMetadata(output),
457
457
  });
458
- throw smithy_client_1.decorateServiceException(response, parsedBody);
458
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
459
459
  }
460
460
  };
461
461
  const deserializeAws_json1_0ListResourcesCommand = async (output, context) => {
@@ -539,7 +539,7 @@ const deserializeAws_json1_0ListResourcesCommandError = async (output, context)
539
539
  $fault: "client",
540
540
  $metadata: deserializeMetadata(output),
541
541
  });
542
- throw smithy_client_1.decorateServiceException(response, parsedBody);
542
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
543
543
  }
544
544
  };
545
545
  const deserializeAws_json1_0UpdateResourceCommand = async (output, context) => {
@@ -629,7 +629,7 @@ const deserializeAws_json1_0UpdateResourceCommandError = async (output, context)
629
629
  $fault: "client",
630
630
  $metadata: deserializeMetadata(output),
631
631
  });
632
- throw smithy_client_1.decorateServiceException(response, parsedBody);
632
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
633
633
  }
634
634
  };
635
635
  const deserializeAws_json1_0AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
@@ -639,7 +639,7 @@ const deserializeAws_json1_0AlreadyExistsExceptionResponse = async (parsedOutput
639
639
  $metadata: deserializeMetadata(parsedOutput),
640
640
  ...deserialized,
641
641
  });
642
- return smithy_client_1.decorateServiceException(exception, body);
642
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
643
643
  };
644
644
  const deserializeAws_json1_0ClientTokenConflictExceptionResponse = async (parsedOutput, context) => {
645
645
  const body = parsedOutput.body;
@@ -648,7 +648,7 @@ const deserializeAws_json1_0ClientTokenConflictExceptionResponse = async (parsed
648
648
  $metadata: deserializeMetadata(parsedOutput),
649
649
  ...deserialized,
650
650
  });
651
- return smithy_client_1.decorateServiceException(exception, body);
651
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
652
652
  };
653
653
  const deserializeAws_json1_0ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
654
654
  const body = parsedOutput.body;
@@ -657,7 +657,7 @@ const deserializeAws_json1_0ConcurrentModificationExceptionResponse = async (par
657
657
  $metadata: deserializeMetadata(parsedOutput),
658
658
  ...deserialized,
659
659
  });
660
- return smithy_client_1.decorateServiceException(exception, body);
660
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
661
661
  };
662
662
  const deserializeAws_json1_0ConcurrentOperationExceptionResponse = async (parsedOutput, context) => {
663
663
  const body = parsedOutput.body;
@@ -666,7 +666,7 @@ const deserializeAws_json1_0ConcurrentOperationExceptionResponse = async (parsed
666
666
  $metadata: deserializeMetadata(parsedOutput),
667
667
  ...deserialized,
668
668
  });
669
- return smithy_client_1.decorateServiceException(exception, body);
669
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
670
670
  };
671
671
  const deserializeAws_json1_0GeneralServiceExceptionResponse = async (parsedOutput, context) => {
672
672
  const body = parsedOutput.body;
@@ -675,7 +675,7 @@ const deserializeAws_json1_0GeneralServiceExceptionResponse = async (parsedOutpu
675
675
  $metadata: deserializeMetadata(parsedOutput),
676
676
  ...deserialized,
677
677
  });
678
- return smithy_client_1.decorateServiceException(exception, body);
678
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
679
679
  };
680
680
  const deserializeAws_json1_0HandlerFailureExceptionResponse = async (parsedOutput, context) => {
681
681
  const body = parsedOutput.body;
@@ -684,7 +684,7 @@ const deserializeAws_json1_0HandlerFailureExceptionResponse = async (parsedOutpu
684
684
  $metadata: deserializeMetadata(parsedOutput),
685
685
  ...deserialized,
686
686
  });
687
- return smithy_client_1.decorateServiceException(exception, body);
687
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
688
688
  };
689
689
  const deserializeAws_json1_0HandlerInternalFailureExceptionResponse = async (parsedOutput, context) => {
690
690
  const body = parsedOutput.body;
@@ -693,7 +693,7 @@ const deserializeAws_json1_0HandlerInternalFailureExceptionResponse = async (par
693
693
  $metadata: deserializeMetadata(parsedOutput),
694
694
  ...deserialized,
695
695
  });
696
- return smithy_client_1.decorateServiceException(exception, body);
696
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
697
697
  };
698
698
  const deserializeAws_json1_0InvalidCredentialsExceptionResponse = async (parsedOutput, context) => {
699
699
  const body = parsedOutput.body;
@@ -702,7 +702,7 @@ const deserializeAws_json1_0InvalidCredentialsExceptionResponse = async (parsedO
702
702
  $metadata: deserializeMetadata(parsedOutput),
703
703
  ...deserialized,
704
704
  });
705
- return smithy_client_1.decorateServiceException(exception, body);
705
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
706
706
  };
707
707
  const deserializeAws_json1_0InvalidRequestExceptionResponse = async (parsedOutput, context) => {
708
708
  const body = parsedOutput.body;
@@ -711,7 +711,7 @@ const deserializeAws_json1_0InvalidRequestExceptionResponse = async (parsedOutpu
711
711
  $metadata: deserializeMetadata(parsedOutput),
712
712
  ...deserialized,
713
713
  });
714
- return smithy_client_1.decorateServiceException(exception, body);
714
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
715
715
  };
716
716
  const deserializeAws_json1_0NetworkFailureExceptionResponse = async (parsedOutput, context) => {
717
717
  const body = parsedOutput.body;
@@ -720,7 +720,7 @@ const deserializeAws_json1_0NetworkFailureExceptionResponse = async (parsedOutpu
720
720
  $metadata: deserializeMetadata(parsedOutput),
721
721
  ...deserialized,
722
722
  });
723
- return smithy_client_1.decorateServiceException(exception, body);
723
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
724
724
  };
725
725
  const deserializeAws_json1_0NotStabilizedExceptionResponse = async (parsedOutput, context) => {
726
726
  const body = parsedOutput.body;
@@ -729,7 +729,7 @@ const deserializeAws_json1_0NotStabilizedExceptionResponse = async (parsedOutput
729
729
  $metadata: deserializeMetadata(parsedOutput),
730
730
  ...deserialized,
731
731
  });
732
- return smithy_client_1.decorateServiceException(exception, body);
732
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
733
733
  };
734
734
  const deserializeAws_json1_0NotUpdatableExceptionResponse = async (parsedOutput, context) => {
735
735
  const body = parsedOutput.body;
@@ -738,7 +738,7 @@ const deserializeAws_json1_0NotUpdatableExceptionResponse = async (parsedOutput,
738
738
  $metadata: deserializeMetadata(parsedOutput),
739
739
  ...deserialized,
740
740
  });
741
- return smithy_client_1.decorateServiceException(exception, body);
741
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
742
742
  };
743
743
  const deserializeAws_json1_0PrivateTypeExceptionResponse = async (parsedOutput, context) => {
744
744
  const body = parsedOutput.body;
@@ -747,7 +747,7 @@ const deserializeAws_json1_0PrivateTypeExceptionResponse = async (parsedOutput,
747
747
  $metadata: deserializeMetadata(parsedOutput),
748
748
  ...deserialized,
749
749
  });
750
- return smithy_client_1.decorateServiceException(exception, body);
750
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
751
751
  };
752
752
  const deserializeAws_json1_0RequestTokenNotFoundExceptionResponse = async (parsedOutput, context) => {
753
753
  const body = parsedOutput.body;
@@ -756,7 +756,7 @@ const deserializeAws_json1_0RequestTokenNotFoundExceptionResponse = async (parse
756
756
  $metadata: deserializeMetadata(parsedOutput),
757
757
  ...deserialized,
758
758
  });
759
- return smithy_client_1.decorateServiceException(exception, body);
759
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
760
760
  };
761
761
  const deserializeAws_json1_0ResourceConflictExceptionResponse = async (parsedOutput, context) => {
762
762
  const body = parsedOutput.body;
@@ -765,7 +765,7 @@ const deserializeAws_json1_0ResourceConflictExceptionResponse = async (parsedOut
765
765
  $metadata: deserializeMetadata(parsedOutput),
766
766
  ...deserialized,
767
767
  });
768
- return smithy_client_1.decorateServiceException(exception, body);
768
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
769
769
  };
770
770
  const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
771
771
  const body = parsedOutput.body;
@@ -774,7 +774,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
774
774
  $metadata: deserializeMetadata(parsedOutput),
775
775
  ...deserialized,
776
776
  });
777
- return smithy_client_1.decorateServiceException(exception, body);
777
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
778
778
  };
779
779
  const deserializeAws_json1_0ServiceInternalErrorExceptionResponse = async (parsedOutput, context) => {
780
780
  const body = parsedOutput.body;
@@ -783,7 +783,7 @@ const deserializeAws_json1_0ServiceInternalErrorExceptionResponse = async (parse
783
783
  $metadata: deserializeMetadata(parsedOutput),
784
784
  ...deserialized,
785
785
  });
786
- return smithy_client_1.decorateServiceException(exception, body);
786
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
787
787
  };
788
788
  const deserializeAws_json1_0ServiceLimitExceededExceptionResponse = async (parsedOutput, context) => {
789
789
  const body = parsedOutput.body;
@@ -792,7 +792,7 @@ const deserializeAws_json1_0ServiceLimitExceededExceptionResponse = async (parse
792
792
  $metadata: deserializeMetadata(parsedOutput),
793
793
  ...deserialized,
794
794
  });
795
- return smithy_client_1.decorateServiceException(exception, body);
795
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
796
796
  };
797
797
  const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
798
798
  const body = parsedOutput.body;
@@ -801,7 +801,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
801
801
  $metadata: deserializeMetadata(parsedOutput),
802
802
  ...deserialized,
803
803
  });
804
- return smithy_client_1.decorateServiceException(exception, body);
804
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
805
805
  };
806
806
  const deserializeAws_json1_0TypeNotFoundExceptionResponse = async (parsedOutput, context) => {
807
807
  const body = parsedOutput.body;
@@ -810,7 +810,7 @@ const deserializeAws_json1_0TypeNotFoundExceptionResponse = async (parsedOutput,
810
810
  $metadata: deserializeMetadata(parsedOutput),
811
811
  ...deserialized,
812
812
  });
813
- return smithy_client_1.decorateServiceException(exception, body);
813
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
814
814
  };
815
815
  const deserializeAws_json1_0UnsupportedActionExceptionResponse = async (parsedOutput, context) => {
816
816
  const body = parsedOutput.body;
@@ -819,7 +819,7 @@ const deserializeAws_json1_0UnsupportedActionExceptionResponse = async (parsedOu
819
819
  $metadata: deserializeMetadata(parsedOutput),
820
820
  ...deserialized,
821
821
  });
822
- return smithy_client_1.decorateServiceException(exception, body);
822
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
823
823
  };
824
824
  const serializeAws_json1_0CancelResourceRequestInput = (input, context) => {
825
825
  return {
@@ -829,7 +829,7 @@ const serializeAws_json1_0CancelResourceRequestInput = (input, context) => {
829
829
  const serializeAws_json1_0CreateResourceInput = (input, context) => {
830
830
  var _a;
831
831
  return {
832
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
832
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
833
833
  ...(input.DesiredState !== undefined && input.DesiredState !== null && { DesiredState: input.DesiredState }),
834
834
  ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
835
835
  ...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
@@ -839,7 +839,7 @@ const serializeAws_json1_0CreateResourceInput = (input, context) => {
839
839
  const serializeAws_json1_0DeleteResourceInput = (input, context) => {
840
840
  var _a;
841
841
  return {
842
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
842
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
843
843
  ...(input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier }),
844
844
  ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
845
845
  ...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
@@ -912,7 +912,7 @@ const serializeAws_json1_0ResourceRequestStatusFilter = (input, context) => {
912
912
  const serializeAws_json1_0UpdateResourceInput = (input, context) => {
913
913
  var _a;
914
914
  return {
915
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
915
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
916
916
  ...(input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier }),
917
917
  ...(input.PatchDocument !== undefined && input.PatchDocument !== null && { PatchDocument: input.PatchDocument }),
918
918
  ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
@@ -922,7 +922,7 @@ const serializeAws_json1_0UpdateResourceInput = (input, context) => {
922
922
  };
923
923
  const deserializeAws_json1_0AlreadyExistsException = (output, context) => {
924
924
  return {
925
- Message: smithy_client_1.expectString(output.Message),
925
+ Message: (0, smithy_client_1.expectString)(output.Message),
926
926
  };
927
927
  };
928
928
  const deserializeAws_json1_0CancelResourceRequestOutput = (output, context) => {
@@ -934,17 +934,17 @@ const deserializeAws_json1_0CancelResourceRequestOutput = (output, context) => {
934
934
  };
935
935
  const deserializeAws_json1_0ClientTokenConflictException = (output, context) => {
936
936
  return {
937
- Message: smithy_client_1.expectString(output.Message),
937
+ Message: (0, smithy_client_1.expectString)(output.Message),
938
938
  };
939
939
  };
940
940
  const deserializeAws_json1_0ConcurrentModificationException = (output, context) => {
941
941
  return {
942
- Message: smithy_client_1.expectString(output.Message),
942
+ Message: (0, smithy_client_1.expectString)(output.Message),
943
943
  };
944
944
  };
945
945
  const deserializeAws_json1_0ConcurrentOperationException = (output, context) => {
946
946
  return {
947
- Message: smithy_client_1.expectString(output.Message),
947
+ Message: (0, smithy_client_1.expectString)(output.Message),
948
948
  };
949
949
  };
950
950
  const deserializeAws_json1_0CreateResourceOutput = (output, context) => {
@@ -963,7 +963,7 @@ const deserializeAws_json1_0DeleteResourceOutput = (output, context) => {
963
963
  };
964
964
  const deserializeAws_json1_0GeneralServiceException = (output, context) => {
965
965
  return {
966
- Message: smithy_client_1.expectString(output.Message),
966
+ Message: (0, smithy_client_1.expectString)(output.Message),
967
967
  };
968
968
  };
969
969
  const deserializeAws_json1_0GetResourceOutput = (output, context) => {
@@ -971,7 +971,7 @@ const deserializeAws_json1_0GetResourceOutput = (output, context) => {
971
971
  ResourceDescription: output.ResourceDescription !== undefined && output.ResourceDescription !== null
972
972
  ? deserializeAws_json1_0ResourceDescription(output.ResourceDescription, context)
973
973
  : undefined,
974
- TypeName: smithy_client_1.expectString(output.TypeName),
974
+ TypeName: (0, smithy_client_1.expectString)(output.TypeName),
975
975
  };
976
976
  };
977
977
  const deserializeAws_json1_0GetResourceRequestStatusOutput = (output, context) => {
@@ -983,27 +983,27 @@ const deserializeAws_json1_0GetResourceRequestStatusOutput = (output, context) =
983
983
  };
984
984
  const deserializeAws_json1_0HandlerFailureException = (output, context) => {
985
985
  return {
986
- Message: smithy_client_1.expectString(output.Message),
986
+ Message: (0, smithy_client_1.expectString)(output.Message),
987
987
  };
988
988
  };
989
989
  const deserializeAws_json1_0HandlerInternalFailureException = (output, context) => {
990
990
  return {
991
- Message: smithy_client_1.expectString(output.Message),
991
+ Message: (0, smithy_client_1.expectString)(output.Message),
992
992
  };
993
993
  };
994
994
  const deserializeAws_json1_0InvalidCredentialsException = (output, context) => {
995
995
  return {
996
- Message: smithy_client_1.expectString(output.Message),
996
+ Message: (0, smithy_client_1.expectString)(output.Message),
997
997
  };
998
998
  };
999
999
  const deserializeAws_json1_0InvalidRequestException = (output, context) => {
1000
1000
  return {
1001
- Message: smithy_client_1.expectString(output.Message),
1001
+ Message: (0, smithy_client_1.expectString)(output.Message),
1002
1002
  };
1003
1003
  };
1004
1004
  const deserializeAws_json1_0ListResourceRequestsOutput = (output, context) => {
1005
1005
  return {
1006
- NextToken: smithy_client_1.expectString(output.NextToken),
1006
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1007
1007
  ResourceRequestStatusSummaries: output.ResourceRequestStatusSummaries !== undefined && output.ResourceRequestStatusSummaries !== null
1008
1008
  ? deserializeAws_json1_0ResourceRequestStatusSummaries(output.ResourceRequestStatusSummaries, context)
1009
1009
  : undefined,
@@ -1011,65 +1011,65 @@ const deserializeAws_json1_0ListResourceRequestsOutput = (output, context) => {
1011
1011
  };
1012
1012
  const deserializeAws_json1_0ListResourcesOutput = (output, context) => {
1013
1013
  return {
1014
- NextToken: smithy_client_1.expectString(output.NextToken),
1014
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1015
1015
  ResourceDescriptions: output.ResourceDescriptions !== undefined && output.ResourceDescriptions !== null
1016
1016
  ? deserializeAws_json1_0ResourceDescriptions(output.ResourceDescriptions, context)
1017
1017
  : undefined,
1018
- TypeName: smithy_client_1.expectString(output.TypeName),
1018
+ TypeName: (0, smithy_client_1.expectString)(output.TypeName),
1019
1019
  };
1020
1020
  };
1021
1021
  const deserializeAws_json1_0NetworkFailureException = (output, context) => {
1022
1022
  return {
1023
- Message: smithy_client_1.expectString(output.Message),
1023
+ Message: (0, smithy_client_1.expectString)(output.Message),
1024
1024
  };
1025
1025
  };
1026
1026
  const deserializeAws_json1_0NotStabilizedException = (output, context) => {
1027
1027
  return {
1028
- Message: smithy_client_1.expectString(output.Message),
1028
+ Message: (0, smithy_client_1.expectString)(output.Message),
1029
1029
  };
1030
1030
  };
1031
1031
  const deserializeAws_json1_0NotUpdatableException = (output, context) => {
1032
1032
  return {
1033
- Message: smithy_client_1.expectString(output.Message),
1033
+ Message: (0, smithy_client_1.expectString)(output.Message),
1034
1034
  };
1035
1035
  };
1036
1036
  const deserializeAws_json1_0PrivateTypeException = (output, context) => {
1037
1037
  return {
1038
- Message: smithy_client_1.expectString(output.Message),
1038
+ Message: (0, smithy_client_1.expectString)(output.Message),
1039
1039
  };
1040
1040
  };
1041
1041
  const deserializeAws_json1_0ProgressEvent = (output, context) => {
1042
1042
  return {
1043
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
1043
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1044
1044
  EventTime: output.EventTime !== undefined && output.EventTime !== null
1045
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventTime)))
1045
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventTime)))
1046
1046
  : undefined,
1047
- Identifier: smithy_client_1.expectString(output.Identifier),
1048
- Operation: smithy_client_1.expectString(output.Operation),
1049
- OperationStatus: smithy_client_1.expectString(output.OperationStatus),
1050
- RequestToken: smithy_client_1.expectString(output.RequestToken),
1051
- ResourceModel: smithy_client_1.expectString(output.ResourceModel),
1047
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
1048
+ Operation: (0, smithy_client_1.expectString)(output.Operation),
1049
+ OperationStatus: (0, smithy_client_1.expectString)(output.OperationStatus),
1050
+ RequestToken: (0, smithy_client_1.expectString)(output.RequestToken),
1051
+ ResourceModel: (0, smithy_client_1.expectString)(output.ResourceModel),
1052
1052
  RetryAfter: output.RetryAfter !== undefined && output.RetryAfter !== null
1053
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RetryAfter)))
1053
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RetryAfter)))
1054
1054
  : undefined,
1055
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
1056
- TypeName: smithy_client_1.expectString(output.TypeName),
1055
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
1056
+ TypeName: (0, smithy_client_1.expectString)(output.TypeName),
1057
1057
  };
1058
1058
  };
1059
1059
  const deserializeAws_json1_0RequestTokenNotFoundException = (output, context) => {
1060
1060
  return {
1061
- Message: smithy_client_1.expectString(output.Message),
1061
+ Message: (0, smithy_client_1.expectString)(output.Message),
1062
1062
  };
1063
1063
  };
1064
1064
  const deserializeAws_json1_0ResourceConflictException = (output, context) => {
1065
1065
  return {
1066
- Message: smithy_client_1.expectString(output.Message),
1066
+ Message: (0, smithy_client_1.expectString)(output.Message),
1067
1067
  };
1068
1068
  };
1069
1069
  const deserializeAws_json1_0ResourceDescription = (output, context) => {
1070
1070
  return {
1071
- Identifier: smithy_client_1.expectString(output.Identifier),
1072
- Properties: smithy_client_1.expectString(output.Properties),
1071
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
1072
+ Properties: (0, smithy_client_1.expectString)(output.Properties),
1073
1073
  };
1074
1074
  };
1075
1075
  const deserializeAws_json1_0ResourceDescriptions = (output, context) => {
@@ -1085,7 +1085,7 @@ const deserializeAws_json1_0ResourceDescriptions = (output, context) => {
1085
1085
  };
1086
1086
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
1087
1087
  return {
1088
- Message: smithy_client_1.expectString(output.Message),
1088
+ Message: (0, smithy_client_1.expectString)(output.Message),
1089
1089
  };
1090
1090
  };
1091
1091
  const deserializeAws_json1_0ResourceRequestStatusSummaries = (output, context) => {
@@ -1101,27 +1101,27 @@ const deserializeAws_json1_0ResourceRequestStatusSummaries = (output, context) =
1101
1101
  };
1102
1102
  const deserializeAws_json1_0ServiceInternalErrorException = (output, context) => {
1103
1103
  return {
1104
- Message: smithy_client_1.expectString(output.Message),
1104
+ Message: (0, smithy_client_1.expectString)(output.Message),
1105
1105
  };
1106
1106
  };
1107
1107
  const deserializeAws_json1_0ServiceLimitExceededException = (output, context) => {
1108
1108
  return {
1109
- Message: smithy_client_1.expectString(output.Message),
1109
+ Message: (0, smithy_client_1.expectString)(output.Message),
1110
1110
  };
1111
1111
  };
1112
1112
  const deserializeAws_json1_0ThrottlingException = (output, context) => {
1113
1113
  return {
1114
- Message: smithy_client_1.expectString(output.Message),
1114
+ Message: (0, smithy_client_1.expectString)(output.Message),
1115
1115
  };
1116
1116
  };
1117
1117
  const deserializeAws_json1_0TypeNotFoundException = (output, context) => {
1118
1118
  return {
1119
- Message: smithy_client_1.expectString(output.Message),
1119
+ Message: (0, smithy_client_1.expectString)(output.Message),
1120
1120
  };
1121
1121
  };
1122
1122
  const deserializeAws_json1_0UnsupportedActionException = (output, context) => {
1123
1123
  return {
1124
- Message: smithy_client_1.expectString(output.Message),
1124
+ Message: (0, smithy_client_1.expectString)(output.Message),
1125
1125
  };
1126
1126
  };
1127
1127
  const deserializeAws_json1_0UpdateResourceOutput = (output, context) => {
@@ -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,
@@ -43,12 +43,12 @@ const checkState = async (client, input) => {
43
43
  };
44
44
  const waitForResourceRequestSuccess = async (params, input) => {
45
45
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
46
- return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
46
+ return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
47
47
  };
48
48
  exports.waitForResourceRequestSuccess = waitForResourceRequestSuccess;
49
49
  const waitUntilResourceRequestSuccess = async (params, input) => {
50
50
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
51
- const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
52
- return util_waiter_1.checkExceptions(result);
51
+ const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
52
+ return (0, util_waiter_1.checkExceptions)(result);
53
53
  };
54
54
  exports.waitUntilResourceRequestSuccess = waitUntilResourceRequestSuccess;
@@ -20,7 +20,7 @@ var CloudControl = (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 CloudControl = (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 CloudControl = (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 CloudControl = (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 CloudControl = (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 CloudControl = (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 CloudControl = (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 CloudControl = (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 {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceRequestsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceRequestsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listResourceRequests.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listResourceRequests.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListResourceRequests(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof CloudControl)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof CloudControlClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListResourcesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListResourcesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listResources.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listResources.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListResources(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof CloudControl)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof CloudControlClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput } from "./commands/CancelResourceRequestCommand";
10
10
  import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./commands/CreateResourceCommand";
11
11
  import { DeleteResourceCommandInput, DeleteResourceCommandOutput } from "./commands/DeleteResourceCommand";
@@ -36,7 +36,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
36
36
  * A function that can calculate the length of a request body.
37
37
  * @internal
38
38
  */
39
- bodyLengthChecker?: (body: any) => number | undefined;
39
+ bodyLengthChecker?: __BodyLengthCalculator;
40
40
  /**
41
41
  * A function that converts a stream into an array of bytes.
42
42
  * @internal
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
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;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput } from "./commands/CancelResourceRequestCommand";
10
10
  import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./commands/CreateResourceCommand";
11
11
  import { DeleteResourceCommandInput, DeleteResourceCommandOutput } from "./commands/DeleteResourceCommand";
@@ -24,7 +24,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
24
24
 
25
25
  urlParser?: __UrlParser;
26
26
 
27
- bodyLengthChecker?: (body: any) => number | undefined;
27
+ bodyLengthChecker?: __BodyLengthCalculator;
28
28
 
29
29
  streamCollector?: __StreamCollector;
30
30
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: CloudControlClientConfig) => {
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-cloudcontrol",
3
3
  "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native",
4
- "version": "3.53.0",
4
+ "version": "3.55.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,42 +18,42 @@
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.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
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.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "@aws-sdk/util-waiter": "3.53.0",
52
- "tslib": "^2.3.0",
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.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.55.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.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "@aws-sdk/util-waiter": "3.55.0",
52
+ "tslib": "^2.3.1",
53
53
  "uuid": "^8.3.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
57
57
  "@tsconfig/recommended": "1.0.1",
58
58
  "@types/node": "^12.7.5",
59
59
  "@types/uuid": "^8.3.0",
@@ -61,7 +61,7 @@
61
61
  "downlevel-dts": "0.7.0",
62
62
  "rimraf": "3.0.2",
63
63
  "typedoc": "0.19.2",
64
- "typescript": "~4.3.5"
64
+ "typescript": "~4.6.2"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=12.0.0"