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