@aws-sdk/client-sns 3.477.0 → 3.481.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 (205) hide show
  1. package/dist-cjs/commands/AddPermissionCommand.js +18 -41
  2. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +18 -41
  3. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +18 -41
  4. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +18 -41
  5. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +18 -41
  6. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +18 -41
  7. package/dist-cjs/commands/CreateTopicCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteEndpointCommand.js +18 -41
  9. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteTopicCommand.js +18 -41
  12. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/GetEndpointAttributesCommand.js +18 -41
  14. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +18 -41
  15. package/dist-cjs/commands/GetSMSAttributesCommand.js +18 -41
  16. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +18 -41
  17. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +18 -41
  18. package/dist-cjs/commands/GetTopicAttributesCommand.js +18 -41
  19. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +18 -41
  20. package/dist-cjs/commands/ListOriginationNumbersCommand.js +18 -41
  21. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +18 -41
  22. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +18 -41
  23. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +18 -41
  24. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +18 -41
  25. package/dist-cjs/commands/ListSubscriptionsCommand.js +18 -41
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  27. package/dist-cjs/commands/ListTopicsCommand.js +18 -41
  28. package/dist-cjs/commands/OptInPhoneNumberCommand.js +18 -41
  29. package/dist-cjs/commands/PublishBatchCommand.js +18 -41
  30. package/dist-cjs/commands/PublishCommand.js +18 -41
  31. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +18 -41
  32. package/dist-cjs/commands/RemovePermissionCommand.js +18 -41
  33. package/dist-cjs/commands/SetEndpointAttributesCommand.js +18 -41
  34. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +18 -41
  35. package/dist-cjs/commands/SetSMSAttributesCommand.js +18 -41
  36. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +18 -41
  37. package/dist-cjs/commands/SetTopicAttributesCommand.js +18 -41
  38. package/dist-cjs/commands/SubscribeCommand.js +18 -41
  39. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  40. package/dist-cjs/commands/UnsubscribeCommand.js +18 -41
  41. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  42. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +18 -41
  43. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  44. package/dist-cjs/pagination/ListEndpointsByPlatformApplicationPaginator.js +2 -23
  45. package/dist-cjs/pagination/ListOriginationNumbersPaginator.js +2 -24
  46. package/dist-cjs/pagination/ListPhoneNumbersOptedOutPaginator.js +2 -23
  47. package/dist-cjs/pagination/ListPlatformApplicationsPaginator.js +2 -23
  48. package/dist-cjs/pagination/ListSMSSandboxPhoneNumbersPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListSubscriptionsByTopicPaginator.js +2 -23
  50. package/dist-cjs/pagination/ListSubscriptionsPaginator.js +2 -23
  51. package/dist-cjs/pagination/ListTopicsPaginator.js +2 -23
  52. package/dist-es/commands/AddPermissionCommand.js +18 -41
  53. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +18 -41
  54. package/dist-es/commands/ConfirmSubscriptionCommand.js +18 -41
  55. package/dist-es/commands/CreatePlatformApplicationCommand.js +18 -41
  56. package/dist-es/commands/CreatePlatformEndpointCommand.js +18 -41
  57. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +18 -41
  58. package/dist-es/commands/CreateTopicCommand.js +18 -41
  59. package/dist-es/commands/DeleteEndpointCommand.js +18 -41
  60. package/dist-es/commands/DeletePlatformApplicationCommand.js +18 -41
  61. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +18 -41
  62. package/dist-es/commands/DeleteTopicCommand.js +18 -41
  63. package/dist-es/commands/GetDataProtectionPolicyCommand.js +18 -41
  64. package/dist-es/commands/GetEndpointAttributesCommand.js +18 -41
  65. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +18 -41
  66. package/dist-es/commands/GetSMSAttributesCommand.js +18 -41
  67. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +18 -41
  68. package/dist-es/commands/GetSubscriptionAttributesCommand.js +18 -41
  69. package/dist-es/commands/GetTopicAttributesCommand.js +18 -41
  70. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +18 -41
  71. package/dist-es/commands/ListOriginationNumbersCommand.js +18 -41
  72. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +18 -41
  73. package/dist-es/commands/ListPlatformApplicationsCommand.js +18 -41
  74. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +18 -41
  75. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +18 -41
  76. package/dist-es/commands/ListSubscriptionsCommand.js +18 -41
  77. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  78. package/dist-es/commands/ListTopicsCommand.js +18 -41
  79. package/dist-es/commands/OptInPhoneNumberCommand.js +18 -41
  80. package/dist-es/commands/PublishBatchCommand.js +18 -41
  81. package/dist-es/commands/PublishCommand.js +18 -41
  82. package/dist-es/commands/PutDataProtectionPolicyCommand.js +18 -41
  83. package/dist-es/commands/RemovePermissionCommand.js +18 -41
  84. package/dist-es/commands/SetEndpointAttributesCommand.js +18 -41
  85. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +18 -41
  86. package/dist-es/commands/SetSMSAttributesCommand.js +18 -41
  87. package/dist-es/commands/SetSubscriptionAttributesCommand.js +18 -41
  88. package/dist-es/commands/SetTopicAttributesCommand.js +18 -41
  89. package/dist-es/commands/SubscribeCommand.js +18 -41
  90. package/dist-es/commands/TagResourceCommand.js +18 -41
  91. package/dist-es/commands/UnsubscribeCommand.js +18 -41
  92. package/dist-es/commands/UntagResourceCommand.js +18 -41
  93. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +18 -41
  94. package/dist-es/endpoint/EndpointParameters.js +6 -0
  95. package/dist-es/pagination/ListEndpointsByPlatformApplicationPaginator.js +2 -22
  96. package/dist-es/pagination/ListOriginationNumbersPaginator.js +2 -23
  97. package/dist-es/pagination/ListPhoneNumbersOptedOutPaginator.js +2 -22
  98. package/dist-es/pagination/ListPlatformApplicationsPaginator.js +2 -22
  99. package/dist-es/pagination/ListSMSSandboxPhoneNumbersPaginator.js +2 -23
  100. package/dist-es/pagination/ListSubscriptionsByTopicPaginator.js +2 -22
  101. package/dist-es/pagination/ListSubscriptionsPaginator.js +2 -22
  102. package/dist-es/pagination/ListTopicsPaginator.js +2 -22
  103. package/dist-types/commands/AddPermissionCommand.d.ts +6 -21
  104. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +6 -21
  105. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +6 -21
  106. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +6 -21
  107. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateTopicCommand.d.ts +6 -21
  110. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -21
  111. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteTopicCommand.d.ts +6 -21
  114. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -21
  115. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +6 -21
  116. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +6 -21
  117. package/dist-types/commands/GetSMSAttributesCommand.d.ts +6 -21
  118. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +6 -21
  119. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +6 -21
  120. package/dist-types/commands/GetTopicAttributesCommand.d.ts +6 -21
  121. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +6 -21
  122. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +6 -21
  123. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +6 -21
  124. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +6 -21
  125. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +6 -21
  126. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +6 -21
  127. package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -21
  128. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  129. package/dist-types/commands/ListTopicsCommand.d.ts +6 -21
  130. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +6 -21
  131. package/dist-types/commands/PublishBatchCommand.d.ts +6 -21
  132. package/dist-types/commands/PublishCommand.d.ts +6 -21
  133. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -21
  134. package/dist-types/commands/RemovePermissionCommand.d.ts +6 -21
  135. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +6 -21
  136. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +6 -21
  137. package/dist-types/commands/SetSMSAttributesCommand.d.ts +6 -21
  138. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +6 -21
  139. package/dist-types/commands/SetTopicAttributesCommand.d.ts +6 -21
  140. package/dist-types/commands/SubscribeCommand.d.ts +6 -21
  141. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  142. package/dist-types/commands/UnsubscribeCommand.d.ts +6 -21
  143. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  144. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +6 -21
  145. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  146. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
  147. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
  148. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
  149. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
  150. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
  151. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +12 -24
  160. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/PublishCommand.d.ts +12 -23
  184. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  197. package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -3
  198. package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +3 -3
  199. package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -3
  200. package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +3 -3
  201. package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -3
  202. package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -3
  203. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +3 -3
  204. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +3 -3
  205. package/package.json +11 -10
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSubscriptionsCommand, } from "../commands/ListSubscriptionsCommand";
2
3
  import { SNSClient } from "../SNSClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSubscriptionsCommand(input), ...args);
