@aws-sdk/client-sns 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 (67) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/SNSClient.js +13 -13
  3. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  4. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
  5. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +3 -3
  6. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +3 -3
  7. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +3 -3
  8. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
  9. package/dist-cjs/commands/CreateTopicCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteTopicCommand.js +3 -3
  14. package/dist-cjs/commands/GetEndpointAttributesCommand.js +3 -3
  15. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +3 -3
  16. package/dist-cjs/commands/GetSMSAttributesCommand.js +3 -3
  17. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
  18. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +3 -3
  19. package/dist-cjs/commands/GetTopicAttributesCommand.js +3 -3
  20. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
  21. package/dist-cjs/commands/ListOriginationNumbersCommand.js +3 -3
  22. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
  23. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +3 -3
  24. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
  25. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +3 -3
  26. package/dist-cjs/commands/ListSubscriptionsCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  28. package/dist-cjs/commands/ListTopicsCommand.js +3 -3
  29. package/dist-cjs/commands/OptInPhoneNumberCommand.js +3 -3
  30. package/dist-cjs/commands/PublishBatchCommand.js +3 -3
  31. package/dist-cjs/commands/PublishCommand.js +3 -3
  32. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  33. package/dist-cjs/commands/SetEndpointAttributesCommand.js +3 -3
  34. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +3 -3
  35. package/dist-cjs/commands/SetSMSAttributesCommand.js +3 -3
  36. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +3 -3
  37. package/dist-cjs/commands/SetTopicAttributesCommand.js +3 -3
  38. package/dist-cjs/commands/SubscribeCommand.js +3 -3
  39. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  40. package/dist-cjs/commands/UnsubscribeCommand.js +3 -3
  41. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  42. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
  43. package/dist-cjs/endpoints.js +4 -6
  44. package/dist-cjs/protocols/Aws_query.js +174 -174
  45. package/dist-cjs/runtimeConfig.browser.js +4 -4
  46. package/dist-cjs/runtimeConfig.js +9 -9
  47. package/dist-cjs/runtimeConfig.native.js +1 -1
  48. package/dist-es/SNS.js +40 -40
  49. package/dist-es/endpoints.js +3 -5
  50. package/dist-es/pagination/ListEndpointsByPlatformApplicationPaginator.js +4 -4
  51. package/dist-es/pagination/ListOriginationNumbersPaginator.js +4 -4
  52. package/dist-es/pagination/ListPhoneNumbersOptedOutPaginator.js +4 -4
  53. package/dist-es/pagination/ListPlatformApplicationsPaginator.js +4 -4
  54. package/dist-es/pagination/ListSMSSandboxPhoneNumbersPaginator.js +4 -4
  55. package/dist-es/pagination/ListSubscriptionsByTopicPaginator.js +4 -4
  56. package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -4
  57. package/dist-es/pagination/ListTopicsPaginator.js +4 -4
  58. package/dist-es/protocols/Aws_query.js +30 -30
  59. package/dist-types/SNSClient.d.ts +2 -2
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  61. package/dist-types/runtimeConfig.d.ts +1 -1
  62. package/dist-types/runtimeConfig.native.d.ts +3 -3
  63. package/dist-types/ts3.4/SNSClient.d.ts +2 -2
  64. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  66. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  67. package/package.json +34 -34
