@aws-sdk/client-cognito-sync 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 (29) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/CognitoSyncClient.js +13 -13
  3. package/dist-cjs/commands/BulkPublishCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteDatasetCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeDatasetCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeIdentityUsageCommand.js +3 -3
  8. package/dist-cjs/commands/GetBulkPublishDetailsCommand.js +3 -3
  9. package/dist-cjs/commands/GetCognitoEventsCommand.js +3 -3
  10. package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +3 -3
  11. package/dist-cjs/commands/ListDatasetsCommand.js +3 -3
  12. package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +3 -3
  13. package/dist-cjs/commands/ListRecordsCommand.js +3 -3
  14. package/dist-cjs/commands/RegisterDeviceCommand.js +3 -3
  15. package/dist-cjs/commands/SetCognitoEventsCommand.js +3 -3
  16. package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/SubscribeToDatasetCommand.js +3 -3
  18. package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +3 -3
  19. package/dist-cjs/commands/UpdateRecordsCommand.js +3 -3
  20. package/dist-cjs/endpoints.js +1 -1
  21. package/dist-cjs/protocols/Aws_restJson1.js +140 -140
  22. package/dist-cjs/runtimeConfig.browser.js +4 -4
  23. package/dist-cjs/runtimeConfig.js +9 -9
  24. package/dist-cjs/runtimeConfig.native.js +1 -1
  25. package/dist-es/CognitoSync.js +17 -17
  26. package/dist-es/protocols/Aws_restJson1.js +17 -17
  27. package/dist-types/runtimeConfig.native.d.ts +2 -2
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  29. package/package.json +34 -34
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-sync
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-sync
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class CognitoSyncClient 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 BulkPublishCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class BulkPublishCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1BulkPublishCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1BulkPublishCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1BulkPublishCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1BulkPublishCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.BulkPublishCommand = BulkPublishCommand;
@@ -11,7 +11,7 @@ class DeleteDatasetCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class DeleteDatasetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteDatasetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteDatasetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteDatasetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteDatasetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteDatasetCommand = DeleteDatasetCommand;
@@ -11,7 +11,7 @@ class DescribeDatasetCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class DescribeDatasetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeDatasetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeDatasetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeDatasetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeDatasetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeDatasetCommand = DescribeDatasetCommand;
@@ -11,7 +11,7 @@ class DescribeIdentityPoolUsageCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class DescribeIdentityPoolUsageCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeIdentityPoolUsageCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeIdentityPoolUsageCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityPoolUsageCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityPoolUsageCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeIdentityPoolUsageCommand = DescribeIdentityPoolUsageCommand;
@@ -11,7 +11,7 @@ class DescribeIdentityUsageCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class DescribeIdentityUsageCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeIdentityUsageCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeIdentityUsageCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityUsageCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeIdentityUsageCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeIdentityUsageCommand = DescribeIdentityUsageCommand;
@@ -11,7 +11,7 @@ class GetBulkPublishDetailsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class GetBulkPublishDetailsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetBulkPublishDetailsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetBulkPublishDetailsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetBulkPublishDetailsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetBulkPublishDetailsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetBulkPublishDetailsCommand = GetBulkPublishDetailsCommand;
@@ -11,7 +11,7 @@ class GetCognitoEventsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class GetCognitoEventsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetCognitoEventsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetCognitoEventsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetCognitoEventsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetCognitoEventsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetCognitoEventsCommand = GetCognitoEventsCommand;
@@ -11,7 +11,7 @@ class GetIdentityPoolConfigurationCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class GetIdentityPoolConfigurationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetIdentityPoolConfigurationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetIdentityPoolConfigurationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetIdentityPoolConfigurationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetIdentityPoolConfigurationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetIdentityPoolConfigurationCommand = GetIdentityPoolConfigurationCommand;
@@ -11,7 +11,7 @@ class ListDatasetsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class ListDatasetsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListDatasetsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListDatasetsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListDatasetsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListDatasetsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDatasetsCommand = ListDatasetsCommand;
@@ -11,7 +11,7 @@ class ListIdentityPoolUsageCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class ListIdentityPoolUsageCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListIdentityPoolUsageCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListIdentityPoolUsageCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListIdentityPoolUsageCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListIdentityPoolUsageCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListIdentityPoolUsageCommand = ListIdentityPoolUsageCommand;
@@ -11,7 +11,7 @@ class ListRecordsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class ListRecordsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListRecordsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListRecordsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListRecordsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListRecordsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListRecordsCommand = ListRecordsCommand;
@@ -11,7 +11,7 @@ class RegisterDeviceCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class RegisterDeviceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1RegisterDeviceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RegisterDeviceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1RegisterDeviceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RegisterDeviceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RegisterDeviceCommand = RegisterDeviceCommand;
@@ -11,7 +11,7 @@ class SetCognitoEventsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class SetCognitoEventsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SetCognitoEventsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetCognitoEventsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SetCognitoEventsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetCognitoEventsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetCognitoEventsCommand = SetCognitoEventsCommand;
@@ -11,7 +11,7 @@ class SetIdentityPoolConfigurationCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class SetIdentityPoolConfigurationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SetIdentityPoolConfigurationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetIdentityPoolConfigurationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SetIdentityPoolConfigurationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetIdentityPoolConfigurationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetIdentityPoolConfigurationCommand = SetIdentityPoolConfigurationCommand;
@@ -11,7 +11,7 @@ class SubscribeToDatasetCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class SubscribeToDatasetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SubscribeToDatasetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SubscribeToDatasetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SubscribeToDatasetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SubscribeToDatasetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SubscribeToDatasetCommand = SubscribeToDatasetCommand;
@@ -11,7 +11,7 @@ class UnsubscribeFromDatasetCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class UnsubscribeFromDatasetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UnsubscribeFromDatasetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UnsubscribeFromDatasetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UnsubscribeFromDatasetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UnsubscribeFromDatasetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UnsubscribeFromDatasetCommand = UnsubscribeFromDatasetCommand;
@@ -11,7 +11,7 @@ class UpdateRecordsCommand 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 = "CognitoSyncClient";
@@ -27,10 +27,10 @@ class UpdateRecordsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateRecordsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRecordsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateRecordsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRecordsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateRecordsCommand = UpdateRecordsCommand;
@@ -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: "cognito-sync",
128
128
  regionHash,