@aws-sdk/client-sns 3.1076.0 → 3.1078.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +135 -507
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AddPermissionCommand.js +2 -14
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -14
- package/dist-es/commands/ConfirmSubscriptionCommand.js +2 -14
- package/dist-es/commands/CreatePlatformApplicationCommand.js +2 -14
- package/dist-es/commands/CreatePlatformEndpointCommand.js +2 -14
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -14
- package/dist-es/commands/CreateTopicCommand.js +2 -14
- package/dist-es/commands/DeleteEndpointCommand.js +2 -14
- package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -14
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -14
- package/dist-es/commands/DeleteTopicCommand.js +2 -14
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -14
- package/dist-es/commands/GetEndpointAttributesCommand.js +2 -14
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +2 -14
- package/dist-es/commands/GetSMSAttributesCommand.js +2 -14
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +2 -14
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +2 -14
- package/dist-es/commands/GetTopicAttributesCommand.js +2 -14
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +2 -14
- package/dist-es/commands/ListOriginationNumbersCommand.js +2 -14
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -14
- package/dist-es/commands/ListPlatformApplicationsCommand.js +2 -14
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -14
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +2 -14
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTopicsCommand.js +2 -14
- package/dist-es/commands/OptInPhoneNumberCommand.js +2 -14
- package/dist-es/commands/PublishBatchCommand.js +2 -14
- package/dist-es/commands/PublishCommand.js +2 -14
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -14
- package/dist-es/commands/RemovePermissionCommand.js +2 -14
- package/dist-es/commands/SetEndpointAttributesCommand.js +2 -14
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -14
- package/dist-es/commands/SetSMSAttributesCommand.js +2 -14
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -14
- package/dist-es/commands/SetTopicAttributesCommand.js +2 -14
- package/dist-es/commands/SubscribeCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UnsubscribeCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +3 -8
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -8
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -8
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -8
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -8
- package/dist-types/commands/CreateTopicCommand.d.ts +3 -8
- package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTopicCommand.d.ts +3 -8
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -8
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -8
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -8
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -8
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -8
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -8
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -8
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -8
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -8
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -8
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -8
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -8
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTopicsCommand.d.ts +3 -8
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -8
- package/dist-types/commands/PublishBatchCommand.d.ts +3 -8
- package/dist-types/commands/PublishCommand.d.ts +3 -8
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -8
- package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -8
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -8
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -8
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -8
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -8
- package/dist-types/commands/SubscribeCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UnsubscribeCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonSimpleNotificationService", "SNSClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AddPermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AddPermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "AddPermission", {})
|
|
13
|
-
.n("SNSClient", "AddPermissionCommand")
|
|
14
|
-
.sc(AddPermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AddPermissionCommand extends command(_ep0, _mw0, "AddPermission", AddPermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CheckIfPhoneNumberIsOptedOut$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CheckIfPhoneNumberIsOptedOutCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {})
|
|
13
|
-
.n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand")
|
|
14
|
-
.sc(CheckIfPhoneNumberIsOptedOut$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CheckIfPhoneNumberIsOptedOutCommand extends command(_ep0, _mw0, "CheckIfPhoneNumberIsOptedOut", CheckIfPhoneNumberIsOptedOut$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ConfirmSubscription$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ConfirmSubscriptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ConfirmSubscription", {})
|
|
13
|
-
.n("SNSClient", "ConfirmSubscriptionCommand")
|
|
14
|
-
.sc(ConfirmSubscription$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ConfirmSubscriptionCommand extends command(_ep0, _mw0, "ConfirmSubscription", ConfirmSubscription$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreatePlatformApplication$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePlatformApplicationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "CreatePlatformApplication", {})
|
|
13
|
-
.n("SNSClient", "CreatePlatformApplicationCommand")
|
|
14
|
-
.sc(CreatePlatformApplication$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePlatformApplicationCommand extends command(_ep0, _mw0, "CreatePlatformApplication", CreatePlatformApplication$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreatePlatformEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePlatformEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {})
|
|
13
|
-
.n("SNSClient", "CreatePlatformEndpointCommand")
|
|
14
|
-
.sc(CreatePlatformEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePlatformEndpointCommand extends command(_ep0, _mw0, "CreatePlatformEndpoint", CreatePlatformEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateSMSSandboxPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateSMSSandboxPhoneNumberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
|
|
13
|
-
.n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
|
|
14
|
-
.sc(CreateSMSSandboxPhoneNumber$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateSMSSandboxPhoneNumberCommand extends command(_ep0, _mw0, "CreateSMSSandboxPhoneNumber", CreateSMSSandboxPhoneNumber$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateTopic$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateTopicCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "CreateTopic", {})
|
|
13
|
-
.n("SNSClient", "CreateTopicCommand")
|
|
14
|
-
.sc(CreateTopic$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateTopicCommand extends command(_ep0, _mw0, "CreateTopic", CreateTopic$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "DeleteEndpoint", {})
|
|
13
|
-
.n("SNSClient", "DeleteEndpointCommand")
|
|
14
|
-
.sc(DeleteEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteEndpointCommand extends command(_ep0, _mw0, "DeleteEndpoint", DeleteEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePlatformApplication$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePlatformApplicationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "DeletePlatformApplication", {})
|
|
13
|
-
.n("SNSClient", "DeletePlatformApplicationCommand")
|
|
14
|
-
.sc(DeletePlatformApplication$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePlatformApplicationCommand extends command(_ep0, _mw0, "DeletePlatformApplication", DeletePlatformApplication$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteSMSSandboxPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteSMSSandboxPhoneNumberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
|
|
13
|
-
.n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
|
|
14
|
-
.sc(DeleteSMSSandboxPhoneNumber$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteSMSSandboxPhoneNumberCommand extends command(_ep0, _mw0, "DeleteSMSSandboxPhoneNumber", DeleteSMSSandboxPhoneNumber$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteTopic$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteTopicCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "DeleteTopic", {})
|
|
13
|
-
.n("SNSClient", "DeleteTopicCommand")
|
|
14
|
-
.sc(DeleteTopic$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteTopicCommand extends command(_ep0, _mw0, "DeleteTopic", DeleteTopic$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetDataProtectionPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDataProtectionPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {})
|
|
13
|
-
.n("SNSClient", "GetDataProtectionPolicyCommand")
|
|
14
|
-
.sc(GetDataProtectionPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDataProtectionPolicyCommand extends command(_ep0, _mw0, "GetDataProtectionPolicy", GetDataProtectionPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEndpointAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEndpointAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetEndpointAttributes", {})
|
|
13
|
-
.n("SNSClient", "GetEndpointAttributesCommand")
|
|
14
|
-
.sc(GetEndpointAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEndpointAttributesCommand extends command(_ep0, _mw0, "GetEndpointAttributes", GetEndpointAttributes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPlatformApplicationAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPlatformApplicationAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetPlatformApplicationAttributes", {})
|
|
13
|
-
.n("SNSClient", "GetPlatformApplicationAttributesCommand")
|
|
14
|
-
.sc(GetPlatformApplicationAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPlatformApplicationAttributesCommand extends command(_ep0, _mw0, "GetPlatformApplicationAttributes", GetPlatformApplicationAttributes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSMSAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSMSAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetSMSAttributes", {})
|
|
13
|
-
.n("SNSClient", "GetSMSAttributesCommand")
|
|
14
|
-
.sc(GetSMSAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSMSAttributesCommand extends command(_ep0, _mw0, "GetSMSAttributes", GetSMSAttributes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSMSSandboxAccountStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSMSSandboxAccountStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetSMSSandboxAccountStatus", {})
|
|
13
|
-
.n("SNSClient", "GetSMSSandboxAccountStatusCommand")
|
|
14
|
-
.sc(GetSMSSandboxAccountStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSMSSandboxAccountStatusCommand extends command(_ep0, _mw0, "GetSMSSandboxAccountStatus", GetSMSSandboxAccountStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSubscriptionAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSubscriptionAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetSubscriptionAttributes", {})
|
|
13
|
-
.n("SNSClient", "GetSubscriptionAttributesCommand")
|
|
14
|
-
.sc(GetSubscriptionAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSubscriptionAttributesCommand extends command(_ep0, _mw0, "GetSubscriptionAttributes", GetSubscriptionAttributes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetTopicAttributes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetTopicAttributesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "GetTopicAttributes", {})
|
|
13
|
-
.n("SNSClient", "GetTopicAttributesCommand")
|
|
14
|
-
.sc(GetTopicAttributes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetTopicAttributesCommand extends command(_ep0, _mw0, "GetTopicAttributes", GetTopicAttributes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListEndpointsByPlatformApplication$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEndpointsByPlatformApplicationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListEndpointsByPlatformApplication", {})
|
|
13
|
-
.n("SNSClient", "ListEndpointsByPlatformApplicationCommand")
|
|
14
|
-
.sc(ListEndpointsByPlatformApplication$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEndpointsByPlatformApplicationCommand extends command(_ep0, _mw0, "ListEndpointsByPlatformApplication", ListEndpointsByPlatformApplication$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListOriginationNumbers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListOriginationNumbersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListOriginationNumbers", {})
|
|
13
|
-
.n("SNSClient", "ListOriginationNumbersCommand")
|
|
14
|
-
.sc(ListOriginationNumbers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListOriginationNumbersCommand extends command(_ep0, _mw0, "ListOriginationNumbers", ListOriginationNumbers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPhoneNumbersOptedOut$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPhoneNumbersOptedOutCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {})
|
|
13
|
-
.n("SNSClient", "ListPhoneNumbersOptedOutCommand")
|
|
14
|
-
.sc(ListPhoneNumbersOptedOut$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPhoneNumbersOptedOutCommand extends command(_ep0, _mw0, "ListPhoneNumbersOptedOut", ListPhoneNumbersOptedOut$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPlatformApplications$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPlatformApplicationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListPlatformApplications", {})
|
|
13
|
-
.n("SNSClient", "ListPlatformApplicationsCommand")
|
|
14
|
-
.sc(ListPlatformApplications$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPlatformApplicationsCommand extends command(_ep0, _mw0, "ListPlatformApplications", ListPlatformApplications$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListSMSSandboxPhoneNumbers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListSMSSandboxPhoneNumbersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {})
|
|
13
|
-
.n("SNSClient", "ListSMSSandboxPhoneNumbersCommand")
|
|
14
|
-
.sc(ListSMSSandboxPhoneNumbers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListSMSSandboxPhoneNumbersCommand extends command(_ep0, _mw0, "ListSMSSandboxPhoneNumbers", ListSMSSandboxPhoneNumbers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListSubscriptionsByTopic$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListSubscriptionsByTopicCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListSubscriptionsByTopic", {})
|
|
13
|
-
.n("SNSClient", "ListSubscriptionsByTopicCommand")
|
|
14
|
-
.sc(ListSubscriptionsByTopic$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListSubscriptionsByTopicCommand extends command(_ep0, _mw0, "ListSubscriptionsByTopic", ListSubscriptionsByTopic$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListSubscriptions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListSubscriptionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListSubscriptions", {})
|
|
13
|
-
.n("SNSClient", "ListSubscriptionsCommand")
|
|
14
|
-
.sc(ListSubscriptions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListTagsForResource", {})
|
|
13
|
-
.n("SNSClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTopics$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTopicsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "ListTopics", {})
|
|
13
|
-
.n("SNSClient", "ListTopicsCommand")
|
|
14
|
-
.sc(ListTopics$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTopicsCommand extends command(_ep0, _mw0, "ListTopics", ListTopics$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { OptInPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class OptInPhoneNumberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "OptInPhoneNumber", {})
|
|
13
|
-
.n("SNSClient", "OptInPhoneNumberCommand")
|
|
14
|
-
.sc(OptInPhoneNumber$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class OptInPhoneNumberCommand extends command(_ep0, _mw0, "OptInPhoneNumber", OptInPhoneNumber$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PublishBatch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PublishBatchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "PublishBatch", {})
|
|
13
|
-
.n("SNSClient", "PublishBatchCommand")
|
|
14
|
-
.sc(PublishBatch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PublishBatchCommand extends command(_ep0, _mw0, "PublishBatch", PublishBatch$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { Publish$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PublishCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "Publish", {})
|
|
13
|
-
.n("SNSClient", "PublishCommand")
|
|
14
|
-
.sc(Publish$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PublishCommand extends command(_ep0, _mw0, "Publish", Publish$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutDataProtectionPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutDataProtectionPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSimpleNotificationService", "PutDataProtectionPolicy", {})
|
|
13
|
-
.n("SNSClient", "PutDataProtectionPolicyCommand")
|
|
14
|
-
.sc(PutDataProtectionPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutDataProtectionPolicyCommand extends command(_ep0, _mw0, "PutDataProtectionPolicy", PutDataProtectionPolicy$) {
|
|
16
4
|
}
|