@aws-sdk/client-sns 3.489.0 → 3.495.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 (64) hide show
  1. package/dist-cjs/SNS.js +1 -95
  2. package/dist-cjs/SNSClient.js +1 -43
  3. package/dist-cjs/commands/AddPermissionCommand.js +1 -28
  4. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +1 -28
  5. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +1 -28
  6. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +1 -28
  7. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +1 -28
  8. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +1 -28
  9. package/dist-cjs/commands/CreateTopicCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteEndpointCommand.js +1 -28
  11. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteTopicCommand.js +1 -28
  14. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/GetEndpointAttributesCommand.js +1 -28
  16. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +1 -28
  17. package/dist-cjs/commands/GetSMSAttributesCommand.js +1 -28
  18. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +1 -28
  19. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +1 -28
  20. package/dist-cjs/commands/GetTopicAttributesCommand.js +1 -28
  21. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +1 -28
  22. package/dist-cjs/commands/ListOriginationNumbersCommand.js +1 -28
  23. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +1 -28
  24. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +1 -28
  25. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +1 -28
  26. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +1 -28
  27. package/dist-cjs/commands/ListSubscriptionsCommand.js +1 -28
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  29. package/dist-cjs/commands/ListTopicsCommand.js +1 -28
  30. package/dist-cjs/commands/OptInPhoneNumberCommand.js +1 -28
  31. package/dist-cjs/commands/PublishBatchCommand.js +1 -28
  32. package/dist-cjs/commands/PublishCommand.js +1 -28
  33. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +1 -28
  34. package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
  35. package/dist-cjs/commands/SetEndpointAttributesCommand.js +1 -28
  36. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +1 -28
  37. package/dist-cjs/commands/SetSMSAttributesCommand.js +1 -28
  38. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +1 -28
  39. package/dist-cjs/commands/SetTopicAttributesCommand.js +1 -28
  40. package/dist-cjs/commands/SubscribeCommand.js +1 -28
  41. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  42. package/dist-cjs/commands/UnsubscribeCommand.js +1 -28
  43. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  44. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +1 -28
  45. package/dist-cjs/commands/index.js +1 -45
  46. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  47. package/dist-cjs/extensionConfiguration.js +1 -2
  48. package/dist-cjs/index.js +5887 -11
  49. package/dist-cjs/models/SNSServiceException.js +1 -12
  50. package/dist-cjs/models/index.js +1 -4
  51. package/dist-cjs/models/models_0.js +1 -478
  52. package/dist-cjs/pagination/Interfaces.js +1 -2
  53. package/dist-cjs/pagination/ListEndpointsByPlatformApplicationPaginator.js +1 -7
  54. package/dist-cjs/pagination/ListOriginationNumbersPaginator.js +1 -7
  55. package/dist-cjs/pagination/ListPhoneNumbersOptedOutPaginator.js +1 -7
  56. package/dist-cjs/pagination/ListPlatformApplicationsPaginator.js +1 -7
  57. package/dist-cjs/pagination/ListSMSSandboxPhoneNumbersPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListSubscriptionsByTopicPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListSubscriptionsPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListTopicsPaginator.js +1 -7
  61. package/dist-cjs/pagination/index.js +1 -12
  62. package/dist-cjs/protocols/Aws_query.js +1 -4290
  63. package/dist-cjs/runtimeExtensions.js +1 -22
  64. package/package.json +40 -40
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscribeCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_query_1 = require("../protocols/Aws_query");
10
- class SubscribeCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonSimpleNotificationService", "Subscribe", {})
22
- .n("SNSClient", "SubscribeCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_query_1.se_SubscribeCommand)
25
- .de(Aws_query_1.de_SubscribeCommand)
26
- .build() {
27
- }
28
- exports.SubscribeCommand = SubscribeCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_query_1 = require("../protocols/Aws_query");
10
- class TagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonSimpleNotificationService", "TagResource", {})
22
- .n("SNSClient", "TagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_query_1.se_TagResourceCommand)
25
- .de(Aws_query_1.de_TagResourceCommand)
26
- .build() {
27
- }
28
- exports.TagResourceCommand = TagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnsubscribeCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_query_1 = require("../protocols/Aws_query");
10
- class UnsubscribeCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonSimpleNotificationService", "Unsubscribe", {})
22
- .n("SNSClient", "UnsubscribeCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_query_1.se_UnsubscribeCommand)
25
- .de(Aws_query_1.de_UnsubscribeCommand)
26
- .build() {
27
- }
28
- exports.UnsubscribeCommand = UnsubscribeCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_query_1 = require("../protocols/Aws_query");
10
- class UntagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonSimpleNotificationService", "UntagResource", {})
22
- .n("SNSClient", "UntagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_query_1.se_UntagResourceCommand)
25
- .de(Aws_query_1.de_UntagResourceCommand)
26
- .build() {
27
- }
28
- exports.UntagResourceCommand = UntagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerifySMSSandboxPhoneNumberCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_query_1 = require("../protocols/Aws_query");
10
- class VerifySMSSandboxPhoneNumberCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {})
22
- .n("SNSClient", "VerifySMSSandboxPhoneNumberCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_query_1.se_VerifySMSSandboxPhoneNumberCommand)
25
- .de(Aws_query_1.de_VerifySMSSandboxPhoneNumberCommand)
26
- .build() {
27
- }
28
- exports.VerifySMSSandboxPhoneNumberCommand = VerifySMSSandboxPhoneNumberCommand;
1
+ module.exports = require("../index.js");
@@ -1,45 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./AddPermissionCommand"), exports);
5
- tslib_1.__exportStar(require("./CheckIfPhoneNumberIsOptedOutCommand"), exports);
6
- tslib_1.__exportStar(require("./ConfirmSubscriptionCommand"), exports);
7
- tslib_1.__exportStar(require("./CreatePlatformApplicationCommand"), exports);
8
- tslib_1.__exportStar(require("./CreatePlatformEndpointCommand"), exports);
9
- tslib_1.__exportStar(require("./CreateSMSSandboxPhoneNumberCommand"), exports);
10
- tslib_1.__exportStar(require("./CreateTopicCommand"), exports);
11
- tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
12
- tslib_1.__exportStar(require("./DeletePlatformApplicationCommand"), exports);
13
- tslib_1.__exportStar(require("./DeleteSMSSandboxPhoneNumberCommand"), exports);
14
- tslib_1.__exportStar(require("./DeleteTopicCommand"), exports);
15
- tslib_1.__exportStar(require("./GetDataProtectionPolicyCommand"), exports);
16
- tslib_1.__exportStar(require("./GetEndpointAttributesCommand"), exports);
17
- tslib_1.__exportStar(require("./GetPlatformApplicationAttributesCommand"), exports);
18
- tslib_1.__exportStar(require("./GetSMSAttributesCommand"), exports);
19
- tslib_1.__exportStar(require("./GetSMSSandboxAccountStatusCommand"), exports);
20
- tslib_1.__exportStar(require("./GetSubscriptionAttributesCommand"), exports);
21
- tslib_1.__exportStar(require("./GetTopicAttributesCommand"), exports);
22
- tslib_1.__exportStar(require("./ListEndpointsByPlatformApplicationCommand"), exports);
23
- tslib_1.__exportStar(require("./ListOriginationNumbersCommand"), exports);
24
- tslib_1.__exportStar(require("./ListPhoneNumbersOptedOutCommand"), exports);
25
- tslib_1.__exportStar(require("./ListPlatformApplicationsCommand"), exports);
26
- tslib_1.__exportStar(require("./ListSMSSandboxPhoneNumbersCommand"), exports);
27
- tslib_1.__exportStar(require("./ListSubscriptionsByTopicCommand"), exports);
28
- tslib_1.__exportStar(require("./ListSubscriptionsCommand"), exports);
29
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
30
- tslib_1.__exportStar(require("./ListTopicsCommand"), exports);
31
- tslib_1.__exportStar(require("./OptInPhoneNumberCommand"), exports);
32
- tslib_1.__exportStar(require("./PublishBatchCommand"), exports);
33
- tslib_1.__exportStar(require("./PublishCommand"), exports);
34
- tslib_1.__exportStar(require("./PutDataProtectionPolicyCommand"), exports);
35
- tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
36
- tslib_1.__exportStar(require("./SetEndpointAttributesCommand"), exports);
37
- tslib_1.__exportStar(require("./SetPlatformApplicationAttributesCommand"), exports);
38
- tslib_1.__exportStar(require("./SetSMSAttributesCommand"), exports);
39
- tslib_1.__exportStar(require("./SetSubscriptionAttributesCommand"), exports);
40
- tslib_1.__exportStar(require("./SetTopicAttributesCommand"), exports);
41
- tslib_1.__exportStar(require("./SubscribeCommand"), exports);
42
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
43
- tslib_1.__exportStar(require("./UnsubscribeCommand"), exports);
44
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
45
- tslib_1.__exportStar(require("./VerifySMSSandboxPhoneNumberCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "sns",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");