@aws-sdk/client-cognito-identity 3.54.1 → 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 (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/CognitoIdentityClient.js +12 -12
  3. package/dist-cjs/commands/CreateIdentityPoolCommand.js +4 -4
  4. package/dist-cjs/commands/DeleteIdentitiesCommand.js +4 -4
  5. package/dist-cjs/commands/DeleteIdentityPoolCommand.js +4 -4
  6. package/dist-cjs/commands/DescribeIdentityCommand.js +4 -4
  7. package/dist-cjs/commands/DescribeIdentityPoolCommand.js +4 -4
  8. package/dist-cjs/commands/GetCredentialsForIdentityCommand.js +3 -3
  9. package/dist-cjs/commands/GetIdCommand.js +3 -3
  10. package/dist-cjs/commands/GetIdentityPoolRolesCommand.js +4 -4
  11. package/dist-cjs/commands/GetOpenIdTokenCommand.js +3 -3
  12. package/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +4 -4
  13. package/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +4 -4
  14. package/dist-cjs/commands/ListIdentitiesCommand.js +4 -4
  15. package/dist-cjs/commands/ListIdentityPoolsCommand.js +4 -4
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  17. package/dist-cjs/commands/LookupDeveloperIdentityCommand.js +4 -4
  18. package/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +4 -4
  19. package/dist-cjs/commands/SetIdentityPoolRolesCommand.js +4 -4
  20. package/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +4 -4
  21. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  22. package/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +4 -4
  23. package/dist-cjs/commands/UnlinkIdentityCommand.js +3 -3
  24. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  25. package/dist-cjs/commands/UpdateIdentityPoolCommand.js +4 -4
  26. package/dist-cjs/endpoints.js +1 -1
  27. package/dist-cjs/protocols/Aws_json1_1.js +97 -97
  28. package/dist-cjs/runtimeConfig.browser.js +4 -4
  29. package/dist-cjs/runtimeConfig.js +9 -9
  30. package/dist-cjs/runtimeConfig.native.js +1 -1
  31. package/dist-es/CognitoIdentity.js +23 -23
  32. package/dist-es/pagination/ListIdentityPoolsPaginator.js +4 -4
  33. package/dist-types/runtimeConfig.native.d.ts +2 -2
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  35. package/package.json +35 -35
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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-cognito-identity
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-cognito-identity
@@ -12,20 +12,20 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class CognitoIdentityClient 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_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_user_agent_1.getUserAgentPlugin)(this.config));
29
29
  }
