@aws-sdk/client-codestar-connections 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.
Files changed (31) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/CodeStarConnectionsClient.js +13 -13
  3. package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
  4. package/dist-cjs/commands/CreateHostCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteHostCommand.js +3 -3
  7. package/dist-cjs/commands/GetConnectionCommand.js +3 -3
  8. package/dist-cjs/commands/GetHostCommand.js +3 -3
  9. package/dist-cjs/commands/ListConnectionsCommand.js +3 -3
  10. package/dist-cjs/commands/ListHostsCommand.js +3 -3
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  12. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  13. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateHostCommand.js +3 -3
  15. package/dist-cjs/endpoints.js +1 -1
  16. package/dist-cjs/protocols/Aws_json1_0.js +48 -48
  17. package/dist-cjs/runtimeConfig.browser.js +4 -4
  18. package/dist-cjs/runtimeConfig.js +9 -9
  19. package/dist-cjs/runtimeConfig.native.js +1 -1
  20. package/dist-es/CodeStarConnections.js +12 -12
  21. package/dist-es/pagination/ListConnectionsPaginator.js +4 -4
  22. package/dist-es/pagination/ListHostsPaginator.js +4 -4
  23. package/dist-types/CodeStarConnectionsClient.d.ts +2 -2
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  25. package/dist-types/runtimeConfig.d.ts +1 -1
  26. package/dist-types/runtimeConfig.native.d.ts +3 -3
  27. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +2 -2
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  31. package/package.json +34 -34
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-codestar-connections
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-codestar-connections
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-codestar-connections
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 CodeStarConnectionsClient 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 CreateConnectionCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class CreateConnectionCommand 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_0CreateConnectionCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateConnectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0CreateConnectionCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateConnectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateConnectionCommand = CreateConnectionCommand;
@@ -11,7 +11,7 @@ class CreateHostCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class CreateHostCommand 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_0CreateHostCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateHostCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0CreateHostCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateHostCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateHostCommand = CreateHostCommand;
@@ -11,7 +11,7 @@ class DeleteConnectionCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class DeleteConnectionCommand 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_0DeleteConnectionCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteConnectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0DeleteConnectionCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteConnectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteConnectionCommand = DeleteConnectionCommand;
@@ -11,7 +11,7 @@ class DeleteHostCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class DeleteHostCommand 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_0DeleteHostCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteHostCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0DeleteHostCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteHostCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteHostCommand = DeleteHostCommand;
@@ -11,7 +11,7 @@ class GetConnectionCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class GetConnectionCommand 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_0GetConnectionCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetConnectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0GetConnectionCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetConnectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetConnectionCommand = GetConnectionCommand;
@@ -11,7 +11,7 @@ class GetHostCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class GetHostCommand 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_0GetHostCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetHostCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0GetHostCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetHostCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetHostCommand = GetHostCommand;
@@ -11,7 +11,7 @@ class ListConnectionsCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class ListConnectionsCommand 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_0ListConnectionsCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListConnectionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0ListConnectionsCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListConnectionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListConnectionsCommand = ListConnectionsCommand;
@@ -11,7 +11,7 @@ class ListHostsCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class ListHostsCommand 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_0ListHostsCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListHostsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0ListHostsCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListHostsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListHostsCommand = ListHostsCommand;
@@ -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 = "CodeStarConnectionsClient";
@@ -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_json1_0_1.serializeAws_json1_0ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListTagsForResourceCommand)(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 = "CodeStarConnectionsClient";
@@ -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_json1_0_1.serializeAws_json1_0TagResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0TagResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0TagResourceCommand)(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 = "CodeStarConnectionsClient";
@@ -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_json1_0_1.serializeAws_json1_0UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateHostCommand 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 = "CodeStarConnectionsClient";
@@ -27,10 +27,10 @@ class UpdateHostCommand 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_0UpdateHostCommand(input, context);
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0UpdateHostCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_0_1.deserializeAws_json1_0UpdateHostCommand(output, context);
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateHostCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateHostCommand = UpdateHostCommand;
@@ -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: "codestar-connections",
128
128
  regionHash,
@@ -164,7 +164,7 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
164
164
  $fault: "client",
165
165
  $metadata: deserializeMetadata(output),
166
166
  });
