@aws-sdk/client-sns 3.168.0 → 3.170.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 (67) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/SNS.d.ts +766 -215
  3. package/dist-types/ts3.4/SNSClient.d.ts +380 -115
  4. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +38 -17
  22. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +37 -17
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +34 -17
  31. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +37 -17
  32. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/PublishCommand.d.ts +34 -17
  34. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +37 -17
  35. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +32 -17
  36. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +36 -17
  37. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +37 -17
  38. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +37 -17
  39. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +37 -17
  40. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +33 -17
  41. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +34 -17
  42. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  43. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +32 -17
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  45. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +41 -17
  46. package/dist-types/ts3.4/commands/index.d.ts +42 -42
  47. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  48. package/dist-types/ts3.4/index.d.ts +6 -6
  49. package/dist-types/ts3.4/models/SNSServiceException.d.ts +8 -6
  50. package/dist-types/ts3.4/models/index.d.ts +1 -1
  51. package/dist-types/ts3.4/models/models_0.d.ts +1101 -962
  52. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  53. package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +11 -4
  59. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -4
  60. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -4
  61. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +509 -128
  63. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  64. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  65. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  66. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  67. package/package.json +34 -34
@@ -1,6 +1,6 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { SNS } from "../SNS";
3
- import { SNSClient } from "../SNSClient";
4
- export interface SNSPaginationConfiguration extends PaginationConfiguration {
5
- client: SNS | SNSClient;
6
- }
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { SNS } from "../SNS";
3
+ import { SNSClient } from "../SNSClient";
4
+ export interface SNSPaginationConfiguration extends PaginationConfiguration {
5
+ client: SNS | SNSClient;
6
+ }
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput } from "../commands/ListEndpointsByPlatformApplicationCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListEndpointsByPlatformApplication(config: SNSPaginationConfiguration, input: ListEndpointsByPlatformApplicationCommandInput, ...additionalArguments: any): Paginator<ListEndpointsByPlatformApplicationCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListEndpointsByPlatformApplicationCommandInput,
4
+ ListEndpointsByPlatformApplicationCommandOutput,
5
+ } from "../commands/ListEndpointsByPlatformApplicationCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListEndpointsByPlatformApplication(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListEndpointsByPlatformApplicationCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListEndpointsByPlatformApplicationCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput } from "../commands/ListOriginationNumbersCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListOriginationNumbers(config: SNSPaginationConfiguration, input: ListOriginationNumbersCommandInput, ...additionalArguments: any): Paginator<ListOriginationNumbersCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListOriginationNumbersCommandInput,
4
+ ListOriginationNumbersCommandOutput,
5
+ } from "../commands/ListOriginationNumbersCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListOriginationNumbers(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListOriginationNumbersCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListOriginationNumbersCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput } from "../commands/ListPhoneNumbersOptedOutCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListPhoneNumbersOptedOut(config: SNSPaginationConfiguration, input: ListPhoneNumbersOptedOutCommandInput, ...additionalArguments: any): Paginator<ListPhoneNumbersOptedOutCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListPhoneNumbersOptedOutCommandInput,
4
+ ListPhoneNumbersOptedOutCommandOutput,
5
+ } from "../commands/ListPhoneNumbersOptedOutCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListPhoneNumbersOptedOut(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListPhoneNumbersOptedOutCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListPhoneNumbersOptedOutCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput } from "../commands/ListPlatformApplicationsCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListPlatformApplications(config: SNSPaginationConfiguration, input: ListPlatformApplicationsCommandInput, ...additionalArguments: any): Paginator<ListPlatformApplicationsCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListPlatformApplicationsCommandInput,
4
+ ListPlatformApplicationsCommandOutput,
5
+ } from "../commands/ListPlatformApplicationsCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListPlatformApplications(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListPlatformApplicationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListPlatformApplicationsCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput } from "../commands/ListSMSSandboxPhoneNumbersCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListSMSSandboxPhoneNumbers(config: SNSPaginationConfiguration, input: ListSMSSandboxPhoneNumbersCommandInput, ...additionalArguments: any): Paginator<ListSMSSandboxPhoneNumbersCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListSMSSandboxPhoneNumbersCommandInput,
4
+ ListSMSSandboxPhoneNumbersCommandOutput,
5
+ } from "../commands/ListSMSSandboxPhoneNumbersCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListSMSSandboxPhoneNumbers(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListSMSSandboxPhoneNumbersCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListSMSSandboxPhoneNumbersCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput } from "../commands/ListSubscriptionsByTopicCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListSubscriptionsByTopic(config: SNSPaginationConfiguration, input: ListSubscriptionsByTopicCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsByTopicCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListSubscriptionsByTopicCommandInput,
4
+ ListSubscriptionsByTopicCommandOutput,
5
+ } from "../commands/ListSubscriptionsByTopicCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListSubscriptionsByTopic(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListSubscriptionsByTopicCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListSubscriptionsByTopicCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListSubscriptions(config: SNSPaginationConfiguration, input: ListSubscriptionsCommandInput, ...additionalArguments: any): Paginator<ListSubscriptionsCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListSubscriptionsCommandInput,
4
+ ListSubscriptionsCommandOutput,
5
+ } from "../commands/ListSubscriptionsCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListSubscriptions(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListSubscriptionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListSubscriptionsCommandOutput>;
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/ListTopicsCommand";
3
- import { SNSPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListTopics(config: SNSPaginationConfiguration, input: ListTopicsCommandInput, ...additionalArguments: any): Paginator<ListTopicsCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListTopicsCommandInput,
4
+ ListTopicsCommandOutput,
5
+ } from "../commands/ListTopicsCommand";
6
+ import { SNSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListTopics(
8
+ config: SNSPaginationConfiguration,
9
+ input: ListTopicsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListTopicsCommandOutput>;
@@ -1,9 +1,9 @@
1
- export * from "./Interfaces";
2
- export * from "./ListEndpointsByPlatformApplicationPaginator";
3
- export * from "./ListOriginationNumbersPaginator";
4
- export * from "./ListPhoneNumbersOptedOutPaginator";
5
- export * from "./ListPlatformApplicationsPaginator";
6
- export * from "./ListSMSSandboxPhoneNumbersPaginator";
7
- export * from "./ListSubscriptionsByTopicPaginator";
8
- export * from "./ListSubscriptionsPaginator";
9
- export * from "./ListTopicsPaginator";
1
+ export * from "./Interfaces";
2
+ export * from "./ListEndpointsByPlatformApplicationPaginator";
3
+ export * from "./ListOriginationNumbersPaginator";
4
+ export * from "./ListPhoneNumbersOptedOutPaginator";
5
+ export * from "./ListPlatformApplicationsPaginator";
6
+ export * from "./ListSMSSandboxPhoneNumbersPaginator";
7
+ export * from "./ListSubscriptionsByTopicPaginator";
8
+ export * from "./ListSubscriptionsPaginator";
9
+ export * from "./ListTopicsPaginator";