@aws-sdk/client-sns 3.414.0 → 3.418.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 (85) hide show
  1. package/dist-cjs/commands/AddPermissionCommand.js +5 -0
  2. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
  3. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +5 -0
  4. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +5 -0
  5. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +5 -0
  6. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
  7. package/dist-cjs/commands/CreateTopicCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
  9. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteTopicCommand.js +5 -0
  12. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +5 -0
  13. package/dist-cjs/commands/GetEndpointAttributesCommand.js +5 -0
  14. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +5 -0
  15. package/dist-cjs/commands/GetSMSAttributesCommand.js +5 -0
  16. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
  17. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +5 -0
  18. package/dist-cjs/commands/GetTopicAttributesCommand.js +5 -0
  19. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
  20. package/dist-cjs/commands/ListOriginationNumbersCommand.js +5 -0
  21. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
  22. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +5 -0
  23. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
  24. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +5 -0
  25. package/dist-cjs/commands/ListSubscriptionsCommand.js +5 -0
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  27. package/dist-cjs/commands/ListTopicsCommand.js +5 -0
  28. package/dist-cjs/commands/OptInPhoneNumberCommand.js +5 -0
  29. package/dist-cjs/commands/PublishBatchCommand.js +5 -0
  30. package/dist-cjs/commands/PublishCommand.js +5 -0
  31. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +5 -0
  32. package/dist-cjs/commands/RemovePermissionCommand.js +5 -0
  33. package/dist-cjs/commands/SetEndpointAttributesCommand.js +5 -0
  34. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +5 -0
  35. package/dist-cjs/commands/SetSMSAttributesCommand.js +5 -0
  36. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +5 -0
  37. package/dist-cjs/commands/SetTopicAttributesCommand.js +5 -0
  38. package/dist-cjs/commands/SubscribeCommand.js +5 -0
  39. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  40. package/dist-cjs/commands/UnsubscribeCommand.js +5 -0
  41. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  42. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
  43. package/dist-es/commands/AddPermissionCommand.js +5 -0
  44. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
  45. package/dist-es/commands/ConfirmSubscriptionCommand.js +5 -0
  46. package/dist-es/commands/CreatePlatformApplicationCommand.js +5 -0
  47. package/dist-es/commands/CreatePlatformEndpointCommand.js +5 -0
  48. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
  49. package/dist-es/commands/CreateTopicCommand.js +5 -0
  50. package/dist-es/commands/DeleteEndpointCommand.js +5 -0
  51. package/dist-es/commands/DeletePlatformApplicationCommand.js +5 -0
  52. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
  53. package/dist-es/commands/DeleteTopicCommand.js +5 -0
  54. package/dist-es/commands/GetDataProtectionPolicyCommand.js +5 -0
  55. package/dist-es/commands/GetEndpointAttributesCommand.js +5 -0
  56. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +5 -0
  57. package/dist-es/commands/GetSMSAttributesCommand.js +5 -0
  58. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
  59. package/dist-es/commands/GetSubscriptionAttributesCommand.js +5 -0
  60. package/dist-es/commands/GetTopicAttributesCommand.js +5 -0
  61. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
  62. package/dist-es/commands/ListOriginationNumbersCommand.js +5 -0
  63. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
  64. package/dist-es/commands/ListPlatformApplicationsCommand.js +5 -0
  65. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
  66. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +5 -0
  67. package/dist-es/commands/ListSubscriptionsCommand.js +5 -0
  68. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  69. package/dist-es/commands/ListTopicsCommand.js +5 -0
  70. package/dist-es/commands/OptInPhoneNumberCommand.js +5 -0
  71. package/dist-es/commands/PublishBatchCommand.js +5 -0
  72. package/dist-es/commands/PublishCommand.js +5 -0
  73. package/dist-es/commands/PutDataProtectionPolicyCommand.js +5 -0
  74. package/dist-es/commands/RemovePermissionCommand.js +5 -0
  75. package/dist-es/commands/SetEndpointAttributesCommand.js +5 -0
  76. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +5 -0
  77. package/dist-es/commands/SetSMSAttributesCommand.js +5 -0
  78. package/dist-es/commands/SetSubscriptionAttributesCommand.js +5 -0
  79. package/dist-es/commands/SetTopicAttributesCommand.js +5 -0
  80. package/dist-es/commands/SubscribeCommand.js +5 -0
  81. package/dist-es/commands/TagResourceCommand.js +5 -0
  82. package/dist-es/commands/UnsubscribeCommand.js +5 -0
  83. package/dist-es/commands/UntagResourceCommand.js +5 -0
  84. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
  85. package/package.json +31 -31
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListSMSSandboxPhoneNumbersCommand, se_ListSMSSandboxPhoneNumbersCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListSMSSandboxPhoneNumbersCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListSMSSandboxPhoneNumbersCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "ListSMSSandboxPhoneNumbers",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListSubscriptionsByTopicCommand, se_ListSubscriptionsByTopicCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListSubscriptionsByTopicCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListSubscriptionsByTopicCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "ListSubscriptionsByTopic",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListSubscriptionsCommand, se_ListSubscriptionsCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListSubscriptionsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListSubscriptionsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "ListSubscriptions",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTopicsCommand, se_ListTopicsCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListTopicsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTopicsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "ListTopics",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_OptInPhoneNumberCommand, se_OptInPhoneNumberCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class OptInPhoneNumberCommand extends $Command {
@@ -29,6 +30,10 @@ export class OptInPhoneNumberCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "OptInPhoneNumber",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PublishBatchCommand, se_PublishBatchCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class PublishBatchCommand extends $Command {
@@ -29,6 +30,10 @@ export class PublishBatchCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "PublishBatch",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PublishCommand, se_PublishCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class PublishCommand extends $Command {
@@ -29,6 +30,10 @@ export class PublishCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "Publish",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutDataProtectionPolicyCommand, se_PutDataProtectionPolicyCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class PutDataProtectionPolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutDataProtectionPolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "PutDataProtectionPolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class RemovePermissionCommand extends $Command {
@@ -29,6 +30,10 @@ export class RemovePermissionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "RemovePermission",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetEndpointAttributesCommand, se_SetEndpointAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetEndpointAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetEndpointAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "SetEndpointAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetPlatformApplicationAttributesCommand, se_SetPlatformApplicationAttributesCommand, } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetPlatformApplicationAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetPlatformApplicationAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "SetPlatformApplicationAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetSMSAttributesCommand, se_SetSMSAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetSMSAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetSMSAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "SetSMSAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetSubscriptionAttributesCommand, se_SetSubscriptionAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetSubscriptionAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetSubscriptionAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "SetSubscriptionAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetTopicAttributesCommand, se_SetTopicAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetTopicAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetTopicAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "SetTopicAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SubscribeCommand extends $Command {
@@ -29,6 +30,10 @@ export class SubscribeCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "Subscribe",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class UnsubscribeCommand extends $Command {
@@ -29,6 +30,10 @@ export class UnsubscribeCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "Unsubscribe",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_VerifySMSSandboxPhoneNumberCommand, se_VerifySMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class VerifySMSSandboxPhoneNumberCommand extends $Command {
@@ -29,6 +30,10 @@ export class VerifySMSSandboxPhoneNumberCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSimpleNotificationService",
35
+ operation: "VerifySMSSandboxPhoneNumber",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sns",
3
3
  "description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.418.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/region-config-resolver": "3.413.0",
32
- "@aws-sdk/types": "3.413.0",
33
- "@aws-sdk/util-endpoints": "3.413.0",
34
- "@aws-sdk/util-user-agent-browser": "3.413.0",
35
- "@aws-sdk/util-user-agent-node": "3.413.0",
36
- "@smithy/config-resolver": "^2.0.8",
37
- "@smithy/fetch-http-handler": "^2.1.3",
38
- "@smithy/hash-node": "^2.0.7",
39
- "@smithy/invalid-dependency": "^2.0.7",
40
- "@smithy/middleware-content-length": "^2.0.9",
41
- "@smithy/middleware-endpoint": "^2.0.7",
42
- "@smithy/middleware-retry": "^2.0.10",
43
- "@smithy/middleware-serde": "^2.0.7",
44
- "@smithy/middleware-stack": "^2.0.0",
45
- "@smithy/node-config-provider": "^2.0.10",
46
- "@smithy/node-http-handler": "^2.1.3",
47
- "@smithy/protocol-http": "^3.0.3",
48
- "@smithy/smithy-client": "^2.1.4",
49
- "@smithy/types": "^2.3.1",
50
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.418.0",
25
+ "@aws-sdk/credential-provider-node": "3.418.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.8",
55
- "@smithy/util-defaults-mode-node": "^2.0.10",
56
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "fast-xml-parser": "4.2.5",
59
59
  "tslib": "^2.5.0"