167
- throw smithy_client_1.decorateServiceException(response, parsedBody);
167
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
168
168
  }
169
169
  };
170
170
  const deserializeAws_json1_0CreateHostCommand = async (output, context) => {
@@ -200,7 +200,7 @@ const deserializeAws_json1_0CreateHostCommandError = async (output, context) =>
200
200
  $fault: "client",
201
201
  $metadata: deserializeMetadata(output),
202
202
  });
203
- throw smithy_client_1.decorateServiceException(response, parsedBody);
203
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
204
204
  }
205
205
  };
206
206
  const deserializeAws_json1_0DeleteConnectionCommand = async (output, context) => {
@@ -236,7 +236,7 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
236
236
  $fault: "client",
237
237
  $metadata: deserializeMetadata(output),
238
238
  });
239
- throw smithy_client_1.decorateServiceException(response, parsedBody);
239
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
240
240
  }
241
241
  };
242
242
  const deserializeAws_json1_0DeleteHostCommand = async (output, context) => {
@@ -275,7 +275,7 @@ const deserializeAws_json1_0DeleteHostCommandError = async (output, context) =>
275
275
  $fault: "client",
276
276
  $metadata: deserializeMetadata(output),
277
277
  });
278
- throw smithy_client_1.decorateServiceException(response, parsedBody);
278
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
279
279
  }
280
280
  };
281
281
  const deserializeAws_json1_0GetConnectionCommand = async (output, context) => {
@@ -314,7 +314,7 @@ const deserializeAws_json1_0GetConnectionCommandError = async (output, context)
314
314
  $fault: "client",
315
315
  $metadata: deserializeMetadata(output),
316
316
  });
317
- throw smithy_client_1.decorateServiceException(response, parsedBody);
317
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
318
318
  }
319
319
  };
320
320
  const deserializeAws_json1_0GetHostCommand = async (output, context) => {
@@ -353,7 +353,7 @@ const deserializeAws_json1_0GetHostCommandError = async (output, context) => {
353
353
  $fault: "client",
354
354
  $metadata: deserializeMetadata(output),
355
355
  });
356
- throw smithy_client_1.decorateServiceException(response, parsedBody);
356
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
357
357
  }
358
358
  };
359
359
  const deserializeAws_json1_0ListConnectionsCommand = async (output, context) => {
@@ -386,7 +386,7 @@ const deserializeAws_json1_0ListConnectionsCommandError = 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_0ListHostsCommand = async (output, context) => {
@@ -419,7 +419,7 @@ const deserializeAws_json1_0ListHostsCommandError = async (output, context) => {
419
419
  $fault: "client",
420
420
  $metadata: deserializeMetadata(output),
421
421
  });
422
- throw smithy_client_1.decorateServiceException(response, parsedBody);
422
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
423
423
  }
424
424
  };
425
425
  const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
@@ -455,7 +455,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
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_0TagResourceCommand = async (output, context) => {
@@ -494,7 +494,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
494
494
  $fault: "client",
495
495
  $metadata: deserializeMetadata(output),
496
496
  });
497
- throw smithy_client_1.decorateServiceException(response, parsedBody);
497
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
498
498
  }
499
499
  };
500
500
  const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
@@ -530,7 +530,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
530
530
  $fault: "client",
531
531
  $metadata: deserializeMetadata(output),
532
532
  });
533
- throw smithy_client_1.decorateServiceException(response, parsedBody);
533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
534
534
  }
535
535
  };
536
536
  const deserializeAws_json1_0UpdateHostCommand = async (output, context) => {
@@ -575,7 +575,7 @@ const deserializeAws_json1_0UpdateHostCommandError = async (output, context) =>
575
575
  $fault: "client",
576
576
  $metadata: deserializeMetadata(output),
577
577
  });
578
- throw smithy_client_1.decorateServiceException(response, parsedBody);
578
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
579
579
  }
580
580
  };
581
581
  const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
@@ -585,7 +585,7 @@ const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, con
585
585
  $metadata: deserializeMetadata(parsedOutput),
