@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,115 +1,355 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
10
- import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
11
- import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
12
- import { CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput } from "./commands/CreatePlatformApplicationCommand";
13
- import { CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput } from "./commands/CreatePlatformEndpointCommand";
14
- import { CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput } from "./commands/CreateSMSSandboxPhoneNumberCommand";
15
- import { CreateTopicCommandInput, CreateTopicCommandOutput } from "./commands/CreateTopicCommand";
16
- import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
17
- import { DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput } from "./commands/DeletePlatformApplicationCommand";
18
- import { DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput } from "./commands/DeleteSMSSandboxPhoneNumberCommand";
19
- import { DeleteTopicCommandInput, DeleteTopicCommandOutput } from "./commands/DeleteTopicCommand";
20
- import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
21
- import { GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput } from "./commands/GetEndpointAttributesCommand";
22
- import { GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput } from "./commands/GetPlatformApplicationAttributesCommand";
23
- import { GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput } from "./commands/GetSMSAttributesCommand";
24
- import { GetSMSSandboxAccountStatusCommandInput, GetSMSSandboxAccountStatusCommandOutput } from "./commands/GetSMSSandboxAccountStatusCommand";
25
- import { GetSubscriptionAttributesCommandInput, GetSubscriptionAttributesCommandOutput } from "./commands/GetSubscriptionAttributesCommand";
26
- import { GetTopicAttributesCommandInput, GetTopicAttributesCommandOutput } from "./commands/GetTopicAttributesCommand";
27
- import { ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput } from "./commands/ListEndpointsByPlatformApplicationCommand";
28
- import { ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput } from "./commands/ListOriginationNumbersCommand";
29
- import { ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput } from "./commands/ListPhoneNumbersOptedOutCommand";
30
- import { ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput } from "./commands/ListPlatformApplicationsCommand";
31
- import { ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput } from "./commands/ListSMSSandboxPhoneNumbersCommand";
32
- import { ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput } from "./commands/ListSubscriptionsByTopicCommand";
33
- import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
34
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
35
- import { ListTopicsCommandInput, ListTopicsCommandOutput } from "./commands/ListTopicsCommand";
36
- import { OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput } from "./commands/OptInPhoneNumberCommand";
37
- import { PublishBatchCommandInput, PublishBatchCommandOutput } from "./commands/PublishBatchCommand";
38
- import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
39
- import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
40
- import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
41
- import { SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput } from "./commands/SetEndpointAttributesCommand";
42
- import { SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput } from "./commands/SetPlatformApplicationAttributesCommand";
43
- import { SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput } from "./commands/SetSMSAttributesCommand";
44
- import { SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput } from "./commands/SetSubscriptionAttributesCommand";
45
- import { SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput } from "./commands/SetTopicAttributesCommand";
46
- import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
47
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
48
- import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
49
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
50
- import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
51
- export declare type ServiceInputTypes = AddPermissionCommandInput | CheckIfPhoneNumberIsOptedOutCommandInput | ConfirmSubscriptionCommandInput | CreatePlatformApplicationCommandInput | CreatePlatformEndpointCommandInput | CreateSMSSandboxPhoneNumberCommandInput | CreateTopicCommandInput | DeleteEndpointCommandInput | DeletePlatformApplicationCommandInput | DeleteSMSSandboxPhoneNumberCommandInput | DeleteTopicCommandInput | GetDataProtectionPolicyCommandInput | GetEndpointAttributesCommandInput | GetPlatformApplicationAttributesCommandInput | GetSMSAttributesCommandInput | GetSMSSandboxAccountStatusCommandInput | GetSubscriptionAttributesCommandInput | GetTopicAttributesCommandInput | ListEndpointsByPlatformApplicationCommandInput | ListOriginationNumbersCommandInput | ListPhoneNumbersOptedOutCommandInput | ListPlatformApplicationsCommandInput | ListSMSSandboxPhoneNumbersCommandInput | ListSubscriptionsByTopicCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListTopicsCommandInput | OptInPhoneNumberCommandInput | PublishBatchCommandInput | PublishCommandInput | PutDataProtectionPolicyCommandInput | RemovePermissionCommandInput | SetEndpointAttributesCommandInput | SetPlatformApplicationAttributesCommandInput | SetSMSAttributesCommandInput | SetSubscriptionAttributesCommandInput | SetTopicAttributesCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | VerifySMSSandboxPhoneNumberCommandInput;
52
- export declare type ServiceOutputTypes = AddPermissionCommandOutput | CheckIfPhoneNumberIsOptedOutCommandOutput | ConfirmSubscriptionCommandOutput | CreatePlatformApplicationCommandOutput | CreatePlatformEndpointCommandOutput | CreateSMSSandboxPhoneNumberCommandOutput | CreateTopicCommandOutput | DeleteEndpointCommandOutput | DeletePlatformApplicationCommandOutput | DeleteSMSSandboxPhoneNumberCommandOutput | DeleteTopicCommandOutput | GetDataProtectionPolicyCommandOutput | GetEndpointAttributesCommandOutput | GetPlatformApplicationAttributesCommandOutput | GetSMSAttributesCommandOutput | GetSMSSandboxAccountStatusCommandOutput | GetSubscriptionAttributesCommandOutput | GetTopicAttributesCommandOutput | ListEndpointsByPlatformApplicationCommandOutput | ListOriginationNumbersCommandOutput | ListPhoneNumbersOptedOutCommandOutput | ListPlatformApplicationsCommandOutput | ListSMSSandboxPhoneNumbersCommandOutput | ListSubscriptionsByTopicCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsCommandOutput | OptInPhoneNumberCommandOutput | PublishBatchCommandOutput | PublishCommandOutput | PutDataProtectionPolicyCommandOutput | RemovePermissionCommandOutput | SetEndpointAttributesCommandOutput | SetPlatformApplicationAttributesCommandOutput | SetSMSAttributesCommandOutput | SetSubscriptionAttributesCommandOutput | SetTopicAttributesCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | VerifySMSSandboxPhoneNumberCommandOutput;
53
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
54
-
55
- requestHandler?: __HttpHandler;
56
-
57
- sha256?: __HashConstructor;
58
-
59
- urlParser?: __UrlParser;
60
-
61
- bodyLengthChecker?: __BodyLengthCalculator;
62
-
63
- streamCollector?: __StreamCollector;
64
-
65
- base64Decoder?: __Decoder;
66
-
67
- base64Encoder?: __Encoder;
68
-
69
- utf8Decoder?: __Decoder;
70
-
71
- utf8Encoder?: __Encoder;
72
-
73
- runtime?: string;
74
-
75
- disableHostPrefix?: boolean;
76
-
77
- maxAttempts?: number | __Provider<number>;
78
-
79
- retryMode?: string | __Provider<string>;
80
-
81
- logger?: __Logger;
82
-
83
- useDualstackEndpoint?: boolean | __Provider<boolean>;
84
-
85
- useFipsEndpoint?: boolean | __Provider<boolean>;
86
-
87
- serviceId?: string;
88
-
89
- region?: string | __Provider<string>;
90
-
91
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
92
-
93
- regionInfoProvider?: RegionInfoProvider;
94
-
95
- defaultUserAgentProvider?: Provider<__UserAgent>;
96
-
97
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
98
- }
99
- declare type SNSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
100
-
101
- export interface SNSClientConfig extends SNSClientConfigType {
102
- }
103
- declare type SNSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
104
-
105
- export interface SNSClientResolvedConfig extends SNSClientResolvedConfigType {
106
- }
107
-
108
- export declare class SNSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig> {
109
-
110
- readonly config: SNSClientResolvedConfig;
111
- constructor(configuration: SNSClientConfig);
112
-
113
- destroy(): void;
114
- }
115
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ AddPermissionCommandInput,
47
+ AddPermissionCommandOutput,
48
+ } from "./commands/AddPermissionCommand";
49
+ import {
50
+ CheckIfPhoneNumberIsOptedOutCommandInput,
51
+ CheckIfPhoneNumberIsOptedOutCommandOutput,
52
+ } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
53
+ import {
54
+ ConfirmSubscriptionCommandInput,
55
+ ConfirmSubscriptionCommandOutput,
56
+ } from "./commands/ConfirmSubscriptionCommand";
57
+ import {
58
+ CreatePlatformApplicationCommandInput,
59
+ CreatePlatformApplicationCommandOutput,
60
+ } from "./commands/CreatePlatformApplicationCommand";
61
+ import {
62
+ CreatePlatformEndpointCommandInput,
63
+ CreatePlatformEndpointCommandOutput,
64
+ } from "./commands/CreatePlatformEndpointCommand";
65
+ import {
66
+ CreateSMSSandboxPhoneNumberCommandInput,
67
+ CreateSMSSandboxPhoneNumberCommandOutput,
68
+ } from "./commands/CreateSMSSandboxPhoneNumberCommand";
69
+ import {
70
+ CreateTopicCommandInput,
71
+ CreateTopicCommandOutput,
72
+ } from "./commands/CreateTopicCommand";
73
+ import {
74
+ DeleteEndpointCommandInput,
75
+ DeleteEndpointCommandOutput,
76
+ } from "./commands/DeleteEndpointCommand";
77
+ import {
78
+ DeletePlatformApplicationCommandInput,
79
+ DeletePlatformApplicationCommandOutput,
80
+ } from "./commands/DeletePlatformApplicationCommand";
81
+ import {
82
+ DeleteSMSSandboxPhoneNumberCommandInput,
83
+ DeleteSMSSandboxPhoneNumberCommandOutput,
84
+ } from "./commands/DeleteSMSSandboxPhoneNumberCommand";
85
+ import {
86
+ DeleteTopicCommandInput,
87
+ DeleteTopicCommandOutput,
88
+ } from "./commands/DeleteTopicCommand";
89
+ import {
90
+ GetDataProtectionPolicyCommandInput,
91
+ GetDataProtectionPolicyCommandOutput,
92
+ } from "./commands/GetDataProtectionPolicyCommand";
93
+ import {
94
+ GetEndpointAttributesCommandInput,
95
+ GetEndpointAttributesCommandOutput,
96
+ } from "./commands/GetEndpointAttributesCommand";
97
+ import {
98
+ GetPlatformApplicationAttributesCommandInput,
99
+ GetPlatformApplicationAttributesCommandOutput,
100
+ } from "./commands/GetPlatformApplicationAttributesCommand";
101
+ import {
102
+ GetSMSAttributesCommandInput,
103
+ GetSMSAttributesCommandOutput,
104
+ } from "./commands/GetSMSAttributesCommand";
105
+ import {
106
+ GetSMSSandboxAccountStatusCommandInput,
107
+ GetSMSSandboxAccountStatusCommandOutput,
108
+ } from "./commands/GetSMSSandboxAccountStatusCommand";
109
+ import {
110
+ GetSubscriptionAttributesCommandInput,
111
+ GetSubscriptionAttributesCommandOutput,
112
+ } from "./commands/GetSubscriptionAttributesCommand";
113
+ import {
114
+ GetTopicAttributesCommandInput,
115
+ GetTopicAttributesCommandOutput,
116
+ } from "./commands/GetTopicAttributesCommand";
117
+ import {
118
+ ListEndpointsByPlatformApplicationCommandInput,
119
+ ListEndpointsByPlatformApplicationCommandOutput,
120
+ } from "./commands/ListEndpointsByPlatformApplicationCommand";
121
+ import {
122
+ ListOriginationNumbersCommandInput,
123
+ ListOriginationNumbersCommandOutput,
124
+ } from "./commands/ListOriginationNumbersCommand";
125
+ import {
126
+ ListPhoneNumbersOptedOutCommandInput,
127
+ ListPhoneNumbersOptedOutCommandOutput,
128
+ } from "./commands/ListPhoneNumbersOptedOutCommand";
129
+ import {
130
+ ListPlatformApplicationsCommandInput,
131
+ ListPlatformApplicationsCommandOutput,
132
+ } from "./commands/ListPlatformApplicationsCommand";
133
+ import {
134
+ ListSMSSandboxPhoneNumbersCommandInput,
135
+ ListSMSSandboxPhoneNumbersCommandOutput,
136
+ } from "./commands/ListSMSSandboxPhoneNumbersCommand";
137
+ import {
138
+ ListSubscriptionsByTopicCommandInput,
139
+ ListSubscriptionsByTopicCommandOutput,
140
+ } from "./commands/ListSubscriptionsByTopicCommand";
141
+ import {
142
+ ListSubscriptionsCommandInput,
143
+ ListSubscriptionsCommandOutput,
144
+ } from "./commands/ListSubscriptionsCommand";
145
+ import {
146
+ ListTagsForResourceCommandInput,
147
+ ListTagsForResourceCommandOutput,
148
+ } from "./commands/ListTagsForResourceCommand";
149
+ import {
150
+ ListTopicsCommandInput,
151
+ ListTopicsCommandOutput,
152
+ } from "./commands/ListTopicsCommand";
153
+ import {
154
+ OptInPhoneNumberCommandInput,
155
+ OptInPhoneNumberCommandOutput,
156
+ } from "./commands/OptInPhoneNumberCommand";
157
+ import {
158
+ PublishBatchCommandInput,
159
+ PublishBatchCommandOutput,
160
+ } from "./commands/PublishBatchCommand";
161
+ import {
162
+ PublishCommandInput,
163
+ PublishCommandOutput,
164
+ } from "./commands/PublishCommand";
165
+ import {
166
+ PutDataProtectionPolicyCommandInput,
167
+ PutDataProtectionPolicyCommandOutput,
168
+ } from "./commands/PutDataProtectionPolicyCommand";
169
+ import {
170
+ RemovePermissionCommandInput,
171
+ RemovePermissionCommandOutput,
172
+ } from "./commands/RemovePermissionCommand";
173
+ import {
174
+ SetEndpointAttributesCommandInput,
175
+ SetEndpointAttributesCommandOutput,
176
+ } from "./commands/SetEndpointAttributesCommand";
177
+ import {
178
+ SetPlatformApplicationAttributesCommandInput,
179
+ SetPlatformApplicationAttributesCommandOutput,
180
+ } from "./commands/SetPlatformApplicationAttributesCommand";
181
+ import {
182
+ SetSMSAttributesCommandInput,
183
+ SetSMSAttributesCommandOutput,
184
+ } from "./commands/SetSMSAttributesCommand";
185
+ import {
186
+ SetSubscriptionAttributesCommandInput,
187
+ SetSubscriptionAttributesCommandOutput,
188
+ } from "./commands/SetSubscriptionAttributesCommand";
189
+ import {
190
+ SetTopicAttributesCommandInput,
191
+ SetTopicAttributesCommandOutput,
192
+ } from "./commands/SetTopicAttributesCommand";
193
+ import {
194
+ SubscribeCommandInput,
195
+ SubscribeCommandOutput,
196
+ } from "./commands/SubscribeCommand";
197
+ import {
198
+ TagResourceCommandInput,
199
+ TagResourceCommandOutput,
200
+ } from "./commands/TagResourceCommand";
201
+ import {
202
+ UnsubscribeCommandInput,
203
+ UnsubscribeCommandOutput,
204
+ } from "./commands/UnsubscribeCommand";
205
+ import {
206
+ UntagResourceCommandInput,
207
+ UntagResourceCommandOutput,
208
+ } from "./commands/UntagResourceCommand";
209
+ import {
210
+ VerifySMSSandboxPhoneNumberCommandInput,
211
+ VerifySMSSandboxPhoneNumberCommandOutput,
212
+ } from "./commands/VerifySMSSandboxPhoneNumberCommand";
213
+ export declare type ServiceInputTypes =
214
+ | AddPermissionCommandInput
215
+ | CheckIfPhoneNumberIsOptedOutCommandInput
216
+ | ConfirmSubscriptionCommandInput
217
+ | CreatePlatformApplicationCommandInput
218
+ | CreatePlatformEndpointCommandInput
219
+ | CreateSMSSandboxPhoneNumberCommandInput
220
+ | CreateTopicCommandInput
221
+ | DeleteEndpointCommandInput
222
+ | DeletePlatformApplicationCommandInput
223
+ | DeleteSMSSandboxPhoneNumberCommandInput
224
+ | DeleteTopicCommandInput
225
+ | GetDataProtectionPolicyCommandInput
226
+ | GetEndpointAttributesCommandInput
227
+ | GetPlatformApplicationAttributesCommandInput
228
+ | GetSMSAttributesCommandInput
229
+ | GetSMSSandboxAccountStatusCommandInput
230
+ | GetSubscriptionAttributesCommandInput
231
+ | GetTopicAttributesCommandInput
232
+ | ListEndpointsByPlatformApplicationCommandInput
233
+ | ListOriginationNumbersCommandInput
234
+ | ListPhoneNumbersOptedOutCommandInput
235
+ | ListPlatformApplicationsCommandInput
236
+ | ListSMSSandboxPhoneNumbersCommandInput
237
+ | ListSubscriptionsByTopicCommandInput
238
+ | ListSubscriptionsCommandInput
239
+ | ListTagsForResourceCommandInput
240
+ | ListTopicsCommandInput
241
+ | OptInPhoneNumberCommandInput
242
+ | PublishBatchCommandInput
243
+ | PublishCommandInput
244
+ | PutDataProtectionPolicyCommandInput
245
+ | RemovePermissionCommandInput
246
+ | SetEndpointAttributesCommandInput
247
+ | SetPlatformApplicationAttributesCommandInput
248
+ | SetSMSAttributesCommandInput
249
+ | SetSubscriptionAttributesCommandInput
250
+ | SetTopicAttributesCommandInput
251
+ | SubscribeCommandInput
252
+ | TagResourceCommandInput
253
+ | UnsubscribeCommandInput
254
+ | UntagResourceCommandInput
255
+ | VerifySMSSandboxPhoneNumberCommandInput;
256
+ export declare type ServiceOutputTypes =
257
+ | AddPermissionCommandOutput
258
+ | CheckIfPhoneNumberIsOptedOutCommandOutput
259
+ | ConfirmSubscriptionCommandOutput
260
+ | CreatePlatformApplicationCommandOutput
261
+ | CreatePlatformEndpointCommandOutput
262
+ | CreateSMSSandboxPhoneNumberCommandOutput
263
+ | CreateTopicCommandOutput
264
+ | DeleteEndpointCommandOutput
265
+ | DeletePlatformApplicationCommandOutput
266
+ | DeleteSMSSandboxPhoneNumberCommandOutput
267
+ | DeleteTopicCommandOutput
268
+ | GetDataProtectionPolicyCommandOutput
269
+ | GetEndpointAttributesCommandOutput
270
+ | GetPlatformApplicationAttributesCommandOutput
271
+ | GetSMSAttributesCommandOutput
272
+ | GetSMSSandboxAccountStatusCommandOutput
273
+ | GetSubscriptionAttributesCommandOutput
274
+ | GetTopicAttributesCommandOutput
275
+ | ListEndpointsByPlatformApplicationCommandOutput
276
+ | ListOriginationNumbersCommandOutput
277
+ | ListPhoneNumbersOptedOutCommandOutput
278
+ | ListPlatformApplicationsCommandOutput
279
+ | ListSMSSandboxPhoneNumbersCommandOutput
280
+ | ListSubscriptionsByTopicCommandOutput
281
+ | ListSubscriptionsCommandOutput
282
+ | ListTagsForResourceCommandOutput
283
+ | ListTopicsCommandOutput
284
+ | OptInPhoneNumberCommandOutput
285
+ | PublishBatchCommandOutput
286
+ | PublishCommandOutput
287
+ | PutDataProtectionPolicyCommandOutput
288
+ | RemovePermissionCommandOutput
289
+ | SetEndpointAttributesCommandOutput
290
+ | SetPlatformApplicationAttributesCommandOutput
291
+ | SetSMSAttributesCommandOutput
292
+ | SetSubscriptionAttributesCommandOutput
293
+ | SetTopicAttributesCommandOutput
294
+ | SubscribeCommandOutput
295
+ | TagResourceCommandOutput
296
+ | UnsubscribeCommandOutput
297
+ | UntagResourceCommandOutput
298
+ | VerifySMSSandboxPhoneNumberCommandOutput;
299
+ export interface ClientDefaults
300
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
301
+ requestHandler?: __HttpHandler;
302
+ sha256?: __HashConstructor;
303
+ urlParser?: __UrlParser;
304
+ bodyLengthChecker?: __BodyLengthCalculator;
305
+ streamCollector?: __StreamCollector;
306
+ base64Decoder?: __Decoder;
307
+ base64Encoder?: __Encoder;
308
+ utf8Decoder?: __Decoder;
309
+ utf8Encoder?: __Encoder;
310
+ runtime?: string;
311
+ disableHostPrefix?: boolean;
312
+ maxAttempts?: number | __Provider<number>;
313
+ retryMode?: string | __Provider<string>;
314
+ logger?: __Logger;
315
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
316
+ useFipsEndpoint?: boolean | __Provider<boolean>;
317
+ serviceId?: string;
318
+ region?: string | __Provider<string>;
319
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
320
+ regionInfoProvider?: RegionInfoProvider;
321
+ defaultUserAgentProvider?: Provider<__UserAgent>;
322
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
323
+ }
324
+ declare type SNSClientConfigType = Partial<
325
+ __SmithyConfiguration<__HttpHandlerOptions>
326
+ > &
327
+ ClientDefaults &
328
+ RegionInputConfig &
329
+ EndpointsInputConfig &
330
+ RetryInputConfig &
331
+ HostHeaderInputConfig &
332
+ AwsAuthInputConfig &
333
+ UserAgentInputConfig;
334
+ export interface SNSClientConfig extends SNSClientConfigType {}
335
+ declare type SNSClientResolvedConfigType =
336
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
337
+ Required<ClientDefaults> &
338
+ RegionResolvedConfig &
339
+ EndpointsResolvedConfig &
340
+ RetryResolvedConfig &
341
+ HostHeaderResolvedConfig &
342
+ AwsAuthResolvedConfig &
343
+ UserAgentResolvedConfig;
344
+ export interface SNSClientResolvedConfig extends SNSClientResolvedConfigType {}
345
+ export declare class SNSClient extends __Client<
346
+ __HttpHandlerOptions,
347
+ ServiceInputTypes,
348
+ ServiceOutputTypes,
349
+ SNSClientResolvedConfig
350
+ > {
351
+ readonly config: SNSClientResolvedConfig;
352
+ constructor(configuration: SNSClientConfig);
353
+ destroy(): void;
354
+ }
355
+ export {};
@@ -1,17 +1,30 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { AddPermissionInput } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
5
- export interface AddPermissionCommandInput extends AddPermissionInput {
6
- }
7
- export interface AddPermissionCommandOutput extends __MetadataBearer {
8
- }
9
-
10
- export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig> {
11
- readonly input: AddPermissionCommandInput;
12
- constructor(input: AddPermissionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import { AddPermissionInput } from "../models/models_0";
9
+ import {
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ SNSClientResolvedConfig,
13
+ } from "../SNSClient";
14
+ export interface AddPermissionCommandInput extends AddPermissionInput {}
15
+ export interface AddPermissionCommandOutput extends __MetadataBearer {}
16
+ export declare class AddPermissionCommand extends $Command<
17
+ AddPermissionCommandInput,
18
+ AddPermissionCommandOutput,
19
+ SNSClientResolvedConfig
20
+ > {
21
+ readonly input: AddPermissionCommandInput;
22
+ constructor(input: AddPermissionCommandInput);
23
+ resolveMiddleware(
24
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
25
+ configuration: SNSClientResolvedConfig,
26
+ options?: __HttpHandlerOptions
27
+ ): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
28
+ private serialize;
29
+ private deserialize;
30
+ }
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { CheckIfPhoneNumberIsOptedOutInput, CheckIfPhoneNumberIsOptedOutResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
5
- export interface CheckIfPhoneNumberIsOptedOutCommandInput extends CheckIfPhoneNumberIsOptedOutInput {
6
- }
7
- export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneNumberIsOptedOutResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig> {
11
- readonly input: CheckIfPhoneNumberIsOptedOutCommandInput;
12
- constructor(input: CheckIfPhoneNumberIsOptedOutCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ CheckIfPhoneNumberIsOptedOutInput,
10
+ CheckIfPhoneNumberIsOptedOutResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ SNSClientResolvedConfig,
16
+ } from "../SNSClient";
17
+ export interface CheckIfPhoneNumberIsOptedOutCommandInput
18
+ extends CheckIfPhoneNumberIsOptedOutInput {}
19
+ export interface CheckIfPhoneNumberIsOptedOutCommandOutput
20
+ extends CheckIfPhoneNumberIsOptedOutResponse,
21
+ __MetadataBearer {}
22
+ export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<
23
+ CheckIfPhoneNumberIsOptedOutCommandInput,
24
+ CheckIfPhoneNumberIsOptedOutCommandOutput,
25
+ SNSClientResolvedConfig
26
+ > {
27
+ readonly input: CheckIfPhoneNumberIsOptedOutCommandInput;
28
+ constructor(input: CheckIfPhoneNumberIsOptedOutCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: SNSClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ CheckIfPhoneNumberIsOptedOutCommandInput,
35
+ CheckIfPhoneNumberIsOptedOutCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,36 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ConfirmSubscriptionInput, ConfirmSubscriptionResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
5
- export interface ConfirmSubscriptionCommandInput extends ConfirmSubscriptionInput {
6
- }
7
- export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ConfirmSubscriptionCommand extends $Command<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig> {
11
- readonly input: ConfirmSubscriptionCommandInput;
12
- constructor(input: ConfirmSubscriptionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ConfirmSubscriptionInput,
10
+ ConfirmSubscriptionResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ SNSClientResolvedConfig,
16
+ } from "../SNSClient";
17
+ export interface ConfirmSubscriptionCommandInput
18
+ extends ConfirmSubscriptionInput {}
19
+ export interface ConfirmSubscriptionCommandOutput
20
+ extends ConfirmSubscriptionResponse,
21
+ __MetadataBearer {}
22
+ export declare class ConfirmSubscriptionCommand extends $Command<
23
+ ConfirmSubscriptionCommandInput,
24
+ ConfirmSubscriptionCommandOutput,
25
+ SNSClientResolvedConfig
26
+ > {
27
+ readonly input: ConfirmSubscriptionCommandInput;
28
+ constructor(input: ConfirmSubscriptionCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: SNSClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }