@aws-sdk/client-sns 3.478.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-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-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/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/package.json +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreatePlatformApplicationCommand, se_CreatePlatformApplicationCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePlatformApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "CreatePlatformApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "CreatePlatformApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreatePlatformApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreatePlatformApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreatePlatformApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "CreatePlatformApplication", {})
|
|
19
|
+
.n("SNSClient", "CreatePlatformApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePlatformApplicationCommand)
|
|
22
|
+
.de(de_CreatePlatformApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreatePlatformEndpointCommand, se_CreatePlatformEndpointCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePlatformEndpointCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "CreatePlatformEndpointCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "CreatePlatformEndpoint",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreatePlatformEndpointCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreatePlatformEndpointCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreatePlatformEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {})
|
|
19
|
+
.n("SNSClient", "CreatePlatformEndpointCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePlatformEndpointCommand)
|
|
22
|
+
.de(de_CreatePlatformEndpointCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateSMSSandboxPhoneNumberCommand, se_CreateSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateSMSSandboxPhoneNumberCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "CreateSMSSandboxPhoneNumberCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "CreateSMSSandboxPhoneNumber",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateSMSSandboxPhoneNumberCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateSMSSandboxPhoneNumberCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateSMSSandboxPhoneNumberCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
|
|
19
|
+
.n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateSMSSandboxPhoneNumberCommand)
|
|
22
|
+
.de(de_CreateSMSSandboxPhoneNumberCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateTopicCommand, se_CreateTopicCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateTopicCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "CreateTopicCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "CreateTopic",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateTopicCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateTopicCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateTopicCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "CreateTopic", {})
|
|
19
|
+
.n("SNSClient", "CreateTopicCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateTopicCommand)
|
|
22
|
+
.de(de_CreateTopicCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteEndpointCommand, se_DeleteEndpointCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteEndpointCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "DeleteEndpointCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "DeleteEndpoint",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteEndpointCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteEndpointCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "DeleteEndpoint", {})
|
|
19
|
+
.n("SNSClient", "DeleteEndpointCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteEndpointCommand)
|
|
22
|
+
.de(de_DeleteEndpointCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeletePlatformApplicationCommand, se_DeletePlatformApplicationCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeletePlatformApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "DeletePlatformApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "DeletePlatformApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeletePlatformApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeletePlatformApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeletePlatformApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "DeletePlatformApplication", {})
|
|
19
|
+
.n("SNSClient", "DeletePlatformApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeletePlatformApplicationCommand)
|
|
22
|
+
.de(de_DeletePlatformApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteSMSSandboxPhoneNumberCommand, se_DeleteSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteSMSSandboxPhoneNumberCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "DeleteSMSSandboxPhoneNumberCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "DeleteSMSSandboxPhoneNumber",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteSMSSandboxPhoneNumberCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteSMSSandboxPhoneNumberCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteSMSSandboxPhoneNumberCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
|
|
19
|
+
.n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteSMSSandboxPhoneNumberCommand)
|
|
22
|
+
.de(de_DeleteSMSSandboxPhoneNumberCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteTopicCommand, se_DeleteTopicCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteTopicCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "DeleteTopicCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "DeleteTopic",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteTopicCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteTopicCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteTopicCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "DeleteTopic", {})
|
|
19
|
+
.n("SNSClient", "DeleteTopicCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteTopicCommand)
|
|
22
|
+
.de(de_DeleteTopicCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetDataProtectionPolicyCommand, se_GetDataProtectionPolicyCommand } from "../protocols/Aws_query";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetDataProtectionPolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SNSClient";
|
|
26
|
-
const commandName = "GetDataProtectionPolicyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSimpleNotificationService",
|
|
35
|
-
operation: "GetDataProtectionPolicy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetDataProtectionPolicyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetDataProtectionPolicyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetDataProtectionPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {})
|
|
19
|
+
.n("SNSClient", "GetDataProtectionPolicyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetDataProtectionPolicyCommand)
|
|
22
|
+
.de(de_GetDataProtectionPolicyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|