@aws-sdk/client-sns 3.888.0 → 3.891.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 (43) hide show
  1. package/dist-types/commands/AddPermissionCommand.d.ts +2 -0
  2. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +2 -0
  3. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +2 -0
  4. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +2 -0
  5. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +2 -0
  7. package/dist-types/commands/CreateTopicCommand.d.ts +2 -0
  8. package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -0
  9. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +2 -0
  10. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteTopicCommand.d.ts +2 -0
  12. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +2 -0
  13. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +2 -0
  14. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +2 -0
  15. package/dist-types/commands/GetSMSAttributesCommand.d.ts +2 -0
  16. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +2 -0
  17. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +2 -0
  18. package/dist-types/commands/GetTopicAttributesCommand.d.ts +2 -0
  19. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +2 -0
  20. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +2 -0
  21. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +2 -0
  22. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +2 -0
  23. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +2 -0
  24. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +2 -0
  25. package/dist-types/commands/ListSubscriptionsCommand.d.ts +2 -0
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  27. package/dist-types/commands/ListTopicsCommand.d.ts +2 -0
  28. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +2 -0
  29. package/dist-types/commands/PublishBatchCommand.d.ts +2 -0
  30. package/dist-types/commands/PublishCommand.d.ts +2 -0
  31. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +2 -0
  32. package/dist-types/commands/RemovePermissionCommand.d.ts +2 -0
  33. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +2 -0
  34. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +2 -0
  35. package/dist-types/commands/SetSMSAttributesCommand.d.ts +2 -0
  36. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +2 -0
  37. package/dist-types/commands/SetTopicAttributesCommand.d.ts +2 -0
  38. package/dist-types/commands/SubscribeCommand.d.ts +2 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  40. package/dist-types/commands/UnsubscribeCommand.d.ts +2 -0
  41. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  42. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +2 -0
  43. package/package.json +19 -19
@@ -39,6 +39,8 @@ declare const AddPermissionCommand_base: {
39
39
  * ```javascript
40
40
  * import { SNSClient, AddPermissionCommand } from "@aws-sdk/client-sns"; // ES Modules import
41
41
  * // const { SNSClient, AddPermissionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
42
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
43
+ * const config = {}; // type is SNSClientConfig
42
44
  * const client = new SNSClient(config);
43
45
  * const input = { // AddPermissionInput
44
46
  * TopicArn: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const CheckIfPhoneNumberIsOptedOutCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, CheckIfPhoneNumberIsOptedOutCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, CheckIfPhoneNumberIsOptedOutCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // CheckIfPhoneNumberIsOptedOutInput
42
44
  * phoneNumber: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const ConfirmSubscriptionCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, ConfirmSubscriptionCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, ConfirmSubscriptionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // ConfirmSubscriptionInput
42
44
  * TopicArn: "STRING_VALUE", // required
@@ -84,6 +84,8 @@ declare const CreatePlatformApplicationCommand_base: {
84
84
  * ```javascript
85
85
  * import { SNSClient, CreatePlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
86
86
  * // const { SNSClient, CreatePlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
87
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
88
+ * const config = {}; // type is SNSClientConfig
87
89
  * const client = new SNSClient(config);
88
90
  * const input = { // CreatePlatformApplicationInput
89
91
  * Name: "STRING_VALUE", // required
@@ -46,6 +46,8 @@ declare const CreatePlatformEndpointCommand_base: {
46
46
  * ```javascript
47
47
  * import { SNSClient, CreatePlatformEndpointCommand } from "@aws-sdk/client-sns"; // ES Modules import
48
48
  * // const { SNSClient, CreatePlatformEndpointCommand } = require("@aws-sdk/client-sns"); // CommonJS import
49
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
50
+ * const config = {}; // type is SNSClientConfig
49
51
  * const client = new SNSClient(config);
50
52
  * const input = { // CreatePlatformEndpointInput
51
53
  * PlatformApplicationArn: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const CreateSMSSandboxPhoneNumberCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, CreateSMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, CreateSMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // CreateSMSSandboxPhoneNumberInput
47
49
  * PhoneNumber: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const CreateTopicCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, CreateTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, CreateTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // CreateTopicInput
42
44
  * Name: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const DeleteEndpointCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, DeleteEndpointCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, DeleteEndpointCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // DeleteEndpointInput
42
44
  * EndpointArn: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const DeletePlatformApplicationCommand_base: {
36
36
  * ```javascript
37
37
  * import { SNSClient, DeletePlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
38
38
  * // const { SNSClient, DeletePlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
39
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
40
+ * const config = {}; // type is SNSClientConfig
39
41
  * const client = new SNSClient(config);
40
42
  * const input = { // DeletePlatformApplicationInput
41
43
  * PlatformApplicationArn: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const DeleteSMSSandboxPhoneNumberCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, DeleteSMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, DeleteSMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // DeleteSMSSandboxPhoneNumberInput
47
49
  * PhoneNumber: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const DeleteTopicCommand_base: {
36
36
  * ```javascript
37
37
  * import { SNSClient, DeleteTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
38
38
  * // const { SNSClient, DeleteTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
39
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
40
+ * const config = {}; // type is SNSClientConfig
39
41
  * const client = new SNSClient(config);
40
42
  * const input = { // DeleteTopicInput
41
43
  * TopicArn: "STRING_VALUE", // required
@@ -34,6 +34,8 @@ declare const GetDataProtectionPolicyCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, GetDataProtectionPolicyCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, GetDataProtectionPolicyCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // GetDataProtectionPolicyInput
39
41
  * ResourceArn: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const GetEndpointAttributesCommand_base: {
35
35
  * ```javascript
36
36
  * import { SNSClient, GetEndpointAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, GetEndpointAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
39
+ * const config = {}; // type is SNSClientConfig
38
40
  * const client = new SNSClient(config);
39
41
  * const input = { // GetEndpointAttributesInput
40
42
  * EndpointArn: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const GetPlatformApplicationAttributesCommand_base: {
35
35
  * ```javascript
36
36
  * import { SNSClient, GetPlatformApplicationAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, GetPlatformApplicationAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
39
+ * const config = {}; // type is SNSClientConfig
38
40
  * const client = new SNSClient(config);
39
41
  * const input = { // GetPlatformApplicationAttributesInput
40
42
  * PlatformApplicationArn: "STRING_VALUE", // required
@@ -34,6 +34,8 @@ declare const GetSMSAttributesCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, GetSMSAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, GetSMSAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // GetSMSAttributesInput
39
41
  * attributes: [ // ListString
@@ -42,6 +42,8 @@ declare const GetSMSSandboxAccountStatusCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, GetSMSSandboxAccountStatusCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, GetSMSSandboxAccountStatusCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = {};
47
49
  * const command = new GetSMSSandboxAccountStatusCommand(input);
@@ -33,6 +33,8 @@ declare const GetSubscriptionAttributesCommand_base: {
33
33
  * ```javascript
34
34
  * import { SNSClient, GetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
35
35
  * // const { SNSClient, GetSubscriptionAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
36
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
37
+ * const config = {}; // type is SNSClientConfig
36
38
  * const client = new SNSClient(config);
37
39
  * const input = { // GetSubscriptionAttributesInput
38
40
  * SubscriptionArn: "STRING_VALUE", // required
@@ -34,6 +34,8 @@ declare const GetTopicAttributesCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, GetTopicAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, GetTopicAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // GetTopicAttributesInput
39
41
  * TopicArn: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const ListEndpointsByPlatformApplicationCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, ListEndpointsByPlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, ListEndpointsByPlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // ListEndpointsByPlatformApplicationInput
47
49
  * PlatformApplicationArn: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const ListOriginationNumbersCommand_base: {
35
35
  * ```javascript
36
36
  * import { SNSClient, ListOriginationNumbersCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, ListOriginationNumbersCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
39
+ * const config = {}; // type is SNSClientConfig
38
40
  * const client = new SNSClient(config);
39
41
  * const input = { // ListOriginationNumbersRequest
40
42
  * NextToken: "STRING_VALUE",
@@ -40,6 +40,8 @@ declare const ListPhoneNumbersOptedOutCommand_base: {
40
40
  * ```javascript
41
41
  * import { SNSClient, ListPhoneNumbersOptedOutCommand } from "@aws-sdk/client-sns"; // ES Modules import
42
42
  * // const { SNSClient, ListPhoneNumbersOptedOutCommand } = require("@aws-sdk/client-sns"); // CommonJS import
43
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
44
+ * const config = {}; // type is SNSClientConfig
43
45
  * const client = new SNSClient(config);
44
46
  * const input = { // ListPhoneNumbersOptedOutInput
45
47
  * nextToken: "STRING_VALUE",
@@ -42,6 +42,8 @@ declare const ListPlatformApplicationsCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, ListPlatformApplicationsCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, ListPlatformApplicationsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // ListPlatformApplicationsInput
47
49
  * NextToken: "STRING_VALUE",
@@ -42,6 +42,8 @@ declare const ListSMSSandboxPhoneNumbersCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, ListSMSSandboxPhoneNumbersCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, ListSMSSandboxPhoneNumbersCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // ListSMSSandboxPhoneNumbersInput
47
49
  * NextToken: "STRING_VALUE",
@@ -37,6 +37,8 @@ declare const ListSubscriptionsByTopicCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, ListSubscriptionsByTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, ListSubscriptionsByTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // ListSubscriptionsByTopicInput
42
44
  * TopicArn: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const ListSubscriptionsCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, ListSubscriptionsCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, ListSubscriptionsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // ListSubscriptionsInput
42
44
  * NextToken: "STRING_VALUE",
@@ -34,6 +34,8 @@ declare const ListTagsForResourceCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, ListTagsForResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // ListTagsForResourceRequest
39
41
  * ResourceArn: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const ListTopicsCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, ListTopicsCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, ListTopicsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // ListTopicsInput
42
44
  * NextToken: "STRING_VALUE",
@@ -35,6 +35,8 @@ declare const OptInPhoneNumberCommand_base: {
35
35
  * ```javascript
36
36
  * import { SNSClient, OptInPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, OptInPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
39
+ * const config = {}; // type is SNSClientConfig
38
40
  * const client = new SNSClient(config);
39
41
  * const input = { // OptInPhoneNumberInput
40
42
  * phoneNumber: "STRING_VALUE", // required
@@ -67,6 +67,8 @@ declare const PublishBatchCommand_base: {
67
67
  * ```javascript
68
68
  * import { SNSClient, PublishBatchCommand } from "@aws-sdk/client-sns"; // ES Modules import
69
69
  * // const { SNSClient, PublishBatchCommand } = require("@aws-sdk/client-sns"); // CommonJS import
70
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
71
+ * const config = {}; // type is SNSClientConfig
70
72
  * const client = new SNSClient(config);
71
73
  * const input = { // PublishBatchInput
72
74
  * TopicArn: "STRING_VALUE", // required
@@ -50,6 +50,8 @@ declare const PublishCommand_base: {
50
50
  * ```javascript
51
51
  * import { SNSClient, PublishCommand } from "@aws-sdk/client-sns"; // ES Modules import
52
52
  * // const { SNSClient, PublishCommand } = require("@aws-sdk/client-sns"); // CommonJS import
53
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
54
+ * const config = {}; // type is SNSClientConfig
53
55
  * const client = new SNSClient(config);
54
56
  * const input = { // PublishInput
55
57
  * TopicArn: "STRING_VALUE",
@@ -34,6 +34,8 @@ declare const PutDataProtectionPolicyCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, PutDataProtectionPolicyCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, PutDataProtectionPolicyCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // PutDataProtectionPolicyInput
39
41
  * ResourceArn: "STRING_VALUE", // required
@@ -38,6 +38,8 @@ declare const RemovePermissionCommand_base: {
38
38
  * ```javascript
39
39
  * import { SNSClient, RemovePermissionCommand } from "@aws-sdk/client-sns"; // ES Modules import
40
40
  * // const { SNSClient, RemovePermissionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
41
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
42
+ * const config = {}; // type is SNSClientConfig
41
43
  * const client = new SNSClient(config);
42
44
  * const input = { // RemovePermissionInput
43
45
  * TopicArn: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const SetEndpointAttributesCommand_base: {
35
35
  * ```javascript
36
36
  * import { SNSClient, SetEndpointAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, SetEndpointAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
39
+ * const config = {}; // type is SNSClientConfig
38
40
  * const client = new SNSClient(config);
39
41
  * const input = { // SetEndpointAttributesInput
40
42
  * EndpointArn: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const SetPlatformApplicationAttributesCommand_base: {
37
37
  * ```javascript
38
38
  * import { SNSClient, SetPlatformApplicationAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
39
39
  * // const { SNSClient, SetPlatformApplicationAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
40
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
41
+ * const config = {}; // type is SNSClientConfig
40
42
  * const client = new SNSClient(config);
41
43
  * const input = { // SetPlatformApplicationAttributesInput
42
44
  * PlatformApplicationArn: "STRING_VALUE", // required
@@ -43,6 +43,8 @@ declare const SetSMSAttributesCommand_base: {
43
43
  * ```javascript
44
44
  * import { SNSClient, SetSMSAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
45
45
  * // const { SNSClient, SetSMSAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
46
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
47
+ * const config = {}; // type is SNSClientConfig
46
48
  * const client = new SNSClient(config);
47
49
  * const input = { // SetSMSAttributesInput
48
50
  * attributes: { // MapStringToString // required
@@ -34,6 +34,8 @@ declare const SetSubscriptionAttributesCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, SetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, SetSubscriptionAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // SetSubscriptionAttributesInput
39
41
  * SubscriptionArn: "STRING_VALUE", // required
@@ -38,6 +38,8 @@ declare const SetTopicAttributesCommand_base: {
38
38
  * ```javascript
39
39
  * import { SNSClient, SetTopicAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
40
40
  * // const { SNSClient, SetTopicAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
41
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
42
+ * const config = {}; // type is SNSClientConfig
41
43
  * const client = new SNSClient(config);
42
44
  * const input = { // SetTopicAttributesInput
43
45
  * TopicArn: "STRING_VALUE", // required
@@ -38,6 +38,8 @@ declare const SubscribeCommand_base: {
38
38
  * ```javascript
39
39
  * import { SNSClient, SubscribeCommand } from "@aws-sdk/client-sns"; // ES Modules import
40
40
  * // const { SNSClient, SubscribeCommand } = require("@aws-sdk/client-sns"); // CommonJS import
41
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
42
+ * const config = {}; // type is SNSClientConfig
41
43
  * const client = new SNSClient(config);
42
44
  * const input = { // SubscribeInput
43
45
  * TopicArn: "STRING_VALUE", // required
@@ -55,6 +55,8 @@ declare const TagResourceCommand_base: {
55
55
  * ```javascript
56
56
  * import { SNSClient, TagResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
57
57
  * // const { SNSClient, TagResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
58
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
59
+ * const config = {}; // type is SNSClientConfig
58
60
  * const client = new SNSClient(config);
59
61
  * const input = { // TagResourceRequest
60
62
  * ResourceArn: "STRING_VALUE", // required
@@ -39,6 +39,8 @@ declare const UnsubscribeCommand_base: {
39
39
  * ```javascript
40
40
  * import { SNSClient, UnsubscribeCommand } from "@aws-sdk/client-sns"; // ES Modules import
41
41
  * // const { SNSClient, UnsubscribeCommand } = require("@aws-sdk/client-sns"); // CommonJS import
42
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
43
+ * const config = {}; // type is SNSClientConfig
42
44
  * const client = new SNSClient(config);
43
45
  * const input = { // UnsubscribeInput
44
46
  * SubscriptionArn: "STRING_VALUE", // required
@@ -34,6 +34,8 @@ declare const UntagResourceCommand_base: {
34
34
  * ```javascript
35
35
  * import { SNSClient, UntagResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, UntagResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
38
+ * const config = {}; // type is SNSClientConfig
37
39
  * const client = new SNSClient(config);
38
40
  * const input = { // UntagResourceRequest
39
41
  * ResourceArn: "STRING_VALUE", // required
@@ -42,6 +42,8 @@ declare const VerifySMSSandboxPhoneNumberCommand_base: {
42
42
  * ```javascript
43
43
  * import { SNSClient, VerifySMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, VerifySMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
+ * // import type { SNSClientConfig } from "@aws-sdk/client-sns";
46
+ * const config = {}; // type is SNSClientConfig
45
47
  * const client = new SNSClient(config);
46
48
  * const input = { // VerifySMSSandboxPhoneNumberInput
47
49
  * PhoneNumber: "STRING_VALUE", // required
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.888.0",
4
+ "version": "3.891.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,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.888.0",
24
- "@aws-sdk/credential-provider-node": "3.888.0",
25
- "@aws-sdk/middleware-host-header": "3.887.0",
26
- "@aws-sdk/middleware-logger": "3.887.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
- "@aws-sdk/middleware-user-agent": "3.888.0",
29
- "@aws-sdk/region-config-resolver": "3.887.0",
23
+ "@aws-sdk/core": "3.890.0",
24
+ "@aws-sdk/credential-provider-node": "3.891.0",
25
+ "@aws-sdk/middleware-host-header": "3.891.0",
26
+ "@aws-sdk/middleware-logger": "3.891.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
+ "@aws-sdk/middleware-user-agent": "3.891.0",
29
+ "@aws-sdk/region-config-resolver": "3.890.0",
30
30
  "@aws-sdk/types": "3.887.0",
31
- "@aws-sdk/util-endpoints": "3.887.0",
31
+ "@aws-sdk/util-endpoints": "3.891.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.887.0",
33
- "@aws-sdk/util-user-agent-node": "3.888.0",
34
- "@smithy/config-resolver": "^4.2.1",
33
+ "@aws-sdk/util-user-agent-node": "3.891.0",
34
+ "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.0",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
37
37
  "@smithy/hash-node": "^4.1.1",
38
38
  "@smithy/invalid-dependency": "^4.1.1",
39
39
  "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.1",
41
- "@smithy/middleware-retry": "^4.2.1",
40
+ "@smithy/middleware-endpoint": "^4.2.2",
41
+ "@smithy/middleware-retry": "^4.2.3",
42
42
  "@smithy/middleware-serde": "^4.1.1",
43
43
  "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.1",
44
+ "@smithy/node-config-provider": "^4.2.2",
45
45
  "@smithy/node-http-handler": "^4.2.1",
46
46
  "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.1",
47
+ "@smithy/smithy-client": "^4.6.2",
48
48
  "@smithy/types": "^4.5.0",
49
49
  "@smithy/url-parser": "^4.1.1",
50
50
  "@smithy/util-base64": "^4.1.0",
51
51
  "@smithy/util-body-length-browser": "^4.1.0",
52
52
  "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.1",
54
- "@smithy/util-defaults-mode-node": "^4.1.1",
55
- "@smithy/util-endpoints": "^3.1.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.2",
54
+ "@smithy/util-defaults-mode-node": "^4.1.2",
55
+ "@smithy/util-endpoints": "^3.1.2",
56
56
  "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.1",
57
+ "@smithy/util-retry": "^4.1.2",
58
58
  "@smithy/util-utf8": "^4.1.0",
59
59
  "tslib": "^2.6.2"
60
60
  },