@aws-sdk/client-sns 3.295.0 → 3.297.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 (58) hide show
  1. package/dist-cjs/protocols/Aws_query.js +65 -224
  2. package/dist-es/protocols/Aws_query.js +65 -224
  3. package/dist-types/SNS.d.ts +43 -0
  4. package/dist-types/SNSClient.d.ts +24 -4
  5. package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
  6. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +16 -0
  7. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +16 -0
  8. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +16 -0
  9. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateTopicCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteEndpointCommand.d.ts +16 -0
  13. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteTopicCommand.d.ts +16 -0
  16. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
  17. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +16 -0
  18. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +16 -0
  19. package/dist-types/commands/GetSMSAttributesCommand.d.ts +16 -0
  20. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +16 -0
  21. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +16 -0
  22. package/dist-types/commands/GetTopicAttributesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +16 -0
  24. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +16 -0
  25. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +16 -0
  26. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +16 -0
  27. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +16 -0
  28. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +16 -0
  29. package/dist-types/commands/ListSubscriptionsCommand.d.ts +16 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  31. package/dist-types/commands/ListTopicsCommand.d.ts +16 -0
  32. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +16 -0
  33. package/dist-types/commands/PublishBatchCommand.d.ts +16 -0
  34. package/dist-types/commands/PublishCommand.d.ts +16 -0
  35. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  37. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +16 -0
  38. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +16 -0
  39. package/dist-types/commands/SetSMSAttributesCommand.d.ts +16 -0
  40. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +16 -0
  41. package/dist-types/commands/SetTopicAttributesCommand.d.ts +16 -0
  42. package/dist-types/commands/SubscribeCommand.d.ts +16 -0
  43. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  44. package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  46. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +16 -0
  47. package/dist-types/models/SNSServiceException.d.ts +2 -0
  48. package/dist-types/models/models_0.d.ts +182 -4
  49. package/dist-types/pagination/Interfaces.d.ts +3 -0
  50. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -0
  51. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +3 -0
  52. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -0
  53. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +3 -0
  54. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -0
  55. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -0
  56. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +3 -0
  57. package/dist-types/pagination/ListTopicsPaginator.d.ts +3 -0
  58. package/package.json +29 -29
@@ -43,6 +43,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
43
43
  import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
44
44
  import { SNSClient } from "./SNSClient";
45
45
  /**
46
+ * @public
46
47
  * <fullname>Amazon Simple Notification Service</fullname>
47
48
  * <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you
48
49
  * to build distributed web-enabled applications. Applications can use Amazon SNS to easily push
@@ -59,6 +60,7 @@ import { SNSClient } from "./SNSClient";
59
60
  */
