@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,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 { OptInPhoneNumberInput, OptInPhoneNumberResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface OptInPhoneNumberCommandInput extends OptInPhoneNumberInput {
21
20
  */
22
21
  export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse, __MetadataBearer {
23
22
  }
23
+ declare const OptInPhoneNumberCommand_base: {
24
+ new (input: OptInPhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use this request to opt in a phone number that is opted out, which enables you to
@@ -64,23 +67,5 @@ export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse,
64
67
  * <p>Base exception class for all service exceptions from SNS service.</p>
65
68
  *
66
69
  */
67
- export declare class OptInPhoneNumberCommand extends $Command<OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput, SNSClientResolvedConfig> {
68
- readonly input: OptInPhoneNumberCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: OptInPhoneNumberCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class OptInPhoneNumberCommand extends OptInPhoneNumberCommand_base {
86
71
  }
@@ -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 { PublishBatchInput, PublishBatchResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PublishBatchCommandInput extends PublishBatchInput {
21
20
  */
22
21
  export interface PublishBatchCommandOutput extends PublishBatchResponse, __MetadataBearer {
23
22
  }
23
+ declare const PublishBatchCommand_base: {
24
+ new (input: PublishBatchCommandInput): import("@smithy/smithy-client").CommandImpl<PublishBatchCommandInput, PublishBatchCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Publishes up to ten messages to the specified topic. This is a batch version of
@@ -172,23 +175,5 @@ export interface PublishBatchCommandOutput extends PublishBatchResponse, __Metad
172
175
  * <p>Base exception class for all service exceptions from SNS service.</p>
173
176
  *
174
177
  */
175
- export declare class PublishBatchCommand extends $Command<PublishBatchCommandInput, PublishBatchCommandOutput, SNSClientResolvedConfig> {
176
- readonly input: PublishBatchCommandInput;
177
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
178
- /**
179
- * @public
180
- */
181
- constructor(input: PublishBatchCommandInput);
182
- /**
183
- * @internal
184
- */
185
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishBatchCommandInput, PublishBatchCommandOutput>;
186
- /**
187
- * @internal
188
- */
189
- private serialize;
190
- /**
191
- * @internal
192
- */
193
- private deserialize;
178
+ export declare class PublishBatchCommand extends PublishBatchCommand_base {
194
179
  }
@@ -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 { PublishInput, PublishResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PublishCommandInput extends PublishInput {
21
20
  */
22
21
  export interface PublishCommandOutput extends PublishResponse, __MetadataBearer {
23
22
  }
23
+ declare const PublishCommand_base: {
24
+ new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<PublishCommandInput, PublishCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone
@@ -138,23 +141,5 @@ export interface PublishCommandOutput extends PublishResponse, __MetadataBearer
138
141
  * <p>Base exception class for all service exceptions from SNS service.</p>
139
142
  *
140
143
  */
141
- export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, SNSClientResolvedConfig> {
142
- readonly input: PublishCommandInput;
143
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
144
- /**
145
- * @public
146
- */
147
- constructor(input: PublishCommandInput);
148
- /**
149
- * @internal
150
- */
151
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishCommandInput, PublishCommandOutput>;
152
- /**
153
- * @internal
154
- */
155
- private serialize;
156
- /**
157
- * @internal
158
- */
159
- private deserialize;
144
+ export declare class PublishCommand extends PublishCommand_base {
160
145
  }
@@ -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 { PutDataProtectionPolicyInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutDataProtectionPolicyCommandInput extends PutDataProtectionPo
21
20
  */
22
21
  export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutDataProtectionPolicyCommand_base: {
24
+ new (input: PutDataProtectionPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds or updates an inline policy document that is stored in the specified Amazon SNS
@@ -68,23 +71,5 @@ export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
68
71
  * <p>Base exception class for all service exceptions from SNS service.</p>
69
72
  *
70
73
  */
71
- export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
72
- readonly input: PutDataProtectionPolicyCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: PutDataProtectionPolicyCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class PutDataProtectionPolicyCommand extends PutDataProtectionPolicyCommand_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 { RemovePermissionInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RemovePermissionCommandInput extends RemovePermissionInput {
21
20
  */
22
21
  export interface RemovePermissionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const RemovePermissionCommand_base: {
24
+ new (input: RemovePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<RemovePermissionCommandInput, RemovePermissionCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes a statement from a topic's access control policy.</p>
@@ -68,23 +71,5 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
68
71
  * <p>Base exception class for all service exceptions from SNS service.</p>
69
72
  *
70
73
  */
71
- export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SNSClientResolvedConfig> {
72
- readonly input: RemovePermissionCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: RemovePermissionCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemovePermissionCommandInput, RemovePermissionCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class RemovePermissionCommand extends RemovePermissionCommand_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 { SetEndpointAttributesInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetEndpointAttributesCommandInput extends SetEndpointAttributes
21
20
  */
22
21
  export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const SetEndpointAttributesCommand_base: {
24
+ new (input: SetEndpointAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the attributes for an endpoint for a device on one of the supported push
@@ -67,23 +70,5 @@ export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
67
70
  * <p>Base exception class for all service exceptions from SNS service.</p>
68
71
  *
69
72
  */
70
- export declare class SetEndpointAttributesCommand extends $Command<SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
71
- readonly input: SetEndpointAttributesCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: SetEndpointAttributesCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class SetEndpointAttributesCommand extends SetEndpointAttributesCommand_base {
89
74
  }
@@ -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 { SetPlatformApplicationAttributesInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetPlatformApplicationAttributesCommandInput extends SetPlatfor
21
20
  */
22
21
  export interface SetPlatformApplicationAttributesCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const SetPlatformApplicationAttributesCommand_base: {
24
+ new (input: SetPlatformApplicationAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets the attributes of the platform application object for the supported push
@@ -69,23 +72,5 @@ export interface SetPlatformApplicationAttributesCommandOutput extends __Metadat
69
72
  * <p>Base exception class for all service exceptions from SNS service.</p>
70
73
  *
71
74
  */
72
- export declare class SetPlatformApplicationAttributesCommand extends $Command<SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig> {
73
- readonly input: SetPlatformApplicationAttributesCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: SetPlatformApplicationAttributesCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class SetPlatformApplicationAttributesCommand extends SetPlatformApplicationAttributesCommand_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 { SetSMSAttributesInput, SetSMSAttributesResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetSMSAttributesCommandInput extends SetSMSAttributesInput {
21
20
  */
22
21
  export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse, __MetadataBearer {
23
22
  }
23
+ declare const SetSMSAttributesCommand_base: {
24
+ new (input: SetSMSAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use this request to set the default settings for sending SMS messages and receiving
@@ -74,23 +77,5 @@ export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse,
74
77
  * <p>Base exception class for all service exceptions from SNS service.</p>
75
78
  *
76
79
  */
77
- export declare class SetSMSAttributesCommand extends $Command<SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput, SNSClientResolvedConfig> {
78
- readonly input: SetSMSAttributesCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: SetSMSAttributesCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class SetSMSAttributesCommand extends SetSMSAttributesCommand_base {
96
81
  }
@@ -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 { SetSubscriptionAttributesInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetSubscriptionAttributesCommandInput extends SetSubscriptionAt
21
20
  */
22
21
  export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const SetSubscriptionAttributesCommand_base: {
24
+ new (input: SetSubscriptionAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Allows a subscription owner to set an attribute of the subscription to a new
@@ -73,23 +76,5 @@ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer
73
76
  * <p>Base exception class for all service exceptions from SNS service.</p>
74
77
  *
75
78
  */
76
- export declare class SetSubscriptionAttributesCommand extends $Command<SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig> {
77
- readonly input: SetSubscriptionAttributesCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: SetSubscriptionAttributesCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class SetSubscriptionAttributesCommand extends SetSubscriptionAttributesCommand_base {
95
80
  }
@@ -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 { SetTopicAttributesInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SetTopicAttributesCommandInput extends SetTopicAttributesInput
21
20
  */
22
21
  export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const SetTopicAttributesCommand_base: {
24
+ new (input: SetTopicAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Allows a topic owner to set an attribute of the topic to a new value.</p>
@@ -73,23 +76,5 @@ export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
73
76
  * <p>Base exception class for all service exceptions from SNS service.</p>
74
77
  *
75
78
  */
76
- export declare class SetTopicAttributesCommand extends $Command<SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput, SNSClientResolvedConfig> {
77
- readonly input: SetTopicAttributesCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: SetTopicAttributesCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class SetTopicAttributesCommand extends SetTopicAttributesCommand_base {
95
80
  }
@@ -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 { SubscribeInput, SubscribeResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SubscribeCommandInput extends SubscribeInput {
21
20
  */
22
21
  export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBearer {
23
22
  }
23
+ declare const SubscribeCommand_base: {
24
+ new (input: SubscribeCommandInput): import("@smithy/smithy-client").CommandImpl<SubscribeCommandInput, SubscribeCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or
@@ -91,23 +94,5 @@ export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBea
91
94
  * <p>Base exception class for all service exceptions from SNS service.</p>
92
95
  *
93
96
  */
94
- export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, SNSClientResolvedConfig> {
95
- readonly input: SubscribeCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: SubscribeCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeCommandInput, SubscribeCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class SubscribeCommand extends SubscribeCommand_base {
113
98
  }
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Add tags to the specified Amazon SNS topic. For an overview, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html">Amazon SNS Tags</a> in the
@@ -103,23 +106,5 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
103
106
  * <p>Base exception class for all service exceptions from SNS service.</p>
104
107
  *
105
108
  */
106
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SNSClientResolvedConfig> {
107
- readonly input: TagResourceCommandInput;
108
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
- /**
110
- * @public
111
- */
112
- constructor(input: TagResourceCommandInput);
113
- /**
114
- * @internal
115
- */
116
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
117
- /**
118
- * @internal
119
- */
120
- private serialize;
121
- /**
122
- * @internal
123
- */
124
- private deserialize;
109
+ export declare class TagResourceCommand extends TagResourceCommand_base {
125
110
  }
@@ -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 { UnsubscribeInput } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UnsubscribeCommandInput extends UnsubscribeInput {
21
20
  */
22
21
  export interface UnsubscribeCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UnsubscribeCommand_base: {
24
+ new (input: UnsubscribeCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeCommandInput, UnsubscribeCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a subscription. If the subscription requires authentication for deletion, only
@@ -77,23 +80,5 @@ export interface UnsubscribeCommandOutput extends __MetadataBearer {
77
80
  * <p>Base exception class for all service exceptions from SNS service.</p>
78
81
  *
79
82
  */
80
- export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, SNSClientResolvedConfig> {
81
- readonly input: UnsubscribeCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: UnsubscribeCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeCommandInput, UnsubscribeCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class UnsubscribeCommand extends UnsubscribeCommand_base {
99
84
  }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SNSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Remove tags from the specified Amazon SNS topic. For an overview, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html">Amazon SNS Tags</a> in the
@@ -79,23 +82,5 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
79
82
  * <p>Base exception class for all service exceptions from SNS service.</p>
80
83
  *
81
84
  */
82
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SNSClientResolvedConfig> {
83
- readonly input: UntagResourceCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: UntagResourceCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
101
86
  }