30
30
  destroy() {
31
31
  super.destroy();
@@ -12,8 +12,8 @@ class CreateIdentityPoolCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class CreateIdentityPoolCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1CreateIdentityPoolCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateIdentityPoolCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1CreateIdentityPoolCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateIdentityPoolCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.CreateIdentityPoolCommand = CreateIdentityPoolCommand;
@@ -12,8 +12,8 @@ class DeleteIdentitiesCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class DeleteIdentitiesCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1DeleteIdentitiesCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteIdentitiesCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1DeleteIdentitiesCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteIdentitiesCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.DeleteIdentitiesCommand = DeleteIdentitiesCommand;
@@ -12,8 +12,8 @@ class DeleteIdentityPoolCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class DeleteIdentityPoolCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1DeleteIdentityPoolCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteIdentityPoolCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1DeleteIdentityPoolCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteIdentityPoolCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.DeleteIdentityPoolCommand = DeleteIdentityPoolCommand;
@@ -12,8 +12,8 @@ class DescribeIdentityCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class DescribeIdentityCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1DescribeIdentityCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeIdentityCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.DescribeIdentityCommand = DescribeIdentityCommand;
@@ -12,8 +12,8 @@ class DescribeIdentityPoolCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class DescribeIdentityPoolCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1DescribeIdentityPoolCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeIdentityPoolCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityPoolCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityPoolCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.DescribeIdentityPoolCommand = DescribeIdentityPoolCommand;
@@ -11,7 +11,7 @@ class GetCredentialsForIdentityCommand 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 = "CognitoIdentityClient";
@@ -27,10 +27,10 @@ class GetCredentialsForIdentityCommand 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_1_1.serializeAws_json1_1GetCredentialsForIdentityCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetCredentialsForIdentityCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetCredentialsForIdentityCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetCredentialsForIdentityCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetCredentialsForIdentityCommand = GetCredentialsForIdentityCommand;
@@ -11,7 +11,7 @@ class GetIdCommand 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 = "CognitoIdentityClient";
@@ -27,10 +27,10 @@ class GetIdCommand 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_1_1.serializeAws_json1_1GetIdCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetIdCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetIdCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetIdCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetIdCommand = GetIdCommand;
@@ -12,8 +12,8 @@ class GetIdentityPoolRolesCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class GetIdentityPoolRolesCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1GetIdentityPoolRolesCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetIdentityPoolRolesCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1GetIdentityPoolRolesCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetIdentityPoolRolesCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.GetIdentityPoolRolesCommand = GetIdentityPoolRolesCommand;
@@ -11,7 +11,7 @@ class GetOpenIdTokenCommand 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 = "CognitoIdentityClient";
@@ -27,10 +27,10 @@ class GetOpenIdTokenCommand 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_1_1.serializeAws_json1_1GetOpenIdTokenCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetOpenIdTokenCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetOpenIdTokenCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetOpenIdTokenCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetOpenIdTokenCommand = GetOpenIdTokenCommand;
@@ -12,8 +12,8 @@ class GetOpenIdTokenForDeveloperIdentityCommand extends smithy_client_1.Command
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class GetOpenIdTokenForDeveloperIdentityCommand extends smithy_client_1.Command
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.GetOpenIdTokenForDeveloperIdentityCommand = GetOpenIdTokenForDeveloperIdentityCommand;
@@ -12,8 +12,8 @@ class GetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class GetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1GetPrincipalTagAttributeMapCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetPrincipalTagAttributeMapCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1GetPrincipalTagAttributeMapCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetPrincipalTagAttributeMapCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.GetPrincipalTagAttributeMapCommand = GetPrincipalTagAttributeMapCommand;
@@ -12,8 +12,8 @@ class ListIdentitiesCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class ListIdentitiesCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1ListIdentitiesCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListIdentitiesCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1ListIdentitiesCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListIdentitiesCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.ListIdentitiesCommand = ListIdentitiesCommand;
@@ -12,8 +12,8 @@ class ListIdentityPoolsCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class ListIdentityPoolsCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1ListIdentityPoolsCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListIdentityPoolsCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1ListIdentityPoolsCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListIdentityPoolsCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.ListIdentityPoolsCommand = ListIdentityPoolsCommand;
@@ -12,8 +12,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -12,8 +12,8 @@ class LookupDeveloperIdentityCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class LookupDeveloperIdentityCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1LookupDeveloperIdentityCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1LookupDeveloperIdentityCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1LookupDeveloperIdentityCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1LookupDeveloperIdentityCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.LookupDeveloperIdentityCommand = LookupDeveloperIdentityCommand;
@@ -12,8 +12,8 @@ class MergeDeveloperIdentitiesCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class MergeDeveloperIdentitiesCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1MergeDeveloperIdentitiesCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1MergeDeveloperIdentitiesCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1MergeDeveloperIdentitiesCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1MergeDeveloperIdentitiesCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.MergeDeveloperIdentitiesCommand = MergeDeveloperIdentitiesCommand;
@@ -12,8 +12,8 @@ class SetIdentityPoolRolesCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class SetIdentityPoolRolesCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1SetIdentityPoolRolesCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1SetIdentityPoolRolesCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1SetIdentityPoolRolesCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1SetIdentityPoolRolesCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.SetIdentityPoolRolesCommand = SetIdentityPoolRolesCommand;
@@ -12,8 +12,8 @@ class SetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class SetPrincipalTagAttributeMapCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1SetPrincipalTagAttributeMapCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1SetPrincipalTagAttributeMapCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1SetPrincipalTagAttributeMapCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1SetPrincipalTagAttributeMapCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.SetPrincipalTagAttributeMapCommand = SetPrincipalTagAttributeMapCommand;
@@ -12,8 +12,8 @@ class TagResourceCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class TagResourceCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.TagResourceCommand = TagResourceCommand;
@@ -12,8 +12,8 @@ class UnlinkDeveloperIdentityCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class UnlinkDeveloperIdentityCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1UnlinkDeveloperIdentityCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1UnlinkDeveloperIdentityCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1UnlinkDeveloperIdentityCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UnlinkDeveloperIdentityCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.UnlinkDeveloperIdentityCommand = UnlinkDeveloperIdentityCommand;
@@ -11,7 +11,7 @@ class UnlinkIdentityCommand 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 = "CognitoIdentityClient";
@@ -27,10 +27,10 @@ class UnlinkIdentityCommand 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_1_1.serializeAws_json1_1UnlinkIdentityCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UnlinkIdentityCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UnlinkIdentityCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UnlinkIdentityCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
@@ -12,8 +12,8 @@ class UntagResourceCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -12,8 +12,8 @@ class UpdateIdentityPoolCommand extends smithy_client_1.Command {
12
12
  this.input = input;
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
17
17
  const stack = clientStack.concat(this.middlewareStack);
18
18
  const { logger } = configuration;
19
19
  const clientName = "CognitoIdentityClient";
@@ -29,10 +29,10 @@ class UpdateIdentityPoolCommand extends smithy_client_1.Command {
29
29
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
30
30
  }
31
31
  serialize(input, context) {
32
- return Aws_json1_1_1.serializeAws_json1_1UpdateIdentityPoolCommand(input, context);
32
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateIdentityPoolCommand)(input, context);
33
33
  }
34
34
  deserialize(output, context) {
35
- return Aws_json1_1_1.deserializeAws_json1_1UpdateIdentityPoolCommand(output, context);
35
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateIdentityPoolCommand)(output, context);
36
36
  }
37
37
  }
38
38
  exports.UpdateIdentityPoolCommand = UpdateIdentityPoolCommand;
@@ -158,7 +158,7 @@ const partitionHash = {
158
158
  ],
159
159
  },
160
160
  };
161
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
161
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
162
162
  ...options,
163
163
  signingService: "cognito-identity",
164
164
  regionHash,