60
61
  export declare class SNS extends SNSClient {
61
62
  /**
63
+ * @public
62
64
  * <p>Adds a statement to a topic's access control policy, granting access for the specified
63
65
  * Amazon Web Services accounts to the specified actions.</p>
64
66
  * <note>
@@ -71,6 +73,7 @@ export declare class SNS extends SNSClient {
71
73
  addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
72
74
  addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
73
75
  /**
76
+ * @public
74
77
  * <p>Accepts a phone number and indicates whether the phone holder has opted out of
75
78
  * receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number
76
79
  * that is opted out.</p>
@@ -81,6 +84,7 @@ export declare class SNS extends SNSClient {
81
84
  checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
82
85
  checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
83
86
  /**
87
+ * @public
84
88
  * <p>Verifies an endpoint owner's intent to receive messages by validating the token sent
85
89
  * to the endpoint by an earlier <code>Subscribe</code> action. If the token is valid, the
86
90
  * action creates a new subscription and returns its Amazon Resource Name (ARN). This call
@@ -91,6 +95,7 @@ export declare class SNS extends SNSClient {
91
95
  confirmSubscription(args: ConfirmSubscriptionCommandInput, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
92
96
  confirmSubscription(args: ConfirmSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
93
97
  /**
98
+ * @public
94
99
  * <p>Creates a platform application object for one of the supported push notification
95
100
  * services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile
96
101
  * apps may register. You must specify <code>PlatformPrincipal</code> and
@@ -141,6 +146,7 @@ export declare class SNS extends SNSClient {
141
146
  createPlatformApplication(args: CreatePlatformApplicationCommandInput, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
142
147
  createPlatformApplication(args: CreatePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
143
148
  /**
149
+ * @public
144
150
  * <p>Creates an endpoint for a device and mobile app on one of the supported push
145
151
  * notification services, such as GCM (Firebase Cloud Messaging) and APNS.
146
152
  * <code>CreatePlatformEndpoint</code> requires the <code>PlatformApplicationArn</code>
@@ -160,6 +166,7 @@ export declare class SNS extends SNSClient {
160
166
  createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
161
167
  createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
162
168
  /**
169
+ * @public
163
170
  * <p>Adds a destination phone number to an Amazon Web Services account in the SMS sandbox and sends a
164
171
  * one-time password (OTP) to that phone number.</p>
165
172
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -175,6 +182,7 @@ export declare class SNS extends SNSClient {
175
182
  createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
176
183
  createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
177
184
  /**
185
+ * @public
178
186
  * <p>Creates a topic to which notifications can be published. Users can create at most
179
187
  * 100,000 standard topics (at most 1,000 FIFO topics). For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html">Creating an Amazon SNS
180
188
  * topic</a> in the <i>Amazon SNS Developer Guide</i>. This action is
@@ -185,6 +193,7 @@ export declare class SNS extends SNSClient {
185
193
  createTopic(args: CreateTopicCommandInput, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
186
194
  createTopic(args: CreateTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
187
195
  /**
196
+ * @public
188
197
  * <p>Deletes the endpoint for a device and mobile app from Amazon SNS. This action is
189
198
  * idempotent. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push
190
199
  * Notifications</a>. </p>
@@ -195,6 +204,7 @@ export declare class SNS extends SNSClient {
195
204
  deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
196
205
  deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
197
206
  /**
207
+ * @public
198
208
  * <p>Deletes a platform application object for one of the supported push notification
199
209
  * services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see
200
210
  * <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS
@@ -204,6 +214,7 @@ export declare class SNS extends SNSClient {
204
214
  deletePlatformApplication(args: DeletePlatformApplicationCommandInput, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
205
215
  deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
206
216
  /**
217
+ * @public
207
218
  * <p>Deletes an Amazon Web Services account's verified or pending phone number from the SMS
208
219
  * sandbox.</p>
209
220
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -219,6 +230,7 @@ export declare class SNS extends SNSClient {
219
230
  deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
220
231
  deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
221
232
  /**
233
+ * @public
222
234
  * <p>Deletes a topic and all its subscriptions. Deleting a topic might prevent some
223
235
  * messages previously sent to the topic from being delivered to subscribers. This action
224
236
  * is idempotent, so deleting a topic that does not exist does not result in an
@@ -228,6 +240,7 @@ export declare class SNS extends SNSClient {
228
240
  deleteTopic(args: DeleteTopicCommandInput, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
229
241
  deleteTopic(args: DeleteTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
230
242
  /**
243
+ * @public
231
244
  * <p>Retrieves the specified inline <code>DataProtectionPolicy</code> document that is
232
245
  * stored in the specified Amazon SNS topic. </p>
233
246
  */
@@ -235,6 +248,7 @@ export declare class SNS extends SNSClient {
235
248
  getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
236
249
  getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
237
250
  /**
251
+ * @public
238
252
  * <p>Retrieves the endpoint attributes for a device on one of the supported push
239
253
  * notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more
240
254
  * information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push Notifications</a>. </p>
@@ -243,6 +257,7 @@ export declare class SNS extends SNSClient {
243
257
  getEndpointAttributes(args: GetEndpointAttributesCommandInput, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
244
258
  getEndpointAttributes(args: GetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
245
259
  /**
260
+ * @public
246
261
  * <p>Retrieves the attributes of the platform application object for the supported push
247
262
  * notification services, such as APNS and GCM (Firebase Cloud Messaging). For more
248
263
  * information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push Notifications</a>. </p>
@@ -251,6 +266,7 @@ export declare class SNS extends SNSClient {
251
266
  getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
252
267
  getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
253
268
  /**
269
+ * @public
254
270
  * <p>Returns the settings for sending SMS messages from your Amazon Web Services account.</p>
255
271
  * <p>These settings are set with the <code>SetSMSAttributes</code> action.</p>
256
272
  */
@@ -258,6 +274,7 @@ export declare class SNS extends SNSClient {
258
274
  getSMSAttributes(args: GetSMSAttributesCommandInput, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
259
275
  getSMSAttributes(args: GetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
260
276
  /**
277
+ * @public
261
278
  * <p>Retrieves the SMS sandbox status for the calling Amazon Web Services account in the target
262
279
  * Amazon Web Services Region.</p>
263
280
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -273,12 +290,14 @@ export declare class SNS extends SNSClient {
273
290
  getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
274
291
  getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
275
292
  /**
293
+ * @public
276
294
  * <p>Returns all of the properties of a subscription.</p>
277
295
  */
278
296
  getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionAttributesCommandOutput>;
279
297
  getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
280
298
  getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
281
299
  /**
300
+ * @public
282
301
  * <p>Returns all of the properties of a topic. Topic properties returned might differ based
283
302
  * on the authorization of the user.</p>
284
303
  */
@@ -286,6 +305,7 @@ export declare class SNS extends SNSClient {
286
305
  getTopicAttributes(args: GetTopicAttributesCommandInput, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
287
306
  getTopicAttributes(args: GetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
288
307
  /**
308
+ * @public
289
309
  * <p>Lists the endpoints and endpoint attributes for devices in a supported push
290
310
  * notification service, such as GCM (Firebase Cloud Messaging) and APNS. The results for
291
311
  * <code>ListEndpointsByPlatformApplication</code> are paginated and return a limited
@@ -301,6 +321,7 @@ export declare class SNS extends SNSClient {
301
321
  listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
302
322
  listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
303
323
  /**
324
+ * @public
304
325
  * <p>Lists the calling Amazon Web Services account's dedicated origination numbers and their metadata.
305
326
  * For more information about origination numbers, see <a href="https://docs.aws.amazon.com/sns/latest/dg/channels-sms-originating-identities-origination-numbers.html">Origination numbers</a> in the <i>Amazon SNS Developer
306
327
  * Guide</i>.</p>
@@ -309,6 +330,7 @@ export declare class SNS extends SNSClient {
309
330
  listOriginationNumbers(args: ListOriginationNumbersCommandInput, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
310
331
  listOriginationNumbers(args: ListOriginationNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
311
332
  /**
333
+ * @public
312
334
  * <p>Returns a list of phone numbers that are opted out, meaning you cannot send SMS
313
335
  * messages to them.</p>
314
336
  * <p>The results for <code>ListPhoneNumbersOptedOut</code> are paginated, and each page
@@ -322,6 +344,7 @@ export declare class SNS extends SNSClient {
322
344
  listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
323
345
  listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
324
346
  /**
347
+ * @public
325
348
  * <p>Lists the platform application objects for the supported push notification services,
326
349
  * such as APNS and GCM (Firebase Cloud Messaging). The results for
327
350
  * <code>ListPlatformApplications</code> are paginated and return a limited list of
@@ -337,6 +360,7 @@ export declare class SNS extends SNSClient {
337
360
  listPlatformApplications(args: ListPlatformApplicationsCommandInput, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
338
361
  listPlatformApplications(args: ListPlatformApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
339
362
  /**
363
+ * @public
340
364
  * <p>Lists the calling Amazon Web Services account's current verified and pending destination phone
341
365
  * numbers in the SMS sandbox.</p>
342
366
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -352,6 +376,7 @@ export declare class SNS extends SNSClient {
352
376
  listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
353
377
  listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
354
378
  /**
379
+ * @public
355
380
  * <p>Returns a list of the requester's subscriptions. Each call returns a limited list of
356
381
  * subscriptions, up to 100. If there are more subscriptions, a <code>NextToken</code> is
357
382
  * also returned. Use the <code>NextToken</code> parameter in a new
@@ -362,6 +387,7 @@ export declare class SNS extends SNSClient {
362
387
  listSubscriptions(args: ListSubscriptionsCommandInput, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
363
388
  listSubscriptions(args: ListSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
364
389
  /**
390
+ * @public
365
391
  * <p>Returns a list of the subscriptions to a specific topic. Each call returns a limited
366
392
  * list of subscriptions, up to 100. If there are more subscriptions, a
367
393
  * <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in
@@ -372,6 +398,7 @@ export declare class SNS extends SNSClient {
372
398
  listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
373
399
  listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
374
400
  /**
401
+ * @public
375
402
  * <p>List all tags added 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
376
403
  * <i>Amazon Simple Notification Service Developer Guide</i>.</p>
377
404
  */
@@ -379,6 +406,7 @@ export declare class SNS extends SNSClient {
379
406
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
380
407
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
381
408
  /**
409
+ * @public
382
410
  * <p>Returns a list of the requester's topics. Each call returns a limited list of topics,
383
411
  * up to 100. If there are more topics, a <code>NextToken</code> is also returned. Use the
384
412
  * <code>NextToken</code> parameter in a new <code>ListTopics</code> call to get
@@ -389,6 +417,7 @@ export declare class SNS extends SNSClient {
389
417
  listTopics(args: ListTopicsCommandInput, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
390
418
  listTopics(args: ListTopicsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
391
419
  /**
420
+ * @public
392
421
  * <p>Use this request to opt in a phone number that is opted out, which enables you to
393
422
  * resume sending SMS messages to the number.</p>
394
423
  * <p>You can opt in a phone number only once every 30 days.</p>
@@ -397,6 +426,7 @@ export declare class SNS extends SNSClient {
397
426
  optInPhoneNumber(args: OptInPhoneNumberCommandInput, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
398
427
  optInPhoneNumber(args: OptInPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
399
428
  /**
429
+ * @public
400
430
  * <p>Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone
401
431
  * number, or a message to a mobile platform endpoint (when you specify the
402
432
  * <code>TargetArn</code>).</p>
@@ -420,6 +450,7 @@ export declare class SNS extends SNSClient {
420
450
  publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
421
451
  publish(args: PublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
422
452
  /**
453
+ * @public
423
454
  * <p>Publishes up to ten messages to the specified topic. This is a batch version of
424
455
  * <code>Publish</code>. For FIFO topics, multiple messages within a single batch are
425
456
  * published in the order they are sent, and messages are deduplicated within the batch and
@@ -446,6 +477,7 @@ export declare class SNS extends SNSClient {
446
477
  publishBatch(args: PublishBatchCommandInput, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
447
478
  publishBatch(args: PublishBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
448
479
  /**
480
+ * @public
449
481
  * <p>Adds or updates an inline policy document that is stored in the specified Amazon SNS
450
482
  * topic.</p>
451
483
  */
@@ -453,6 +485,7 @@ export declare class SNS extends SNSClient {
453
485
  putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
454
486
  putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
455
487
  /**
488
+ * @public
456
489
  * <p>Removes a statement from a topic's access control policy.</p>
457
490
  * <note>
458
491
  * <p>To remove the ability to change topic permissions, you must deny permissions to
@@ -464,6 +497,7 @@ export declare class SNS extends SNSClient {
464
497
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
465
498
  removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
466
499
  /**
500
+ * @public
467
501
  * <p>Sets the attributes for an endpoint for a device on one of the supported push
468
502
  * notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more
469
503
  * information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push Notifications</a>. </p>
@@ -472,6 +506,7 @@ export declare class SNS extends SNSClient {
472
506
  setEndpointAttributes(args: SetEndpointAttributesCommandInput, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
473
507
  setEndpointAttributes(args: SetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
474
508
  /**
509
+ * @public
475
510
  * <p>Sets the attributes of the platform application object for the supported push
476
511
  * notification services, such as APNS and GCM (Firebase Cloud Messaging). For more
477
512
  * information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push Notifications</a>. For information on configuring
@@ -482,6 +517,7 @@ export declare class SNS extends SNSClient {
482
517
  setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
483
518
  setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
484
519
  /**
520
+ * @public
485
521
  * <p>Use this request to set the default settings for sending SMS messages and receiving
486
522
  * daily SMS usage reports.</p>
487
523
  * <p>You can override some of these settings for a single message when you use the
@@ -498,6 +534,7 @@ export declare class SNS extends SNSClient {
498
534
  setSMSAttributes(args: SetSMSAttributesCommandInput, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
499
535
  setSMSAttributes(args: SetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
500
536
  /**
537
+ * @public
501
538
  * <p>Allows a subscription owner to set an attribute of the subscription to a new
502
539
  * value.</p>
503
540
  */
@@ -505,6 +542,7 @@ export declare class SNS extends SNSClient {
505
542
  setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
506
543
  setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
507
544
  /**
545
+ * @public
508
546
  * <p>Allows a topic owner to set an attribute of the topic to a new value.</p>
509
547
  * <note>
510
548
  * <p>To remove the ability to change topic permissions, you must deny permissions to
@@ -516,6 +554,7 @@ export declare class SNS extends SNSClient {
516
554
  setTopicAttributes(args: SetTopicAttributesCommandInput, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
517
555
  setTopicAttributes(args: SetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
518
556
  /**
557
+ * @public
519
558
  * <p>Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or
520
559
  * if the endpoint and the topic are not in the same Amazon Web Services account, the endpoint owner must
521
560
  * run the <code>ConfirmSubscription</code> action to confirm the subscription.</p>
@@ -527,6 +566,7 @@ export declare class SNS extends SNSClient {
527
566
  subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
528
567
  subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
529
568
  /**
569
+ * @public
530
570
  * <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
531
571
  * <i>Amazon SNS Developer Guide</i>.</p>
532
572
  * <p>When you use topic tags, keep the following guidelines in mind:</p>
@@ -555,6 +595,7 @@ export declare class SNS extends SNSClient {
555
595
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
556
596
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
557
597
  /**
598
+ * @public
558
599
  * <p>Deletes a subscription. If the subscription requires authentication for deletion, only
559
600
  * the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services
560
601
  * signature is required. If the <code>Unsubscribe</code> call does not require
@@ -572,6 +613,7 @@ export declare class SNS extends SNSClient {
572
613
  unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
573
614
  unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
574
615
  /**
616
+ * @public
575
617
  * <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
576
618
  * <i>Amazon SNS Developer Guide</i>.</p>
577
619
  */
@@ -579,6 +621,7 @@ export declare class SNS extends SNSClient {
579
621
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
580
622
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
581
623
  /**
624
+ * @public
582
625
  * <p>Verifies a destination phone number with a one-time password (OTP) for the calling
583
626
  * Amazon Web Services account.</p>
584
627
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -50,15 +50,24 @@ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/Un
50
50
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
51
51
  import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
52
52
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
53
+ /**
54
+ * @public
55
+ */
53
56
  export type ServiceInputTypes = AddPermissionCommandInput | CheckIfPhoneNumberIsOptedOutCommandInput | ConfirmSubscriptionCommandInput | CreatePlatformApplicationCommandInput | CreatePlatformEndpointCommandInput | CreateSMSSandboxPhoneNumberCommandInput | CreateTopicCommandInput | DeleteEndpointCommandInput | DeletePlatformApplicationCommandInput | DeleteSMSSandboxPhoneNumberCommandInput | DeleteTopicCommandInput | GetDataProtectionPolicyCommandInput | GetEndpointAttributesCommandInput | GetPlatformApplicationAttributesCommandInput | GetSMSAttributesCommandInput | GetSMSSandboxAccountStatusCommandInput | GetSubscriptionAttributesCommandInput | GetTopicAttributesCommandInput | ListEndpointsByPlatformApplicationCommandInput | ListOriginationNumbersCommandInput | ListPhoneNumbersOptedOutCommandInput | ListPlatformApplicationsCommandInput | ListSMSSandboxPhoneNumbersCommandInput | ListSubscriptionsByTopicCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListTopicsCommandInput | OptInPhoneNumberCommandInput | PublishBatchCommandInput | PublishCommandInput | PutDataProtectionPolicyCommandInput | RemovePermissionCommandInput | SetEndpointAttributesCommandInput | SetPlatformApplicationAttributesCommandInput | SetSMSAttributesCommandInput | SetSubscriptionAttributesCommandInput | SetTopicAttributesCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | VerifySMSSandboxPhoneNumberCommandInput;
57
+ /**
58
+ * @public
59
+ */
54
60
  export type ServiceOutputTypes = AddPermissionCommandOutput | CheckIfPhoneNumberIsOptedOutCommandOutput | ConfirmSubscriptionCommandOutput | CreatePlatformApplicationCommandOutput | CreatePlatformEndpointCommandOutput | CreateSMSSandboxPhoneNumberCommandOutput | CreateTopicCommandOutput | DeleteEndpointCommandOutput | DeletePlatformApplicationCommandOutput | DeleteSMSSandboxPhoneNumberCommandOutput | DeleteTopicCommandOutput | GetDataProtectionPolicyCommandOutput | GetEndpointAttributesCommandOutput | GetPlatformApplicationAttributesCommandOutput | GetSMSAttributesCommandOutput | GetSMSSandboxAccountStatusCommandOutput | GetSubscriptionAttributesCommandOutput | GetTopicAttributesCommandOutput | ListEndpointsByPlatformApplicationCommandOutput | ListOriginationNumbersCommandOutput | ListPhoneNumbersOptedOutCommandOutput | ListPlatformApplicationsCommandOutput | ListSMSSandboxPhoneNumbersCommandOutput | ListSubscriptionsByTopicCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsCommandOutput | OptInPhoneNumberCommandOutput | PublishBatchCommandOutput | PublishCommandOutput | PutDataProtectionPolicyCommandOutput | RemovePermissionCommandOutput | SetEndpointAttributesCommandOutput | SetPlatformApplicationAttributesCommandOutput | SetSMSAttributesCommandOutput | SetSubscriptionAttributesCommandOutput | SetTopicAttributesCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | VerifySMSSandboxPhoneNumberCommandOutput;
61
+ /**
62
+ * @public
63
+ */
55
64
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
56
65
  /**
57
66
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
58
67
  */
59
68
  requestHandler?: __HttpHandler;
60
69
  /**
61
- * A constructor for a class implementing the {@link __Checksum} interface
70
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
62
71
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
63
72
  * @internal
64
73
  */
@@ -148,23 +157,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
148
157
  */
149
158
  logger?: __Logger;
150
159
  /**
151
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
152
161
  */
153
162
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
154
163
  }
164
+ /**
165
+ * @public
166
+ */
155
167
  type SNSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
156
168
  /**
157
- * The configuration interface of SNSClient class constructor that set the region, credentials and other options.
169
+ * @public
170
+ *
171
+ * The configuration interface of SNSClient class constructor that set the region, credentials and other options.
158
172
  */
159
173
  export interface SNSClientConfig extends SNSClientConfigType {
160
174
  }
175
+ /**
176
+ * @public
177
+ */
161
178
  type SNSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
162
179
  /**
163
- * The resolved configuration interface of SNSClient class. This is resolved and normalized from the {@link SNSClientConfig | constructor configuration interface}.
180
+ * @public
181
+ *
182
+ * The resolved configuration interface of SNSClient class. This is resolved and normalized from the {@link SNSClientConfig | constructor configuration interface}.
164
183
  */
165
184
  export interface SNSClientResolvedConfig extends SNSClientResolvedConfigType {
166
185
  }
167
186
  /**
187
+ * @public
168
188
  * <fullname>Amazon Simple Notification Service</fullname>
169
189
  * <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you
170
190
  * to build distributed web-enabled applications. Applications can use Amazon SNS to easily push
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { AddPermissionInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link AddPermissionCommand}.
8
10
  */
9
11
  export interface AddPermissionCommandInput extends AddPermissionInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link AddPermissionCommand}.
13
17
  */
14
18
  export interface AddPermissionCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Adds a statement to a topic's access control policy, granting access for the specified
18
23
  * Amazon Web Services accounts to the specified actions.</p>
19
24
  * <note>
@@ -31,6 +36,8 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
40
+ * @returns {@link AddPermissionCommandOutput}
34
41
  * @see {@link AddPermissionCommandInput} for command's `input` shape.
35
42
  * @see {@link AddPermissionCommandOutput} for command's `response` shape.
36
43
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
@@ -53,11 +60,20 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
53
60
  export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig> {
54
61
  readonly input: AddPermissionCommandInput;
55
62
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
56
66
  constructor(input: AddPermissionCommandInput);
57
67
  /**
58
68
  * @internal
59
69
  */
60
70
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
61
74
  private serialize;
75
+ /**
76
+ * @internal
77
+ */
62
78
  private deserialize;
63
79
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CheckIfPhoneNumberIsOptedOutInput, CheckIfPhoneNumberIsOptedOutResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CheckIfPhoneNumberIsOptedOutCommand}.
8
10
  */
9
11
  export interface CheckIfPhoneNumberIsOptedOutCommandInput extends CheckIfPhoneNumberIsOptedOutInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CheckIfPhoneNumberIsOptedOutCommand}.
13
17
  */
14
18
  export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneNumberIsOptedOutResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Accepts a phone number and indicates whether the phone holder has opted out of
18
23
  * receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number
19
24
  * that is opted out.</p>
@@ -29,6 +34,8 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
29
34
  * const response = await client.send(command);
30
35
  * ```
31
36
  *
37
+ * @param CheckIfPhoneNumberIsOptedOutCommandInput - {@link CheckIfPhoneNumberIsOptedOutCommandInput}
38
+ * @returns {@link CheckIfPhoneNumberIsOptedOutCommandOutput}
32
39
  * @see {@link CheckIfPhoneNumberIsOptedOutCommandInput} for command's `input` shape.
33
40
  * @see {@link CheckIfPhoneNumberIsOptedOutCommandOutput} for command's `response` shape.
34
41
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
@@ -51,11 +58,20 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
51
58
  export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig> {
52
59
  readonly input: CheckIfPhoneNumberIsOptedOutCommandInput;
53
60
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
54
64
  constructor(input: CheckIfPhoneNumberIsOptedOutCommandInput);
55
65
  /**
56
66
  * @internal
57
67
  */
58
68
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
59
72
  private serialize;
73
+ /**
74
+ * @internal
75
+ */
60
76
  private deserialize;
61
77
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ConfirmSubscriptionInput, ConfirmSubscriptionResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ConfirmSubscriptionCommand}.
8
10
  */
9
11
  export interface ConfirmSubscriptionCommandInput extends ConfirmSubscriptionInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ConfirmSubscriptionCommand}.
13
17
  */
14
18
  export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Verifies an endpoint owner's intent to receive messages by validating the token sent
18
23
  * to the endpoint by an earlier <code>Subscribe</code> action. If the token is valid, the
19
24
  * action creates a new subscription and returns its Amazon Resource Name (ARN). This call
@@ -29,6 +34,8 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
29
34
  * const response = await client.send(command);
30
35
  * ```
31
36
  *
37
+ * @param ConfirmSubscriptionCommandInput - {@link ConfirmSubscriptionCommandInput}
38
+ * @returns {@link ConfirmSubscriptionCommandOutput}
32
39
  * @see {@link ConfirmSubscriptionCommandInput} for command's `input` shape.
33
40
  * @see {@link ConfirmSubscriptionCommandOutput} for command's `response` shape.
34
41
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
@@ -60,11 +67,20 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
60
67
  export declare class ConfirmSubscriptionCommand extends $Command<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig> {
61
68
  readonly input: ConfirmSubscriptionCommandInput;
62
69
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
63
73
  constructor(input: ConfirmSubscriptionCommandInput);
64
74
  /**
65
75
  * @internal
66
76
  */
67
77
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
68
81
  private serialize;
82
+ /**
83
+ * @internal
84
+ */
69
85
  private deserialize;
70
86
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreatePlatformApplicationInput, CreatePlatformApplicationResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreatePlatformApplicationCommand}.
8
10
  */
9
11
  export interface CreatePlatformApplicationCommandInput extends CreatePlatformApplicationInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreatePlatformApplicationCommand}.
13
17
  */
14
18
  export interface CreatePlatformApplicationCommandOutput extends CreatePlatformApplicationResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates a platform application object for one of the supported push notification
18
23
  * services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile
19
24
  * apps may register. You must specify <code>PlatformPrincipal</code> and
@@ -69,6 +74,8 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
69
74
  * const response = await client.send(command);
70
75
  * ```
71
76
  *
77
+ * @param CreatePlatformApplicationCommandInput - {@link CreatePlatformApplicationCommandInput}
78
+ * @returns {@link CreatePlatformApplicationCommandOutput}
72
79
  * @see {@link CreatePlatformApplicationCommandInput} for command's `input` shape.
73
80
  * @see {@link CreatePlatformApplicationCommandOutput} for command's `response` shape.
74
81
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
@@ -88,11 +95,20 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
88
95
  export declare class CreatePlatformApplicationCommand extends $Command<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
89
96
  readonly input: CreatePlatformApplicationCommandInput;
90
97
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
91
101
  constructor(input: CreatePlatformApplicationCommandInput);
92
102
  /**
93
103
  * @internal
94
104
  */
95
105
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
96
109
  private serialize;
110
+ /**
111
+ * @internal
112
+ */
97
113
  private deserialize;
98
114
  }