@aws-sdk/client-sns 3.169.0 → 3.170.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 (67) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/SNS.d.ts +766 -215
  3. package/dist-types/ts3.4/SNSClient.d.ts +380 -115
  4. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +38 -17
  22. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +37 -17
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +37 -17
  32. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/PublishCommand.d.ts +34 -17
  34. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +37 -17
  35. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +32 -17
  36. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +36 -17
  37. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +37 -17
  38. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +37 -17
  39. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +37 -17
  40. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +33 -17
  41. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +34 -17
  42. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  43. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +32 -17
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  45. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +41 -17
  46. package/dist-types/ts3.4/commands/index.d.ts +42 -42
  47. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  48. package/dist-types/ts3.4/index.d.ts +6 -6
  49. package/dist-types/ts3.4/models/SNSServiceException.d.ts +8 -6
  50. package/dist-types/ts3.4/models/index.d.ts +1 -1
  51. package/dist-types/ts3.4/models/models_0.d.ts +1101 -962
  52. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  53. package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +11 -4
  59. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -4
  60. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -4
  61. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +509 -128
  63. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  64. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  65. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  66. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  67. package/package.json +34 -34
@@ -1,215 +1,766 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
3
- import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
4
- import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
5
- import { CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput } from "./commands/CreatePlatformApplicationCommand";
6
- import { CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput } from "./commands/CreatePlatformEndpointCommand";
7
- import { CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput } from "./commands/CreateSMSSandboxPhoneNumberCommand";
8
- import { CreateTopicCommandInput, CreateTopicCommandOutput } from "./commands/CreateTopicCommand";
9
- import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
10
- import { DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput } from "./commands/DeletePlatformApplicationCommand";
11
- import { DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput } from "./commands/DeleteSMSSandboxPhoneNumberCommand";
12
- import { DeleteTopicCommandInput, DeleteTopicCommandOutput } from "./commands/DeleteTopicCommand";
13
- import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
14
- import { GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput } from "./commands/GetEndpointAttributesCommand";
15
- import { GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput } from "./commands/GetPlatformApplicationAttributesCommand";
16
- import { GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput } from "./commands/GetSMSAttributesCommand";
17
- import { GetSMSSandboxAccountStatusCommandInput, GetSMSSandboxAccountStatusCommandOutput } from "./commands/GetSMSSandboxAccountStatusCommand";
18
- import { GetSubscriptionAttributesCommandInput, GetSubscriptionAttributesCommandOutput } from "./commands/GetSubscriptionAttributesCommand";
19
- import { GetTopicAttributesCommandInput, GetTopicAttributesCommandOutput } from "./commands/GetTopicAttributesCommand";
20
- import { ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput } from "./commands/ListEndpointsByPlatformApplicationCommand";
21
- import { ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput } from "./commands/ListOriginationNumbersCommand";
22
- import { ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput } from "./commands/ListPhoneNumbersOptedOutCommand";
23
- import { ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput } from "./commands/ListPlatformApplicationsCommand";
24
- import { ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput } from "./commands/ListSMSSandboxPhoneNumbersCommand";
25
- import { ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput } from "./commands/ListSubscriptionsByTopicCommand";
26
- import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
27
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
28
- import { ListTopicsCommandInput, ListTopicsCommandOutput } from "./commands/ListTopicsCommand";
29
- import { OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput } from "./commands/OptInPhoneNumberCommand";
30
- import { PublishBatchCommandInput, PublishBatchCommandOutput } from "./commands/PublishBatchCommand";
31
- import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
32
- import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
33
- import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
34
- import { SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput } from "./commands/SetEndpointAttributesCommand";
35
- import { SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput } from "./commands/SetPlatformApplicationAttributesCommand";
36
- import { SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput } from "./commands/SetSMSAttributesCommand";
37
- import { SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput } from "./commands/SetSubscriptionAttributesCommand";
38
- import { SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput } from "./commands/SetTopicAttributesCommand";
39
- import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
40
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
- import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
42
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
43
- import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
44
- import { SNSClient } from "./SNSClient";
45
-
46
- export declare class SNS extends SNSClient {
47
-
48
- addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
49
- addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
50
- addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
51
-
52
- checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options?: __HttpHandlerOptions): Promise<CheckIfPhoneNumberIsOptedOutCommandOutput>;
53
- checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
54
- checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
55
-
56
- confirmSubscription(args: ConfirmSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ConfirmSubscriptionCommandOutput>;
57
- confirmSubscription(args: ConfirmSubscriptionCommandInput, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
58
- confirmSubscription(args: ConfirmSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
59
-
60
- createPlatformApplication(args: CreatePlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreatePlatformApplicationCommandOutput>;
61
- createPlatformApplication(args: CreatePlatformApplicationCommandInput, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
62
- createPlatformApplication(args: CreatePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
63
-
64
- createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreatePlatformEndpointCommandOutput>;
65
- createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
66
- createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
67
-
68
- createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<CreateSMSSandboxPhoneNumberCommandOutput>;
69
- createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
70
- createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
71
-
72
- createTopic(args: CreateTopicCommandInput, options?: __HttpHandlerOptions): Promise<CreateTopicCommandOutput>;
73
- createTopic(args: CreateTopicCommandInput, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
74
- createTopic(args: CreateTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
75
-
76
- deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
77
- deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
78
- deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
79
-
80
- deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeletePlatformApplicationCommandOutput>;
81
- deletePlatformApplication(args: DeletePlatformApplicationCommandInput, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
82
- deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
83
-
84
- deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
85
- deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
86
- deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
87
-
88
- deleteTopic(args: DeleteTopicCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTopicCommandOutput>;
89
- deleteTopic(args: DeleteTopicCommandInput, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
90
- deleteTopic(args: DeleteTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
91
-
92
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetDataProtectionPolicyCommandOutput>;
93
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
94
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
95
-
96
- getEndpointAttributes(args: GetEndpointAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetEndpointAttributesCommandOutput>;
97
- getEndpointAttributes(args: GetEndpointAttributesCommandInput, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
98
- getEndpointAttributes(args: GetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
99
-
100
- getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetPlatformApplicationAttributesCommandOutput>;
101
- getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
102
- getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
103
-
104
- getSMSAttributes(args: GetSMSAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetSMSAttributesCommandOutput>;
105
- getSMSAttributes(args: GetSMSAttributesCommandInput, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
106
- getSMSAttributes(args: GetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
107
-
108
- getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSMSSandboxAccountStatusCommandOutput>;
109
- getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
110
- getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
111
-
112
- getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionAttributesCommandOutput>;
113
- getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
114
- getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
115
-
116
- getTopicAttributes(args: GetTopicAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetTopicAttributesCommandOutput>;
117
- getTopicAttributes(args: GetTopicAttributesCommandInput, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
118
- getTopicAttributes(args: GetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
119
-
120
- listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsByPlatformApplicationCommandOutput>;
121
- listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
122
- listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
123
-
124
- listOriginationNumbers(args: ListOriginationNumbersCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginationNumbersCommandOutput>;
125
- listOriginationNumbers(args: ListOriginationNumbersCommandInput, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
126
- listOriginationNumbers(args: ListOriginationNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
127
-
128
- listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options?: __HttpHandlerOptions): Promise<ListPhoneNumbersOptedOutCommandOutput>;
129
- listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
130
- listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
131
-
132
- listPlatformApplications(args: ListPlatformApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlatformApplicationsCommandOutput>;
133
- listPlatformApplications(args: ListPlatformApplicationsCommandInput, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
134
- listPlatformApplications(args: ListPlatformApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
135
-
136
- listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
137
- listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
138
- listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
139
-
140
- listSubscriptions(args: ListSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscriptionsCommandOutput>;
141
- listSubscriptions(args: ListSubscriptionsCommandInput, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
142
- listSubscriptions(args: ListSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
143
-
144
- listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscriptionsByTopicCommandOutput>;
145
- listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
146
- listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
147
-
148
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
149
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
150
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
151
-
152
- listTopics(args: ListTopicsCommandInput, options?: __HttpHandlerOptions): Promise<ListTopicsCommandOutput>;
153
- listTopics(args: ListTopicsCommandInput, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
154
- listTopics(args: ListTopicsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
155
-
156
- optInPhoneNumber(args: OptInPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<OptInPhoneNumberCommandOutput>;
157
- optInPhoneNumber(args: OptInPhoneNumberCommandInput, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
158
- optInPhoneNumber(args: OptInPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
159
-
160
- publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
161
- publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
162
- publish(args: PublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
163
-
164
- publishBatch(args: PublishBatchCommandInput, options?: __HttpHandlerOptions): Promise<PublishBatchCommandOutput>;
165
- publishBatch(args: PublishBatchCommandInput, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
166
- publishBatch(args: PublishBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
167
-
168
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutDataProtectionPolicyCommandOutput>;
169
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
170
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
171
-
172
- removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
173
- removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
174
- removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
175
-
176
- setEndpointAttributes(args: SetEndpointAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetEndpointAttributesCommandOutput>;
177
- setEndpointAttributes(args: SetEndpointAttributesCommandInput, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
178
- setEndpointAttributes(args: SetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
179
-
180
- setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetPlatformApplicationAttributesCommandOutput>;
181
- setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
182
- setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
183
-
184
- setSMSAttributes(args: SetSMSAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetSMSAttributesCommandOutput>;
185
- setSMSAttributes(args: SetSMSAttributesCommandInput, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
186
- setSMSAttributes(args: SetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
187
-
188
- setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetSubscriptionAttributesCommandOutput>;
189
- setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
190
- setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
191
-
192
- setTopicAttributes(args: SetTopicAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetTopicAttributesCommandOutput>;
193
- setTopicAttributes(args: SetTopicAttributesCommandInput, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
194
- setTopicAttributes(args: SetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
195
-
196
- subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
197
- subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
198
- subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
199
-
200
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
201
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
202
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
203
-
204
- unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
205
- unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
206
- unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
207
-
208
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
209
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
210
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
211
-
212
- verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<VerifySMSSandboxPhoneNumberCommandOutput>;
213
- verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void): void;
214
- verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void): void;
215
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ AddPermissionCommandInput,
4
+ AddPermissionCommandOutput,
5
+ } from "./commands/AddPermissionCommand";
6
+ import {
7
+ CheckIfPhoneNumberIsOptedOutCommandInput,
8
+ CheckIfPhoneNumberIsOptedOutCommandOutput,
9
+ } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
10
+ import {
11
+ ConfirmSubscriptionCommandInput,
12
+ ConfirmSubscriptionCommandOutput,
13
+ } from "./commands/ConfirmSubscriptionCommand";
14
+ import {
15
+ CreatePlatformApplicationCommandInput,
16
+ CreatePlatformApplicationCommandOutput,
17
+ } from "./commands/CreatePlatformApplicationCommand";
18
+ import {
19
+ CreatePlatformEndpointCommandInput,
20
+ CreatePlatformEndpointCommandOutput,
21
+ } from "./commands/CreatePlatformEndpointCommand";
22
+ import {
23
+ CreateSMSSandboxPhoneNumberCommandInput,
24
+ CreateSMSSandboxPhoneNumberCommandOutput,
25
+ } from "./commands/CreateSMSSandboxPhoneNumberCommand";
26
+ import {
27
+ CreateTopicCommandInput,
28
+ CreateTopicCommandOutput,
29
+ } from "./commands/CreateTopicCommand";
30
+ import {
31
+ DeleteEndpointCommandInput,
32
+ DeleteEndpointCommandOutput,
33
+ } from "./commands/DeleteEndpointCommand";
34
+ import {
35
+ DeletePlatformApplicationCommandInput,
36
+ DeletePlatformApplicationCommandOutput,
37
+ } from "./commands/DeletePlatformApplicationCommand";
38
+ import {
39
+ DeleteSMSSandboxPhoneNumberCommandInput,
40
+ DeleteSMSSandboxPhoneNumberCommandOutput,
41
+ } from "./commands/DeleteSMSSandboxPhoneNumberCommand";
42
+ import {
43
+ DeleteTopicCommandInput,
44
+ DeleteTopicCommandOutput,
45
+ } from "./commands/DeleteTopicCommand";
46
+ import {
47
+ GetDataProtectionPolicyCommandInput,
48
+ GetDataProtectionPolicyCommandOutput,
49
+ } from "./commands/GetDataProtectionPolicyCommand";
50
+ import {
51
+ GetEndpointAttributesCommandInput,
52
+ GetEndpointAttributesCommandOutput,
53
+ } from "./commands/GetEndpointAttributesCommand";
54
+ import {
55
+ GetPlatformApplicationAttributesCommandInput,
56
+ GetPlatformApplicationAttributesCommandOutput,
57
+ } from "./commands/GetPlatformApplicationAttributesCommand";
58
+ import {
59
+ GetSMSAttributesCommandInput,
60
+ GetSMSAttributesCommandOutput,
61
+ } from "./commands/GetSMSAttributesCommand";
62
+ import {
63
+ GetSMSSandboxAccountStatusCommandInput,
64
+ GetSMSSandboxAccountStatusCommandOutput,
65
+ } from "./commands/GetSMSSandboxAccountStatusCommand";
66
+ import {
67
+ GetSubscriptionAttributesCommandInput,
68
+ GetSubscriptionAttributesCommandOutput,
69
+ } from "./commands/GetSubscriptionAttributesCommand";
70
+ import {
71
+ GetTopicAttributesCommandInput,
72
+ GetTopicAttributesCommandOutput,
73
+ } from "./commands/GetTopicAttributesCommand";
74
+ import {
75
+ ListEndpointsByPlatformApplicationCommandInput,
76
+ ListEndpointsByPlatformApplicationCommandOutput,
77
+ } from "./commands/ListEndpointsByPlatformApplicationCommand";
78
+ import {
79
+ ListOriginationNumbersCommandInput,
80
+ ListOriginationNumbersCommandOutput,
81
+ } from "./commands/ListOriginationNumbersCommand";
82
+ import {
83
+ ListPhoneNumbersOptedOutCommandInput,
84
+ ListPhoneNumbersOptedOutCommandOutput,
85
+ } from "./commands/ListPhoneNumbersOptedOutCommand";
86
+ import {
87
+ ListPlatformApplicationsCommandInput,
88
+ ListPlatformApplicationsCommandOutput,
89
+ } from "./commands/ListPlatformApplicationsCommand";
90
+ import {
91
+ ListSMSSandboxPhoneNumbersCommandInput,
92
+ ListSMSSandboxPhoneNumbersCommandOutput,
93
+ } from "./commands/ListSMSSandboxPhoneNumbersCommand";
94
+ import {
95
+ ListSubscriptionsByTopicCommandInput,
96
+ ListSubscriptionsByTopicCommandOutput,
97
+ } from "./commands/ListSubscriptionsByTopicCommand";
98
+ import {
99
+ ListSubscriptionsCommandInput,
100
+ ListSubscriptionsCommandOutput,
101
+ } from "./commands/ListSubscriptionsCommand";
102
+ import {
103
+ ListTagsForResourceCommandInput,
104
+ ListTagsForResourceCommandOutput,
105
+ } from "./commands/ListTagsForResourceCommand";
106
+ import {
107
+ ListTopicsCommandInput,
108
+ ListTopicsCommandOutput,
109
+ } from "./commands/ListTopicsCommand";
110
+ import {
111
+ OptInPhoneNumberCommandInput,
112
+ OptInPhoneNumberCommandOutput,
113
+ } from "./commands/OptInPhoneNumberCommand";
114
+ import {
115
+ PublishBatchCommandInput,
116
+ PublishBatchCommandOutput,
117
+ } from "./commands/PublishBatchCommand";
118
+ import {
119
+ PublishCommandInput,
120
+ PublishCommandOutput,
121
+ } from "./commands/PublishCommand";
122
+ import {
123
+ PutDataProtectionPolicyCommandInput,
124
+ PutDataProtectionPolicyCommandOutput,
125
+ } from "./commands/PutDataProtectionPolicyCommand";
126
+ import {
127
+ RemovePermissionCommandInput,
128
+ RemovePermissionCommandOutput,
129
+ } from "./commands/RemovePermissionCommand";
130
+ import {
131
+ SetEndpointAttributesCommandInput,
132
+ SetEndpointAttributesCommandOutput,
133
+ } from "./commands/SetEndpointAttributesCommand";
134
+ import {
135
+ SetPlatformApplicationAttributesCommandInput,
136
+ SetPlatformApplicationAttributesCommandOutput,
137
+ } from "./commands/SetPlatformApplicationAttributesCommand";
138
+ import {
139
+ SetSMSAttributesCommandInput,
140
+ SetSMSAttributesCommandOutput,
141
+ } from "./commands/SetSMSAttributesCommand";
142
+ import {
143
+ SetSubscriptionAttributesCommandInput,
144
+ SetSubscriptionAttributesCommandOutput,
145
+ } from "./commands/SetSubscriptionAttributesCommand";
146
+ import {
147
+ SetTopicAttributesCommandInput,
148
+ SetTopicAttributesCommandOutput,
149
+ } from "./commands/SetTopicAttributesCommand";
150
+ import {
151
+ SubscribeCommandInput,
152
+ SubscribeCommandOutput,
153
+ } from "./commands/SubscribeCommand";
154
+ import {
155
+ TagResourceCommandInput,
156
+ TagResourceCommandOutput,
157
+ } from "./commands/TagResourceCommand";
158
+ import {
159
+ UnsubscribeCommandInput,
160
+ UnsubscribeCommandOutput,
161
+ } from "./commands/UnsubscribeCommand";
162
+ import {
163
+ UntagResourceCommandInput,
164
+ UntagResourceCommandOutput,
165
+ } from "./commands/UntagResourceCommand";
166
+ import {
167
+ VerifySMSSandboxPhoneNumberCommandInput,
168
+ VerifySMSSandboxPhoneNumberCommandOutput,
169
+ } from "./commands/VerifySMSSandboxPhoneNumberCommand";
170
+ import { SNSClient } from "./SNSClient";
171
+
172
+ export declare class SNS extends SNSClient {
173
+ addPermission(
174
+ args: AddPermissionCommandInput,
175
+ options?: __HttpHandlerOptions
176
+ ): Promise<AddPermissionCommandOutput>;
177
+ addPermission(
178
+ args: AddPermissionCommandInput,
179
+ cb: (err: any, data?: AddPermissionCommandOutput) => void
180
+ ): void;
181
+ addPermission(
182
+ args: AddPermissionCommandInput,
183
+ options: __HttpHandlerOptions,
184
+ cb: (err: any, data?: AddPermissionCommandOutput) => void
185
+ ): void;
186
+
187
+ checkIfPhoneNumberIsOptedOut(
188
+ args: CheckIfPhoneNumberIsOptedOutCommandInput,
189
+ options?: __HttpHandlerOptions
190
+ ): Promise<CheckIfPhoneNumberIsOptedOutCommandOutput>;
191
+ checkIfPhoneNumberIsOptedOut(
192
+ args: CheckIfPhoneNumberIsOptedOutCommandInput,
193
+ cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void
194
+ ): void;
195
+ checkIfPhoneNumberIsOptedOut(
196
+ args: CheckIfPhoneNumberIsOptedOutCommandInput,
197
+ options: __HttpHandlerOptions,
198
+ cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void
199
+ ): void;
200
+
201
+ confirmSubscription(
202
+ args: ConfirmSubscriptionCommandInput,
203
+ options?: __HttpHandlerOptions
204
+ ): Promise<ConfirmSubscriptionCommandOutput>;
205
+ confirmSubscription(
206
+ args: ConfirmSubscriptionCommandInput,
207
+ cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void
208
+ ): void;
209
+ confirmSubscription(
210
+ args: ConfirmSubscriptionCommandInput,
211
+ options: __HttpHandlerOptions,
212
+ cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void
213
+ ): void;
214
+
215
+ createPlatformApplication(
216
+ args: CreatePlatformApplicationCommandInput,
217
+ options?: __HttpHandlerOptions
218
+ ): Promise<CreatePlatformApplicationCommandOutput>;
219
+ createPlatformApplication(
220
+ args: CreatePlatformApplicationCommandInput,
221
+ cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void
222
+ ): void;
223
+ createPlatformApplication(
224
+ args: CreatePlatformApplicationCommandInput,
225
+ options: __HttpHandlerOptions,
226
+ cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void
227
+ ): void;
228
+
229
+ createPlatformEndpoint(
230
+ args: CreatePlatformEndpointCommandInput,
231
+ options?: __HttpHandlerOptions
232
+ ): Promise<CreatePlatformEndpointCommandOutput>;
233
+ createPlatformEndpoint(
234
+ args: CreatePlatformEndpointCommandInput,
235
+ cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void
236
+ ): void;
237
+ createPlatformEndpoint(
238
+ args: CreatePlatformEndpointCommandInput,
239
+ options: __HttpHandlerOptions,
240
+ cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void
241
+ ): void;
242
+
243
+ createSMSSandboxPhoneNumber(
244
+ args: CreateSMSSandboxPhoneNumberCommandInput,
245
+ options?: __HttpHandlerOptions
246
+ ): Promise<CreateSMSSandboxPhoneNumberCommandOutput>;
247
+ createSMSSandboxPhoneNumber(
248
+ args: CreateSMSSandboxPhoneNumberCommandInput,
249
+ cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void
250
+ ): void;
251
+ createSMSSandboxPhoneNumber(
252
+ args: CreateSMSSandboxPhoneNumberCommandInput,
253
+ options: __HttpHandlerOptions,
254
+ cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void
255
+ ): void;
256
+
257
+ createTopic(
258
+ args: CreateTopicCommandInput,
259
+ options?: __HttpHandlerOptions
260
+ ): Promise<CreateTopicCommandOutput>;
261
+ createTopic(
262
+ args: CreateTopicCommandInput,
263
+ cb: (err: any, data?: CreateTopicCommandOutput) => void
264
+ ): void;
265
+ createTopic(
266
+ args: CreateTopicCommandInput,
267
+ options: __HttpHandlerOptions,
268
+ cb: (err: any, data?: CreateTopicCommandOutput) => void
269
+ ): void;
270
+
271
+ deleteEndpoint(
272
+ args: DeleteEndpointCommandInput,
273
+ options?: __HttpHandlerOptions
274
+ ): Promise<DeleteEndpointCommandOutput>;
275
+ deleteEndpoint(
276
+ args: DeleteEndpointCommandInput,
277
+ cb: (err: any, data?: DeleteEndpointCommandOutput) => void
278
+ ): void;
279
+ deleteEndpoint(
280
+ args: DeleteEndpointCommandInput,
281
+ options: __HttpHandlerOptions,
282
+ cb: (err: any, data?: DeleteEndpointCommandOutput) => void
283
+ ): void;
284
+
285
+ deletePlatformApplication(
286
+ args: DeletePlatformApplicationCommandInput,
287
+ options?: __HttpHandlerOptions
288
+ ): Promise<DeletePlatformApplicationCommandOutput>;
289
+ deletePlatformApplication(
290
+ args: DeletePlatformApplicationCommandInput,
291
+ cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void
292
+ ): void;
293
+ deletePlatformApplication(
294
+ args: DeletePlatformApplicationCommandInput,
295
+ options: __HttpHandlerOptions,
296
+ cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void
297
+ ): void;
298
+
299
+ deleteSMSSandboxPhoneNumber(
300
+ args: DeleteSMSSandboxPhoneNumberCommandInput,
301
+ options?: __HttpHandlerOptions
302
+ ): Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
303
+ deleteSMSSandboxPhoneNumber(
304
+ args: DeleteSMSSandboxPhoneNumberCommandInput,
305
+ cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void
306
+ ): void;
307
+ deleteSMSSandboxPhoneNumber(
308
+ args: DeleteSMSSandboxPhoneNumberCommandInput,
309
+ options: __HttpHandlerOptions,
310
+ cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void
311
+ ): void;
312
+
313
+ deleteTopic(
314
+ args: DeleteTopicCommandInput,
315
+ options?: __HttpHandlerOptions
316
+ ): Promise<DeleteTopicCommandOutput>;
317
+ deleteTopic(
318
+ args: DeleteTopicCommandInput,
319
+ cb: (err: any, data?: DeleteTopicCommandOutput) => void
320
+ ): void;
321
+ deleteTopic(
322
+ args: DeleteTopicCommandInput,
323
+ options: __HttpHandlerOptions,
324
+ cb: (err: any, data?: DeleteTopicCommandOutput) => void
325
+ ): void;
326
+
327
+ getDataProtectionPolicy(
328
+ args: GetDataProtectionPolicyCommandInput,
329
+ options?: __HttpHandlerOptions
330
+ ): Promise<GetDataProtectionPolicyCommandOutput>;
331
+ getDataProtectionPolicy(
332
+ args: GetDataProtectionPolicyCommandInput,
333
+ cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void
334
+ ): void;
335
+ getDataProtectionPolicy(
336
+ args: GetDataProtectionPolicyCommandInput,
337
+ options: __HttpHandlerOptions,
338
+ cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void
339
+ ): void;
340
+
341
+ getEndpointAttributes(
342
+ args: GetEndpointAttributesCommandInput,
343
+ options?: __HttpHandlerOptions
344
+ ): Promise<GetEndpointAttributesCommandOutput>;
345
+ getEndpointAttributes(
346
+ args: GetEndpointAttributesCommandInput,
347
+ cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void
348
+ ): void;
349
+ getEndpointAttributes(
350
+ args: GetEndpointAttributesCommandInput,
351
+ options: __HttpHandlerOptions,
352
+ cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void
353
+ ): void;
354
+
355
+ getPlatformApplicationAttributes(
356
+ args: GetPlatformApplicationAttributesCommandInput,
357
+ options?: __HttpHandlerOptions
358
+ ): Promise<GetPlatformApplicationAttributesCommandOutput>;
359
+ getPlatformApplicationAttributes(
360
+ args: GetPlatformApplicationAttributesCommandInput,
361
+ cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void
362
+ ): void;
363
+ getPlatformApplicationAttributes(
364
+ args: GetPlatformApplicationAttributesCommandInput,
365
+ options: __HttpHandlerOptions,
366
+ cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void
367
+ ): void;
368
+
369
+ getSMSAttributes(
370
+ args: GetSMSAttributesCommandInput,
371
+ options?: __HttpHandlerOptions
372
+ ): Promise<GetSMSAttributesCommandOutput>;
373
+ getSMSAttributes(
374
+ args: GetSMSAttributesCommandInput,
375
+ cb: (err: any, data?: GetSMSAttributesCommandOutput) => void
376
+ ): void;
377
+ getSMSAttributes(
378
+ args: GetSMSAttributesCommandInput,
379
+ options: __HttpHandlerOptions,
380
+ cb: (err: any, data?: GetSMSAttributesCommandOutput) => void
381
+ ): void;
382
+
383
+ getSMSSandboxAccountStatus(
384
+ args: GetSMSSandboxAccountStatusCommandInput,
385
+ options?: __HttpHandlerOptions
386
+ ): Promise<GetSMSSandboxAccountStatusCommandOutput>;
387
+ getSMSSandboxAccountStatus(
388
+ args: GetSMSSandboxAccountStatusCommandInput,
389
+ cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void
390
+ ): void;
391
+ getSMSSandboxAccountStatus(
392
+ args: GetSMSSandboxAccountStatusCommandInput,
393
+ options: __HttpHandlerOptions,
394
+ cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void
395
+ ): void;
396
+
397
+ getSubscriptionAttributes(
398
+ args: GetSubscriptionAttributesCommandInput,
399
+ options?: __HttpHandlerOptions
400
+ ): Promise<GetSubscriptionAttributesCommandOutput>;
401
+ getSubscriptionAttributes(
402
+ args: GetSubscriptionAttributesCommandInput,
403
+ cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void
404
+ ): void;
405
+ getSubscriptionAttributes(
406
+ args: GetSubscriptionAttributesCommandInput,
407
+ options: __HttpHandlerOptions,
408
+ cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void
409
+ ): void;
410
+
411
+ getTopicAttributes(
412
+ args: GetTopicAttributesCommandInput,
413
+ options?: __HttpHandlerOptions
414
+ ): Promise<GetTopicAttributesCommandOutput>;
415
+ getTopicAttributes(
416
+ args: GetTopicAttributesCommandInput,
417
+ cb: (err: any, data?: GetTopicAttributesCommandOutput) => void
418
+ ): void;
419
+ getTopicAttributes(
420
+ args: GetTopicAttributesCommandInput,
421
+ options: __HttpHandlerOptions,
422
+ cb: (err: any, data?: GetTopicAttributesCommandOutput) => void
423
+ ): void;
424
+
425
+ listEndpointsByPlatformApplication(
426
+ args: ListEndpointsByPlatformApplicationCommandInput,
427
+ options?: __HttpHandlerOptions
428
+ ): Promise<ListEndpointsByPlatformApplicationCommandOutput>;
429
+ listEndpointsByPlatformApplication(
430
+ args: ListEndpointsByPlatformApplicationCommandInput,
431
+ cb: (
432
+ err: any,
433
+ data?: ListEndpointsByPlatformApplicationCommandOutput
434
+ ) => void
435
+ ): void;
436
+ listEndpointsByPlatformApplication(
437
+ args: ListEndpointsByPlatformApplicationCommandInput,
438
+ options: __HttpHandlerOptions,
439
+ cb: (
440
+ err: any,
441
+ data?: ListEndpointsByPlatformApplicationCommandOutput
442
+ ) => void
443
+ ): void;
444
+
445
+ listOriginationNumbers(
446
+ args: ListOriginationNumbersCommandInput,
447
+ options?: __HttpHandlerOptions
448
+ ): Promise<ListOriginationNumbersCommandOutput>;
449
+ listOriginationNumbers(
450
+ args: ListOriginationNumbersCommandInput,
451
+ cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void
452
+ ): void;
453
+ listOriginationNumbers(
454
+ args: ListOriginationNumbersCommandInput,
455
+ options: __HttpHandlerOptions,
456
+ cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void
457
+ ): void;
458
+
459
+ listPhoneNumbersOptedOut(
460
+ args: ListPhoneNumbersOptedOutCommandInput,
461
+ options?: __HttpHandlerOptions
462
+ ): Promise<ListPhoneNumbersOptedOutCommandOutput>;
463
+ listPhoneNumbersOptedOut(
464
+ args: ListPhoneNumbersOptedOutCommandInput,
465
+ cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void
466
+ ): void;
467
+ listPhoneNumbersOptedOut(
468
+ args: ListPhoneNumbersOptedOutCommandInput,
469
+ options: __HttpHandlerOptions,
470
+ cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void
471
+ ): void;
472
+
473
+ listPlatformApplications(
474
+ args: ListPlatformApplicationsCommandInput,
475
+ options?: __HttpHandlerOptions
476
+ ): Promise<ListPlatformApplicationsCommandOutput>;
477
+ listPlatformApplications(
478
+ args: ListPlatformApplicationsCommandInput,
479
+ cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void
480
+ ): void;
481
+ listPlatformApplications(
482
+ args: ListPlatformApplicationsCommandInput,
483
+ options: __HttpHandlerOptions,
484
+ cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void
485
+ ): void;
486
+
487
+ listSMSSandboxPhoneNumbers(
488
+ args: ListSMSSandboxPhoneNumbersCommandInput,
489
+ options?: __HttpHandlerOptions
490
+ ): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
491
+ listSMSSandboxPhoneNumbers(
492
+ args: ListSMSSandboxPhoneNumbersCommandInput,
493
+ cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void
494
+ ): void;
495
+ listSMSSandboxPhoneNumbers(
496
+ args: ListSMSSandboxPhoneNumbersCommandInput,
497
+ options: __HttpHandlerOptions,
498
+ cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void
499
+ ): void;
500
+
501
+ listSubscriptions(
502
+ args: ListSubscriptionsCommandInput,
503
+ options?: __HttpHandlerOptions
504
+ ): Promise<ListSubscriptionsCommandOutput>;
505
+ listSubscriptions(
506
+ args: ListSubscriptionsCommandInput,
507
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
508
+ ): void;
509
+ listSubscriptions(
510
+ args: ListSubscriptionsCommandInput,
511
+ options: __HttpHandlerOptions,
512
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
513
+ ): void;
514
+
515
+ listSubscriptionsByTopic(
516
+ args: ListSubscriptionsByTopicCommandInput,
517
+ options?: __HttpHandlerOptions
518
+ ): Promise<ListSubscriptionsByTopicCommandOutput>;
519
+ listSubscriptionsByTopic(
520
+ args: ListSubscriptionsByTopicCommandInput,
521
+ cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void
522
+ ): void;
523
+ listSubscriptionsByTopic(
524
+ args: ListSubscriptionsByTopicCommandInput,
525
+ options: __HttpHandlerOptions,
526
+ cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void
527
+ ): void;
528
+
529
+ listTagsForResource(
530
+ args: ListTagsForResourceCommandInput,
531
+ options?: __HttpHandlerOptions
532
+ ): Promise<ListTagsForResourceCommandOutput>;
533
+ listTagsForResource(
534
+ args: ListTagsForResourceCommandInput,
535
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
536
+ ): void;
537
+ listTagsForResource(
538
+ args: ListTagsForResourceCommandInput,
539
+ options: __HttpHandlerOptions,
540
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
541
+ ): void;
542
+
543
+ listTopics(
544
+ args: ListTopicsCommandInput,
545
+ options?: __HttpHandlerOptions
546
+ ): Promise<ListTopicsCommandOutput>;
547
+ listTopics(
548
+ args: ListTopicsCommandInput,
549
+ cb: (err: any, data?: ListTopicsCommandOutput) => void
550
+ ): void;
551
+ listTopics(
552
+ args: ListTopicsCommandInput,
553
+ options: __HttpHandlerOptions,
554
+ cb: (err: any, data?: ListTopicsCommandOutput) => void
555
+ ): void;
556
+
557
+ optInPhoneNumber(
558
+ args: OptInPhoneNumberCommandInput,
559
+ options?: __HttpHandlerOptions
560
+ ): Promise<OptInPhoneNumberCommandOutput>;
561
+ optInPhoneNumber(
562
+ args: OptInPhoneNumberCommandInput,
563
+ cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void
564
+ ): void;
565
+ optInPhoneNumber(
566
+ args: OptInPhoneNumberCommandInput,
567
+ options: __HttpHandlerOptions,
568
+ cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void
569
+ ): void;
570
+
571
+ publish(
572
+ args: PublishCommandInput,
573
+ options?: __HttpHandlerOptions
574
+ ): Promise<PublishCommandOutput>;
575
+ publish(
576
+ args: PublishCommandInput,
577
+ cb: (err: any, data?: PublishCommandOutput) => void
578
+ ): void;
579
+ publish(
580
+ args: PublishCommandInput,
581
+ options: __HttpHandlerOptions,
582
+ cb: (err: any, data?: PublishCommandOutput) => void
583
+ ): void;
584
+
585
+ publishBatch(
586
+ args: PublishBatchCommandInput,
587
+ options?: __HttpHandlerOptions
588
+ ): Promise<PublishBatchCommandOutput>;
589
+ publishBatch(
590
+ args: PublishBatchCommandInput,
591
+ cb: (err: any, data?: PublishBatchCommandOutput) => void
592
+ ): void;
593
+ publishBatch(
594
+ args: PublishBatchCommandInput,
595
+ options: __HttpHandlerOptions,
596
+ cb: (err: any, data?: PublishBatchCommandOutput) => void
597
+ ): void;
598
+
599
+ putDataProtectionPolicy(
600
+ args: PutDataProtectionPolicyCommandInput,
601
+ options?: __HttpHandlerOptions
602
+ ): Promise<PutDataProtectionPolicyCommandOutput>;
603
+ putDataProtectionPolicy(
604
+ args: PutDataProtectionPolicyCommandInput,
605
+ cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void
606
+ ): void;
607
+ putDataProtectionPolicy(
608
+ args: PutDataProtectionPolicyCommandInput,
609
+ options: __HttpHandlerOptions,
610
+ cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void
611
+ ): void;
612
+
613
+ removePermission(
614
+ args: RemovePermissionCommandInput,
615
+ options?: __HttpHandlerOptions
616
+ ): Promise<RemovePermissionCommandOutput>;
617
+ removePermission(
618
+ args: RemovePermissionCommandInput,
619
+ cb: (err: any, data?: RemovePermissionCommandOutput) => void
620
+ ): void;
621
+ removePermission(
622
+ args: RemovePermissionCommandInput,
623
+ options: __HttpHandlerOptions,
624
+ cb: (err: any, data?: RemovePermissionCommandOutput) => void
625
+ ): void;
626
+
627
+ setEndpointAttributes(
628
+ args: SetEndpointAttributesCommandInput,
629
+ options?: __HttpHandlerOptions
630
+ ): Promise<SetEndpointAttributesCommandOutput>;
631
+ setEndpointAttributes(
632
+ args: SetEndpointAttributesCommandInput,
633
+ cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void
634
+ ): void;
635
+ setEndpointAttributes(
636
+ args: SetEndpointAttributesCommandInput,
637
+ options: __HttpHandlerOptions,
638
+ cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void
639
+ ): void;
640
+
641
+ setPlatformApplicationAttributes(
642
+ args: SetPlatformApplicationAttributesCommandInput,
643
+ options?: __HttpHandlerOptions
644
+ ): Promise<SetPlatformApplicationAttributesCommandOutput>;
645
+ setPlatformApplicationAttributes(
646
+ args: SetPlatformApplicationAttributesCommandInput,
647
+ cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void
648
+ ): void;
649
+ setPlatformApplicationAttributes(
650
+ args: SetPlatformApplicationAttributesCommandInput,
651
+ options: __HttpHandlerOptions,
652
+ cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void
653
+ ): void;
654
+
655
+ setSMSAttributes(
656
+ args: SetSMSAttributesCommandInput,
657
+ options?: __HttpHandlerOptions
658
+ ): Promise<SetSMSAttributesCommandOutput>;
659
+ setSMSAttributes(
660
+ args: SetSMSAttributesCommandInput,
661
+ cb: (err: any, data?: SetSMSAttributesCommandOutput) => void
662
+ ): void;
663
+ setSMSAttributes(
664
+ args: SetSMSAttributesCommandInput,
665
+ options: __HttpHandlerOptions,
666
+ cb: (err: any, data?: SetSMSAttributesCommandOutput) => void
667
+ ): void;
668
+
669
+ setSubscriptionAttributes(
670
+ args: SetSubscriptionAttributesCommandInput,
671
+ options?: __HttpHandlerOptions
672
+ ): Promise<SetSubscriptionAttributesCommandOutput>;
673
+ setSubscriptionAttributes(
674
+ args: SetSubscriptionAttributesCommandInput,
675
+ cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void
676
+ ): void;
677
+ setSubscriptionAttributes(
678
+ args: SetSubscriptionAttributesCommandInput,
679
+ options: __HttpHandlerOptions,
680
+ cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void
681
+ ): void;
682
+
683
+ setTopicAttributes(
684
+ args: SetTopicAttributesCommandInput,
685
+ options?: __HttpHandlerOptions
686
+ ): Promise<SetTopicAttributesCommandOutput>;
687
+ setTopicAttributes(
688
+ args: SetTopicAttributesCommandInput,
689
+ cb: (err: any, data?: SetTopicAttributesCommandOutput) => void
690
+ ): void;
691
+ setTopicAttributes(
692
+ args: SetTopicAttributesCommandInput,
693
+ options: __HttpHandlerOptions,
694
+ cb: (err: any, data?: SetTopicAttributesCommandOutput) => void
695
+ ): void;
696
+
697
+ subscribe(
698
+ args: SubscribeCommandInput,
699
+ options?: __HttpHandlerOptions
700
+ ): Promise<SubscribeCommandOutput>;
701
+ subscribe(
702
+ args: SubscribeCommandInput,
703
+ cb: (err: any, data?: SubscribeCommandOutput) => void
704
+ ): void;
705
+ subscribe(
706
+ args: SubscribeCommandInput,
707
+ options: __HttpHandlerOptions,
708
+ cb: (err: any, data?: SubscribeCommandOutput) => void
709
+ ): void;
710
+
711
+ tagResource(
712
+ args: TagResourceCommandInput,
713
+ options?: __HttpHandlerOptions
714
+ ): Promise<TagResourceCommandOutput>;
715
+ tagResource(
716
+ args: TagResourceCommandInput,
717
+ cb: (err: any, data?: TagResourceCommandOutput) => void
718
+ ): void;
719
+ tagResource(
720
+ args: TagResourceCommandInput,
721
+ options: __HttpHandlerOptions,
722
+ cb: (err: any, data?: TagResourceCommandOutput) => void
723
+ ): void;
724
+
725
+ unsubscribe(
726
+ args: UnsubscribeCommandInput,
727
+ options?: __HttpHandlerOptions
728
+ ): Promise<UnsubscribeCommandOutput>;
729
+ unsubscribe(
730
+ args: UnsubscribeCommandInput,
731
+ cb: (err: any, data?: UnsubscribeCommandOutput) => void
732
+ ): void;
733
+ unsubscribe(
734
+ args: UnsubscribeCommandInput,
735
+ options: __HttpHandlerOptions,
736
+ cb: (err: any, data?: UnsubscribeCommandOutput) => void
737
+ ): void;
738
+
739
+ untagResource(
740
+ args: UntagResourceCommandInput,
741
+ options?: __HttpHandlerOptions
742
+ ): Promise<UntagResourceCommandOutput>;
743
+ untagResource(
744
+ args: UntagResourceCommandInput,
745
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
746
+ ): void;
747
+ untagResource(
748
+ args: UntagResourceCommandInput,
749
+ options: __HttpHandlerOptions,
750
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
751
+ ): void;
752
+
753
+ verifySMSSandboxPhoneNumber(
754
+ args: VerifySMSSandboxPhoneNumberCommandInput,
755
+ options?: __HttpHandlerOptions
756
+ ): Promise<VerifySMSSandboxPhoneNumberCommandOutput>;
757
+ verifySMSSandboxPhoneNumber(
758
+ args: VerifySMSSandboxPhoneNumberCommandInput,
759
+ cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void
760
+ ): void;
761
+ verifySMSSandboxPhoneNumber(
762
+ args: VerifySMSSandboxPhoneNumberCommandInput,
763
+ options: __HttpHandlerOptions,
764
+ cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void
765
+ ): void;
766
+ }