@aws-sdk/client-sns 3.414.0 → 3.421.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 (86) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AddPermissionCommand.js +5 -0
  3. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
  4. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +5 -0
  5. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +5 -0
  6. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +5 -0
  7. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
  8. package/dist-cjs/commands/CreateTopicCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
  10. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteTopicCommand.js +5 -0
  13. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +5 -0
  14. package/dist-cjs/commands/GetEndpointAttributesCommand.js +5 -0
  15. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +5 -0
  16. package/dist-cjs/commands/GetSMSAttributesCommand.js +5 -0
  17. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
  18. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +5 -0
  19. package/dist-cjs/commands/GetTopicAttributesCommand.js +5 -0
  20. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
  21. package/dist-cjs/commands/ListOriginationNumbersCommand.js +5 -0
  22. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
  23. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +5 -0
  24. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
  25. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +5 -0
  26. package/dist-cjs/commands/ListSubscriptionsCommand.js +5 -0
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  28. package/dist-cjs/commands/ListTopicsCommand.js +5 -0
  29. package/dist-cjs/commands/OptInPhoneNumberCommand.js +5 -0
  30. package/dist-cjs/commands/PublishBatchCommand.js +5 -0
  31. package/dist-cjs/commands/PublishCommand.js +5 -0
  32. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +5 -0
  33. package/dist-cjs/commands/RemovePermissionCommand.js +5 -0
  34. package/dist-cjs/commands/SetEndpointAttributesCommand.js +5 -0
  35. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +5 -0
  36. package/dist-cjs/commands/SetSMSAttributesCommand.js +5 -0
  37. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +5 -0
  38. package/dist-cjs/commands/SetTopicAttributesCommand.js +5 -0
  39. package/dist-cjs/commands/SubscribeCommand.js +5 -0
  40. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  41. package/dist-cjs/commands/UnsubscribeCommand.js +5 -0
  42. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  43. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
  44. package/dist-es/commands/AddPermissionCommand.js +5 -0
  45. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
  46. package/dist-es/commands/ConfirmSubscriptionCommand.js +5 -0
  47. package/dist-es/commands/CreatePlatformApplicationCommand.js +5 -0
  48. package/dist-es/commands/CreatePlatformEndpointCommand.js +5 -0
  49. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
  50. package/dist-es/commands/CreateTopicCommand.js +5 -0
  51. package/dist-es/commands/DeleteEndpointCommand.js +5 -0
  52. package/dist-es/commands/DeletePlatformApplicationCommand.js +5 -0
  53. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
  54. package/dist-es/commands/DeleteTopicCommand.js +5 -0
  55. package/dist-es/commands/GetDataProtectionPolicyCommand.js +5 -0
  56. package/dist-es/commands/GetEndpointAttributesCommand.js +5 -0
  57. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +5 -0
  58. package/dist-es/commands/GetSMSAttributesCommand.js +5 -0
  59. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
  60. package/dist-es/commands/GetSubscriptionAttributesCommand.js +5 -0
  61. package/dist-es/commands/GetTopicAttributesCommand.js +5 -0
  62. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
  63. package/dist-es/commands/ListOriginationNumbersCommand.js +5 -0
  64. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
  65. package/dist-es/commands/ListPlatformApplicationsCommand.js +5 -0
  66. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
  67. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +5 -0
  68. package/dist-es/commands/ListSubscriptionsCommand.js +5 -0
  69. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  70. package/dist-es/commands/ListTopicsCommand.js +5 -0
  71. package/dist-es/commands/OptInPhoneNumberCommand.js +5 -0
  72. package/dist-es/commands/PublishBatchCommand.js +5 -0
  73. package/dist-es/commands/PublishCommand.js +5 -0
  74. package/dist-es/commands/PutDataProtectionPolicyCommand.js +5 -0
  75. package/dist-es/commands/RemovePermissionCommand.js +5 -0
  76. package/dist-es/commands/SetEndpointAttributesCommand.js +5 -0
  77. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +5 -0
  78. package/dist-es/commands/SetSMSAttributesCommand.js +5 -0
  79. package/dist-es/commands/SetSubscriptionAttributesCommand.js +5 -0
  80. package/dist-es/commands/SetTopicAttributesCommand.js +5 -0
  81. package/dist-es/commands/SubscribeCommand.js +5 -0
  82. package/dist-es/commands/TagResourceCommand.js +5 -0
  83. package/dist-es/commands/UnsubscribeCommand.js +5 -0
  84. package/dist-es/commands/UntagResourceCommand.js +5 -0
  85. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
  86. package/package.json +31 -31
package/README.md CHANGED
@@ -36,16 +36,16 @@ using your favorite package manager:
36
36
 