586
586
  ...deserialized,
587
587
  });
588
- return smithy_client_1.decorateServiceException(exception, body);
588
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
589
589
  };
590
590
  const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput, context) => {
591
591
  const body = parsedOutput.body;
@@ -594,7 +594,7 @@ const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput
594
594
  $metadata: deserializeMetadata(parsedOutput),
595
595
  ...deserialized,
596
596
  });
597
- return smithy_client_1.decorateServiceException(exception, body);
597
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
598
598
  };
599
599
  const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
600
600
  const body = parsedOutput.body;
@@ -603,7 +603,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
603
603
  $metadata: deserializeMetadata(parsedOutput),
604
604
  ...deserialized,
605
605
  });
606
- return smithy_client_1.decorateServiceException(exception, body);
606
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
607
607
  };
608
608
  const deserializeAws_json1_0ResourceUnavailableExceptionResponse = async (parsedOutput, context) => {
609
609
  const body = parsedOutput.body;
@@ -612,7 +612,7 @@ const deserializeAws_json1_0ResourceUnavailableExceptionResponse = async (parsed
612
612
  $metadata: deserializeMetadata(parsedOutput),
613
613
  ...deserialized,
614
614
  });
615
- return smithy_client_1.decorateServiceException(exception, body);
615
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
616
616
  };
617
617
  const deserializeAws_json1_0UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
618
618
  const body = parsedOutput.body;
@@ -621,7 +621,7 @@ const deserializeAws_json1_0UnsupportedOperationExceptionResponse = async (parse
621
621
  $metadata: deserializeMetadata(parsedOutput),
622
622
  ...deserialized,
623
623
  });
624
- return smithy_client_1.decorateServiceException(exception, body);
624
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
625
625
  };
