@aws-sdk/client-sns 3.300.0 → 3.301.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 (42) hide show
  1. package/dist-types/commands/AddPermissionCommand.d.ts +3 -3
  2. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +1 -1
  3. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +1 -1
  4. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +2 -2
  5. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateTopicCommand.d.ts +4 -4
  8. package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
  9. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteTopicCommand.d.ts +1 -1
  12. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +1 -1
  14. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +1 -1
  15. package/dist-types/commands/GetSMSAttributesCommand.d.ts +2 -2
  16. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +1 -1
  17. package/dist-types/commands/GetTopicAttributesCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +1 -1
  19. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +1 -1
  20. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +1 -1
  24. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTopicsCommand.d.ts +1 -1
  27. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +1 -1
  28. package/dist-types/commands/PublishBatchCommand.d.ts +5 -5
  29. package/dist-types/commands/PublishCommand.d.ts +3 -3
  30. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  32. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +2 -2
  33. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +2 -2
  34. package/dist-types/commands/SetSMSAttributesCommand.d.ts +2 -2
  35. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +1 -1
  36. package/dist-types/commands/SetTopicAttributesCommand.d.ts +1 -1
  37. package/dist-types/commands/SubscribeCommand.d.ts +2 -2
  38. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  39. package/dist-types/commands/UnsubscribeCommand.d.ts +1 -1
  40. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  41. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +1 -1
  42. package/package.json +3 -3
@@ -32,13 +32,13 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
32
32
  * import { SNSClient, AddPermissionCommand } from "@aws-sdk/client-sns"; // ES Modules import
33
33
  * // const { SNSClient, AddPermissionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
34
34
  * const client = new SNSClient(config);
35
- * const input = {
35
+ * const input = { // AddPermissionInput
36
36
  * TopicArn: "STRING_VALUE", // required
37
37
  * Label: "STRING_VALUE", // required
38
- * AWSAccountId: [ // required
38
+ * AWSAccountId: [ // DelegatesList // required
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * ActionName: [ // required
41
+ * ActionName: [ // ActionsList // required
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * };
@@ -30,7 +30,7 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
30
30
  * import { SNSClient, CheckIfPhoneNumberIsOptedOutCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, CheckIfPhoneNumberIsOptedOutCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // CheckIfPhoneNumberIsOptedOutInput
34
34
  * phoneNumber: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new CheckIfPhoneNumberIsOptedOutCommand(input);
@@ -30,7 +30,7 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
30
30
  * import { SNSClient, ConfirmSubscriptionCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, ConfirmSubscriptionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // ConfirmSubscriptionInput
34
34
  * TopicArn: "STRING_VALUE", // required
35
35
  * Token: "STRING_VALUE", // required
36
36
  * AuthenticateOnUnsubscribe: "STRING_VALUE",
@@ -70,10 +70,10 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
70
70
  * import { SNSClient, CreatePlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
71
71
  * // const { SNSClient, CreatePlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
72
72
  * const client = new SNSClient(config);
73
- * const input = {
73
+ * const input = { // CreatePlatformApplicationInput
74
74
  * Name: "STRING_VALUE", // required
75
75
  * Platform: "STRING_VALUE", // required
76
- * Attributes: { // required
76
+ * Attributes: { // MapStringToString // required
77
77
  * "<keys>": "STRING_VALUE",
78
78
  * },
79
79
  * };
@@ -39,11 +39,11 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
39
39
  * import { SNSClient, CreatePlatformEndpointCommand } from "@aws-sdk/client-sns"; // ES Modules import
40
40
  * // const { SNSClient, CreatePlatformEndpointCommand } = require("@aws-sdk/client-sns"); // CommonJS import
41
41
  * const client = new SNSClient(config);
42
- * const input = {
42
+ * const input = { // CreatePlatformEndpointInput
43
43
  * PlatformApplicationArn: "STRING_VALUE", // required
44
44
  * Token: "STRING_VALUE", // required
45
45
  * CustomUserData: "STRING_VALUE",
46
- * Attributes: {
46
+ * Attributes: { // MapStringToString
47
47
  * "<keys>": "STRING_VALUE",
48
48
  * },
49
49
  * };
@@ -35,7 +35,7 @@ export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandb
35
35
  * import { SNSClient, CreateSMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, CreateSMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // CreateSMSSandboxPhoneNumberInput
39
39
  * PhoneNumber: "STRING_VALUE", // required
40
40
  * LanguageCode: "en-US" || "en-GB" || "es-419" || "es-ES" || "de-DE" || "fr-CA" || "fr-FR" || "it-IT" || "ja-JP" || "pt-BR" || "kr-KR" || "zh-CN" || "zh-TW",
41
41
  * };
@@ -30,13 +30,13 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
30
30
  * import { SNSClient, CreateTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, CreateTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // CreateTopicInput
34
34
  * Name: "STRING_VALUE", // required
35
- * Attributes: {
35
+ * Attributes: { // TopicAttributesMap
36
36
  * "<keys>": "STRING_VALUE",
37
37
  * },
38
- * Tags: [
39
- * {
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
40
  * Key: "STRING_VALUE", // required
41
41
  * Value: "STRING_VALUE", // required
42
42
  * },
@@ -30,7 +30,7 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
30
30
  * import { SNSClient, DeleteEndpointCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, DeleteEndpointCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // DeleteEndpointInput
34
34
  * EndpointArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteEndpointCommand(input);
@@ -29,7 +29,7 @@ export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer
29
29
  * import { SNSClient, DeletePlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
30
30
  * // const { SNSClient, DeletePlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
31
31
  * const client = new SNSClient(config);
32
- * const input = {
32
+ * const input = { // DeletePlatformApplicationInput
33
33
  * PlatformApplicationArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeletePlatformApplicationCommand(input);
@@ -35,7 +35,7 @@ export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandb
35
35
  * import { SNSClient, DeleteSMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, DeleteSMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // DeleteSMSSandboxPhoneNumberInput
39
39
  * PhoneNumber: "STRING_VALUE", // required
40
40
  * };
41
41
  * const command = new DeleteSMSSandboxPhoneNumberCommand(input);
@@ -29,7 +29,7 @@ export interface DeleteTopicCommandOutput extends __MetadataBearer {
29
29
  * import { SNSClient, DeleteTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
30
30
  * // const { SNSClient, DeleteTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
31
31
  * const client = new SNSClient(config);
32
- * const input = {
32
+ * const input = { // DeleteTopicInput
33
33
  * TopicArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DeleteTopicCommand(input);
@@ -27,7 +27,7 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
27
27
  * import { SNSClient, GetDataProtectionPolicyCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, GetDataProtectionPolicyCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // GetDataProtectionPolicyInput
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new GetDataProtectionPolicyCommand(input);
@@ -28,7 +28,7 @@ export interface GetEndpointAttributesCommandOutput extends GetEndpointAttribute
28
28
  * import { SNSClient, GetEndpointAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
29
29
  * // const { SNSClient, GetEndpointAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
30
30
  * const client = new SNSClient(config);
31
- * const input = {
31
+ * const input = { // GetEndpointAttributesInput
32
32
  * EndpointArn: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new GetEndpointAttributesCommand(input);
@@ -28,7 +28,7 @@ export interface GetPlatformApplicationAttributesCommandOutput extends GetPlatfo
28
28
  * import { SNSClient, GetPlatformApplicationAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
29
29
  * // const { SNSClient, GetPlatformApplicationAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
30
30
  * const client = new SNSClient(config);
31
- * const input = {
31
+ * const input = { // GetPlatformApplicationAttributesInput
32
32
  * PlatformApplicationArn: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new GetPlatformApplicationAttributesCommand(input);
@@ -27,8 +27,8 @@ export interface GetSMSAttributesCommandOutput extends GetSMSAttributesResponse,
27
27
  * import { SNSClient, GetSMSAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, GetSMSAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
31
- * attributes: [
30
+ * const input = { // GetSMSAttributesInput
31
+ * attributes: [ // ListString
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface GetSubscriptionAttributesCommandOutput extends GetSubscriptionA
26
26
  * import { SNSClient, GetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
27
27
  * // const { SNSClient, GetSubscriptionAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
28
28
  * const client = new SNSClient(config);
29
- * const input = {
29
+ * const input = { // GetSubscriptionAttributesInput
30
30
  * SubscriptionArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetSubscriptionAttributesCommand(input);
@@ -27,7 +27,7 @@ export interface GetTopicAttributesCommandOutput extends GetTopicAttributesRespo
27
27
  * import { SNSClient, GetTopicAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, GetTopicAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // GetTopicAttributesInput
31
31
  * TopicArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new GetTopicAttributesCommand(input);
@@ -35,7 +35,7 @@ export interface ListEndpointsByPlatformApplicationCommandOutput extends ListEnd
35
35
  * import { SNSClient, ListEndpointsByPlatformApplicationCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, ListEndpointsByPlatformApplicationCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // ListEndpointsByPlatformApplicationInput
39
39
  * PlatformApplicationArn: "STRING_VALUE", // required
40
40
  * NextToken: "STRING_VALUE",
41
41
  * };
@@ -28,7 +28,7 @@ export interface ListOriginationNumbersCommandOutput extends ListOriginationNumb
28
28
  * import { SNSClient, ListOriginationNumbersCommand } from "@aws-sdk/client-sns"; // ES Modules import
29
29
  * // const { SNSClient, ListOriginationNumbersCommand } = require("@aws-sdk/client-sns"); // CommonJS import
30
30
  * const client = new SNSClient(config);
31
- * const input = {
31
+ * const input = { // ListOriginationNumbersRequest
32
32
  * NextToken: "STRING_VALUE",
33
33
  * MaxResults: Number("int"),
34
34
  * };
@@ -33,7 +33,7 @@ export interface ListPhoneNumbersOptedOutCommandOutput extends ListPhoneNumbersO
33
33
  * import { SNSClient, ListPhoneNumbersOptedOutCommand } from "@aws-sdk/client-sns"; // ES Modules import
34
34
  * // const { SNSClient, ListPhoneNumbersOptedOutCommand } = require("@aws-sdk/client-sns"); // CommonJS import
35
35
  * const client = new SNSClient(config);
36
- * const input = {
36
+ * const input = { // ListPhoneNumbersOptedOutInput
37
37
  * nextToken: "STRING_VALUE",
38
38
  * };
39
39
  * const command = new ListPhoneNumbersOptedOutCommand(input);
@@ -35,7 +35,7 @@ export interface ListPlatformApplicationsCommandOutput extends ListPlatformAppli
35
35
  * import { SNSClient, ListPlatformApplicationsCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, ListPlatformApplicationsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // ListPlatformApplicationsInput
39
39
  * NextToken: "STRING_VALUE",
40
40
  * };
41
41
  * const command = new ListPlatformApplicationsCommand(input);
@@ -35,7 +35,7 @@ export interface ListSMSSandboxPhoneNumbersCommandOutput extends ListSMSSandboxP
35
35
  * import { SNSClient, ListSMSSandboxPhoneNumbersCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, ListSMSSandboxPhoneNumbersCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // ListSMSSandboxPhoneNumbersInput
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
41
  * };
@@ -30,7 +30,7 @@ export interface ListSubscriptionsByTopicCommandOutput extends ListSubscriptions
30
30
  * import { SNSClient, ListSubscriptionsByTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, ListSubscriptionsByTopicCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // ListSubscriptionsByTopicInput
34
34
  * TopicArn: "STRING_VALUE", // required
35
35
  * NextToken: "STRING_VALUE",
36
36
  * };
@@ -30,7 +30,7 @@ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsRespons
30
30
  * import { SNSClient, ListSubscriptionsCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, ListSubscriptionsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // ListSubscriptionsInput
34
34
  * NextToken: "STRING_VALUE",
35
35
  * };
36
36
  * const command = new ListSubscriptionsCommand(input);
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { SNSClient, ListTagsForResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
@@ -30,7 +30,7 @@ export interface ListTopicsCommandOutput extends ListTopicsResponse, __MetadataB
30
30
  * import { SNSClient, ListTopicsCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, ListTopicsCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // ListTopicsInput
34
34
  * NextToken: "STRING_VALUE",
35
35
  * };
36
36
  * const command = new ListTopicsCommand(input);
@@ -28,7 +28,7 @@ export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse,
28
28
  * import { SNSClient, OptInPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
29
29
  * // const { SNSClient, OptInPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
30
30
  * const client = new SNSClient(config);
31
- * const input = {
31
+ * const input = { // OptInPhoneNumberInput
32
32
  * phoneNumber: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new OptInPhoneNumberCommand(input);
@@ -46,16 +46,16 @@ export interface PublishBatchCommandOutput extends PublishBatchResponse, __Metad
46
46
  * import { SNSClient, PublishBatchCommand } from "@aws-sdk/client-sns"; // ES Modules import
47
47
  * // const { SNSClient, PublishBatchCommand } = require("@aws-sdk/client-sns"); // CommonJS import
48
48
  * const client = new SNSClient(config);
49
- * const input = {
49
+ * const input = { // PublishBatchInput
50
50
  * TopicArn: "STRING_VALUE", // required
51
- * PublishBatchRequestEntries: [ // required
52
- * {
51
+ * PublishBatchRequestEntries: [ // PublishBatchRequestEntryList // required
52
+ * { // PublishBatchRequestEntry
53
53
  * Id: "STRING_VALUE", // required
54
54
  * Message: "STRING_VALUE", // required
55
55
  * Subject: "STRING_VALUE",
56
56
  * MessageStructure: "STRING_VALUE",
57
- * MessageAttributes: {
58
- * "<keys>": {
57
+ * MessageAttributes: { // MessageAttributeMap
58
+ * "<keys>": { // MessageAttributeValue
59
59
  * DataType: "STRING_VALUE", // required
60
60
  * StringValue: "STRING_VALUE",
61
61
  * BinaryValue: "BLOB_VALUE",
@@ -43,15 +43,15 @@ export interface PublishCommandOutput extends PublishResponse, __MetadataBearer
43
43
  * import { SNSClient, PublishCommand } from "@aws-sdk/client-sns"; // ES Modules import
44
44
  * // const { SNSClient, PublishCommand } = require("@aws-sdk/client-sns"); // CommonJS import
45
45
  * const client = new SNSClient(config);
46
- * const input = {
46
+ * const input = { // PublishInput
47
47
  * TopicArn: "STRING_VALUE",
48
48
  * TargetArn: "STRING_VALUE",
49
49
  * PhoneNumber: "STRING_VALUE",
50
50
  * Message: "STRING_VALUE", // required
51
51
  * Subject: "STRING_VALUE",
52
52
  * MessageStructure: "STRING_VALUE",
53
- * MessageAttributes: {
54
- * "<keys>": {
53
+ * MessageAttributes: { // MessageAttributeMap
54
+ * "<keys>": { // MessageAttributeValue
55
55
  * DataType: "STRING_VALUE", // required
56
56
  * StringValue: "STRING_VALUE",
57
57
  * BinaryValue: "BLOB_VALUE",
@@ -27,7 +27,7 @@ export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
27
27
  * import { SNSClient, PutDataProtectionPolicyCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, PutDataProtectionPolicyCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // PutDataProtectionPolicyInput
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * DataProtectionPolicy: "STRING_VALUE", // required
33
33
  * };
@@ -31,7 +31,7 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
31
31
  * import { SNSClient, RemovePermissionCommand } from "@aws-sdk/client-sns"; // ES Modules import
32
32
  * // const { SNSClient, RemovePermissionCommand } = require("@aws-sdk/client-sns"); // CommonJS import
33
33
  * const client = new SNSClient(config);
34
- * const input = {
34
+ * const input = { // RemovePermissionInput
35
35
  * TopicArn: "STRING_VALUE", // required
36
36
  * Label: "STRING_VALUE", // required
37
37
  * };
@@ -28,9 +28,9 @@ export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
28
28
  * import { SNSClient, SetEndpointAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
29
29
  * // const { SNSClient, SetEndpointAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
30
30
  * const client = new SNSClient(config);
31
- * const input = {
31
+ * const input = { // SetEndpointAttributesInput
32
32
  * EndpointArn: "STRING_VALUE", // required
33
- * Attributes: { // required
33
+ * Attributes: { // MapStringToString // required
34
34
  * "<keys>": "STRING_VALUE",
35
35
  * },
36
36
  * };
@@ -30,9 +30,9 @@ export interface SetPlatformApplicationAttributesCommandOutput extends __Metadat
30
30
  * import { SNSClient, SetPlatformApplicationAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
31
31
  * // const { SNSClient, SetPlatformApplicationAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
32
32
  * const client = new SNSClient(config);
33
- * const input = {
33
+ * const input = { // SetPlatformApplicationAttributesInput
34
34
  * PlatformApplicationArn: "STRING_VALUE", // required
35
- * Attributes: { // required
35
+ * Attributes: { // MapStringToString // required
36
36
  * "<keys>": "STRING_VALUE",
37
37
  * },
38
38
  * };
@@ -36,8 +36,8 @@ export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse,
36
36
  * import { SNSClient, SetSMSAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
37
37
  * // const { SNSClient, SetSMSAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
38
38
  * const client = new SNSClient(config);
39
- * const input = {
40
- * attributes: { // required
39
+ * const input = { // SetSMSAttributesInput
40
+ * attributes: { // MapStringToString // required
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
43
  * };
@@ -27,7 +27,7 @@ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer
27
27
  * import { SNSClient, SetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, SetSubscriptionAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // SetSubscriptionAttributesInput
31
31
  * SubscriptionArn: "STRING_VALUE", // required
32
32
  * AttributeName: "STRING_VALUE", // required
33
33
  * AttributeValue: "STRING_VALUE",
@@ -31,7 +31,7 @@ export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
31
31
  * import { SNSClient, SetTopicAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import
32
32
  * // const { SNSClient, SetTopicAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import
33
33
  * const client = new SNSClient(config);
34
- * const input = {
34
+ * const input = { // SetTopicAttributesInput
35
35
  * TopicArn: "STRING_VALUE", // required
36
36
  * AttributeName: "STRING_VALUE", // required
37
37
  * AttributeValue: "STRING_VALUE",
@@ -31,11 +31,11 @@ export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBea
31
31
  * import { SNSClient, SubscribeCommand } from "@aws-sdk/client-sns"; // ES Modules import
32
32
  * // const { SNSClient, SubscribeCommand } = require("@aws-sdk/client-sns"); // CommonJS import
33
33
  * const client = new SNSClient(config);
34
- * const input = {
34
+ * const input = { // SubscribeInput
35
35
  * TopicArn: "STRING_VALUE", // required
36
36
  * Protocol: "STRING_VALUE", // required
37
37
  * Endpoint: "STRING_VALUE",
38
- * Attributes: {
38
+ * Attributes: { // SubscriptionAttributesMap
39
39
  * "<keys>": "STRING_VALUE",
40
40
  * },
41
41
  * ReturnSubscriptionArn: true || false,
@@ -48,10 +48,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
48
48
  * import { SNSClient, TagResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
49
49
  * // const { SNSClient, TagResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
50
50
  * const client = new SNSClient(config);
51
- * const input = {
51
+ * const input = { // TagResourceRequest
52
52
  * ResourceArn: "STRING_VALUE", // required
53
- * Tags: [ // required
54
- * {
53
+ * Tags: [ // TagList // required
54
+ * { // Tag
55
55
  * Key: "STRING_VALUE", // required
56
56
  * Value: "STRING_VALUE", // required
57
57
  * },
@@ -37,7 +37,7 @@ export interface UnsubscribeCommandOutput extends __MetadataBearer {
37
37
  * import { SNSClient, UnsubscribeCommand } from "@aws-sdk/client-sns"; // ES Modules import
38
38
  * // const { SNSClient, UnsubscribeCommand } = require("@aws-sdk/client-sns"); // CommonJS import
39
39
  * const client = new SNSClient(config);
40
- * const input = {
40
+ * const input = { // UnsubscribeInput
41
41
  * SubscriptionArn: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new UnsubscribeCommand(input);
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { SNSClient, UntagResourceCommand } from "@aws-sdk/client-sns"; // ES Modules import
28
28
  * // const { SNSClient, UntagResourceCommand } = require("@aws-sdk/client-sns"); // CommonJS import
29
29
  * const client = new SNSClient(config);
30
- * const input = {
30
+ * const input = { // UntagResourceRequest
31
31
  * ResourceArn: "STRING_VALUE", // required
32
- * TagKeys: [ // required
32
+ * TagKeys: [ // TagKeyList // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -35,7 +35,7 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
35
35
  * import { SNSClient, VerifySMSSandboxPhoneNumberCommand } from "@aws-sdk/client-sns"; // ES Modules import
36
36
  * // const { SNSClient, VerifySMSSandboxPhoneNumberCommand } = require("@aws-sdk/client-sns"); // CommonJS import
37
37
  * const client = new SNSClient(config);
38
- * const input = {
38
+ * const input = { // VerifySMSSandboxPhoneNumberInput
39
39
  * PhoneNumber: "STRING_VALUE", // required
40
40
  * OneTimePassword: "STRING_VALUE", // required
41
41
  * };
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.300.0",
4
+ "version": "3.301.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",