@aws-sdk/client-sns 3.1077.0 → 3.1079.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.
Files changed (134) hide show
  1. package/dist-cjs/index.js +132 -505
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddPermissionCommand.js +2 -14
  4. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -14
  5. package/dist-es/commands/ConfirmSubscriptionCommand.js +2 -14
  6. package/dist-es/commands/CreatePlatformApplicationCommand.js +2 -14
  7. package/dist-es/commands/CreatePlatformEndpointCommand.js +2 -14
  8. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -14
  9. package/dist-es/commands/CreateTopicCommand.js +2 -14
  10. package/dist-es/commands/DeleteEndpointCommand.js +2 -14
  11. package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -14
  12. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -14
  13. package/dist-es/commands/DeleteTopicCommand.js +2 -14
  14. package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -14
  15. package/dist-es/commands/GetEndpointAttributesCommand.js +2 -14
  16. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +2 -14
  17. package/dist-es/commands/GetSMSAttributesCommand.js +2 -14
  18. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +2 -14
  19. package/dist-es/commands/GetSubscriptionAttributesCommand.js +2 -14
  20. package/dist-es/commands/GetTopicAttributesCommand.js +2 -14
  21. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +2 -14
  22. package/dist-es/commands/ListOriginationNumbersCommand.js +2 -14
  23. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -14
  24. package/dist-es/commands/ListPlatformApplicationsCommand.js +2 -14
  25. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -14
  26. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +2 -14
  27. package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/ListTopicsCommand.js +2 -14
  30. package/dist-es/commands/OptInPhoneNumberCommand.js +2 -14
  31. package/dist-es/commands/PublishBatchCommand.js +2 -14
  32. package/dist-es/commands/PublishCommand.js +2 -14
  33. package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -14
  34. package/dist-es/commands/RemovePermissionCommand.js +2 -14
  35. package/dist-es/commands/SetEndpointAttributesCommand.js +2 -14
  36. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -14
  37. package/dist-es/commands/SetSMSAttributesCommand.js +2 -14
  38. package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -14
  39. package/dist-es/commands/SetTopicAttributesCommand.js +2 -14
  40. package/dist-es/commands/SubscribeCommand.js +2 -14
  41. package/dist-es/commands/TagResourceCommand.js +2 -14
  42. package/dist-es/commands/UnsubscribeCommand.js +2 -14
  43. package/dist-es/commands/UntagResourceCommand.js +2 -14
  44. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -14
  45. package/dist-es/index.js +1 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/AddPermissionCommand.d.ts +3 -8
  48. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -8
  49. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -8
  50. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -8
  51. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -8
  53. package/dist-types/commands/CreateTopicCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -8
  55. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -8
  56. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -8
  57. package/dist-types/commands/DeleteTopicCommand.d.ts +3 -8
  58. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -8
  59. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -8
  60. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -8
  61. package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -8
  62. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -8
  63. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -8
  64. package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -8
  66. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -8
  67. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -8
  68. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -8
  70. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -8
  71. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/ListTopicsCommand.d.ts +3 -8
  74. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -8
  75. package/dist-types/commands/PublishBatchCommand.d.ts +3 -8
  76. package/dist-types/commands/PublishCommand.d.ts +3 -8
  77. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -8
  78. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
  79. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -8
  80. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -8
  81. package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -8
  82. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -8
  83. package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -8
  84. package/dist-types/commands/SubscribeCommand.d.ts +3 -8
  85. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  86. package/dist-types/commands/UnsubscribeCommand.d.ts +3 -8
  87. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  88. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -8
  89. package/dist-types/index.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/index.d.ts +1 -0
  134. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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 { Command as $Command } from "@smithy/core/client";
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 { $Command };
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
  }