@aws-sdk/client-sns 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -804,10 +804,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sns";
804
804
  const _se = "server";
805
805
  const _xN = "xmlName";
806
806
  const n0 = "com.amazonaws.sns";
807
- const _s_registry = TypeRegistry.for(_s);
807
+ const _s_registry = new TypeRegistry(_s);
808
808
  var SNSServiceException$ = [-3, _s, "SNSServiceException", 0, [], []];
809
809
  _s_registry.registerError(SNSServiceException$, SNSServiceException);
810
- const n0_registry = TypeRegistry.for(n0);
810
+ const n0_registry = new TypeRegistry(n0);
811
811
  var AuthorizationErrorException$ = [-3, n0, _AEE,
812
812
  { [_aQE]: [`AuthorizationError`, 403], [_e]: _c, [_hE]: 403 },
813
813
  [_m],
@@ -246,10 +246,10 @@ const n0 = "com.amazonaws.sns";
246
246
  import { TypeRegistry } from "@smithy/core/schema";
247
247
  import { AuthorizationErrorException, BatchEntryIdsNotDistinctException, BatchRequestTooLongException, ConcurrentAccessException, EmptyBatchRequestException, EndpointDisabledException, FilterPolicyLimitExceededException, InternalErrorException, InvalidBatchEntryIdException, InvalidParameterException, InvalidParameterValueException, InvalidSecurityException, InvalidStateException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, NotFoundException, OptedOutException, PlatformApplicationDisabledException, ReplayLimitExceededException, ResourceNotFoundException, StaleTagException, SubscriptionLimitExceededException, TagLimitExceededException, TagPolicyException, ThrottledException, TooManyEntriesInBatchRequestException, TopicLimitExceededException, UserErrorException, ValidationException, VerificationException, } from "../models/errors";
248
248
  import { SNSServiceException } from "../models/SNSServiceException";
249
- const _s_registry = TypeRegistry.for(_s);
249
+ const _s_registry = new TypeRegistry(_s);
250
250
  export var SNSServiceException$ = [-3, _s, "SNSServiceException", 0, [], []];
251
251
  _s_registry.registerError(SNSServiceException$, SNSServiceException);
252
- const n0_registry = TypeRegistry.for(n0);
252
+ const n0_registry = new TypeRegistry(n0);
253
253
  export var AuthorizationErrorException$ = [-3, n0, _AEE,
254
254
  { [_aQE]: [`AuthorizationError`, 403], [_e]: _c, [_hE]: 403 },
255
255
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AddPermissionCommandInput, type AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
3
3
  import { type CheckIfPhoneNumberIsOptedOutCommandInput, type CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
4
4
  import { type ConfirmSubscriptionCommandInput, type ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
@@ -42,267 +42,273 @@ import { type UnsubscribeCommandInput, type UnsubscribeCommandOutput } from "./c
42
42
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
43
43
  import { type VerifySMSSandboxPhoneNumberCommandInput, type VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
44
44
  import { SNSClient } from "./SNSClient";
45
+ /**
46
+ * @public
47
+ */
48
+ export interface SNSRequestOptions extends __HttpHandlerOptions {
49
+ metricsRecorder?: __MetricsRecorder<unknown>;
50
+ }
45
51
  export interface SNS {
46
52
  /**
47
53
  * @see {@link AddPermissionCommand}
48
54
  */
49
- addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
55
+ addPermission(args: AddPermissionCommandInput, options?: SNSRequestOptions): Promise<AddPermissionCommandOutput>;
50
56
  addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
51
- addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
57
+ addPermission(args: AddPermissionCommandInput, options: SNSRequestOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link CheckIfPhoneNumberIsOptedOutCommand}
54
60
  */
55
- checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options?: __HttpHandlerOptions): Promise<CheckIfPhoneNumberIsOptedOutCommandOutput>;
61
+ checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options?: SNSRequestOptions): Promise<CheckIfPhoneNumberIsOptedOutCommandOutput>;
56
62
  checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
57
- checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
63
+ checkIfPhoneNumberIsOptedOut(args: CheckIfPhoneNumberIsOptedOutCommandInput, options: SNSRequestOptions, cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link ConfirmSubscriptionCommand}
60
66
  */
61
- confirmSubscription(args: ConfirmSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ConfirmSubscriptionCommandOutput>;
67
+ confirmSubscription(args: ConfirmSubscriptionCommandInput, options?: SNSRequestOptions): Promise<ConfirmSubscriptionCommandOutput>;
62
68
  confirmSubscription(args: ConfirmSubscriptionCommandInput, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
63
- confirmSubscription(args: ConfirmSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
69
+ confirmSubscription(args: ConfirmSubscriptionCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link CreatePlatformApplicationCommand}
66
72
  */
67
- createPlatformApplication(args: CreatePlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreatePlatformApplicationCommandOutput>;
73
+ createPlatformApplication(args: CreatePlatformApplicationCommandInput, options?: SNSRequestOptions): Promise<CreatePlatformApplicationCommandOutput>;
68
74
  createPlatformApplication(args: CreatePlatformApplicationCommandInput, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
69
- createPlatformApplication(args: CreatePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
75
+ createPlatformApplication(args: CreatePlatformApplicationCommandInput, options: SNSRequestOptions, cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link CreatePlatformEndpointCommand}
72
78
  */
73
- createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreatePlatformEndpointCommandOutput>;
79
+ createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options?: SNSRequestOptions): Promise<CreatePlatformEndpointCommandOutput>;
74
80
  createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
75
- createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
81
+ createPlatformEndpoint(args: CreatePlatformEndpointCommandInput, options: SNSRequestOptions, cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link CreateSMSSandboxPhoneNumberCommand}
78
84
  */
79
- createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<CreateSMSSandboxPhoneNumberCommandOutput>;
85
+ createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options?: SNSRequestOptions): Promise<CreateSMSSandboxPhoneNumberCommandOutput>;
80
86
  createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
81
- createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
87
+ createSMSSandboxPhoneNumber(args: CreateSMSSandboxPhoneNumberCommandInput, options: SNSRequestOptions, cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link CreateTopicCommand}
84
90
  */
85
- createTopic(args: CreateTopicCommandInput, options?: __HttpHandlerOptions): Promise<CreateTopicCommandOutput>;
91
+ createTopic(args: CreateTopicCommandInput, options?: SNSRequestOptions): Promise<CreateTopicCommandOutput>;
86
92
  createTopic(args: CreateTopicCommandInput, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
87
- createTopic(args: CreateTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
93
+ createTopic(args: CreateTopicCommandInput, options: SNSRequestOptions, cb: (err: any, data?: CreateTopicCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link DeleteEndpointCommand}
90
96
  */
91
- deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
97
+ deleteEndpoint(args: DeleteEndpointCommandInput, options?: SNSRequestOptions): Promise<DeleteEndpointCommandOutput>;
92
98
  deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
93
- deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
99
+ deleteEndpoint(args: DeleteEndpointCommandInput, options: SNSRequestOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link DeletePlatformApplicationCommand}
96
102
  */
97
- deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeletePlatformApplicationCommandOutput>;
103
+ deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options?: SNSRequestOptions): Promise<DeletePlatformApplicationCommandOutput>;
98
104
  deletePlatformApplication(args: DeletePlatformApplicationCommandInput, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
99
- deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
105
+ deletePlatformApplication(args: DeletePlatformApplicationCommandInput, options: SNSRequestOptions, cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link DeleteSMSSandboxPhoneNumberCommand}
102
108
  */
103
- deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
109
+ deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options?: SNSRequestOptions): Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
104
110
  deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
105
- deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
111
+ deleteSMSSandboxPhoneNumber(args: DeleteSMSSandboxPhoneNumberCommandInput, options: SNSRequestOptions, cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link DeleteTopicCommand}
108
114
  */
109
- deleteTopic(args: DeleteTopicCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTopicCommandOutput>;
115
+ deleteTopic(args: DeleteTopicCommandInput, options?: SNSRequestOptions): Promise<DeleteTopicCommandOutput>;
110
116
  deleteTopic(args: DeleteTopicCommandInput, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
111
- deleteTopic(args: DeleteTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
117
+ deleteTopic(args: DeleteTopicCommandInput, options: SNSRequestOptions, cb: (err: any, data?: DeleteTopicCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link GetDataProtectionPolicyCommand}
114
120
  */
115
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetDataProtectionPolicyCommandOutput>;
121
+ getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: SNSRequestOptions): Promise<GetDataProtectionPolicyCommandOutput>;
116
122
  getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
117
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
123
+ getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link GetEndpointAttributesCommand}
120
126
  */
121
- getEndpointAttributes(args: GetEndpointAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetEndpointAttributesCommandOutput>;
127
+ getEndpointAttributes(args: GetEndpointAttributesCommandInput, options?: SNSRequestOptions): Promise<GetEndpointAttributesCommandOutput>;
122
128
  getEndpointAttributes(args: GetEndpointAttributesCommandInput, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
123
- getEndpointAttributes(args: GetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
129
+ getEndpointAttributes(args: GetEndpointAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link GetPlatformApplicationAttributesCommand}
126
132
  */
127
- getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetPlatformApplicationAttributesCommandOutput>;
133
+ getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options?: SNSRequestOptions): Promise<GetPlatformApplicationAttributesCommandOutput>;
128
134
  getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
129
- getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
135
+ getPlatformApplicationAttributes(args: GetPlatformApplicationAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link GetSMSAttributesCommand}
132
138
  */
133
139
  getSMSAttributes(): Promise<GetSMSAttributesCommandOutput>;
134
- getSMSAttributes(args: GetSMSAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetSMSAttributesCommandOutput>;
140
+ getSMSAttributes(args: GetSMSAttributesCommandInput, options?: SNSRequestOptions): Promise<GetSMSAttributesCommandOutput>;
135
141
  getSMSAttributes(args: GetSMSAttributesCommandInput, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
136
- getSMSAttributes(args: GetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
142
+ getSMSAttributes(args: GetSMSAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetSMSAttributesCommandOutput) => void): void;
137
143
  /**
138
144
  * @see {@link GetSMSSandboxAccountStatusCommand}
139
145
  */
140
146
  getSMSSandboxAccountStatus(): Promise<GetSMSSandboxAccountStatusCommandOutput>;
141
- getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSMSSandboxAccountStatusCommandOutput>;
147
+ getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options?: SNSRequestOptions): Promise<GetSMSSandboxAccountStatusCommandOutput>;
142
148
  getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
143
- getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
149
+ getSMSSandboxAccountStatus(args: GetSMSSandboxAccountStatusCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link GetSubscriptionAttributesCommand}
146
152
  */
147
- getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionAttributesCommandOutput>;
153
+ getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options?: SNSRequestOptions): Promise<GetSubscriptionAttributesCommandOutput>;
148
154
  getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
149
- getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
155
+ getSubscriptionAttributes(args: GetSubscriptionAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link GetTopicAttributesCommand}
152
158
  */
153
- getTopicAttributes(args: GetTopicAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetTopicAttributesCommandOutput>;
159
+ getTopicAttributes(args: GetTopicAttributesCommandInput, options?: SNSRequestOptions): Promise<GetTopicAttributesCommandOutput>;
154
160
  getTopicAttributes(args: GetTopicAttributesCommandInput, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
155
- getTopicAttributes(args: GetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
161
+ getTopicAttributes(args: GetTopicAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: GetTopicAttributesCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link ListEndpointsByPlatformApplicationCommand}
158
164
  */
159
- listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsByPlatformApplicationCommandOutput>;
165
+ listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options?: SNSRequestOptions): Promise<ListEndpointsByPlatformApplicationCommandOutput>;
160
166
  listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
161
- listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
167
+ listEndpointsByPlatformApplication(args: ListEndpointsByPlatformApplicationCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link ListOriginationNumbersCommand}
164
170
  */
165
171
  listOriginationNumbers(): Promise<ListOriginationNumbersCommandOutput>;
166
- listOriginationNumbers(args: ListOriginationNumbersCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginationNumbersCommandOutput>;
172
+ listOriginationNumbers(args: ListOriginationNumbersCommandInput, options?: SNSRequestOptions): Promise<ListOriginationNumbersCommandOutput>;
167
173
  listOriginationNumbers(args: ListOriginationNumbersCommandInput, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
168
- listOriginationNumbers(args: ListOriginationNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
174
+ listOriginationNumbers(args: ListOriginationNumbersCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link ListPhoneNumbersOptedOutCommand}
171
177
  */
172
178
  listPhoneNumbersOptedOut(): Promise<ListPhoneNumbersOptedOutCommandOutput>;
173
- listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options?: __HttpHandlerOptions): Promise<ListPhoneNumbersOptedOutCommandOutput>;
179
+ listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options?: SNSRequestOptions): Promise<ListPhoneNumbersOptedOutCommandOutput>;
174
180
  listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
175
- listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
181
+ listPhoneNumbersOptedOut(args: ListPhoneNumbersOptedOutCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link ListPlatformApplicationsCommand}
178
184
  */
179
185
  listPlatformApplications(): Promise<ListPlatformApplicationsCommandOutput>;
180
- listPlatformApplications(args: ListPlatformApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPlatformApplicationsCommandOutput>;
186
+ listPlatformApplications(args: ListPlatformApplicationsCommandInput, options?: SNSRequestOptions): Promise<ListPlatformApplicationsCommandOutput>;
181
187
  listPlatformApplications(args: ListPlatformApplicationsCommandInput, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
182
- listPlatformApplications(args: ListPlatformApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
188
+ listPlatformApplications(args: ListPlatformApplicationsCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void): void;
183
189
  /**
184
190
  * @see {@link ListSMSSandboxPhoneNumbersCommand}
185
191
  */
186
192
  listSMSSandboxPhoneNumbers(): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
187
- listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
193
+ listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options?: SNSRequestOptions): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
188
194
  listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
189
- listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
195
+ listSMSSandboxPhoneNumbers(args: ListSMSSandboxPhoneNumbersCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void): void;
190
196
  /**
191
197
  * @see {@link ListSubscriptionsCommand}
192
198
  */
193
199
  listSubscriptions(): Promise<ListSubscriptionsCommandOutput>;
194
- listSubscriptions(args: ListSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscriptionsCommandOutput>;
200
+ listSubscriptions(args: ListSubscriptionsCommandInput, options?: SNSRequestOptions): Promise<ListSubscriptionsCommandOutput>;
195
201
  listSubscriptions(args: ListSubscriptionsCommandInput, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
196
- listSubscriptions(args: ListSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
202
+ listSubscriptions(args: ListSubscriptionsCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
197
203
  /**
198
204
  * @see {@link ListSubscriptionsByTopicCommand}
199
205
  */
200
- listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscriptionsByTopicCommandOutput>;
206
+ listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options?: SNSRequestOptions): Promise<ListSubscriptionsByTopicCommandOutput>;
201
207
  listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
202
- listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
208
+ listSubscriptionsByTopic(args: ListSubscriptionsByTopicCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void): void;
203
209
  /**
204
210
  * @see {@link ListTagsForResourceCommand}
205
211
  */
206
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
212
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: SNSRequestOptions): Promise<ListTagsForResourceCommandOutput>;
207
213
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
208
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
214
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
209
215
  /**
210
216
  * @see {@link ListTopicsCommand}
211
217
  */
212
218
  listTopics(): Promise<ListTopicsCommandOutput>;
213
- listTopics(args: ListTopicsCommandInput, options?: __HttpHandlerOptions): Promise<ListTopicsCommandOutput>;
219
+ listTopics(args: ListTopicsCommandInput, options?: SNSRequestOptions): Promise<ListTopicsCommandOutput>;
214
220
  listTopics(args: ListTopicsCommandInput, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
215
- listTopics(args: ListTopicsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
221
+ listTopics(args: ListTopicsCommandInput, options: SNSRequestOptions, cb: (err: any, data?: ListTopicsCommandOutput) => void): void;
216
222
  /**
217
223
  * @see {@link OptInPhoneNumberCommand}
218
224
  */
219
- optInPhoneNumber(args: OptInPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<OptInPhoneNumberCommandOutput>;
225
+ optInPhoneNumber(args: OptInPhoneNumberCommandInput, options?: SNSRequestOptions): Promise<OptInPhoneNumberCommandOutput>;
220
226
  optInPhoneNumber(args: OptInPhoneNumberCommandInput, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
221
- optInPhoneNumber(args: OptInPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
227
+ optInPhoneNumber(args: OptInPhoneNumberCommandInput, options: SNSRequestOptions, cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void): void;
222
228
  /**
223
229
  * @see {@link PublishCommand}
224
230
  */
225
- publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
231
+ publish(args: PublishCommandInput, options?: SNSRequestOptions): Promise<PublishCommandOutput>;
226
232
  publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
227
- publish(args: PublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
233
+ publish(args: PublishCommandInput, options: SNSRequestOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
228
234
  /**
229
235
  * @see {@link PublishBatchCommand}
230
236
  */
231
- publishBatch(args: PublishBatchCommandInput, options?: __HttpHandlerOptions): Promise<PublishBatchCommandOutput>;
237
+ publishBatch(args: PublishBatchCommandInput, options?: SNSRequestOptions): Promise<PublishBatchCommandOutput>;
232
238
  publishBatch(args: PublishBatchCommandInput, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
233
- publishBatch(args: PublishBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
239
+ publishBatch(args: PublishBatchCommandInput, options: SNSRequestOptions, cb: (err: any, data?: PublishBatchCommandOutput) => void): void;
234
240
  /**
235
241
  * @see {@link PutDataProtectionPolicyCommand}
236
242
  */
237
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutDataProtectionPolicyCommandOutput>;
243
+ putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: SNSRequestOptions): Promise<PutDataProtectionPolicyCommandOutput>;
238
244
  putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
239
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
245
+ putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options: SNSRequestOptions, cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void): void;
240
246
  /**
241
247
  * @see {@link RemovePermissionCommand}
242
248
  */
243
- removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
249
+ removePermission(args: RemovePermissionCommandInput, options?: SNSRequestOptions): Promise<RemovePermissionCommandOutput>;
244
250
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
245
- removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
251
+ removePermission(args: RemovePermissionCommandInput, options: SNSRequestOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
246
252
  /**
247
253
  * @see {@link SetEndpointAttributesCommand}
248
254
  */
249
- setEndpointAttributes(args: SetEndpointAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetEndpointAttributesCommandOutput>;
255
+ setEndpointAttributes(args: SetEndpointAttributesCommandInput, options?: SNSRequestOptions): Promise<SetEndpointAttributesCommandOutput>;
250
256
  setEndpointAttributes(args: SetEndpointAttributesCommandInput, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
251
- setEndpointAttributes(args: SetEndpointAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
257
+ setEndpointAttributes(args: SetEndpointAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void): void;
252
258
  /**
253
259
  * @see {@link SetPlatformApplicationAttributesCommand}
254
260
  */
255
- setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetPlatformApplicationAttributesCommandOutput>;
261
+ setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options?: SNSRequestOptions): Promise<SetPlatformApplicationAttributesCommandOutput>;
256
262
  setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
257
- setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
263
+ setPlatformApplicationAttributes(args: SetPlatformApplicationAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void): void;
258
264
  /**
259
265
  * @see {@link SetSMSAttributesCommand}
260
266
  */
261
- setSMSAttributes(args: SetSMSAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetSMSAttributesCommandOutput>;
267
+ setSMSAttributes(args: SetSMSAttributesCommandInput, options?: SNSRequestOptions): Promise<SetSMSAttributesCommandOutput>;
262
268
  setSMSAttributes(args: SetSMSAttributesCommandInput, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
263
- setSMSAttributes(args: SetSMSAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
269
+ setSMSAttributes(args: SetSMSAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SetSMSAttributesCommandOutput) => void): void;
264
270
  /**
265
271
  * @see {@link SetSubscriptionAttributesCommand}
266
272
  */
267
- setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetSubscriptionAttributesCommandOutput>;
273
+ setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options?: SNSRequestOptions): Promise<SetSubscriptionAttributesCommandOutput>;
268
274
  setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
269
- setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
275
+ setSubscriptionAttributes(args: SetSubscriptionAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void): void;
270
276
  /**
271
277
  * @see {@link SetTopicAttributesCommand}
272
278
  */
273
- setTopicAttributes(args: SetTopicAttributesCommandInput, options?: __HttpHandlerOptions): Promise<SetTopicAttributesCommandOutput>;
279
+ setTopicAttributes(args: SetTopicAttributesCommandInput, options?: SNSRequestOptions): Promise<SetTopicAttributesCommandOutput>;
274
280
  setTopicAttributes(args: SetTopicAttributesCommandInput, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
275
- setTopicAttributes(args: SetTopicAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
281
+ setTopicAttributes(args: SetTopicAttributesCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SetTopicAttributesCommandOutput) => void): void;
276
282
  /**
277
283
  * @see {@link SubscribeCommand}
278
284
  */
279
- subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
285
+ subscribe(args: SubscribeCommandInput, options?: SNSRequestOptions): Promise<SubscribeCommandOutput>;
280
286
  subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
281
- subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
287
+ subscribe(args: SubscribeCommandInput, options: SNSRequestOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
282
288
  /**
283
289
  * @see {@link TagResourceCommand}
284
290
  */
285
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
291
+ tagResource(args: TagResourceCommandInput, options?: SNSRequestOptions): Promise<TagResourceCommandOutput>;
286
292
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
287
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
293
+ tagResource(args: TagResourceCommandInput, options: SNSRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
288
294
  /**
289
295
  * @see {@link UnsubscribeCommand}
290
296
  */
291
- unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
297
+ unsubscribe(args: UnsubscribeCommandInput, options?: SNSRequestOptions): Promise<UnsubscribeCommandOutput>;
292
298
  unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
293
- unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
299
+ unsubscribe(args: UnsubscribeCommandInput, options: SNSRequestOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
294
300
  /**
295
301
  * @see {@link UntagResourceCommand}
296
302
  */
297
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
303
+ untagResource(args: UntagResourceCommandInput, options?: SNSRequestOptions): Promise<UntagResourceCommandOutput>;
298
304
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
299
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
305
+ untagResource(args: UntagResourceCommandInput, options: SNSRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
300
306
  /**
301
307
  * @see {@link VerifySMSSandboxPhoneNumberCommand}
302
308
  */
303
- verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<VerifySMSSandboxPhoneNumberCommandOutput>;
309
+ verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options?: SNSRequestOptions): Promise<VerifySMSSandboxPhoneNumberCommandOutput>;
304
310
  verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void): void;
305
- verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void): void;
311
+ verifySMSSandboxPhoneNumber(args: VerifySMSSandboxPhoneNumberCommandInput, options: SNSRequestOptions, cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void): void;
306
312
  /**
307
313
  * @see {@link ListEndpointsByPlatformApplicationCommand}
308
314
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -151,10 +152,13 @@ import {
151
152
  VerifySMSSandboxPhoneNumberCommandOutput,
152
153
  } from "./commands/VerifySMSSandboxPhoneNumberCommand";
153
154
  import { SNSClient } from "./SNSClient";
155
+ export interface SNSRequestOptions extends __HttpHandlerOptions {
156
+ metricsRecorder?: __MetricsRecorder<unknown>;
157
+ }
154
158
  export interface SNS {
155
159
  addPermission(
156
160
  args: AddPermissionCommandInput,
157
- options?: __HttpHandlerOptions,
161
+ options?: SNSRequestOptions,
158
162
  ): Promise<AddPermissionCommandOutput>;
159
163
  addPermission(
160
164
  args: AddPermissionCommandInput,
@@ -162,12 +166,12 @@ export interface SNS {
162
166
  ): void;
163
167
  addPermission(
164
168
  args: AddPermissionCommandInput,
165
- options: __HttpHandlerOptions,
169
+ options: SNSRequestOptions,
166
170
  cb: (err: any, data?: AddPermissionCommandOutput) => void,
167
171
  ): void;
168
172
  checkIfPhoneNumberIsOptedOut(
169
173
  args: CheckIfPhoneNumberIsOptedOutCommandInput,
170
- options?: __HttpHandlerOptions,
174
+ options?: SNSRequestOptions,
171
175
  ): Promise<CheckIfPhoneNumberIsOptedOutCommandOutput>;
172
176
  checkIfPhoneNumberIsOptedOut(
173
177
  args: CheckIfPhoneNumberIsOptedOutCommandInput,
@@ -175,12 +179,12 @@ export interface SNS {
175
179
  ): void;
176
180
  checkIfPhoneNumberIsOptedOut(
177
181
  args: CheckIfPhoneNumberIsOptedOutCommandInput,
178
- options: __HttpHandlerOptions,
182
+ options: SNSRequestOptions,
179
183
  cb: (err: any, data?: CheckIfPhoneNumberIsOptedOutCommandOutput) => void,
180
184
  ): void;
181
185
  confirmSubscription(
182
186
  args: ConfirmSubscriptionCommandInput,
183
- options?: __HttpHandlerOptions,
187
+ options?: SNSRequestOptions,
184
188
  ): Promise<ConfirmSubscriptionCommandOutput>;
185
189
  confirmSubscription(
186
190
  args: ConfirmSubscriptionCommandInput,
@@ -188,12 +192,12 @@ export interface SNS {
188
192
  ): void;
189
193
  confirmSubscription(
190
194
  args: ConfirmSubscriptionCommandInput,
191
- options: __HttpHandlerOptions,
195
+ options: SNSRequestOptions,
192
196
  cb: (err: any, data?: ConfirmSubscriptionCommandOutput) => void,
193
197
  ): void;
194
198
  createPlatformApplication(
195
199
  args: CreatePlatformApplicationCommandInput,
196
- options?: __HttpHandlerOptions,
200
+ options?: SNSRequestOptions,
197
201
  ): Promise<CreatePlatformApplicationCommandOutput>;
198
202
  createPlatformApplication(
199
203
  args: CreatePlatformApplicationCommandInput,
@@ -201,12 +205,12 @@ export interface SNS {
201
205
  ): void;
202
206
  createPlatformApplication(
203
207
  args: CreatePlatformApplicationCommandInput,
204
- options: __HttpHandlerOptions,
208
+ options: SNSRequestOptions,
205
209
  cb: (err: any, data?: CreatePlatformApplicationCommandOutput) => void,
206
210
  ): void;
207
211
  createPlatformEndpoint(
208
212
  args: CreatePlatformEndpointCommandInput,
209
- options?: __HttpHandlerOptions,
213
+ options?: SNSRequestOptions,
210
214
  ): Promise<CreatePlatformEndpointCommandOutput>;
211
215
  createPlatformEndpoint(
212
216
  args: CreatePlatformEndpointCommandInput,
@@ -214,12 +218,12 @@ export interface SNS {
214
218
  ): void;
215
219
  createPlatformEndpoint(
216
220
  args: CreatePlatformEndpointCommandInput,
217
- options: __HttpHandlerOptions,
221
+ options: SNSRequestOptions,
218
222
  cb: (err: any, data?: CreatePlatformEndpointCommandOutput) => void,
219
223
  ): void;
220
224
  createSMSSandboxPhoneNumber(
221
225
  args: CreateSMSSandboxPhoneNumberCommandInput,
222
- options?: __HttpHandlerOptions,
226
+ options?: SNSRequestOptions,
223
227
  ): Promise<CreateSMSSandboxPhoneNumberCommandOutput>;
224
228
  createSMSSandboxPhoneNumber(
225
229
  args: CreateSMSSandboxPhoneNumberCommandInput,
@@ -227,12 +231,12 @@ export interface SNS {
227
231
  ): void;
228
232
  createSMSSandboxPhoneNumber(
229
233
  args: CreateSMSSandboxPhoneNumberCommandInput,
230
- options: __HttpHandlerOptions,
234
+ options: SNSRequestOptions,
231
235
  cb: (err: any, data?: CreateSMSSandboxPhoneNumberCommandOutput) => void,
232
236
  ): void;
233
237
  createTopic(
234
238
  args: CreateTopicCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: SNSRequestOptions,
236
240
  ): Promise<CreateTopicCommandOutput>;
237
241
  createTopic(
238
242
  args: CreateTopicCommandInput,
@@ -240,12 +244,12 @@ export interface SNS {
240
244
  ): void;
241
245
  createTopic(
242
246
  args: CreateTopicCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: SNSRequestOptions,
244
248
  cb: (err: any, data?: CreateTopicCommandOutput) => void,
245
249
  ): void;
246
250
  deleteEndpoint(
247
251
  args: DeleteEndpointCommandInput,
248
- options?: __HttpHandlerOptions,
252
+ options?: SNSRequestOptions,
249
253
  ): Promise<DeleteEndpointCommandOutput>;
250
254
  deleteEndpoint(
251
255
  args: DeleteEndpointCommandInput,
@@ -253,12 +257,12 @@ export interface SNS {
253
257
  ): void;
254
258
  deleteEndpoint(
255
259
  args: DeleteEndpointCommandInput,
256
- options: __HttpHandlerOptions,
260
+ options: SNSRequestOptions,
257
261
  cb: (err: any, data?: DeleteEndpointCommandOutput) => void,
258
262
  ): void;
259
263
  deletePlatformApplication(
260
264
  args: DeletePlatformApplicationCommandInput,
261
- options?: __HttpHandlerOptions,
265
+ options?: SNSRequestOptions,
262
266
  ): Promise<DeletePlatformApplicationCommandOutput>;
263
267
  deletePlatformApplication(
264
268
  args: DeletePlatformApplicationCommandInput,
@@ -266,12 +270,12 @@ export interface SNS {
266
270
  ): void;
267
271
  deletePlatformApplication(
268
272
  args: DeletePlatformApplicationCommandInput,
269
- options: __HttpHandlerOptions,
273
+ options: SNSRequestOptions,
270
274
  cb: (err: any, data?: DeletePlatformApplicationCommandOutput) => void,
271
275
  ): void;
272
276
  deleteSMSSandboxPhoneNumber(
273
277
  args: DeleteSMSSandboxPhoneNumberCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: SNSRequestOptions,
275
279
  ): Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
276
280
  deleteSMSSandboxPhoneNumber(
277
281
  args: DeleteSMSSandboxPhoneNumberCommandInput,
@@ -279,12 +283,12 @@ export interface SNS {
279
283
  ): void;
280
284
  deleteSMSSandboxPhoneNumber(
281
285
  args: DeleteSMSSandboxPhoneNumberCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: SNSRequestOptions,
283
287
  cb: (err: any, data?: DeleteSMSSandboxPhoneNumberCommandOutput) => void,
284
288
  ): void;
285
289
  deleteTopic(
286
290
  args: DeleteTopicCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: SNSRequestOptions,
288
292
  ): Promise<DeleteTopicCommandOutput>;
289
293
  deleteTopic(
290
294
  args: DeleteTopicCommandInput,
@@ -292,12 +296,12 @@ export interface SNS {
292
296
  ): void;
293
297
  deleteTopic(
294
298
  args: DeleteTopicCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: SNSRequestOptions,
296
300
  cb: (err: any, data?: DeleteTopicCommandOutput) => void,
297
301
  ): void;
298
302
  getDataProtectionPolicy(
299
303
  args: GetDataProtectionPolicyCommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: SNSRequestOptions,
301
305
  ): Promise<GetDataProtectionPolicyCommandOutput>;
302
306
  getDataProtectionPolicy(
303
307
  args: GetDataProtectionPolicyCommandInput,
@@ -305,12 +309,12 @@ export interface SNS {
305
309
  ): void;
306
310
  getDataProtectionPolicy(
307
311
  args: GetDataProtectionPolicyCommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: SNSRequestOptions,
309
313
  cb: (err: any, data?: GetDataProtectionPolicyCommandOutput) => void,
310
314
  ): void;
311
315
  getEndpointAttributes(
312
316
  args: GetEndpointAttributesCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: SNSRequestOptions,
314
318
  ): Promise<GetEndpointAttributesCommandOutput>;
315
319
  getEndpointAttributes(
316
320
  args: GetEndpointAttributesCommandInput,
@@ -318,12 +322,12 @@ export interface SNS {
318
322
  ): void;
319
323
  getEndpointAttributes(
320
324
  args: GetEndpointAttributesCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: SNSRequestOptions,
322
326
  cb: (err: any, data?: GetEndpointAttributesCommandOutput) => void,
323
327
  ): void;
324
328
  getPlatformApplicationAttributes(
325
329
  args: GetPlatformApplicationAttributesCommandInput,
326
- options?: __HttpHandlerOptions,
330
+ options?: SNSRequestOptions,
327
331
  ): Promise<GetPlatformApplicationAttributesCommandOutput>;
328
332
  getPlatformApplicationAttributes(
329
333
  args: GetPlatformApplicationAttributesCommandInput,
@@ -331,13 +335,13 @@ export interface SNS {
331
335
  ): void;
332
336
  getPlatformApplicationAttributes(
333
337
  args: GetPlatformApplicationAttributesCommandInput,
334
- options: __HttpHandlerOptions,
338
+ options: SNSRequestOptions,
335
339
  cb: (err: any, data?: GetPlatformApplicationAttributesCommandOutput) => void,
336
340
  ): void;
337
341
  getSMSAttributes(): Promise<GetSMSAttributesCommandOutput>;
338
342
  getSMSAttributes(
339
343
  args: GetSMSAttributesCommandInput,
340
- options?: __HttpHandlerOptions,
344
+ options?: SNSRequestOptions,
341
345
  ): Promise<GetSMSAttributesCommandOutput>;
342
346
  getSMSAttributes(
343
347
  args: GetSMSAttributesCommandInput,
@@ -345,13 +349,13 @@ export interface SNS {
345
349
  ): void;
346
350
  getSMSAttributes(
347
351
  args: GetSMSAttributesCommandInput,
348
- options: __HttpHandlerOptions,
352
+ options: SNSRequestOptions,
349
353
  cb: (err: any, data?: GetSMSAttributesCommandOutput) => void,
350
354
  ): void;
351
355
  getSMSSandboxAccountStatus(): Promise<GetSMSSandboxAccountStatusCommandOutput>;
352
356
  getSMSSandboxAccountStatus(
353
357
  args: GetSMSSandboxAccountStatusCommandInput,
354
- options?: __HttpHandlerOptions,
358
+ options?: SNSRequestOptions,
355
359
  ): Promise<GetSMSSandboxAccountStatusCommandOutput>;
356
360
  getSMSSandboxAccountStatus(
357
361
  args: GetSMSSandboxAccountStatusCommandInput,
@@ -359,12 +363,12 @@ export interface SNS {
359
363
  ): void;
360
364
  getSMSSandboxAccountStatus(
361
365
  args: GetSMSSandboxAccountStatusCommandInput,
362
- options: __HttpHandlerOptions,
366
+ options: SNSRequestOptions,
363
367
  cb: (err: any, data?: GetSMSSandboxAccountStatusCommandOutput) => void,
364
368
  ): void;
365
369
  getSubscriptionAttributes(
366
370
  args: GetSubscriptionAttributesCommandInput,
367
- options?: __HttpHandlerOptions,
371
+ options?: SNSRequestOptions,
368
372
  ): Promise<GetSubscriptionAttributesCommandOutput>;
369
373
  getSubscriptionAttributes(
370
374
  args: GetSubscriptionAttributesCommandInput,
@@ -372,12 +376,12 @@ export interface SNS {
372
376
  ): void;
373
377
  getSubscriptionAttributes(
374
378
  args: GetSubscriptionAttributesCommandInput,
375
- options: __HttpHandlerOptions,
379
+ options: SNSRequestOptions,
376
380
  cb: (err: any, data?: GetSubscriptionAttributesCommandOutput) => void,
377
381
  ): void;
378
382
  getTopicAttributes(
379
383
  args: GetTopicAttributesCommandInput,
380
- options?: __HttpHandlerOptions,
384
+ options?: SNSRequestOptions,
381
385
  ): Promise<GetTopicAttributesCommandOutput>;
382
386
  getTopicAttributes(
383
387
  args: GetTopicAttributesCommandInput,
@@ -385,12 +389,12 @@ export interface SNS {
385
389
  ): void;
386
390
  getTopicAttributes(
387
391
  args: GetTopicAttributesCommandInput,
388
- options: __HttpHandlerOptions,
392
+ options: SNSRequestOptions,
389
393
  cb: (err: any, data?: GetTopicAttributesCommandOutput) => void,
390
394
  ): void;
391
395
  listEndpointsByPlatformApplication(
392
396
  args: ListEndpointsByPlatformApplicationCommandInput,
393
- options?: __HttpHandlerOptions,
397
+ options?: SNSRequestOptions,
394
398
  ): Promise<ListEndpointsByPlatformApplicationCommandOutput>;
395
399
  listEndpointsByPlatformApplication(
396
400
  args: ListEndpointsByPlatformApplicationCommandInput,
@@ -398,13 +402,13 @@ export interface SNS {
398
402
  ): void;
399
403
  listEndpointsByPlatformApplication(
400
404
  args: ListEndpointsByPlatformApplicationCommandInput,
401
- options: __HttpHandlerOptions,
405
+ options: SNSRequestOptions,
402
406
  cb: (err: any, data?: ListEndpointsByPlatformApplicationCommandOutput) => void,
403
407
  ): void;
404
408
  listOriginationNumbers(): Promise<ListOriginationNumbersCommandOutput>;
405
409
  listOriginationNumbers(
406
410
  args: ListOriginationNumbersCommandInput,
407
- options?: __HttpHandlerOptions,
411
+ options?: SNSRequestOptions,
408
412
  ): Promise<ListOriginationNumbersCommandOutput>;
409
413
  listOriginationNumbers(
410
414
  args: ListOriginationNumbersCommandInput,
@@ -412,13 +416,13 @@ export interface SNS {
412
416
  ): void;
413
417
  listOriginationNumbers(
414
418
  args: ListOriginationNumbersCommandInput,
415
- options: __HttpHandlerOptions,
419
+ options: SNSRequestOptions,
416
420
  cb: (err: any, data?: ListOriginationNumbersCommandOutput) => void,
417
421
  ): void;
418
422
  listPhoneNumbersOptedOut(): Promise<ListPhoneNumbersOptedOutCommandOutput>;
419
423
  listPhoneNumbersOptedOut(
420
424
  args: ListPhoneNumbersOptedOutCommandInput,
421
- options?: __HttpHandlerOptions,
425
+ options?: SNSRequestOptions,
422
426
  ): Promise<ListPhoneNumbersOptedOutCommandOutput>;
423
427
  listPhoneNumbersOptedOut(
424
428
  args: ListPhoneNumbersOptedOutCommandInput,
@@ -426,13 +430,13 @@ export interface SNS {
426
430
  ): void;
427
431
  listPhoneNumbersOptedOut(
428
432
  args: ListPhoneNumbersOptedOutCommandInput,
429
- options: __HttpHandlerOptions,
433
+ options: SNSRequestOptions,
430
434
  cb: (err: any, data?: ListPhoneNumbersOptedOutCommandOutput) => void,
431
435
  ): void;
432
436
  listPlatformApplications(): Promise<ListPlatformApplicationsCommandOutput>;
433
437
  listPlatformApplications(
434
438
  args: ListPlatformApplicationsCommandInput,
435
- options?: __HttpHandlerOptions,
439
+ options?: SNSRequestOptions,
436
440
  ): Promise<ListPlatformApplicationsCommandOutput>;
437
441
  listPlatformApplications(
438
442
  args: ListPlatformApplicationsCommandInput,
@@ -440,13 +444,13 @@ export interface SNS {
440
444
  ): void;
441
445
  listPlatformApplications(
442
446
  args: ListPlatformApplicationsCommandInput,
443
- options: __HttpHandlerOptions,
447
+ options: SNSRequestOptions,
444
448
  cb: (err: any, data?: ListPlatformApplicationsCommandOutput) => void,
445
449
  ): void;
446
450
  listSMSSandboxPhoneNumbers(): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
447
451
  listSMSSandboxPhoneNumbers(
448
452
  args: ListSMSSandboxPhoneNumbersCommandInput,
449
- options?: __HttpHandlerOptions,
453
+ options?: SNSRequestOptions,
450
454
  ): Promise<ListSMSSandboxPhoneNumbersCommandOutput>;
451
455
  listSMSSandboxPhoneNumbers(
452
456
  args: ListSMSSandboxPhoneNumbersCommandInput,
@@ -454,13 +458,13 @@ export interface SNS {
454
458
  ): void;
455
459
  listSMSSandboxPhoneNumbers(
456
460
  args: ListSMSSandboxPhoneNumbersCommandInput,
457
- options: __HttpHandlerOptions,
461
+ options: SNSRequestOptions,
458
462
  cb: (err: any, data?: ListSMSSandboxPhoneNumbersCommandOutput) => void,
459
463
  ): void;
460
464
  listSubscriptions(): Promise<ListSubscriptionsCommandOutput>;
461
465
  listSubscriptions(
462
466
  args: ListSubscriptionsCommandInput,
463
- options?: __HttpHandlerOptions,
467
+ options?: SNSRequestOptions,
464
468
  ): Promise<ListSubscriptionsCommandOutput>;
465
469
  listSubscriptions(
466
470
  args: ListSubscriptionsCommandInput,
@@ -468,12 +472,12 @@ export interface SNS {
468
472
  ): void;
469
473
  listSubscriptions(
470
474
  args: ListSubscriptionsCommandInput,
471
- options: __HttpHandlerOptions,
475
+ options: SNSRequestOptions,
472
476
  cb: (err: any, data?: ListSubscriptionsCommandOutput) => void,
473
477
  ): void;
474
478
  listSubscriptionsByTopic(
475
479
  args: ListSubscriptionsByTopicCommandInput,
476
- options?: __HttpHandlerOptions,
480
+ options?: SNSRequestOptions,
477
481
  ): Promise<ListSubscriptionsByTopicCommandOutput>;
478
482
  listSubscriptionsByTopic(
479
483
  args: ListSubscriptionsByTopicCommandInput,
@@ -481,12 +485,12 @@ export interface SNS {
481
485
  ): void;
482
486
  listSubscriptionsByTopic(
483
487
  args: ListSubscriptionsByTopicCommandInput,
484
- options: __HttpHandlerOptions,
488
+ options: SNSRequestOptions,
485
489
  cb: (err: any, data?: ListSubscriptionsByTopicCommandOutput) => void,
486
490
  ): void;
487
491
  listTagsForResource(
488
492
  args: ListTagsForResourceCommandInput,
489
- options?: __HttpHandlerOptions,
493
+ options?: SNSRequestOptions,
490
494
  ): Promise<ListTagsForResourceCommandOutput>;
491
495
  listTagsForResource(
492
496
  args: ListTagsForResourceCommandInput,
@@ -494,13 +498,13 @@ export interface SNS {
494
498
  ): void;
495
499
  listTagsForResource(
496
500
  args: ListTagsForResourceCommandInput,
497
- options: __HttpHandlerOptions,
501
+ options: SNSRequestOptions,
498
502
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
499
503
  ): void;
500
504
  listTopics(): Promise<ListTopicsCommandOutput>;
501
505
  listTopics(
502
506
  args: ListTopicsCommandInput,
503
- options?: __HttpHandlerOptions,
507
+ options?: SNSRequestOptions,
504
508
  ): Promise<ListTopicsCommandOutput>;
505
509
  listTopics(
506
510
  args: ListTopicsCommandInput,
@@ -508,12 +512,12 @@ export interface SNS {
508
512
  ): void;
509
513
  listTopics(
510
514
  args: ListTopicsCommandInput,
511
- options: __HttpHandlerOptions,
515
+ options: SNSRequestOptions,
512
516
  cb: (err: any, data?: ListTopicsCommandOutput) => void,
513
517
  ): void;
514
518
  optInPhoneNumber(
515
519
  args: OptInPhoneNumberCommandInput,
516
- options?: __HttpHandlerOptions,
520
+ options?: SNSRequestOptions,
517
521
  ): Promise<OptInPhoneNumberCommandOutput>;
518
522
  optInPhoneNumber(
519
523
  args: OptInPhoneNumberCommandInput,
@@ -521,19 +525,19 @@ export interface SNS {
521
525
  ): void;
522
526
  optInPhoneNumber(
523
527
  args: OptInPhoneNumberCommandInput,
524
- options: __HttpHandlerOptions,
528
+ options: SNSRequestOptions,
525
529
  cb: (err: any, data?: OptInPhoneNumberCommandOutput) => void,
526
530
  ): void;
527
- publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
531
+ publish(args: PublishCommandInput, options?: SNSRequestOptions): Promise<PublishCommandOutput>;
528
532
  publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
529
533
  publish(
530
534
  args: PublishCommandInput,
531
- options: __HttpHandlerOptions,
535
+ options: SNSRequestOptions,
532
536
  cb: (err: any, data?: PublishCommandOutput) => void,
533
537
  ): void;
534
538
  publishBatch(
535
539
  args: PublishBatchCommandInput,
536
- options?: __HttpHandlerOptions,
540
+ options?: SNSRequestOptions,
537
541
  ): Promise<PublishBatchCommandOutput>;
538
542
  publishBatch(
539
543
  args: PublishBatchCommandInput,
@@ -541,12 +545,12 @@ export interface SNS {
541
545
  ): void;
542
546
  publishBatch(
543
547
  args: PublishBatchCommandInput,
544
- options: __HttpHandlerOptions,
548
+ options: SNSRequestOptions,
545
549
  cb: (err: any, data?: PublishBatchCommandOutput) => void,
546
550
  ): void;
547
551
  putDataProtectionPolicy(
548
552
  args: PutDataProtectionPolicyCommandInput,
549
- options?: __HttpHandlerOptions,
553
+ options?: SNSRequestOptions,
550
554
  ): Promise<PutDataProtectionPolicyCommandOutput>;
551
555
  putDataProtectionPolicy(
552
556
  args: PutDataProtectionPolicyCommandInput,
@@ -554,12 +558,12 @@ export interface SNS {
554
558
  ): void;
555
559
  putDataProtectionPolicy(
556
560
  args: PutDataProtectionPolicyCommandInput,
557
- options: __HttpHandlerOptions,
561
+ options: SNSRequestOptions,
558
562
  cb: (err: any, data?: PutDataProtectionPolicyCommandOutput) => void,
559
563
  ): void;
560
564
  removePermission(
561
565
  args: RemovePermissionCommandInput,
562
- options?: __HttpHandlerOptions,
566
+ options?: SNSRequestOptions,
563
567
  ): Promise<RemovePermissionCommandOutput>;
564
568
  removePermission(
565
569
  args: RemovePermissionCommandInput,
@@ -567,12 +571,12 @@ export interface SNS {
567
571
  ): void;
568
572
  removePermission(
569
573
  args: RemovePermissionCommandInput,
570
- options: __HttpHandlerOptions,
574
+ options: SNSRequestOptions,
571
575
  cb: (err: any, data?: RemovePermissionCommandOutput) => void,
572
576
  ): void;
573
577
  setEndpointAttributes(
574
578
  args: SetEndpointAttributesCommandInput,
575
- options?: __HttpHandlerOptions,
579
+ options?: SNSRequestOptions,
576
580
  ): Promise<SetEndpointAttributesCommandOutput>;
577
581
  setEndpointAttributes(
578
582
  args: SetEndpointAttributesCommandInput,
@@ -580,12 +584,12 @@ export interface SNS {
580
584
  ): void;
581
585
  setEndpointAttributes(
582
586
  args: SetEndpointAttributesCommandInput,
583
- options: __HttpHandlerOptions,
587
+ options: SNSRequestOptions,
584
588
  cb: (err: any, data?: SetEndpointAttributesCommandOutput) => void,
585
589
  ): void;
586
590
  setPlatformApplicationAttributes(
587
591
  args: SetPlatformApplicationAttributesCommandInput,
588
- options?: __HttpHandlerOptions,
592
+ options?: SNSRequestOptions,
589
593
  ): Promise<SetPlatformApplicationAttributesCommandOutput>;
590
594
  setPlatformApplicationAttributes(
591
595
  args: SetPlatformApplicationAttributesCommandInput,
@@ -593,12 +597,12 @@ export interface SNS {
593
597
  ): void;
594
598
  setPlatformApplicationAttributes(
595
599
  args: SetPlatformApplicationAttributesCommandInput,
596
- options: __HttpHandlerOptions,
600
+ options: SNSRequestOptions,
597
601
  cb: (err: any, data?: SetPlatformApplicationAttributesCommandOutput) => void,
598
602
  ): void;
599
603
  setSMSAttributes(
600
604
  args: SetSMSAttributesCommandInput,
601
- options?: __HttpHandlerOptions,
605
+ options?: SNSRequestOptions,
602
606
  ): Promise<SetSMSAttributesCommandOutput>;
603
607
  setSMSAttributes(
604
608
  args: SetSMSAttributesCommandInput,
@@ -606,12 +610,12 @@ export interface SNS {
606
610
  ): void;
607
611
  setSMSAttributes(
608
612
  args: SetSMSAttributesCommandInput,
609
- options: __HttpHandlerOptions,
613
+ options: SNSRequestOptions,
610
614
  cb: (err: any, data?: SetSMSAttributesCommandOutput) => void,
611
615
  ): void;
612
616
  setSubscriptionAttributes(
613
617
  args: SetSubscriptionAttributesCommandInput,
614
- options?: __HttpHandlerOptions,
618
+ options?: SNSRequestOptions,
615
619
  ): Promise<SetSubscriptionAttributesCommandOutput>;
616
620
  setSubscriptionAttributes(
617
621
  args: SetSubscriptionAttributesCommandInput,
@@ -619,12 +623,12 @@ export interface SNS {
619
623
  ): void;
620
624
  setSubscriptionAttributes(
621
625
  args: SetSubscriptionAttributesCommandInput,
622
- options: __HttpHandlerOptions,
626
+ options: SNSRequestOptions,
623
627
  cb: (err: any, data?: SetSubscriptionAttributesCommandOutput) => void,
624
628
  ): void;
625
629
  setTopicAttributes(
626
630
  args: SetTopicAttributesCommandInput,
627
- options?: __HttpHandlerOptions,
631
+ options?: SNSRequestOptions,
628
632
  ): Promise<SetTopicAttributesCommandOutput>;
629
633
  setTopicAttributes(
630
634
  args: SetTopicAttributesCommandInput,
@@ -632,12 +636,12 @@ export interface SNS {
632
636
  ): void;
633
637
  setTopicAttributes(
634
638
  args: SetTopicAttributesCommandInput,
635
- options: __HttpHandlerOptions,
639
+ options: SNSRequestOptions,
636
640
  cb: (err: any, data?: SetTopicAttributesCommandOutput) => void,
637
641
  ): void;
638
642
  subscribe(
639
643
  args: SubscribeCommandInput,
640
- options?: __HttpHandlerOptions,
644
+ options?: SNSRequestOptions,
641
645
  ): Promise<SubscribeCommandOutput>;
642
646
  subscribe(
643
647
  args: SubscribeCommandInput,
@@ -645,12 +649,12 @@ export interface SNS {
645
649
  ): void;
646
650
  subscribe(
647
651
  args: SubscribeCommandInput,
648
- options: __HttpHandlerOptions,
652
+ options: SNSRequestOptions,
649
653
  cb: (err: any, data?: SubscribeCommandOutput) => void,
650
654
  ): void;
651
655
  tagResource(
652
656
  args: TagResourceCommandInput,
653
- options?: __HttpHandlerOptions,
657
+ options?: SNSRequestOptions,
654
658
  ): Promise<TagResourceCommandOutput>;
655
659
  tagResource(
656
660
  args: TagResourceCommandInput,
@@ -658,12 +662,12 @@ export interface SNS {
658
662
  ): void;
659
663
  tagResource(
660
664
  args: TagResourceCommandInput,
661
- options: __HttpHandlerOptions,
665
+ options: SNSRequestOptions,
662
666
  cb: (err: any, data?: TagResourceCommandOutput) => void,
663
667
  ): void;
664
668
  unsubscribe(
665
669
  args: UnsubscribeCommandInput,
666
- options?: __HttpHandlerOptions,
670
+ options?: SNSRequestOptions,
667
671
  ): Promise<UnsubscribeCommandOutput>;
668
672
  unsubscribe(
669
673
  args: UnsubscribeCommandInput,
@@ -671,12 +675,12 @@ export interface SNS {
671
675
  ): void;
672
676
  unsubscribe(
673
677
  args: UnsubscribeCommandInput,
674
- options: __HttpHandlerOptions,
678
+ options: SNSRequestOptions,
675
679
  cb: (err: any, data?: UnsubscribeCommandOutput) => void,
676
680
  ): void;
677
681
  untagResource(
678
682
  args: UntagResourceCommandInput,
679
- options?: __HttpHandlerOptions,
683
+ options?: SNSRequestOptions,
680
684
  ): Promise<UntagResourceCommandOutput>;
681
685
  untagResource(
682
686
  args: UntagResourceCommandInput,
@@ -684,12 +688,12 @@ export interface SNS {
684
688
  ): void;
685
689
  untagResource(
686
690
  args: UntagResourceCommandInput,
687
- options: __HttpHandlerOptions,
691
+ options: SNSRequestOptions,
688
692
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
689
693
  ): void;
690
694
  verifySMSSandboxPhoneNumber(
691
695
  args: VerifySMSSandboxPhoneNumberCommandInput,
692
- options?: __HttpHandlerOptions,
696
+ options?: SNSRequestOptions,
693
697
  ): Promise<VerifySMSSandboxPhoneNumberCommandOutput>;
694
698
  verifySMSSandboxPhoneNumber(
695
699
  args: VerifySMSSandboxPhoneNumberCommandInput,
@@ -697,7 +701,7 @@ export interface SNS {
697
701
  ): void;
698
702
  verifySMSSandboxPhoneNumber(
699
703
  args: VerifySMSSandboxPhoneNumberCommandInput,
700
- options: __HttpHandlerOptions,
704
+ options: SNSRequestOptions,
701
705
  cb: (err: any, data?: VerifySMSSandboxPhoneNumberCommandOutput) => void,
702
706
  ): void;
703
707
  paginateListEndpointsByPlatformApplication(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sns",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sns",
6
6
  "license": "Apache-2.0",
@@ -48,13 +48,13 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.0",
52
- "@aws-sdk/credential-provider-node": "^3.972.83",
53
- "@aws-sdk/types": "^3.974.5",
54
- "@smithy/core": "^3.33.3",
55
- "@smithy/fetch-http-handler": "^5.7.2",
56
- "@smithy/node-http-handler": "^4.11.3",
57
- "@smithy/types": "^4.17.2",
51
+ "@aws-sdk/core": "^3.978.1",
52
+ "@aws-sdk/credential-provider-node": "^3.972.84",
53
+ "@aws-sdk/types": "^3.974.6",
54
+ "@smithy/core": "^3.35.0",
55
+ "@smithy/fetch-http-handler": "^5.8.0",
56
+ "@smithy/node-http-handler": "^4.12.1",
57
+ "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {