@aws-sdk/client-sns 3.1044.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +100 -101
- package/dist-cjs/models/SNSServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/SNS.js +1 -1
- package/dist-es/SNSClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AddPermissionCommand.js +2 -2
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -2
- package/dist-es/commands/ConfirmSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreatePlatformApplicationCommand.js +2 -2
- package/dist-es/commands/CreatePlatformEndpointCommand.js +2 -2
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/commands/CreateTopicCommand.js +2 -2
- package/dist-es/commands/DeleteEndpointCommand.js +2 -2
- package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/commands/DeleteTopicCommand.js +2 -2
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/GetEndpointAttributesCommand.js +2 -2
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +2 -2
- package/dist-es/commands/GetSMSAttributesCommand.js +2 -2
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +2 -2
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +2 -2
- package/dist-es/commands/GetTopicAttributesCommand.js +2 -2
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +2 -2
- package/dist-es/commands/ListOriginationNumbersCommand.js +2 -2
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -2
- package/dist-es/commands/ListPlatformApplicationsCommand.js +2 -2
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTopicsCommand.js +2 -2
- package/dist-es/commands/OptInPhoneNumberCommand.js +2 -2
- package/dist-es/commands/PublishBatchCommand.js +2 -2
- package/dist-es/commands/PublishCommand.js +2 -2
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -2
- package/dist-es/commands/RemovePermissionCommand.js +2 -2
- package/dist-es/commands/SetEndpointAttributesCommand.js +2 -2
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -2
- package/dist-es/commands/SetSMSAttributesCommand.js +2 -2
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -2
- package/dist-es/commands/SetTopicAttributesCommand.js +2 -2
- package/dist-es/commands/SubscribeCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UnsubscribeCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SNSServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/SNSClient.d.ts +5 -5
- package/dist-types/commands/AddPermissionCommand.d.ts +6 -4
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +6 -4
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +6 -4
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/CreateTopicCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -4
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTopicCommand.d.ts +6 -4
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +6 -4
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +6 -4
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +6 -4
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +6 -4
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +6 -4
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +6 -4
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTopicsCommand.d.ts +6 -4
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/PublishBatchCommand.d.ts +6 -4
- package/dist-types/commands/PublishCommand.d.ts +6 -4
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -4
- package/dist-types/commands/RemovePermissionCommand.d.ts +6 -4
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +6 -4
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +6 -4
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +6 -4
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +6 -4
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +6 -4
- package/dist-types/commands/SubscribeCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UnsubscribeCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SNSServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/SNSClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SNSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
package/dist-cjs/index.js
CHANGED
|
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
4
4
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
-
var configResolver = require('@smithy/config-resolver');
|
|
8
7
|
var core = require('@smithy/core');
|
|
8
|
+
var client = require('@smithy/core/client');
|
|
9
|
+
var config = require('@smithy/core/config');
|
|
10
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
11
|
+
var protocols = require('@smithy/core/protocols');
|
|
12
|
+
var retry = require('@smithy/core/retry');
|
|
9
13
|
var schema = require('@smithy/core/schema');
|
|
10
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
17
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
18
|
var errors = require('./models/errors');
|
|
20
19
|
var SNSServiceException = require('./models/SNSServiceException');
|
|
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
76
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
77
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
78
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
79
78
|
};
|
|
80
79
|
|
|
81
|
-
class SNSClient extends
|
|
80
|
+
class SNSClient extends client.Client {
|
|
82
81
|
config;
|
|
83
82
|
constructor(...[configuration]) {
|
|
84
83
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -86,17 +85,17 @@ class SNSClient extends smithyClient.Client {
|
|
|
86
85
|
this.initConfig = _config_0;
|
|
87
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
88
87
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
89
|
-
const _config_3 =
|
|
90
|
-
const _config_4 =
|
|
88
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
91
90
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
92
|
-
const _config_6 =
|
|
91
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
93
92
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
94
93
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
95
94
|
this.config = _config_8;
|
|
96
95
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
this.middlewareStack.use(
|
|
97
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
100
99
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
101
100
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
102
101
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -113,11 +112,11 @@ class SNSClient extends smithyClient.Client {
|
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
|
|
116
|
-
class AddPermissionCommand extends
|
|
115
|
+
class AddPermissionCommand extends client.Command
|
|
117
116
|
.classBuilder()
|
|
118
117
|
.ep(commonParams)
|
|
119
118
|
.m(function (Command, cs, config, o) {
|
|
120
|
-
return [
|
|
119
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
121
120
|
})
|
|
122
121
|
.s("AmazonSimpleNotificationService", "AddPermission", {})
|
|
123
122
|
.n("SNSClient", "AddPermissionCommand")
|
|
@@ -125,11 +124,11 @@ class AddPermissionCommand extends smithyClient.Command
|
|
|
125
124
|
.build() {
|
|
126
125
|
}
|
|
127
126
|
|
|
128
|
-
class CheckIfPhoneNumberIsOptedOutCommand extends
|
|
127
|
+
class CheckIfPhoneNumberIsOptedOutCommand extends client.Command
|
|
129
128
|
.classBuilder()
|
|
130
129
|
.ep(commonParams)
|
|
131
130
|
.m(function (Command, cs, config, o) {
|
|
132
|
-
return [
|
|
131
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
133
132
|
})
|
|
134
133
|
.s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {})
|
|
135
134
|
.n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand")
|
|
@@ -137,11 +136,11 @@ class CheckIfPhoneNumberIsOptedOutCommand extends smithyClient.Command
|
|
|
137
136
|
.build() {
|
|
138
137
|
}
|
|
139
138
|
|
|
140
|
-
class ConfirmSubscriptionCommand extends
|
|
139
|
+
class ConfirmSubscriptionCommand extends client.Command
|
|
141
140
|
.classBuilder()
|
|
142
141
|
.ep(commonParams)
|
|
143
142
|
.m(function (Command, cs, config, o) {
|
|
144
|
-
return [
|
|
143
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
145
144
|
})
|
|
146
145
|
.s("AmazonSimpleNotificationService", "ConfirmSubscription", {})
|
|
147
146
|
.n("SNSClient", "ConfirmSubscriptionCommand")
|
|
@@ -149,11 +148,11 @@ class ConfirmSubscriptionCommand extends smithyClient.Command
|
|
|
149
148
|
.build() {
|
|
150
149
|
}
|
|
151
150
|
|
|
152
|
-
class CreatePlatformApplicationCommand extends
|
|
151
|
+
class CreatePlatformApplicationCommand extends client.Command
|
|
153
152
|
.classBuilder()
|
|
154
153
|
.ep(commonParams)
|
|
155
154
|
.m(function (Command, cs, config, o) {
|
|
156
|
-
return [
|
|
155
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
157
156
|
})
|
|
158
157
|
.s("AmazonSimpleNotificationService", "CreatePlatformApplication", {})
|
|
159
158
|
.n("SNSClient", "CreatePlatformApplicationCommand")
|
|
@@ -161,11 +160,11 @@ class CreatePlatformApplicationCommand extends smithyClient.Command
|
|
|
161
160
|
.build() {
|
|
162
161
|
}
|
|
163
162
|
|
|
164
|
-
class CreatePlatformEndpointCommand extends
|
|
163
|
+
class CreatePlatformEndpointCommand extends client.Command
|
|
165
164
|
.classBuilder()
|
|
166
165
|
.ep(commonParams)
|
|
167
166
|
.m(function (Command, cs, config, o) {
|
|
168
|
-
return [
|
|
167
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
169
168
|
})
|
|
170
169
|
.s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {})
|
|
171
170
|
.n("SNSClient", "CreatePlatformEndpointCommand")
|
|
@@ -173,11 +172,11 @@ class CreatePlatformEndpointCommand extends smithyClient.Command
|
|
|
173
172
|
.build() {
|
|
174
173
|
}
|
|
175
174
|
|
|
176
|
-
class CreateSMSSandboxPhoneNumberCommand extends
|
|
175
|
+
class CreateSMSSandboxPhoneNumberCommand extends client.Command
|
|
177
176
|
.classBuilder()
|
|
178
177
|
.ep(commonParams)
|
|
179
178
|
.m(function (Command, cs, config, o) {
|
|
180
|
-
return [
|
|
179
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
181
180
|
})
|
|
182
181
|
.s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
|
|
183
182
|
.n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
|
|
@@ -185,11 +184,11 @@ class CreateSMSSandboxPhoneNumberCommand extends smithyClient.Command
|
|
|
185
184
|
.build() {
|
|
186
185
|
}
|
|
187
186
|
|
|
188
|
-
class CreateTopicCommand extends
|
|
187
|
+
class CreateTopicCommand extends client.Command
|
|
189
188
|
.classBuilder()
|
|
190
189
|
.ep(commonParams)
|
|
191
190
|
.m(function (Command, cs, config, o) {
|
|
192
|
-
return [
|
|
191
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
193
192
|
})
|
|
194
193
|
.s("AmazonSimpleNotificationService", "CreateTopic", {})
|
|
195
194
|
.n("SNSClient", "CreateTopicCommand")
|
|
@@ -197,11 +196,11 @@ class CreateTopicCommand extends smithyClient.Command
|
|
|
197
196
|
.build() {
|
|
198
197
|
}
|
|
199
198
|
|
|
200
|
-
class DeleteEndpointCommand extends
|
|
199
|
+
class DeleteEndpointCommand extends client.Command
|
|
201
200
|
.classBuilder()
|
|
202
201
|
.ep(commonParams)
|
|
203
202
|
.m(function (Command, cs, config, o) {
|
|
204
|
-
return [
|
|
203
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
205
204
|
})
|
|
206
205
|
.s("AmazonSimpleNotificationService", "DeleteEndpoint", {})
|
|
207
206
|
.n("SNSClient", "DeleteEndpointCommand")
|
|
@@ -209,11 +208,11 @@ class DeleteEndpointCommand extends smithyClient.Command
|
|
|
209
208
|
.build() {
|
|
210
209
|
}
|
|
211
210
|
|
|
212
|
-
class DeletePlatformApplicationCommand extends
|
|
211
|
+
class DeletePlatformApplicationCommand extends client.Command
|
|
213
212
|
.classBuilder()
|
|
214
213
|
.ep(commonParams)
|
|
215
214
|
.m(function (Command, cs, config, o) {
|
|
216
|
-
return [
|
|
215
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
217
216
|
})
|
|
218
217
|
.s("AmazonSimpleNotificationService", "DeletePlatformApplication", {})
|
|
219
218
|
.n("SNSClient", "DeletePlatformApplicationCommand")
|
|
@@ -221,11 +220,11 @@ class DeletePlatformApplicationCommand extends smithyClient.Command
|
|
|
221
220
|
.build() {
|
|
222
221
|
}
|
|
223
222
|
|
|
224
|
-
class DeleteSMSSandboxPhoneNumberCommand extends
|
|
223
|
+
class DeleteSMSSandboxPhoneNumberCommand extends client.Command
|
|
225
224
|
.classBuilder()
|
|
226
225
|
.ep(commonParams)
|
|
227
226
|
.m(function (Command, cs, config, o) {
|
|
228
|
-
return [
|
|
227
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
229
228
|
})
|
|
230
229
|
.s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
|
|
231
230
|
.n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
|
|
@@ -233,11 +232,11 @@ class DeleteSMSSandboxPhoneNumberCommand extends smithyClient.Command
|
|
|
233
232
|
.build() {
|
|
234
233
|
}
|
|
235
234
|
|
|
236
|
-
class DeleteTopicCommand extends
|
|
235
|
+
class DeleteTopicCommand extends client.Command
|
|
237
236
|
.classBuilder()
|
|
238
237
|
.ep(commonParams)
|
|
239
238
|
.m(function (Command, cs, config, o) {
|
|
240
|
-
return [
|
|
239
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
241
240
|
})
|
|
242
241
|
.s("AmazonSimpleNotificationService", "DeleteTopic", {})
|
|
243
242
|
.n("SNSClient", "DeleteTopicCommand")
|
|
@@ -245,11 +244,11 @@ class DeleteTopicCommand extends smithyClient.Command
|
|
|
245
244
|
.build() {
|
|
246
245
|
}
|
|
247
246
|
|
|
248
|
-
class GetDataProtectionPolicyCommand extends
|
|
247
|
+
class GetDataProtectionPolicyCommand extends client.Command
|
|
249
248
|
.classBuilder()
|
|
250
249
|
.ep(commonParams)
|
|
251
250
|
.m(function (Command, cs, config, o) {
|
|
252
|
-
return [
|
|
251
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
253
252
|
})
|
|
254
253
|
.s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {})
|
|
255
254
|
.n("SNSClient", "GetDataProtectionPolicyCommand")
|
|
@@ -257,11 +256,11 @@ class GetDataProtectionPolicyCommand extends smithyClient.Command
|
|
|
257
256
|
.build() {
|
|
258
257
|
}
|
|
259
258
|
|
|
260
|
-
class GetEndpointAttributesCommand extends
|
|
259
|
+
class GetEndpointAttributesCommand extends client.Command
|
|
261
260
|
.classBuilder()
|
|
262
261
|
.ep(commonParams)
|
|
263
262
|
.m(function (Command, cs, config, o) {
|
|
264
|
-
return [
|
|
263
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
265
264
|
})
|
|
266
265
|
.s("AmazonSimpleNotificationService", "GetEndpointAttributes", {})
|
|
267
266
|
.n("SNSClient", "GetEndpointAttributesCommand")
|
|
@@ -269,11 +268,11 @@ class GetEndpointAttributesCommand extends smithyClient.Command
|
|
|
269
268
|
.build() {
|
|
270
269
|
}
|
|
271
270
|
|
|
272
|
-
class GetPlatformApplicationAttributesCommand extends
|
|
271
|
+
class GetPlatformApplicationAttributesCommand extends client.Command
|
|
273
272
|
.classBuilder()
|
|
274
273
|
.ep(commonParams)
|
|
275
274
|
.m(function (Command, cs, config, o) {
|
|
276
|
-
return [
|
|
275
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
277
276
|
})
|
|
278
277
|
.s("AmazonSimpleNotificationService", "GetPlatformApplicationAttributes", {})
|
|
279
278
|
.n("SNSClient", "GetPlatformApplicationAttributesCommand")
|
|
@@ -281,11 +280,11 @@ class GetPlatformApplicationAttributesCommand extends smithyClient.Command
|
|
|
281
280
|
.build() {
|
|
282
281
|
}
|
|
283
282
|
|
|
284
|
-
class GetSMSAttributesCommand extends
|
|
283
|
+
class GetSMSAttributesCommand extends client.Command
|
|
285
284
|
.classBuilder()
|
|
286
285
|
.ep(commonParams)
|
|
287
286
|
.m(function (Command, cs, config, o) {
|
|
288
|
-
return [
|
|
287
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
289
288
|
})
|
|
290
289
|
.s("AmazonSimpleNotificationService", "GetSMSAttributes", {})
|
|
291
290
|
.n("SNSClient", "GetSMSAttributesCommand")
|
|
@@ -293,11 +292,11 @@ class GetSMSAttributesCommand extends smithyClient.Command
|
|
|
293
292
|
.build() {
|
|
294
293
|
}
|
|
295
294
|
|
|
296
|
-
class GetSMSSandboxAccountStatusCommand extends
|
|
295
|
+
class GetSMSSandboxAccountStatusCommand extends client.Command
|
|
297
296
|
.classBuilder()
|
|
298
297
|
.ep(commonParams)
|
|
299
298
|
.m(function (Command, cs, config, o) {
|
|
300
|
-
return [
|
|
299
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
301
300
|
})
|
|
302
301
|
.s("AmazonSimpleNotificationService", "GetSMSSandboxAccountStatus", {})
|
|
303
302
|
.n("SNSClient", "GetSMSSandboxAccountStatusCommand")
|
|
@@ -305,11 +304,11 @@ class GetSMSSandboxAccountStatusCommand extends smithyClient.Command
|
|
|
305
304
|
.build() {
|
|
306
305
|
}
|
|
307
306
|
|
|
308
|
-
class GetSubscriptionAttributesCommand extends
|
|
307
|
+
class GetSubscriptionAttributesCommand extends client.Command
|
|
309
308
|
.classBuilder()
|
|
310
309
|
.ep(commonParams)
|
|
311
310
|
.m(function (Command, cs, config, o) {
|
|
312
|
-
return [
|
|
311
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
313
312
|
})
|
|
314
313
|
.s("AmazonSimpleNotificationService", "GetSubscriptionAttributes", {})
|
|
315
314
|
.n("SNSClient", "GetSubscriptionAttributesCommand")
|
|
@@ -317,11 +316,11 @@ class GetSubscriptionAttributesCommand extends smithyClient.Command
|
|
|
317
316
|
.build() {
|
|
318
317
|
}
|
|
319
318
|
|
|
320
|
-
class GetTopicAttributesCommand extends
|
|
319
|
+
class GetTopicAttributesCommand extends client.Command
|
|
321
320
|
.classBuilder()
|
|
322
321
|
.ep(commonParams)
|
|
323
322
|
.m(function (Command, cs, config, o) {
|
|
324
|
-
return [
|
|
323
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
325
324
|
})
|
|
326
325
|
.s("AmazonSimpleNotificationService", "GetTopicAttributes", {})
|
|
327
326
|
.n("SNSClient", "GetTopicAttributesCommand")
|
|
@@ -329,11 +328,11 @@ class GetTopicAttributesCommand extends smithyClient.Command
|
|
|
329
328
|
.build() {
|
|
330
329
|
}
|
|
331
330
|
|
|
332
|
-
class ListEndpointsByPlatformApplicationCommand extends
|
|
331
|
+
class ListEndpointsByPlatformApplicationCommand extends client.Command
|
|
333
332
|
.classBuilder()
|
|
334
333
|
.ep(commonParams)
|
|
335
334
|
.m(function (Command, cs, config, o) {
|
|
336
|
-
return [
|
|
335
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
337
336
|
})
|
|
338
337
|
.s("AmazonSimpleNotificationService", "ListEndpointsByPlatformApplication", {})
|
|
339
338
|
.n("SNSClient", "ListEndpointsByPlatformApplicationCommand")
|
|
@@ -341,11 +340,11 @@ class ListEndpointsByPlatformApplicationCommand extends smithyClient.Command
|
|
|
341
340
|
.build() {
|
|
342
341
|
}
|
|
343
342
|
|
|
344
|
-
class ListOriginationNumbersCommand extends
|
|
343
|
+
class ListOriginationNumbersCommand extends client.Command
|
|
345
344
|
.classBuilder()
|
|
346
345
|
.ep(commonParams)
|
|
347
346
|
.m(function (Command, cs, config, o) {
|
|
348
|
-
return [
|
|
347
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
349
348
|
})
|
|
350
349
|
.s("AmazonSimpleNotificationService", "ListOriginationNumbers", {})
|
|
351
350
|
.n("SNSClient", "ListOriginationNumbersCommand")
|
|
@@ -353,11 +352,11 @@ class ListOriginationNumbersCommand extends smithyClient.Command
|
|
|
353
352
|
.build() {
|
|
354
353
|
}
|
|
355
354
|
|
|
356
|
-
class ListPhoneNumbersOptedOutCommand extends
|
|
355
|
+
class ListPhoneNumbersOptedOutCommand extends client.Command
|
|
357
356
|
.classBuilder()
|
|
358
357
|
.ep(commonParams)
|
|
359
358
|
.m(function (Command, cs, config, o) {
|
|
360
|
-
return [
|
|
359
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
361
360
|
})
|
|
362
361
|
.s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {})
|
|
363
362
|
.n("SNSClient", "ListPhoneNumbersOptedOutCommand")
|
|
@@ -365,11 +364,11 @@ class ListPhoneNumbersOptedOutCommand extends smithyClient.Command
|
|
|
365
364
|
.build() {
|
|
366
365
|
}
|
|
367
366
|
|
|
368
|
-
class ListPlatformApplicationsCommand extends
|
|
367
|
+
class ListPlatformApplicationsCommand extends client.Command
|
|
369
368
|
.classBuilder()
|
|
370
369
|
.ep(commonParams)
|
|
371
370
|
.m(function (Command, cs, config, o) {
|
|
372
|
-
return [
|
|
371
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
373
372
|
})
|
|
374
373
|
.s("AmazonSimpleNotificationService", "ListPlatformApplications", {})
|
|
375
374
|
.n("SNSClient", "ListPlatformApplicationsCommand")
|
|
@@ -377,11 +376,11 @@ class ListPlatformApplicationsCommand extends smithyClient.Command
|
|
|
377
376
|
.build() {
|
|
378
377
|
}
|
|
379
378
|
|
|
380
|
-
class ListSMSSandboxPhoneNumbersCommand extends
|
|
379
|
+
class ListSMSSandboxPhoneNumbersCommand extends client.Command
|
|
381
380
|
.classBuilder()
|
|
382
381
|
.ep(commonParams)
|
|
383
382
|
.m(function (Command, cs, config, o) {
|
|
384
|
-
return [
|
|
383
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
385
384
|
})
|
|
386
385
|
.s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {})
|
|
387
386
|
.n("SNSClient", "ListSMSSandboxPhoneNumbersCommand")
|
|
@@ -389,11 +388,11 @@ class ListSMSSandboxPhoneNumbersCommand extends smithyClient.Command
|
|
|
389
388
|
.build() {
|
|
390
389
|
}
|
|
391
390
|
|
|
392
|
-
class ListSubscriptionsByTopicCommand extends
|
|
391
|
+
class ListSubscriptionsByTopicCommand extends client.Command
|
|
393
392
|
.classBuilder()
|
|
394
393
|
.ep(commonParams)
|
|
395
394
|
.m(function (Command, cs, config, o) {
|
|
396
|
-
return [
|
|
395
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
397
396
|
})
|
|
398
397
|
.s("AmazonSimpleNotificationService", "ListSubscriptionsByTopic", {})
|
|
399
398
|
.n("SNSClient", "ListSubscriptionsByTopicCommand")
|
|
@@ -401,11 +400,11 @@ class ListSubscriptionsByTopicCommand extends smithyClient.Command
|
|
|
401
400
|
.build() {
|
|
402
401
|
}
|
|
403
402
|
|
|
404
|
-
class ListSubscriptionsCommand extends
|
|
403
|
+
class ListSubscriptionsCommand extends client.Command
|
|
405
404
|
.classBuilder()
|
|
406
405
|
.ep(commonParams)
|
|
407
406
|
.m(function (Command, cs, config, o) {
|
|
408
|
-
return [
|
|
407
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
409
408
|
})
|
|
410
409
|
.s("AmazonSimpleNotificationService", "ListSubscriptions", {})
|
|
411
410
|
.n("SNSClient", "ListSubscriptionsCommand")
|
|
@@ -413,11 +412,11 @@ class ListSubscriptionsCommand extends smithyClient.Command
|
|
|
413
412
|
.build() {
|
|
414
413
|
}
|
|
415
414
|
|
|
416
|
-
class ListTagsForResourceCommand extends
|
|
415
|
+
class ListTagsForResourceCommand extends client.Command
|
|
417
416
|
.classBuilder()
|
|
418
417
|
.ep(commonParams)
|
|
419
418
|
.m(function (Command, cs, config, o) {
|
|
420
|
-
return [
|
|
419
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
421
420
|
})
|
|
422
421
|
.s("AmazonSimpleNotificationService", "ListTagsForResource", {})
|
|
423
422
|
.n("SNSClient", "ListTagsForResourceCommand")
|
|
@@ -425,11 +424,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
425
424
|
.build() {
|
|
426
425
|
}
|
|
427
426
|
|
|
428
|
-
class ListTopicsCommand extends
|
|
427
|
+
class ListTopicsCommand extends client.Command
|
|
429
428
|
.classBuilder()
|
|
430
429
|
.ep(commonParams)
|
|
431
430
|
.m(function (Command, cs, config, o) {
|
|
432
|
-
return [
|
|
431
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
433
432
|
})
|
|
434
433
|
.s("AmazonSimpleNotificationService", "ListTopics", {})
|
|
435
434
|
.n("SNSClient", "ListTopicsCommand")
|
|
@@ -437,11 +436,11 @@ class ListTopicsCommand extends smithyClient.Command
|
|
|
437
436
|
.build() {
|
|
438
437
|
}
|
|
439
438
|
|
|
440
|
-
class OptInPhoneNumberCommand extends
|
|
439
|
+
class OptInPhoneNumberCommand extends client.Command
|
|
441
440
|
.classBuilder()
|
|
442
441
|
.ep(commonParams)
|
|
443
442
|
.m(function (Command, cs, config, o) {
|
|
444
|
-
return [
|
|
443
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
445
444
|
})
|
|
446
445
|
.s("AmazonSimpleNotificationService", "OptInPhoneNumber", {})
|
|
447
446
|
.n("SNSClient", "OptInPhoneNumberCommand")
|
|
@@ -449,11 +448,11 @@ class OptInPhoneNumberCommand extends smithyClient.Command
|
|
|
449
448
|
.build() {
|
|
450
449
|
}
|
|
451
450
|
|
|
452
|
-
class PublishBatchCommand extends
|
|
451
|
+
class PublishBatchCommand extends client.Command
|
|
453
452
|
.classBuilder()
|
|
454
453
|
.ep(commonParams)
|
|
455
454
|
.m(function (Command, cs, config, o) {
|
|
456
|
-
return [
|
|
455
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
457
456
|
})
|
|
458
457
|
.s("AmazonSimpleNotificationService", "PublishBatch", {})
|
|
459
458
|
.n("SNSClient", "PublishBatchCommand")
|
|
@@ -461,11 +460,11 @@ class PublishBatchCommand extends smithyClient.Command
|
|
|
461
460
|
.build() {
|
|
462
461
|
}
|
|
463
462
|
|
|
464
|
-
class PublishCommand extends
|
|
463
|
+
class PublishCommand extends client.Command
|
|
465
464
|
.classBuilder()
|
|
466
465
|
.ep(commonParams)
|
|
467
466
|
.m(function (Command, cs, config, o) {
|
|
468
|
-
return [
|
|
467
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
469
468
|
})
|
|
470
469
|
.s("AmazonSimpleNotificationService", "Publish", {})
|
|
471
470
|
.n("SNSClient", "PublishCommand")
|
|
@@ -473,11 +472,11 @@ class PublishCommand extends smithyClient.Command
|
|
|
473
472
|
.build() {
|
|
474
473
|
}
|
|
475
474
|
|
|
476
|
-
class PutDataProtectionPolicyCommand extends
|
|
475
|
+
class PutDataProtectionPolicyCommand extends client.Command
|
|
477
476
|
.classBuilder()
|
|
478
477
|
.ep(commonParams)
|
|
479
478
|
.m(function (Command, cs, config, o) {
|
|
480
|
-
return [
|
|
479
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
481
480
|
})
|
|
482
481
|
.s("AmazonSimpleNotificationService", "PutDataProtectionPolicy", {})
|
|
483
482
|
.n("SNSClient", "PutDataProtectionPolicyCommand")
|
|
@@ -485,11 +484,11 @@ class PutDataProtectionPolicyCommand extends smithyClient.Command
|
|
|
485
484
|
.build() {
|
|
486
485
|
}
|
|
487
486
|
|
|
488
|
-
class RemovePermissionCommand extends
|
|
487
|
+
class RemovePermissionCommand extends client.Command
|
|
489
488
|
.classBuilder()
|
|
490
489
|
.ep(commonParams)
|
|
491
490
|
.m(function (Command, cs, config, o) {
|
|
492
|
-
return [
|
|
491
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
493
492
|
})
|
|
494
493
|
.s("AmazonSimpleNotificationService", "RemovePermission", {})
|
|
495
494
|
.n("SNSClient", "RemovePermissionCommand")
|
|
@@ -497,11 +496,11 @@ class RemovePermissionCommand extends smithyClient.Command
|
|
|
497
496
|
.build() {
|
|
498
497
|
}
|
|
499
498
|
|
|
500
|
-
class SetEndpointAttributesCommand extends
|
|
499
|
+
class SetEndpointAttributesCommand extends client.Command
|
|
501
500
|
.classBuilder()
|
|
502
501
|
.ep(commonParams)
|
|
503
502
|
.m(function (Command, cs, config, o) {
|
|
504
|
-
return [
|
|
503
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
505
504
|
})
|
|
506
505
|
.s("AmazonSimpleNotificationService", "SetEndpointAttributes", {})
|
|
507
506
|
.n("SNSClient", "SetEndpointAttributesCommand")
|
|
@@ -509,11 +508,11 @@ class SetEndpointAttributesCommand extends smithyClient.Command
|
|
|
509
508
|
.build() {
|
|
510
509
|
}
|
|
511
510
|
|
|
512
|
-
class SetPlatformApplicationAttributesCommand extends
|
|
511
|
+
class SetPlatformApplicationAttributesCommand extends client.Command
|
|
513
512
|
.classBuilder()
|
|
514
513
|
.ep(commonParams)
|
|
515
514
|
.m(function (Command, cs, config, o) {
|
|
516
|
-
return [
|
|
515
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
517
516
|
})
|
|
518
517
|
.s("AmazonSimpleNotificationService", "SetPlatformApplicationAttributes", {})
|
|
519
518
|
.n("SNSClient", "SetPlatformApplicationAttributesCommand")
|
|
@@ -521,11 +520,11 @@ class SetPlatformApplicationAttributesCommand extends smithyClient.Command
|
|
|
521
520
|
.build() {
|
|
522
521
|
}
|
|
523
522
|
|
|
524
|
-
class SetSMSAttributesCommand extends
|
|
523
|
+
class SetSMSAttributesCommand extends client.Command
|
|
525
524
|
.classBuilder()
|
|
526
525
|
.ep(commonParams)
|
|
527
526
|
.m(function (Command, cs, config, o) {
|
|
528
|
-
return [
|
|
527
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
529
528
|
})
|
|
530
529
|
.s("AmazonSimpleNotificationService", "SetSMSAttributes", {})
|
|
531
530
|
.n("SNSClient", "SetSMSAttributesCommand")
|
|
@@ -533,11 +532,11 @@ class SetSMSAttributesCommand extends smithyClient.Command
|
|
|
533
532
|
.build() {
|
|
534
533
|
}
|
|
535
534
|
|
|
536
|
-
class SetSubscriptionAttributesCommand extends
|
|
535
|
+
class SetSubscriptionAttributesCommand extends client.Command
|
|
537
536
|
.classBuilder()
|
|
538
537
|
.ep(commonParams)
|
|
539
538
|
.m(function (Command, cs, config, o) {
|
|
540
|
-
return [
|
|
539
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
541
540
|
})
|
|
542
541
|
.s("AmazonSimpleNotificationService", "SetSubscriptionAttributes", {})
|
|
543
542
|
.n("SNSClient", "SetSubscriptionAttributesCommand")
|
|
@@ -545,11 +544,11 @@ class SetSubscriptionAttributesCommand extends smithyClient.Command
|
|
|
545
544
|
.build() {
|
|
546
545
|
}
|
|
547
546
|
|
|
548
|
-
class SetTopicAttributesCommand extends
|
|
547
|
+
class SetTopicAttributesCommand extends client.Command
|
|
549
548
|
.classBuilder()
|
|
550
549
|
.ep(commonParams)
|
|
551
550
|
.m(function (Command, cs, config, o) {
|
|
552
|
-
return [
|
|
551
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
553
552
|
})
|
|
554
553
|
.s("AmazonSimpleNotificationService", "SetTopicAttributes", {})
|
|
555
554
|
.n("SNSClient", "SetTopicAttributesCommand")
|
|
@@ -557,11 +556,11 @@ class SetTopicAttributesCommand extends smithyClient.Command
|
|
|
557
556
|
.build() {
|
|
558
557
|
}
|
|
559
558
|
|
|
560
|
-
class SubscribeCommand extends
|
|
559
|
+
class SubscribeCommand extends client.Command
|
|
561
560
|
.classBuilder()
|
|
562
561
|
.ep(commonParams)
|
|
563
562
|
.m(function (Command, cs, config, o) {
|
|
564
|
-
return [
|
|
563
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
565
564
|
})
|
|
566
565
|
.s("AmazonSimpleNotificationService", "Subscribe", {})
|
|
567
566
|
.n("SNSClient", "SubscribeCommand")
|
|
@@ -569,11 +568,11 @@ class SubscribeCommand extends smithyClient.Command
|
|
|
569
568
|
.build() {
|
|
570
569
|
}
|
|
571
570
|
|
|
572
|
-
class TagResourceCommand extends
|
|
571
|
+
class TagResourceCommand extends client.Command
|
|
573
572
|
.classBuilder()
|
|
574
573
|
.ep(commonParams)
|
|
575
574
|
.m(function (Command, cs, config, o) {
|
|
576
|
-
return [
|
|
575
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
577
576
|
})
|
|
578
577
|
.s("AmazonSimpleNotificationService", "TagResource", {})
|
|
579
578
|
.n("SNSClient", "TagResourceCommand")
|
|
@@ -581,11 +580,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
581
580
|
.build() {
|
|
582
581
|
}
|
|
583
582
|
|
|
584
|
-
class UnsubscribeCommand extends
|
|
583
|
+
class UnsubscribeCommand extends client.Command
|
|
585
584
|
.classBuilder()
|
|
586
585
|
.ep(commonParams)
|
|
587
586
|
.m(function (Command, cs, config, o) {
|
|
588
|
-
return [
|
|
587
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
589
588
|
})
|
|
590
589
|
.s("AmazonSimpleNotificationService", "Unsubscribe", {})
|
|
591
590
|
.n("SNSClient", "UnsubscribeCommand")
|
|
@@ -593,11 +592,11 @@ class UnsubscribeCommand extends smithyClient.Command
|
|
|
593
592
|
.build() {
|
|
594
593
|
}
|
|
595
594
|
|
|
596
|
-
class UntagResourceCommand extends
|
|
595
|
+
class UntagResourceCommand extends client.Command
|
|
597
596
|
.classBuilder()
|
|
598
597
|
.ep(commonParams)
|
|
599
598
|
.m(function (Command, cs, config, o) {
|
|
600
|
-
return [
|
|
599
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
601
600
|
})
|
|
602
601
|
.s("AmazonSimpleNotificationService", "UntagResource", {})
|
|
603
602
|
.n("SNSClient", "UntagResourceCommand")
|
|
@@ -605,11 +604,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
605
604
|
.build() {
|
|
606
605
|
}
|
|
607
606
|
|
|
608
|
-
class VerifySMSSandboxPhoneNumberCommand extends
|
|
607
|
+
class VerifySMSSandboxPhoneNumberCommand extends client.Command
|
|
609
608
|
.classBuilder()
|
|
610
609
|
.ep(commonParams)
|
|
611
610
|
.m(function (Command, cs, config, o) {
|
|
612
|
-
return [
|
|
611
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
613
612
|
})
|
|
614
613
|
.s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {})
|
|
615
614
|
.n("SNSClient", "VerifySMSSandboxPhoneNumberCommand")
|
|
@@ -689,7 +688,7 @@ const paginators = {
|
|
|
689
688
|
};
|
|
690
689
|
class SNS extends SNSClient {
|
|
691
690
|
}
|
|
692
|
-
|
|
691
|
+
client.createAggregatedClient(commands, SNS, { paginators });
|
|
693
692
|
|
|
694
693
|
const LanguageCodeString = {
|
|
695
694
|
de_DE: "de-DE",
|
|
@@ -721,8 +720,8 @@ const SMSSandboxPhoneNumberVerificationStatus = {
|
|
|
721
720
|
Verified: "Verified",
|
|
722
721
|
};
|
|
723
722
|
|
|
724
|
-
exports.$Command =
|
|
725
|
-
exports.__Client =
|
|
723
|
+
exports.$Command = client.Command;
|
|
724
|
+
exports.__Client = client.Client;
|
|
726
725
|
exports.SNSServiceException = SNSServiceException.SNSServiceException;
|
|
727
726
|
exports.AddPermissionCommand = AddPermissionCommand;
|
|
728
727
|
exports.CheckIfPhoneNumberIsOptedOutCommand = CheckIfPhoneNumberIsOptedOutCommand;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SNSServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class SNSServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class SNSServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, SNSServiceException.prototype);
|