@@ -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 = "SNSClient";
@@ -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_query_1.serializeAws_queryListTagsForResourceCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryListTagsForResourceCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListTopicsCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class ListTopicsCommand 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_query_1.serializeAws_queryListTopicsCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryListTopicsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryListTopicsCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryListTopicsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTopicsCommand = ListTopicsCommand;
@@ -11,7 +11,7 @@ class OptInPhoneNumberCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class OptInPhoneNumberCommand 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_query_1.serializeAws_queryOptInPhoneNumberCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryOptInPhoneNumberCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryOptInPhoneNumberCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryOptInPhoneNumberCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.OptInPhoneNumberCommand = OptInPhoneNumberCommand;
@@ -11,7 +11,7 @@ class PublishBatchCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class PublishBatchCommand 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_query_1.serializeAws_queryPublishBatchCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryPublishBatchCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryPublishBatchCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryPublishBatchCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PublishBatchCommand = PublishBatchCommand;
@@ -11,7 +11,7 @@ class PublishCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class PublishCommand 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_query_1.serializeAws_queryPublishCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryPublishCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryPublishCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryPublishCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PublishCommand = PublishCommand;
@@ -11,7 +11,7 @@ class RemovePermissionCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class RemovePermissionCommand 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_query_1.serializeAws_queryRemovePermissionCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryRemovePermissionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryRemovePermissionCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryRemovePermissionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RemovePermissionCommand = RemovePermissionCommand;
@@ -11,7 +11,7 @@ class SetEndpointAttributesCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SetEndpointAttributesCommand 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_query_1.serializeAws_querySetEndpointAttributesCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySetEndpointAttributesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySetEndpointAttributesCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySetEndpointAttributesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetEndpointAttributesCommand = SetEndpointAttributesCommand;
@@ -11,7 +11,7 @@ class SetPlatformApplicationAttributesCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SetPlatformApplicationAttributesCommand 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_query_1.serializeAws_querySetPlatformApplicationAttributesCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySetPlatformApplicationAttributesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySetPlatformApplicationAttributesCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySetPlatformApplicationAttributesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetPlatformApplicationAttributesCommand = SetPlatformApplicationAttributesCommand;
@@ -11,7 +11,7 @@ class SetSMSAttributesCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SetSMSAttributesCommand 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_query_1.serializeAws_querySetSMSAttributesCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySetSMSAttributesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySetSMSAttributesCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySetSMSAttributesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetSMSAttributesCommand = SetSMSAttributesCommand;
@@ -11,7 +11,7 @@ class SetSubscriptionAttributesCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SetSubscriptionAttributesCommand 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_query_1.serializeAws_querySetSubscriptionAttributesCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySetSubscriptionAttributesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySetSubscriptionAttributesCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySetSubscriptionAttributesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetSubscriptionAttributesCommand = SetSubscriptionAttributesCommand;
@@ -11,7 +11,7 @@ class SetTopicAttributesCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SetTopicAttributesCommand 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_query_1.serializeAws_querySetTopicAttributesCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySetTopicAttributesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySetTopicAttributesCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySetTopicAttributesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetTopicAttributesCommand = SetTopicAttributesCommand;
@@ -11,7 +11,7 @@ class SubscribeCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class SubscribeCommand 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_query_1.serializeAws_querySubscribeCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_querySubscribeCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_querySubscribeCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_querySubscribeCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SubscribeCommand = SubscribeCommand;
@@ -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 = "SNSClient";
@@ -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_query_1.serializeAws_queryTagResourceCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryTagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryTagResourceCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryTagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UnsubscribeCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class UnsubscribeCommand 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_query_1.serializeAws_queryUnsubscribeCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryUnsubscribeCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryUnsubscribeCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryUnsubscribeCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UnsubscribeCommand = UnsubscribeCommand;
@@ -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 = "SNSClient";
@@ -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_query_1.serializeAws_queryUntagResourceCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryUntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryUntagResourceCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryUntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class VerifySMSSandboxPhoneNumberCommand 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 = "SNSClient";
@@ -27,10 +27,10 @@ class VerifySMSSandboxPhoneNumberCommand 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_query_1.serializeAws_queryVerifySMSSandboxPhoneNumberCommand(input, context);
30
+ return (0, Aws_query_1.serializeAws_queryVerifySMSSandboxPhoneNumberCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_query_1.deserializeAws_queryVerifySMSSandboxPhoneNumberCommand(output, context);
33
+ return (0, Aws_query_1.deserializeAws_queryVerifySMSSandboxPhoneNumberCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.VerifySMSSandboxPhoneNumberCommand = VerifySMSSandboxPhoneNumberCommand;
@@ -23,19 +23,17 @@ const regionHash = {
23
23
  variants: [
24
24
  {
25
25
  hostname: "sns.us-gov-east-1.amazonaws.com",
26
- tags: [],
26
+ tags: ["fips"],
27
27
  },
28
28
  ],
29
- signingRegion: "us-gov-east-1",
30
29
  },
31
30
  "us-gov-west-1": {
32
31
  variants: [
33
32
  {
34
33
  hostname: "sns.us-gov-west-1.amazonaws.com",
35
- tags: [],
34
+ tags: ["fips"],
36
35
  },
37
36
  ],
38
- signingRegion: "us-gov-west-1",
39
37
  },
40
38
  "us-west-1": {
41
39
  variants: [
@@ -155,7 +153,7 @@ const partitionHash = {
155
153
  ],
156
154
  },
157
155
  "aws-us-gov": {
158
- regions: ["us-gov-east-1", "us-gov-west-1"],
156
+ regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
159
157
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
160
158
  variants: [
161
159
  {
@@ -177,7 +175,7 @@ const partitionHash = {
177
175
  ],
178
176
  },
179
177
  };
180
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
178
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
181
179
  ...options,
182
180
  signingService: "sns",
183
181
  regionHash,