626
626
  const serializeAws_json1_0CreateConnectionInput = (input, context) => {
627
627
  return {
@@ -770,17 +770,17 @@ const serializeAws_json1_0VpcConfiguration = (input, context) => {
770
770
  };
771
771
  const deserializeAws_json1_0ConflictException = (output, context) => {
772
772
  return {
773
- Message: smithy_client_1.expectString(output.Message),
773
+ Message: (0, smithy_client_1.expectString)(output.Message),
774
774
  };
775
775
  };
776
776
  const deserializeAws_json1_0Connection = (output, context) => {
777
777
  return {
778
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
779
- ConnectionName: smithy_client_1.expectString(output.ConnectionName),
780
- ConnectionStatus: smithy_client_1.expectString(output.ConnectionStatus),
781
- HostArn: smithy_client_1.expectString(output.HostArn),
782
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
783
- ProviderType: smithy_client_1.expectString(output.ProviderType),
778
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
779
+ ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
780
+ ConnectionStatus: (0, smithy_client_1.expectString)(output.ConnectionStatus),
781
+ HostArn: (0, smithy_client_1.expectString)(output.HostArn),
782
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
783
+ ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
784
784
  };
785
785
  };
786
786
  const deserializeAws_json1_0ConnectionList = (output, context) => {
@@ -796,7 +796,7 @@ const deserializeAws_json1_0ConnectionList = (output, context) => {
796
796
  };
797
797
  const deserializeAws_json1_0CreateConnectionOutput = (output, context) => {
798
798
  return {
799
- ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
799
+ ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
800
800
  Tags: output.Tags !== undefined && output.Tags !== null
801
801
  ? deserializeAws_json1_0TagList(output.Tags, context)
802
802
  : undefined,
@@ -804,7 +804,7 @@ const deserializeAws_json1_0CreateConnectionOutput = (output, context) => {
804
804
  };
805
805
  const deserializeAws_json1_0CreateHostOutput = (output, context) => {
806
806
  return {
807
- HostArn: smithy_client_1.expectString(output.HostArn),
807
+ HostArn: (0, smithy_client_1.expectString)(output.HostArn),
808
808
  Tags: output.Tags !== undefined && output.Tags !== null
809
809
  ? deserializeAws_json1_0TagList(output.Tags, context)
810
810
  : undefined,
@@ -825,10 +825,10 @@ const deserializeAws_json1_0GetConnectionOutput = (output, context) => {
825
825
  };
826
826
  const deserializeAws_json1_0GetHostOutput = (output, context) => {
827
827
  return {
828
- Name: smithy_client_1.expectString(output.Name),
829
- ProviderEndpoint: smithy_client_1.expectString(output.ProviderEndpoint),
830
- ProviderType: smithy_client_1.expectString(output.ProviderType),
831
- Status: smithy_client_1.expectString(output.Status),
828
+ Name: (0, smithy_client_1.expectString)(output.Name),
829
+ ProviderEndpoint: (0, smithy_client_1.expectString)(output.ProviderEndpoint),
830
+ ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
831
+ Status: (0, smithy_client_1.expectString)(output.Status),
832
832
  VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
833
833
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
834
834
  : undefined,
@@ -836,12 +836,12 @@ const deserializeAws_json1_0GetHostOutput = (output, context) => {
836
836
  };
837
837
  const deserializeAws_json1_0Host = (output, context) => {
838
838
  return {
839
- HostArn: smithy_client_1.expectString(output.HostArn),
840
- Name: smithy_client_1.expectString(output.Name),
841
- ProviderEndpoint: smithy_client_1.expectString(output.ProviderEndpoint),
842
- ProviderType: smithy_client_1.expectString(output.ProviderType),
843
- Status: smithy_client_1.expectString(output.Status),
844
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
839
+ HostArn: (0, smithy_client_1.expectString)(output.HostArn),
840
+ Name: (0, smithy_client_1.expectString)(output.Name),
841
+ ProviderEndpoint: (0, smithy_client_1.expectString)(output.ProviderEndpoint),
842
+ ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
843
+ Status: (0, smithy_client_1.expectString)(output.Status),
844
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
845
845
  VpcConfiguration: output.VpcConfiguration !== undefined && output.VpcConfiguration !== null
846
846
  ? deserializeAws_json1_0VpcConfiguration(output.VpcConfiguration, context)
847
847
  : undefined,
@@ -860,7 +860,7 @@ const deserializeAws_json1_0HostList = (output, context) => {
860
860
  };
861
861
  const deserializeAws_json1_0LimitExceededException = (output, context) => {
862
862
  return {
863
- Message: smithy_client_1.expectString(output.Message),
863
+ Message: (0, smithy_client_1.expectString)(output.Message),
864
864
  };
865
865
  };
866
866
  const deserializeAws_json1_0ListConnectionsOutput = (output, context) => {
@@ -868,7 +868,7 @@ const deserializeAws_json1_0ListConnectionsOutput = (output, context) => {
868
868
  Connections: output.Connections !== undefined && output.Connections !== null
869
869
  ? deserializeAws_json1_0ConnectionList(output.Connections, context)
870
870
  : undefined,
871
- NextToken: smithy_client_1.expectString(output.NextToken),
871
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
872
872
  };
873
873
  };
874
874
  const deserializeAws_json1_0ListHostsOutput = (output, context) => {
@@ -876,7 +876,7 @@ const deserializeAws_json1_0ListHostsOutput = (output, context) => {
876
876
  Hosts: output.Hosts !== undefined && output.Hosts !== null
877
877
  ? deserializeAws_json1_0HostList(output.Hosts, context)
878
878
  : undefined,
879
- NextToken: smithy_client_1.expectString(output.NextToken),
879
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
880
880
  };
881
881
  };
882
882
  const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
@@ -888,12 +888,12 @@ const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
888
888
  };
889
889
  const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
890
890
  return {
891
- Message: smithy_client_1.expectString(output.Message),
891
+ Message: (0, smithy_client_1.expectString)(output.Message),
892
892
  };
893
893
  };
894
894
  const deserializeAws_json1_0ResourceUnavailableException = (output, context) => {
895
895
  return {
896
- Message: smithy_client_1.expectString(output.Message),
896
+ Message: (0, smithy_client_1.expectString)(output.Message),
897
897
  };
898
898
  };
899
899
  const deserializeAws_json1_0SecurityGroupIds = (output, context) => {
@@ -903,7 +903,7 @@ const deserializeAws_json1_0SecurityGroupIds = (output, context) => {
903
903
  if (entry === null) {
904
904
  return null;
905
905
  }
906
- return smithy_client_1.expectString(entry);
906
+ return (0, smithy_client_1.expectString)(entry);
907
907
  });
908
908
  return retVal;
909
909
  };
@@ -914,14 +914,14 @@ const deserializeAws_json1_0SubnetIds = (output, context) => {
914
914
  if (entry === null) {
915
915
  return null;
916
916
  }
917
- return smithy_client_1.expectString(entry);
917
+ return (0, smithy_client_1.expectString)(entry);
918
918
  });
919
919
  return retVal;
920
920
  };
921
921
  const deserializeAws_json1_0Tag = (output, context) => {
922
922
  return {
923
- Key: smithy_client_1.expectString(output.Key),
924
- Value: smithy_client_1.expectString(output.Value),
923
+ Key: (0, smithy_client_1.expectString)(output.Key),
924
+ Value: (0, smithy_client_1.expectString)(output.Value),
925
925
  };
926
926
  };
927
927
  const deserializeAws_json1_0TagList = (output, context) => {
@@ -940,7 +940,7 @@ const deserializeAws_json1_0TagResourceOutput = (output, context) => {
940
940
  };
941
941
  const deserializeAws_json1_0UnsupportedOperationException = (output, context) => {
942
942
  return {
943
- Message: smithy_client_1.expectString(output.Message),
943
+ Message: (0, smithy_client_1.expectString)(output.Message),
944
944
  };
945
945
  };
946
946
  const deserializeAws_json1_0UntagResourceOutput = (output, context) => {
@@ -957,8 +957,8 @@ const deserializeAws_json1_0VpcConfiguration = (output, context) => {
957
957
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
958
958
  ? deserializeAws_json1_0SubnetIds(output.SubnetIds, context)
959
959
  : undefined,
960
- TlsCertificate: smithy_client_1.expectString(output.TlsCertificate),
961
- VpcId: smithy_client_1.expectString(output.VpcId),
960
+ TlsCertificate: (0, smithy_client_1.expectString)(output.TlsCertificate),
961
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
962
962
  };
963
963
  };
964
964
  const deserializeMetadata = (output) => {
@@ -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,
@@ -24,7 +24,7 @@ var CodeStarConnections = (function (_super) {
24
24
  }
25
25
  else if (typeof cb === "function") {
26
26
  if (typeof optionsOrCb !== "object")
27
- throw new Error("Expect http options but get " + typeof optionsOrCb);
27
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
28
28
  this.send(command, optionsOrCb || {}, cb);
29
29
  }
30
30
  else {
@@ -38,7 +38,7 @@ var CodeStarConnections = (function (_super) {
38
38
  }
39
39
  else if (typeof cb === "function") {
40
40
  if (typeof optionsOrCb !== "object")
41
- throw new Error("Expect http options but get " + typeof optionsOrCb);
41
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
42
42
  this.send(command, optionsOrCb || {}, cb);
43
43
  }
44
44
  else {
@@ -52,7 +52,7 @@ var CodeStarConnections = (function (_super) {
52
52
  }
53
53
  else if (typeof cb === "function") {
54
54
  if (typeof optionsOrCb !== "object")
55
- throw new Error("Expect http options but get " + typeof optionsOrCb);
55
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
56
56
  this.send(command, optionsOrCb || {}, cb);
57
57
  }
58
58
  else {
@@ -66,7 +66,7 @@ var CodeStarConnections = (function (_super) {
66
66
  }
67
67
  else if (typeof cb === "function") {
68
68
  if (typeof optionsOrCb !== "object")
69
- throw new Error("Expect http options but get " + typeof optionsOrCb);
69
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
70
70
  this.send(command, optionsOrCb || {}, cb);
71
71
  }
72
72
  else {
@@ -80,7 +80,7 @@ var CodeStarConnections = (function (_super) {
80
80
  }
81
81
  else if (typeof cb === "function") {
82
82
  if (typeof optionsOrCb !== "object")
83
- throw new Error("Expect http options but get " + typeof optionsOrCb);
83
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
84
84
  this.send(command, optionsOrCb || {}, cb);
85
85
  }
86
86
  else {
@@ -94,7 +94,7 @@ var CodeStarConnections = (function (_super) {
94
94
  }
95
95
  else if (typeof cb === "function") {
96
96
  if (typeof optionsOrCb !== "object")
97
- throw new Error("Expect http options but get " + typeof optionsOrCb);
97
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
98
98
  this.send(command, optionsOrCb || {}, cb);
99
99
  }
100
100
  else {
@@ -108,7 +108,7 @@ var CodeStarConnections = (function (_super) {
108
108
  }
109
109
  else if (typeof cb === "function") {
110
110
  if (typeof optionsOrCb !== "object")
111
- throw new Error("Expect http options but get " + typeof optionsOrCb);
111
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
112
112
  this.send(command, optionsOrCb || {}, cb);
113
113
  }
114
114
  else {
@@ -122,7 +122,7 @@ var CodeStarConnections = (function (_super) {
122
122
  }
123
123
  else if (typeof cb === "function") {
124
124
  if (typeof optionsOrCb !== "object")
125
- throw new Error("Expect http options but get " + typeof optionsOrCb);
125
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
126
126
  this.send(command, optionsOrCb || {}, cb);
127
127
  }
128
128
  else {
@@ -136,7 +136,7 @@ var CodeStarConnections = (function (_super) {
136
136
  }
137
137
  else if (typeof cb === "function") {
138
138
  if (typeof optionsOrCb !== "object")
139
- throw new Error("Expect http options but get " + typeof optionsOrCb);
139
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
140
140
  this.send(command, optionsOrCb || {}, cb);
141
141
  }
142
142
  else {
@@ -150,7 +150,7 @@ var CodeStarConnections = (function (_super) {
150
150
  }
151
151
  else if (typeof cb === "function") {
152
152
  if (typeof optionsOrCb !== "object")
153
- throw new Error("Expect http options but get " + typeof optionsOrCb);
153
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
154
154
  this.send(command, optionsOrCb || {}, cb);
155
155
  }
156
156
  else {
@@ -164,7 +164,7 @@ var CodeStarConnections = (function (_super) {
164
164
  }
165
165
  else if (typeof cb === "function") {
166
166
  if (typeof optionsOrCb !== "object")
167
- throw new Error("Expect http options but get " + typeof optionsOrCb);
167
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
168
168
  this.send(command, optionsOrCb || {}, cb);
169
169
  }
170
170
  else {
@@ -178,7 +178,7 @@ var CodeStarConnections = (function (_super) {
178
178
  }
179
179
  else if (typeof cb === "function") {
180
180
  if (typeof optionsOrCb !== "object")
181
- throw new Error("Expect http options but get " + typeof optionsOrCb);
181
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
182
182
  this.send(command, optionsOrCb || {}, cb);
183
183
  }
184
184
  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 ListConnectionsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListConnectionsCommand(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.listConnections.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listConnections.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 paginateListConnections(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof CodeStarConnections)) 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 CodeStarConnectionsClient)) 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 ListHostsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListHostsCommand(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.listHosts.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listHosts.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 paginateListHosts(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof CodeStarConnections)) 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 CodeStarConnectionsClient)) 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 { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
10
10
  import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
11
11
  import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
@@ -40,7 +40,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
40
40
  * A function that can calculate the length of a request body.
41
41
  * @internal
42
42
  */
43
- bodyLengthChecker?: (body: any) => number | undefined;
43
+ bodyLengthChecker?: __BodyLengthCalculator;
44
44
  /**
45
45
  * A function that converts a stream into an array of bytes.
46
46
  * @internal
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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 { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
10
10
  import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
11
11
  import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
@@ -28,7 +28,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
28
28
 
29
29
  urlParser?: __UrlParser;
30
30
 
31
- bodyLengthChecker?: (body: any) => number | undefined;
31
+ bodyLengthChecker?: __BodyLengthCalculator;
32
32
 
33
33
  streamCollector?: __StreamCollector;
34
34
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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: CodeStarConnectionsClientConfig)
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-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections 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,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.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
- "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
+ "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.55.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"