@aws-sdk/client-sns 3.477.0 → 3.481.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/commands/AddPermissionCommand.js +18 -41
- package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +18 -41
- package/dist-cjs/commands/ConfirmSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreatePlatformApplicationCommand.js +18 -41
- package/dist-cjs/commands/CreatePlatformEndpointCommand.js +18 -41
- package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/CreateTopicCommand.js +18 -41
- package/dist-cjs/commands/DeleteEndpointCommand.js +18 -41
- package/dist-cjs/commands/DeletePlatformApplicationCommand.js +18 -41
- package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/DeleteTopicCommand.js +18 -41
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetEndpointAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetSMSAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +18 -41
- package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetTopicAttributesCommand.js +18 -41
- package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +18 -41
- package/dist-cjs/commands/ListOriginationNumbersCommand.js +18 -41
- package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +18 -41
- package/dist-cjs/commands/ListPlatformApplicationsCommand.js +18 -41
- package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +18 -41
- package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +18 -41
- package/dist-cjs/commands/ListSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTopicsCommand.js +18 -41
- package/dist-cjs/commands/OptInPhoneNumberCommand.js +18 -41
- package/dist-cjs/commands/PublishBatchCommand.js +18 -41
- package/dist-cjs/commands/PublishCommand.js +18 -41
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +18 -41
- package/dist-cjs/commands/RemovePermissionCommand.js +18 -41
- package/dist-cjs/commands/SetEndpointAttributesCommand.js +18 -41
- package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +18 -41
- package/dist-cjs/commands/SetSMSAttributesCommand.js +18 -41
- package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +18 -41
- package/dist-cjs/commands/SetTopicAttributesCommand.js +18 -41
- package/dist-cjs/commands/SubscribeCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UnsubscribeCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListEndpointsByPlatformApplicationPaginator.js +2 -23
- package/dist-cjs/pagination/ListOriginationNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersOptedOutPaginator.js +2 -23
- package/dist-cjs/pagination/ListPlatformApplicationsPaginator.js +2 -23
- package/dist-cjs/pagination/ListSMSSandboxPhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/ListSubscriptionsByTopicPaginator.js +2 -23
- package/dist-cjs/pagination/ListSubscriptionsPaginator.js +2 -23
- package/dist-cjs/pagination/ListTopicsPaginator.js +2 -23
- package/dist-es/commands/AddPermissionCommand.js +18 -41
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +18 -41
- package/dist-es/commands/ConfirmSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreatePlatformApplicationCommand.js +18 -41
- package/dist-es/commands/CreatePlatformEndpointCommand.js +18 -41
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-es/commands/CreateTopicCommand.js +18 -41
- package/dist-es/commands/DeleteEndpointCommand.js +18 -41
- package/dist-es/commands/DeletePlatformApplicationCommand.js +18 -41
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-es/commands/DeleteTopicCommand.js +18 -41
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +18 -41
- package/dist-es/commands/GetEndpointAttributesCommand.js +18 -41
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +18 -41
- package/dist-es/commands/GetSMSAttributesCommand.js +18 -41
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +18 -41
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +18 -41
- package/dist-es/commands/GetTopicAttributesCommand.js +18 -41
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +18 -41
- package/dist-es/commands/ListOriginationNumbersCommand.js +18 -41
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +18 -41
- package/dist-es/commands/ListPlatformApplicationsCommand.js +18 -41
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +18 -41
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +18 -41
- package/dist-es/commands/ListSubscriptionsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTopicsCommand.js +18 -41
- package/dist-es/commands/OptInPhoneNumberCommand.js +18 -41
- package/dist-es/commands/PublishBatchCommand.js +18 -41
- package/dist-es/commands/PublishCommand.js +18 -41
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +18 -41
- package/dist-es/commands/RemovePermissionCommand.js +18 -41
- package/dist-es/commands/SetEndpointAttributesCommand.js +18 -41
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +18 -41
- package/dist-es/commands/SetSMSAttributesCommand.js +18 -41
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +18 -41
- package/dist-es/commands/SetTopicAttributesCommand.js +18 -41
- package/dist-es/commands/SubscribeCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UnsubscribeCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListEndpointsByPlatformApplicationPaginator.js +2 -22
- package/dist-es/pagination/ListOriginationNumbersPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersOptedOutPaginator.js +2 -22
- package/dist-es/pagination/ListPlatformApplicationsPaginator.js +2 -22
- package/dist-es/pagination/ListSMSSandboxPhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/ListSubscriptionsByTopicPaginator.js +2 -22
- package/dist-es/pagination/ListSubscriptionsPaginator.js +2 -22
- package/dist-es/pagination/ListTopicsPaginator.js +2 -22
- package/dist-types/commands/AddPermissionCommand.d.ts +6 -21
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +6 -21
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +6 -21
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +6 -21
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/CreateTopicCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTopicCommand.d.ts +6 -21
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +6 -21
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +6 -21
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +6 -21
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +6 -21
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +6 -21
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +6 -21
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTopicsCommand.d.ts +6 -21
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +6 -21
- package/dist-types/commands/PublishBatchCommand.d.ts +6 -21
- package/dist-types/commands/PublishCommand.d.ts +6 -21
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RemovePermissionCommand.d.ts +6 -21
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SubscribeCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UnsubscribeCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class OptInPhoneNumberCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "OptInPhoneNumberCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "OptInPhoneNumber",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_OptInPhoneNumberCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_OptInPhoneNumberCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class OptInPhoneNumberCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "OptInPhoneNumber", {})
|
|
22
|
+
.n("SNSClient", "OptInPhoneNumberCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_OptInPhoneNumberCommand)
|
|
25
|
+
.de(Aws_query_1.de_OptInPhoneNumberCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.OptInPhoneNumberCommand = OptInPhoneNumberCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PublishBatchCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "PublishBatchCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "PublishBatch",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PublishBatchCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PublishBatchCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PublishBatchCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "PublishBatch", {})
|
|
22
|
+
.n("SNSClient", "PublishBatchCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PublishBatchCommand)
|
|
25
|
+
.de(Aws_query_1.de_PublishBatchCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PublishBatchCommand = PublishBatchCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PublishCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "PublishCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "Publish",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PublishCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PublishCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PublishCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "Publish", {})
|
|
22
|
+
.n("SNSClient", "PublishCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PublishCommand)
|
|
25
|
+
.de(Aws_query_1.de_PublishCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PublishCommand = PublishCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class PutDataProtectionPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "PutDataProtectionPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "PutDataProtectionPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_PutDataProtectionPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_PutDataProtectionPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutDataProtectionPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "PutDataProtectionPolicy", {})
|
|
22
|
+
.n("SNSClient", "PutDataProtectionPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_PutDataProtectionPolicyCommand)
|
|
25
|
+
.de(Aws_query_1.de_PutDataProtectionPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutDataProtectionPolicyCommand = PutDataProtectionPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class RemovePermissionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "RemovePermissionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "RemovePermission",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_RemovePermissionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_RemovePermissionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class RemovePermissionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "RemovePermission", {})
|
|
22
|
+
.n("SNSClient", "RemovePermissionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_RemovePermissionCommand)
|
|
25
|
+
.de(Aws_query_1.de_RemovePermissionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.RemovePermissionCommand = RemovePermissionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class SetEndpointAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "SetEndpointAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "SetEndpointAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_SetEndpointAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_SetEndpointAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetEndpointAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "SetEndpointAttributes", {})
|
|
22
|
+
.n("SNSClient", "SetEndpointAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_SetEndpointAttributesCommand)
|
|
25
|
+
.de(Aws_query_1.de_SetEndpointAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetEndpointAttributesCommand = SetEndpointAttributesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class SetPlatformApplicationAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "SetPlatformApplicationAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "SetPlatformApplicationAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_SetPlatformApplicationAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_SetPlatformApplicationAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetPlatformApplicationAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "SetPlatformApplicationAttributes", {})
|
|
22
|
+
.n("SNSClient", "SetPlatformApplicationAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_SetPlatformApplicationAttributesCommand)
|
|
25
|
+
.de(Aws_query_1.de_SetPlatformApplicationAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetPlatformApplicationAttributesCommand = SetPlatformApplicationAttributesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class SetSMSAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "SetSMSAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "SetSMSAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_SetSMSAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_SetSMSAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetSMSAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "SetSMSAttributes", {})
|
|
22
|
+
.n("SNSClient", "SetSMSAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_SetSMSAttributesCommand)
|
|
25
|
+
.de(Aws_query_1.de_SetSMSAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetSMSAttributesCommand = SetSMSAttributesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
-
class SetSubscriptionAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SNSClient";
|
|
29
|
-
const commandName = "SetSubscriptionAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSimpleNotificationService",
|
|
38
|
-
operation: "SetSubscriptionAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_query_1.se_SetSubscriptionAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_query_1.de_SetSubscriptionAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetSubscriptionAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSimpleNotificationService", "SetSubscriptionAttributes", {})
|
|
22
|
+
.n("SNSClient", "SetSubscriptionAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_query_1.se_SetSubscriptionAttributesCommand)
|
|
25
|
+
.de(Aws_query_1.de_SetSubscriptionAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetSubscriptionAttributesCommand = SetSubscriptionAttributesCommand;
|