@aws-sdk/client-sns 3.533.0 → 3.540.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 (95) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/SNS.d.ts +9 -1
  6. package/dist-types/SNSClient.d.ts +1 -1
  7. package/dist-types/commands/AddPermissionCommand.d.ts +2 -1
  8. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +2 -1
  9. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +2 -1
  10. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +2 -1
  11. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +2 -1
  13. package/dist-types/commands/CreateTopicCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -1
  15. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +2 -1
  17. package/dist-types/commands/DeleteTopicCommand.d.ts +2 -1
  18. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +2 -1
  19. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +2 -1
  20. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +2 -1
  21. package/dist-types/commands/GetSMSAttributesCommand.d.ts +2 -1
  22. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +2 -1
  23. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +2 -1
  24. package/dist-types/commands/GetTopicAttributesCommand.d.ts +2 -1
  25. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +2 -1
  26. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +2 -1
  27. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +2 -1
  28. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +2 -1
  29. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +2 -1
  30. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +2 -1
  31. package/dist-types/commands/ListSubscriptionsCommand.d.ts +2 -1
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  33. package/dist-types/commands/ListTopicsCommand.d.ts +2 -1
  34. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +2 -1
  35. package/dist-types/commands/PublishBatchCommand.d.ts +2 -1
  36. package/dist-types/commands/PublishCommand.d.ts +2 -1
  37. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +2 -1
  38. package/dist-types/commands/RemovePermissionCommand.d.ts +2 -1
  39. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +2 -1
  40. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +2 -1
  41. package/dist-types/commands/SetSMSAttributesCommand.d.ts +2 -1
  42. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +2 -1
  43. package/dist-types/commands/SetTopicAttributesCommand.d.ts +2 -1
  44. package/dist-types/commands/SubscribeCommand.d.ts +2 -1
  45. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  46. package/dist-types/commands/UnsubscribeCommand.d.ts +2 -1
  47. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  48. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +2 -1
  49. package/dist-types/index.d.ts +0 -1
  50. package/dist-types/models/models_0.d.ts +248 -248
  51. package/dist-types/ts3.4/SNS.d.ts +8 -0
  52. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +9 -0
  53. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +9 -0
  54. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +9 -0
  55. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +9 -0
  56. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +9 -0
  57. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +9 -0
  58. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +9 -0
  59. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +9 -0
  60. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +9 -0
  61. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +9 -0
  62. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +9 -0
  63. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +9 -0
  64. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +9 -0
  65. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +9 -0
  66. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +9 -0
  81. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -0
  82. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +9 -0
  83. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +9 -0
  84. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +9 -0
  88. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  91. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  93. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/index.d.ts +0 -1
  95. package/package.json +40 -40
@@ -21,6 +21,15 @@ declare const SetSubscriptionAttributesCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: SetSubscriptionAttributesCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ SetSubscriptionAttributesCommandInput,
28
+ SetSubscriptionAttributesCommandOutput,
29
+ SNSClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class SetSubscriptionAttributesCommand extends SetSubscriptionAttributesCommand_base {}
@@ -20,6 +20,15 @@ declare const SetTopicAttributesCommand_base: {
20
20
  ServiceInputTypes,
21
21
  ServiceOutputTypes
22
22
  >;
23
+ new (
24
+ __0_0: SetTopicAttributesCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ SetTopicAttributesCommandInput,
27
+ SetTopicAttributesCommandOutput,
28
+ SNSClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
23
32
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
33
  };
25
34
  export declare class SetTopicAttributesCommand extends SetTopicAttributesCommand_base {}
@@ -21,6 +21,15 @@ declare const SubscribeCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: SubscribeCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ SubscribeCommandInput,
28
+ SubscribeCommandOutput,
29
+ SNSClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class SubscribeCommand extends SubscribeCommand_base {}
@@ -21,6 +21,15 @@ declare const TagResourceCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: TagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ SNSClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -19,6 +19,15 @@ declare const UnsubscribeCommand_base: {
19
19
  ServiceInputTypes,
20
20
  ServiceOutputTypes
21
21
  >;
22
+ new (
23
+ __0_0: UnsubscribeCommandInput
24
+ ): import("@smithy/smithy-client").CommandImpl<
25
+ UnsubscribeCommandInput,
26
+ UnsubscribeCommandOutput,
27
+ SNSClientResolvedConfig,
28
+ ServiceInputTypes,
29
+ ServiceOutputTypes
30
+ >;
22
31
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
32
  };
24
33
  export declare class UnsubscribeCommand extends UnsubscribeCommand_base {}
@@ -24,6 +24,15 @@ declare const UntagResourceCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: UntagResourceCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ UntagResourceCommandInput,
31
+ UntagResourceCommandOutput,
32
+ SNSClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -25,6 +25,15 @@ declare const VerifySMSSandboxPhoneNumberCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: VerifySMSSandboxPhoneNumberCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ VerifySMSSandboxPhoneNumberCommandInput,
32
+ VerifySMSSandboxPhoneNumberCommandOutput,
33
+ SNSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class VerifySMSSandboxPhoneNumberCommand extends VerifySMSSandboxPhoneNumberCommand_base {}
@@ -6,5 +6,4 @@ export { SNSExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { SNSServiceException } from "./models/SNSServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sns",
3
3
  "description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sns",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",