@aws-sdk/client-sns 3.295.0 → 3.297.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 (58) hide show
  1. package/dist-cjs/protocols/Aws_query.js +65 -224
  2. package/dist-es/protocols/Aws_query.js +65 -224
  3. package/dist-types/SNS.d.ts +43 -0
  4. package/dist-types/SNSClient.d.ts +24 -4
  5. package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
  6. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +16 -0
  7. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +16 -0
  8. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +16 -0
  9. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateTopicCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteEndpointCommand.d.ts +16 -0
  13. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteTopicCommand.d.ts +16 -0
  16. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
  17. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +16 -0
  18. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +16 -0
  19. package/dist-types/commands/GetSMSAttributesCommand.d.ts +16 -0
  20. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +16 -0
  21. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +16 -0
  22. package/dist-types/commands/GetTopicAttributesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +16 -0
  24. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +16 -0
  25. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +16 -0
  26. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +16 -0
  27. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +16 -0
  28. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +16 -0
  29. package/dist-types/commands/ListSubscriptionsCommand.d.ts +16 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  31. package/dist-types/commands/ListTopicsCommand.d.ts +16 -0
  32. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +16 -0
  33. package/dist-types/commands/PublishBatchCommand.d.ts +16 -0
  34. package/dist-types/commands/PublishCommand.d.ts +16 -0
  35. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  37. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +16 -0
  38. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +16 -0
  39. package/dist-types/commands/SetSMSAttributesCommand.d.ts +16 -0
  40. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +16 -0
  41. package/dist-types/commands/SetTopicAttributesCommand.d.ts +16 -0
  42. package/dist-types/commands/SubscribeCommand.d.ts +16 -0
  43. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  44. package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  46. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +16 -0
  47. package/dist-types/models/SNSServiceException.d.ts +2 -0
  48. package/dist-types/models/models_0.d.ts +182 -4
  49. package/dist-types/pagination/Interfaces.d.ts +3 -0
  50. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -0
  51. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +3 -0
  52. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -0
  53. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +3 -0
  54. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -0
  55. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -0
  56. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +3 -0
  57. package/dist-types/pagination/ListTopicsPaginator.d.ts +3 -0
  58. package/package.json +29 -29
@@ -1,5 +1,8 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
2
  import { SNSClient } from "../SNSClient";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface SNSPaginationConfiguration extends PaginationConfiguration {
4
7
  client: SNSClient;
5
8
  }
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput } from "../commands/ListEndpointsByPlatformApplicationCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListEndpointsByPlatformApplication(config: SNSPaginationConfiguration, input: ListEndpointsByPlatformApplicationCommandInput, ...additionalArguments: any): Paginator<ListEndpointsByPlatformApplicationCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput } from "../commands/ListOriginationNumbersCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListOriginationNumbers(config: SNSPaginationConfiguration, input: ListOriginationNumbersCommandInput, ...additionalArguments: any): Paginator<ListOriginationNumbersCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput } from "../commands/ListPhoneNumbersOptedOutCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListPhoneNumbersOptedOut(config: SNSPaginationConfiguration, input: ListPhoneNumbersOptedOutCommandInput, ...additionalArguments: any): Paginator<ListPhoneNumbersOptedOutCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput } from "../commands/ListPlatformApplicationsCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListPlatformApplications(config: SNSPaginationConfiguration, input: ListPlatformApplicationsCommandInput, ...additionalArguments: any): Paginator<ListPlatformApplicationsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput } from "../commands/ListSMSSandboxPhoneNumbersCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSMSSandboxPhoneNumbers(config: SNSPaginationConfiguration, input: ListSMSSandboxPhoneNumbersCommandInput, ...additionalArguments: any): Paginator<ListSMSSandboxPhoneNumbersCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput } from "../commands/ListSubscriptionsByTopicCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSubscriptionsByTopic(config: SNSPaginationConfiguration, input: ListSubscriptionsByTopicCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsByTopicCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSubscriptions(config: SNSPaginationConfiguration, input: ListSubscriptionsCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/ListTopicsCommand";
3
3
  import { SNSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListTopics(config: SNSPaginationConfiguration, input: ListTopicsCommandInput, ...additionalArguments: any): Paginator<ListTopicsCommandOutput>;
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.295.0",
4
+ "version": "3.297.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
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.295.0",
24
- "@aws-sdk/config-resolver": "3.295.0",
25
- "@aws-sdk/credential-provider-node": "3.295.0",
26
- "@aws-sdk/fetch-http-handler": "3.295.0",
27
- "@aws-sdk/hash-node": "3.295.0",
28
- "@aws-sdk/invalid-dependency": "3.295.0",
29
- "@aws-sdk/middleware-content-length": "3.295.0",
30
- "@aws-sdk/middleware-endpoint": "3.295.0",
31
- "@aws-sdk/middleware-host-header": "3.295.0",
32
- "@aws-sdk/middleware-logger": "3.295.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
- "@aws-sdk/middleware-retry": "3.295.0",
35
- "@aws-sdk/middleware-serde": "3.295.0",
36
- "@aws-sdk/middleware-signing": "3.295.0",
37
- "@aws-sdk/middleware-stack": "3.295.0",
38
- "@aws-sdk/middleware-user-agent": "3.295.0",
39
- "@aws-sdk/node-config-provider": "3.295.0",
40
- "@aws-sdk/node-http-handler": "3.295.0",
41
- "@aws-sdk/protocol-http": "3.295.0",
42
- "@aws-sdk/smithy-client": "3.295.0",
43
- "@aws-sdk/types": "3.295.0",
44
- "@aws-sdk/url-parser": "3.295.0",
23
+ "@aws-sdk/client-sts": "3.297.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.297.0",
26
+ "@aws-sdk/fetch-http-handler": "3.296.0",
27
+ "@aws-sdk/hash-node": "3.296.0",
28
+ "@aws-sdk/invalid-dependency": "3.296.0",
29
+ "@aws-sdk/middleware-content-length": "3.296.0",
30
+ "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-host-header": "3.296.0",
32
+ "@aws-sdk/middleware-logger": "3.296.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
34
+ "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-serde": "3.296.0",
36
+ "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-stack": "3.296.0",
38
+ "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-http-handler": "3.296.0",
41
+ "@aws-sdk/protocol-http": "3.296.0",
42
+ "@aws-sdk/smithy-client": "3.296.0",
43
+ "@aws-sdk/types": "3.296.0",
44
+ "@aws-sdk/url-parser": "3.296.0",
45
45
  "@aws-sdk/util-base64": "3.295.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.295.0",
47
47
  "@aws-sdk/util-body-length-node": "3.295.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
- "@aws-sdk/util-endpoints": "3.295.0",
51
- "@aws-sdk/util-retry": "3.295.0",
52
- "@aws-sdk/util-user-agent-browser": "3.295.0",
53
- "@aws-sdk/util-user-agent-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-endpoints": "3.296.0",
51
+ "@aws-sdk/util-retry": "3.296.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
53
+ "@aws-sdk/util-user-agent-node": "3.296.0",
54
54
  "@aws-sdk/util-utf8": "3.295.0",
55
55
  "fast-xml-parser": "4.1.2",
56
56
  "tslib": "^2.5.0"