37
37
  The AWS SDK is modulized by clients and commands.
38
38
  To send a request, you only need to import the `SNSClient` and
39
- the commands you need, for example `AddPermissionCommand`:
39
+ the commands you need, for example `ListTopicsCommand`:
40
40
 
41
41
  ```js
42
42
  // ES5 example
43
- const { SNSClient, AddPermissionCommand } = require("@aws-sdk/client-sns");
43
+ const { SNSClient, ListTopicsCommand } = require("@aws-sdk/client-sns");
44
44
  ```
45
45
 
46
46
  ```ts
47
47
  // ES6+ example
48
- import { SNSClient, AddPermissionCommand } from "@aws-sdk/client-sns";
48
+ import { SNSClient, ListTopicsCommand } from "@aws-sdk/client-sns";
49
49
  ```
50
50
 
51
51
  ### Usage
@@ -64,7 +64,7 @@ const client = new SNSClient({ region: "REGION" });
64
64
  const params = {
65
65
  /** input parameters */
66
66
  };
67
- const command = new AddPermissionCommand(params);
67
+ const command = new ListTopicsCommand(params);
68
68
  ```
69
69
 
70
70
  #### Async/await
@@ -143,7 +143,7 @@ const client = new AWS.SNS({ region: "REGION" });
143
143
 
144
144
  // async/await.
145
145
  try {
146
- const data = await client.addPermission(params);
146
+ const data = await client.listTopics(params);
147
147
  // process data.
148
148
  } catch (error) {
149
149
  // error handling.
@@ -151,7 +151,7 @@ try {
151
151
 
152
152
  // Promises.
153
153
  client
154
- .addPermission(params)
154
+ .listTopics(params)
155
155
  .then((data) => {
156
156
  // process data.
157
157
  })
@@ -160,7 +160,7 @@ client
160
160
  });
161
161
 
162
162
  // callbacks.
163
- client.addPermission(params, (err, data) => {
163
+ client.listTopics(params, (err, data) => {
164
164
  // process err and data.
165
165
  });
166
166
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class AddPermissionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AddPermissionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "AddPermission",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CheckIfPhoneNumberIsOptedOutCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CheckIfPhoneNumberIsOptedOutCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "CheckIfPhoneNumberIsOptedOut",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ConfirmSubscriptionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ConfirmSubscriptionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ConfirmSubscription",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CreatePlatformApplicationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreatePlatformApplicationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "CreatePlatformApplication",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CreatePlatformEndpointCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreatePlatformEndpointCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "CreatePlatformEndpoint",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CreateSMSSandboxPhoneNumberCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateSMSSandboxPhoneNumberCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "CreateSMSSandboxPhoneNumber",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CreateTopicCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateTopicCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "CreateTopic",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteEndpointCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "DeleteEndpoint",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeletePlatformApplicationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeletePlatformApplicationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "DeletePlatformApplication",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteSMSSandboxPhoneNumberCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteSMSSandboxPhoneNumberCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "DeleteSMSSandboxPhoneNumber",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteTopicCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteTopicCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "DeleteTopic",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetDataProtectionPolicyCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetDataProtectionPolicyCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetDataProtectionPolicy",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetEndpointAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetEndpointAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetEndpointAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetPlatformApplicationAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetPlatformApplicationAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetPlatformApplicationAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetSMSAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetSMSAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetSMSAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetSMSSandboxAccountStatusCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetSMSSandboxAccountStatusCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetSMSSandboxAccountStatus",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetSubscriptionAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetSubscriptionAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetSubscriptionAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetTopicAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetTopicAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "GetTopicAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListEndpointsByPlatformApplicationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListEndpointsByPlatformApplicationCommand extends smithy_client_1.Command
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListEndpointsByPlatformApplication",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListOriginationNumbersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListOriginationNumbersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListOriginationNumbers",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListPhoneNumbersOptedOutCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListPhoneNumbersOptedOutCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListPhoneNumbersOptedOut",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListPlatformApplicationsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListPlatformApplicationsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListPlatformApplications",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListSMSSandboxPhoneNumbersCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListSMSSandboxPhoneNumbersCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListSMSSandboxPhoneNumbers",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListSubscriptionsByTopicCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListSubscriptionsByTopicCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListSubscriptionsByTopic",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListSubscriptionsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListSubscriptionsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListSubscriptions",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListTagsForResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListTagsForResource",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListTopicsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTopicsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "ListTopics",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class OptInPhoneNumberCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class OptInPhoneNumberCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "OptInPhoneNumber",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PublishBatchCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PublishBatchCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSimpleNotificationService",
38
+ operation: "PublishBatch",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);