5
- };
6
- export async function* paginateListSubscriptions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof SNSClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected SNS | SNSClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListSubscriptions = createPaginator(SNSClient, ListSubscriptionsCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTopicsCommand } from "../commands/ListTopicsCommand";
2
3
  import { SNSClient } from "../SNSClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTopicsCommand(input), ...args);
5
- };
6
- export async function* paginateListTopics(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof SNSClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected SNS | SNSClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListTopics = createPaginator(SNSClient, ListTopicsCommand, "NextToken", "NextToken", "");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AddPermissionInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddPermissionCommandInput extends AddPermissionInput {
21
20
  */
22
21
  export interface AddPermissionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AddPermissionCommand_base: {
24
+ new (input: AddPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a statement to a topic's access control policy, granting access for the specified
@@ -75,23 +78,5 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
75
78
  * <p>Base exception class for all service exceptions from SNS service.</p>
76
79
  *
77
80
  */
78
- export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig> {
79
- readonly input: AddPermissionCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: AddPermissionCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class AddPermissionCommand extends AddPermissionCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CheckIfPhoneNumberIsOptedOutInput, CheckIfPhoneNumberIsOptedOutResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CheckIfPhoneNumberIsOptedOutCommandInput extends CheckIfPhoneNu
21
20
  */
22
21
  export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneNumberIsOptedOutResponse, __MetadataBearer {
23
22
  }
23
+ declare const CheckIfPhoneNumberIsOptedOutCommand_base: {
24
+ new (input: CheckIfPhoneNumberIsOptedOutCommandInput): import("@smithy/smithy-client").CommandImpl<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Accepts a phone number and indicates whether the phone holder has opted out of
@@ -68,23 +71,5 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
68
71
  * <p>Base exception class for all service exceptions from SNS service.</p>
69
72
  *
70
73
  */
71
- export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig> {
72
- readonly input: CheckIfPhoneNumberIsOptedOutCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: CheckIfPhoneNumberIsOptedOutCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class CheckIfPhoneNumberIsOptedOutCommand extends CheckIfPhoneNumberIsOptedOutCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ConfirmSubscriptionInput, ConfirmSubscriptionResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ConfirmSubscriptionCommandInput extends ConfirmSubscriptionInpu
21
20
  */
22
21
  export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionResponse, __MetadataBearer {
23
22
  }
23
+ declare const ConfirmSubscriptionCommand_base: {
24
+ new (input: ConfirmSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Verifies an endpoint owner's intent to receive messages by validating the token sent
@@ -82,23 +85,5 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
82
85
  * <p>Base exception class for all service exceptions from SNS service.</p>
83
86
  *
84
87
  */
85
- export declare class ConfirmSubscriptionCommand extends $Command<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig> {
86
- readonly input: ConfirmSubscriptionCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: ConfirmSubscriptionCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class ConfirmSubscriptionCommand extends ConfirmSubscriptionCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreatePlatformApplicationInput, CreatePlatformApplicationResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePlatformApplicationCommandInput extends CreatePlatformApp
21
20
  */
22
21
  export interface CreatePlatformApplicationCommandOutput extends CreatePlatformApplicationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreatePlatformApplicationCommand_base: {
24
+ new (input: CreatePlatformApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a platform application object for one of the supported push notification
@@ -109,23 +112,5 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
109
112
  * <p>Base exception class for all service exceptions from SNS service.</p>
110
113
  *
111
114
  */
112
- export declare class CreatePlatformApplicationCommand extends $Command<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
113
- readonly input: CreatePlatformApplicationCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: CreatePlatformApplicationCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
115
+ export declare class CreatePlatformApplicationCommand extends CreatePlatformApplicationCommand_base {
131
116
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateEndpointResponse, CreatePlatformEndpointInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreatePlatformEndpointCommandInput extends CreatePlatformEndpoi
21
20
  */
22
21
  export interface CreatePlatformEndpointCommandOutput extends CreateEndpointResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreatePlatformEndpointCommand_base: {
24
+ new (input: CreatePlatformEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an endpoint for a device and mobile app on one of the supported push
@@ -82,23 +85,5 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
82
85
  * <p>Base exception class for all service exceptions from SNS service.</p>
83
86
  *
84
87
  */
85
- export declare class CreatePlatformEndpointCommand extends $Command<CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput, SNSClientResolvedConfig> {
86
- readonly input: CreatePlatformEndpointCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: CreatePlatformEndpointCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class CreatePlatformEndpointCommand extends CreatePlatformEndpointCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateSMSSandboxPhoneNumberInput, CreateSMSSandboxPhoneNumberResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSMSSandboxPhoneNumberCommandInput extends CreateSMSSandbo
21
20
  */
22
21
  export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandboxPhoneNumberResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateSMSSandboxPhoneNumberCommand_base: {
24
+ new (input: CreateSMSSandboxPhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a destination phone number to an Amazon Web Services account in the SMS sandbox and sends a
@@ -80,23 +83,5 @@ export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandb
80
83
  * <p>Base exception class for all service exceptions from SNS service.</p>
81
84
  *
82
85
  */
83
- export declare class CreateSMSSandboxPhoneNumberCommand extends $Command<CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
84
- readonly input: CreateSMSSandboxPhoneNumberCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: CreateSMSSandboxPhoneNumberCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class CreateSMSSandboxPhoneNumberCommand extends CreateSMSSandboxPhoneNumberCommand_base {
102
87
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateTopicInput, CreateTopicResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateTopicCommandInput extends CreateTopicInput {
21
20
  */
22
21
  export interface CreateTopicCommandOutput extends CreateTopicResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateTopicCommand_base: {
24
+ new (input: CreateTopicCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTopicCommandInput, CreateTopicCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a topic to which notifications can be published. Users can create at most
@@ -97,23 +100,5 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
97
100
  * <p>Base exception class for all service exceptions from SNS service.</p>
98
101
  *
99
102
  */
100
- export declare class CreateTopicCommand extends $Command<CreateTopicCommandInput, CreateTopicCommandOutput, SNSClientResolvedConfig> {
101
- readonly input: CreateTopicCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: CreateTopicCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTopicCommandInput, CreateTopicCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class CreateTopicCommand extends CreateTopicCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteEndpointInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteEndpointCommandInput extends DeleteEndpointInput {
21
20
  */
22
21
  export interface DeleteEndpointCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteEndpointCommand_base: {
24
+ new (input: DeleteEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the endpoint for a device and mobile app from Amazon SNS. This action is
@@ -63,23 +66,5 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
63
66
  * <p>Base exception class for all service exceptions from SNS service.</p>
64
67
  *
65
68
  */
66
- export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, SNSClientResolvedConfig> {
67
- readonly input: DeleteEndpointCommandInput;
68
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
- /**
70
- * @public
71
- */
72
- constructor(input: DeleteEndpointCommandInput);
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEndpointCommandInput, DeleteEndpointCommandOutput>;
77
- /**
78
- * @internal
79
- */
80
- private serialize;
81
- /**
82
- * @internal
83
- */
84
- private deserialize;
69
+ export declare class DeleteEndpointCommand extends DeleteEndpointCommand_base {
85
70
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeletePlatformApplicationInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeletePlatformApplicationCommandInput extends DeletePlatformApp
21
20
  */
22
21
  export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeletePlatformApplicationCommand_base: {
24
+ new (input: DeletePlatformApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a platform application object for one of the supported push notification
@@ -62,23 +65,5 @@ export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer
62
65
  * <p>Base exception class for all service exceptions from SNS service.</p>
63
66
  *
64
67
  */
65
- export declare class DeletePlatformApplicationCommand extends $Command<DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
66
- readonly input: DeletePlatformApplicationCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeletePlatformApplicationCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeletePlatformApplicationCommand extends DeletePlatformApplicationCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteSMSSandboxPhoneNumberInput, DeleteSMSSandboxPhoneNumberResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSMSSandboxPhoneNumberCommandInput extends DeleteSMSSandbo
21
20
  */
22
21
  export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandboxPhoneNumberResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSMSSandboxPhoneNumberCommand_base: {
24
+ new (input: DeleteSMSSandboxPhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an Amazon Web Services account's verified or pending phone number from the SMS
@@ -79,23 +82,5 @@ export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandb
79
82
  * <p>Base exception class for all service exceptions from SNS service.</p>
80
83
  *
81
84
  */
82
- export declare class DeleteSMSSandboxPhoneNumberCommand extends $Command<DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
83
- readonly input: DeleteSMSSandboxPhoneNumberCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: DeleteSMSSandboxPhoneNumberCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class DeleteSMSSandboxPhoneNumberCommand extends DeleteSMSSandboxPhoneNumberCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteTopicInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTopicCommandInput extends DeleteTopicInput {
21
20
  */
22
21
  export interface DeleteTopicCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteTopicCommand_base: {
24
+ new (input: DeleteTopicCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTopicCommandInput, DeleteTopicCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a topic and all its subscriptions. Deleting a topic might prevent some
@@ -80,23 +83,5 @@ export interface DeleteTopicCommandOutput extends __MetadataBearer {
80
83
  * <p>Base exception class for all service exceptions from SNS service.</p>
81
84
  *
82
85
  */
83
- export declare class DeleteTopicCommand extends $Command<DeleteTopicCommandInput, DeleteTopicCommandOutput, SNSClientResolvedConfig> {
84
- readonly input: DeleteTopicCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: DeleteTopicCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTopicCommandInput, DeleteTopicCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class DeleteTopicCommand extends DeleteTopicCommand_base {
102
87
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetDataProtectionPolicyInput, GetDataProtectionPolicyResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetDataProtectionPolicyCommandInput extends GetDataProtectionPo
21
20
  */
22
21
  export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetDataProtectionPolicyCommand_base: {
24
+ new (input: GetDataProtectionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the specified inline <code>DataProtectionPolicy</code> document that is
@@ -69,23 +72,5 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
69
72
  * <p>Base exception class for all service exceptions from SNS service.</p>
70
73
  *
71
74
  */
72
- export declare class GetDataProtectionPolicyCommand extends $Command<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
73
- readonly input: GetDataProtectionPolicyCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: GetDataProtectionPolicyCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class GetDataProtectionPolicyCommand extends GetDataProtectionPolicyCommand_base {
91
76
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetEndpointAttributesInput, GetEndpointAttributesResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetEndpointAttributesCommandInput extends GetEndpointAttributes
21
20
  */
22
21
  export interface GetEndpointAttributesCommandOutput extends GetEndpointAttributesResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetEndpointAttributesCommand_base: {
24
+ new (input: GetEndpointAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the endpoint attributes for a device on one of the supported push
@@ -68,23 +71,5 @@ export interface GetEndpointAttributesCommandOutput extends GetEndpointAttribute
68
71
  * <p>Base exception class for all service exceptions from SNS service.</p>
69
72
  *
70
73
  */
71
- export declare class GetEndpointAttributesCommand extends $Command<GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
72
- readonly input: GetEndpointAttributesCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: GetEndpointAttributesCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class GetEndpointAttributesCommand extends GetEndpointAttributesCommand_base {
90
75
  }