@aws-sdk/client-sns 3.515.0 → 3.516.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.
package/dist-cjs/index.js CHANGED
@@ -26,15 +26,18 @@ __export(src_exports, {
26
26
  BatchEntryIdsNotDistinctException: () => BatchEntryIdsNotDistinctException,
27
27
  BatchRequestTooLongException: () => BatchRequestTooLongException,
28
28
  CheckIfPhoneNumberIsOptedOutCommand: () => CheckIfPhoneNumberIsOptedOutCommand,
29
+ CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog: () => CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog,
29
30
  ConcurrentAccessException: () => ConcurrentAccessException,
30
31
  ConfirmSubscriptionCommand: () => ConfirmSubscriptionCommand,
31
32
  CreatePlatformApplicationCommand: () => CreatePlatformApplicationCommand,
32
33
  CreatePlatformEndpointCommand: () => CreatePlatformEndpointCommand,
33
34
  CreateSMSSandboxPhoneNumberCommand: () => CreateSMSSandboxPhoneNumberCommand,
35
+ CreateSMSSandboxPhoneNumberInputFilterSensitiveLog: () => CreateSMSSandboxPhoneNumberInputFilterSensitiveLog,
34
36
  CreateTopicCommand: () => CreateTopicCommand,
35
37
  DeleteEndpointCommand: () => DeleteEndpointCommand,
36
38
  DeletePlatformApplicationCommand: () => DeletePlatformApplicationCommand,
37
39
  DeleteSMSSandboxPhoneNumberCommand: () => DeleteSMSSandboxPhoneNumberCommand,
40
+ DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog: () => DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog,
38
41
  DeleteTopicCommand: () => DeleteTopicCommand,
39
42
  EmptyBatchRequestException: () => EmptyBatchRequestException,
40
43
  EndpointDisabledException: () => EndpointDisabledException,
@@ -61,9 +64,12 @@ __export(src_exports, {
61
64
  LanguageCodeString: () => LanguageCodeString,
62
65
  ListEndpointsByPlatformApplicationCommand: () => ListEndpointsByPlatformApplicationCommand,
63
66
  ListOriginationNumbersCommand: () => ListOriginationNumbersCommand,
67
+ ListOriginationNumbersResultFilterSensitiveLog: () => ListOriginationNumbersResultFilterSensitiveLog,
64
68
  ListPhoneNumbersOptedOutCommand: () => ListPhoneNumbersOptedOutCommand,
69
+ ListPhoneNumbersOptedOutResponseFilterSensitiveLog: () => ListPhoneNumbersOptedOutResponseFilterSensitiveLog,
65
70
  ListPlatformApplicationsCommand: () => ListPlatformApplicationsCommand,
66
71
  ListSMSSandboxPhoneNumbersCommand: () => ListSMSSandboxPhoneNumbersCommand,
72
+ ListSMSSandboxPhoneNumbersResultFilterSensitiveLog: () => ListSMSSandboxPhoneNumbersResultFilterSensitiveLog,
67
73
  ListSubscriptionsByTopicCommand: () => ListSubscriptionsByTopicCommand,
68
74
  ListSubscriptionsCommand: () => ListSubscriptionsCommand,
69
75
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
@@ -71,15 +77,19 @@ __export(src_exports, {
71
77
  NotFoundException: () => NotFoundException,
72
78
  NumberCapability: () => NumberCapability,
73
79
  OptInPhoneNumberCommand: () => OptInPhoneNumberCommand,
80
+ OptInPhoneNumberInputFilterSensitiveLog: () => OptInPhoneNumberInputFilterSensitiveLog,
74
81
  OptedOutException: () => OptedOutException,
82
+ PhoneNumberInformationFilterSensitiveLog: () => PhoneNumberInformationFilterSensitiveLog,
75
83
  PlatformApplicationDisabledException: () => PlatformApplicationDisabledException,
76
84
  PublishBatchCommand: () => PublishBatchCommand,
77
85
  PublishCommand: () => PublishCommand,
86
+ PublishInputFilterSensitiveLog: () => PublishInputFilterSensitiveLog,
78
87
  PutDataProtectionPolicyCommand: () => PutDataProtectionPolicyCommand,
79
88
  RemovePermissionCommand: () => RemovePermissionCommand,
80
89
  ReplayLimitExceededException: () => ReplayLimitExceededException,
81
90
  ResourceNotFoundException: () => ResourceNotFoundException,
82
91
  RouteType: () => RouteType,
92
+ SMSSandboxPhoneNumberFilterSensitiveLog: () => SMSSandboxPhoneNumberFilterSensitiveLog,
83
93
  SMSSandboxPhoneNumberVerificationStatus: () => SMSSandboxPhoneNumberVerificationStatus,
84
94
  SNS: () => SNS,
85
95
  SNSClient: () => SNSClient,
@@ -104,6 +114,7 @@ __export(src_exports, {
104
114
  ValidationException: () => ValidationException,
105
115
  VerificationException: () => VerificationException,
106
116
  VerifySMSSandboxPhoneNumberCommand: () => VerifySMSSandboxPhoneNumberCommand,
117
+ VerifySMSSandboxPhoneNumberInputFilterSensitiveLog: () => VerifySMSSandboxPhoneNumberInputFilterSensitiveLog,
107
118
  __Client: () => import_smithy_client.Client,
108
119
  paginateListEndpointsByPlatformApplication: () => paginateListEndpointsByPlatformApplication,
109
120
  paginateListOriginationNumbers: () => paginateListOriginationNumbers,
@@ -273,6 +284,9 @@ var import_types = require("@smithy/types");
273
284
 
274
285
  var import_fast_xml_parser = require("fast-xml-parser");
275
286
 
287
+ // src/models/models_0.ts
288
+
289
+
276
290
  // src/models/SNSServiceException.ts
277
291
 
278
292
  var _SNSServiceException = class _SNSServiceException extends import_smithy_client.ServiceException {
@@ -898,6 +912,54 @@ var _VerificationException = class _VerificationException extends SNSServiceExce
898
912
  };
899
913
  __name(_VerificationException, "VerificationException");
900
914
  var VerificationException = _VerificationException;
915
+ var CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
916
+ ...obj,
917
+ ...obj.phoneNumber && { phoneNumber: import_smithy_client.SENSITIVE_STRING }
918
+ }), "CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog");
919
+ var CreateSMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
920
+ ...obj,
921
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
922
+ }), "CreateSMSSandboxPhoneNumberInputFilterSensitiveLog");
923
+ var DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
924
+ ...obj,
925
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
926
+ }), "DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog");
927
+ var PhoneNumberInformationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
928
+ ...obj,
929
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
930
+ }), "PhoneNumberInformationFilterSensitiveLog");
931
+ var ListOriginationNumbersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
932
+ ...obj,
933
+ ...obj.PhoneNumbers && {
934
+ PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberInformationFilterSensitiveLog(item))
935
+ }
936
+ }), "ListOriginationNumbersResultFilterSensitiveLog");
937
+ var ListPhoneNumbersOptedOutResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
938
+ ...obj,
939
+ ...obj.phoneNumbers && { phoneNumbers: import_smithy_client.SENSITIVE_STRING }
940
+ }), "ListPhoneNumbersOptedOutResponseFilterSensitiveLog");
941
+ var SMSSandboxPhoneNumberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
942
+ ...obj,
943
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
944
+ }), "SMSSandboxPhoneNumberFilterSensitiveLog");
945
+ var ListSMSSandboxPhoneNumbersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
946
+ ...obj,
947
+ ...obj.PhoneNumbers && {
948
+ PhoneNumbers: obj.PhoneNumbers.map((item) => SMSSandboxPhoneNumberFilterSensitiveLog(item))
949
+ }
950
+ }), "ListSMSSandboxPhoneNumbersResultFilterSensitiveLog");
951
+ var OptInPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
952
+ ...obj,
953
+ ...obj.phoneNumber && { phoneNumber: import_smithy_client.SENSITIVE_STRING }
954
+ }), "OptInPhoneNumberInputFilterSensitiveLog");
955
+ var PublishInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
956
+ ...obj,
957
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
958
+ }), "PublishInputFilterSensitiveLog");
959
+ var VerifySMSSandboxPhoneNumberInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
960
+ ...obj,
961
+ ...obj.PhoneNumber && { PhoneNumber: import_smithy_client.SENSITIVE_STRING }
962
+ }), "VerifySMSSandboxPhoneNumberInputFilterSensitiveLog");
901
963
 
902
964
  // src/protocols/Aws_query.ts
903
965
  var se_AddPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -3847,7 +3909,7 @@ var _CheckIfPhoneNumberIsOptedOutCommand = class _CheckIfPhoneNumberIsOptedOutCo
3847
3909
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3848
3910
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3849
3911
  ];
3850
- }).s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {}).n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand").f(void 0, void 0).ser(se_CheckIfPhoneNumberIsOptedOutCommand).de(de_CheckIfPhoneNumberIsOptedOutCommand).build() {
3912
+ }).s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {}).n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand").f(CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, void 0).ser(se_CheckIfPhoneNumberIsOptedOutCommand).de(de_CheckIfPhoneNumberIsOptedOutCommand).build() {
3851
3913
  };
3852
3914
  __name(_CheckIfPhoneNumberIsOptedOutCommand, "CheckIfPhoneNumberIsOptedOutCommand");
3853
3915
  var CheckIfPhoneNumberIsOptedOutCommand = _CheckIfPhoneNumberIsOptedOutCommand;
@@ -3915,7 +3977,7 @@ var _CreateSMSSandboxPhoneNumberCommand = class _CreateSMSSandboxPhoneNumberComm
3915
3977
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3916
3978
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3917
3979
  ];
3918
- }).s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {}).n("SNSClient", "CreateSMSSandboxPhoneNumberCommand").f(void 0, void 0).ser(se_CreateSMSSandboxPhoneNumberCommand).de(de_CreateSMSSandboxPhoneNumberCommand).build() {
3980
+ }).s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {}).n("SNSClient", "CreateSMSSandboxPhoneNumberCommand").f(CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0).ser(se_CreateSMSSandboxPhoneNumberCommand).de(de_CreateSMSSandboxPhoneNumberCommand).build() {
3919
3981
  };
3920
3982
  __name(_CreateSMSSandboxPhoneNumberCommand, "CreateSMSSandboxPhoneNumberCommand");
3921
3983
  var CreateSMSSandboxPhoneNumberCommand = _CreateSMSSandboxPhoneNumberCommand;
@@ -3983,7 +4045,7 @@ var _DeleteSMSSandboxPhoneNumberCommand = class _DeleteSMSSandboxPhoneNumberComm
3983
4045
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3984
4046
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3985
4047
  ];
3986
- }).s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {}).n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand").f(void 0, void 0).ser(se_DeleteSMSSandboxPhoneNumberCommand).de(de_DeleteSMSSandboxPhoneNumberCommand).build() {
4048
+ }).s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {}).n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand").f(DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0).ser(se_DeleteSMSSandboxPhoneNumberCommand).de(de_DeleteSMSSandboxPhoneNumberCommand).build() {
3987
4049
  };
3988
4050
  __name(_DeleteSMSSandboxPhoneNumberCommand, "DeleteSMSSandboxPhoneNumberCommand");
3989
4051
  var DeleteSMSSandboxPhoneNumberCommand = _DeleteSMSSandboxPhoneNumberCommand;
@@ -4153,7 +4215,7 @@ var _ListOriginationNumbersCommand = class _ListOriginationNumbersCommand extend
4153
4215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4154
4216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4155
4217
  ];
4156
- }).s("AmazonSimpleNotificationService", "ListOriginationNumbers", {}).n("SNSClient", "ListOriginationNumbersCommand").f(void 0, void 0).ser(se_ListOriginationNumbersCommand).de(de_ListOriginationNumbersCommand).build() {
4218
+ }).s("AmazonSimpleNotificationService", "ListOriginationNumbers", {}).n("SNSClient", "ListOriginationNumbersCommand").f(void 0, ListOriginationNumbersResultFilterSensitiveLog).ser(se_ListOriginationNumbersCommand).de(de_ListOriginationNumbersCommand).build() {
4157
4219
  };
4158
4220
  __name(_ListOriginationNumbersCommand, "ListOriginationNumbersCommand");
4159
4221
  var ListOriginationNumbersCommand = _ListOriginationNumbersCommand;
@@ -4170,7 +4232,7 @@ var _ListPhoneNumbersOptedOutCommand = class _ListPhoneNumbersOptedOutCommand ex
4170
4232
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4171
4233
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4172
4234
  ];
4173
- }).s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {}).n("SNSClient", "ListPhoneNumbersOptedOutCommand").f(void 0, void 0).ser(se_ListPhoneNumbersOptedOutCommand).de(de_ListPhoneNumbersOptedOutCommand).build() {
4235
+ }).s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {}).n("SNSClient", "ListPhoneNumbersOptedOutCommand").f(void 0, ListPhoneNumbersOptedOutResponseFilterSensitiveLog).ser(se_ListPhoneNumbersOptedOutCommand).de(de_ListPhoneNumbersOptedOutCommand).build() {
4174
4236
  };
4175
4237
  __name(_ListPhoneNumbersOptedOutCommand, "ListPhoneNumbersOptedOutCommand");
4176
4238
  var ListPhoneNumbersOptedOutCommand = _ListPhoneNumbersOptedOutCommand;
@@ -4204,7 +4266,7 @@ var _ListSMSSandboxPhoneNumbersCommand = class _ListSMSSandboxPhoneNumbersComman
4204
4266
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4205
4267
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4206
4268
  ];
4207
- }).s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {}).n("SNSClient", "ListSMSSandboxPhoneNumbersCommand").f(void 0, void 0).ser(se_ListSMSSandboxPhoneNumbersCommand).de(de_ListSMSSandboxPhoneNumbersCommand).build() {
4269
+ }).s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {}).n("SNSClient", "ListSMSSandboxPhoneNumbersCommand").f(void 0, ListSMSSandboxPhoneNumbersResultFilterSensitiveLog).ser(se_ListSMSSandboxPhoneNumbersCommand).de(de_ListSMSSandboxPhoneNumbersCommand).build() {
4208
4270
  };
4209
4271
  __name(_ListSMSSandboxPhoneNumbersCommand, "ListSMSSandboxPhoneNumbersCommand");
4210
4272
  var ListSMSSandboxPhoneNumbersCommand = _ListSMSSandboxPhoneNumbersCommand;
@@ -4289,7 +4351,7 @@ var _OptInPhoneNumberCommand = class _OptInPhoneNumberCommand extends import_smi
4289
4351
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4290
4352
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4291
4353
  ];
4292
- }).s("AmazonSimpleNotificationService", "OptInPhoneNumber", {}).n("SNSClient", "OptInPhoneNumberCommand").f(void 0, void 0).ser(se_OptInPhoneNumberCommand).de(de_OptInPhoneNumberCommand).build() {
4354
+ }).s("AmazonSimpleNotificationService", "OptInPhoneNumber", {}).n("SNSClient", "OptInPhoneNumberCommand").f(OptInPhoneNumberInputFilterSensitiveLog, void 0).ser(se_OptInPhoneNumberCommand).de(de_OptInPhoneNumberCommand).build() {
4293
4355
  };
4294
4356
  __name(_OptInPhoneNumberCommand, "OptInPhoneNumberCommand");
4295
4357
  var OptInPhoneNumberCommand = _OptInPhoneNumberCommand;
@@ -4323,7 +4385,7 @@ var _PublishCommand = class _PublishCommand extends import_smithy_client.Command
4323
4385
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4324
4386
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4325
4387
  ];
4326
- }).s("AmazonSimpleNotificationService", "Publish", {}).n("SNSClient", "PublishCommand").f(void 0, void 0).ser(se_PublishCommand).de(de_PublishCommand).build() {
4388
+ }).s("AmazonSimpleNotificationService", "Publish", {}).n("SNSClient", "PublishCommand").f(PublishInputFilterSensitiveLog, void 0).ser(se_PublishCommand).de(de_PublishCommand).build() {
4327
4389
  };
4328
4390
  __name(_PublishCommand, "PublishCommand");
4329
4391
  var PublishCommand = _PublishCommand;
@@ -4527,7 +4589,7 @@ var _VerifySMSSandboxPhoneNumberCommand = class _VerifySMSSandboxPhoneNumberComm
4527
4589
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4528
4590
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4529
4591
  ];
4530
- }).s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {}).n("SNSClient", "VerifySMSSandboxPhoneNumberCommand").f(void 0, void 0).ser(se_VerifySMSSandboxPhoneNumberCommand).de(de_VerifySMSSandboxPhoneNumberCommand).build() {
4592
+ }).s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {}).n("SNSClient", "VerifySMSSandboxPhoneNumberCommand").f(VerifySMSSandboxPhoneNumberInputFilterSensitiveLog, void 0).ser(se_VerifySMSSandboxPhoneNumberCommand).de(de_VerifySMSSandboxPhoneNumberCommand).build() {
4531
4593
  };
4532
4594
  __name(_VerifySMSSandboxPhoneNumberCommand, "VerifySMSSandboxPhoneNumberCommand");
4533
4595
  var VerifySMSSandboxPhoneNumberCommand = _VerifySMSSandboxPhoneNumberCommand;
@@ -4712,6 +4774,17 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
4712
4774
  EmptyBatchRequestException,
4713
4775
  InvalidBatchEntryIdException,
4714
4776
  TooManyEntriesInBatchRequestException,
4715
- VerificationException
4777
+ VerificationException,
4778
+ CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog,
4779
+ CreateSMSSandboxPhoneNumberInputFilterSensitiveLog,
4780
+ DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog,
4781
+ PhoneNumberInformationFilterSensitiveLog,
4782
+ ListOriginationNumbersResultFilterSensitiveLog,
4783
+ ListPhoneNumbersOptedOutResponseFilterSensitiveLog,
4784
+ SMSSandboxPhoneNumberFilterSensitiveLog,
4785
+ ListSMSSandboxPhoneNumbersResultFilterSensitiveLog,
4786
+ OptInPhoneNumberInputFilterSensitiveLog,
4787
+ PublishInputFilterSensitiveLog,
4788
+ VerifySMSSandboxPhoneNumberInputFilterSensitiveLog
4716
4789
  });
4717
4790
 
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CheckIfPhoneNumberIsOptedOutCommand, se_CheckIfPhoneNumberIsOptedOutCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class CheckIfPhoneNumberIsOptedOutCommand extends $Command
@@ -17,7 +18,7 @@ export class CheckIfPhoneNumberIsOptedOutCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {})
19
20
  .n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand")
20
- .f(void 0, void 0)
21
+ .f(CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, void 0)
21
22
  .ser(se_CheckIfPhoneNumberIsOptedOutCommand)
22
23
  .de(de_CheckIfPhoneNumberIsOptedOutCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateSMSSandboxPhoneNumberCommand, se_CreateSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class CreateSMSSandboxPhoneNumberCommand extends $Command
@@ -17,7 +18,7 @@ export class CreateSMSSandboxPhoneNumberCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
19
20
  .n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
20
- .f(void 0, void 0)
21
+ .f(CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0)
21
22
  .ser(se_CreateSMSSandboxPhoneNumberCommand)
22
23
  .de(de_CreateSMSSandboxPhoneNumberCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_DeleteSMSSandboxPhoneNumberCommand, se_DeleteSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class DeleteSMSSandboxPhoneNumberCommand extends $Command
@@ -17,7 +18,7 @@ export class DeleteSMSSandboxPhoneNumberCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
19
20
  .n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
20
- .f(void 0, void 0)
21
+ .f(DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0)
21
22
  .ser(se_DeleteSMSSandboxPhoneNumberCommand)
22
23
  .de(de_DeleteSMSSandboxPhoneNumberCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListOriginationNumbersResultFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_ListOriginationNumbersCommand, se_ListOriginationNumbersCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class ListOriginationNumbersCommand extends $Command
@@ -17,7 +18,7 @@ export class ListOriginationNumbersCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "ListOriginationNumbers", {})
19
20
  .n("SNSClient", "ListOriginationNumbersCommand")
20
- .f(void 0, void 0)
21
+ .f(void 0, ListOriginationNumbersResultFilterSensitiveLog)
21
22
  .ser(se_ListOriginationNumbersCommand)
22
23
  .de(de_ListOriginationNumbersCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListPhoneNumbersOptedOutResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_ListPhoneNumbersOptedOutCommand, se_ListPhoneNumbersOptedOutCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class ListPhoneNumbersOptedOutCommand extends $Command
@@ -17,7 +18,7 @@ export class ListPhoneNumbersOptedOutCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {})
19
20
  .n("SNSClient", "ListPhoneNumbersOptedOutCommand")
20
- .f(void 0, void 0)
21
+ .f(void 0, ListPhoneNumbersOptedOutResponseFilterSensitiveLog)
21
22
  .ser(se_ListPhoneNumbersOptedOutCommand)
22
23
  .de(de_ListPhoneNumbersOptedOutCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListSMSSandboxPhoneNumbersResultFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_ListSMSSandboxPhoneNumbersCommand, se_ListSMSSandboxPhoneNumbersCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class ListSMSSandboxPhoneNumbersCommand extends $Command
@@ -17,7 +18,7 @@ export class ListSMSSandboxPhoneNumbersCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {})
19
20
  .n("SNSClient", "ListSMSSandboxPhoneNumbersCommand")
20
- .f(void 0, void 0)
21
+ .f(void 0, ListSMSSandboxPhoneNumbersResultFilterSensitiveLog)
21
22
  .ser(se_ListSMSSandboxPhoneNumbersCommand)
22
23
  .de(de_ListSMSSandboxPhoneNumbersCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { OptInPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_OptInPhoneNumberCommand, se_OptInPhoneNumberCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class OptInPhoneNumberCommand extends $Command
@@ -17,7 +18,7 @@ export class OptInPhoneNumberCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "OptInPhoneNumber", {})
19
20
  .n("SNSClient", "OptInPhoneNumberCommand")
20
- .f(void 0, void 0)
21
+ .f(OptInPhoneNumberInputFilterSensitiveLog, void 0)
21
22
  .ser(se_OptInPhoneNumberCommand)
22
23
  .de(de_OptInPhoneNumberCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { PublishInputFilterSensitiveLog } from "../models/models_0";
5
6
  import { de_PublishCommand, se_PublishCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class PublishCommand extends $Command
@@ -17,7 +18,7 @@ export class PublishCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "Publish", {})
19
20
  .n("SNSClient", "PublishCommand")
20
- .f(void 0, void 0)
21
+ .f(PublishInputFilterSensitiveLog, void 0)
21
22
  .ser(se_PublishCommand)
22
23
  .de(de_PublishCommand)
23
24
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { VerifySMSSandboxPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_VerifySMSSandboxPhoneNumberCommand, se_VerifySMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class VerifySMSSandboxPhoneNumberCommand extends $Command
@@ -17,7 +18,7 @@ export class VerifySMSSandboxPhoneNumberCommand extends $Command
17
18
  })
18
19
  .s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {})
19
20
  .n("SNSClient", "VerifySMSSandboxPhoneNumberCommand")
20
- .f(void 0, void 0)
21
+ .f(VerifySMSSandboxPhoneNumberInputFilterSensitiveLog, void 0)
21
22
  .ser(se_VerifySMSSandboxPhoneNumberCommand)
22
23
  .de(de_VerifySMSSandboxPhoneNumberCommand)
23
24
  .build() {
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
1
2
  import { SNSServiceException as __BaseException } from "./SNSServiceException";
2
3
  export class AuthorizationErrorException extends __BaseException {
3
4
  constructor(opts) {
@@ -439,3 +440,51 @@ export class VerificationException extends __BaseException {
439
440
  this.Status = opts.Status;
440
441
  }
441
442
  }
443
+ export const CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog = (obj) => ({
444
+ ...obj,
445
+ ...(obj.phoneNumber && { phoneNumber: SENSITIVE_STRING }),
446
+ });
447
+ export const CreateSMSSandboxPhoneNumberInputFilterSensitiveLog = (obj) => ({
448
+ ...obj,
449
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
450
+ });
451
+ export const DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog = (obj) => ({
452
+ ...obj,
453
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
454
+ });
455
+ export const PhoneNumberInformationFilterSensitiveLog = (obj) => ({
456
+ ...obj,
457
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
458
+ });
459
+ export const ListOriginationNumbersResultFilterSensitiveLog = (obj) => ({
460
+ ...obj,
461
+ ...(obj.PhoneNumbers && {
462
+ PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberInformationFilterSensitiveLog(item)),
463
+ }),
464
+ });
465
+ export const ListPhoneNumbersOptedOutResponseFilterSensitiveLog = (obj) => ({
466
+ ...obj,
467
+ ...(obj.phoneNumbers && { phoneNumbers: SENSITIVE_STRING }),
468
+ });
469
+ export const SMSSandboxPhoneNumberFilterSensitiveLog = (obj) => ({
470
+ ...obj,
471
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
472
+ });
473
+ export const ListSMSSandboxPhoneNumbersResultFilterSensitiveLog = (obj) => ({
474
+ ...obj,
475
+ ...(obj.PhoneNumbers && {
476
+ PhoneNumbers: obj.PhoneNumbers.map((item) => SMSSandboxPhoneNumberFilterSensitiveLog(item)),
477
+ }),
478
+ });
479
+ export const OptInPhoneNumberInputFilterSensitiveLog = (obj) => ({
480
+ ...obj,
481
+ ...(obj.phoneNumber && { phoneNumber: SENSITIVE_STRING }),
482
+ });
483
+ export const PublishInputFilterSensitiveLog = (obj) => ({
484
+ ...obj,
485
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
486
+ });
487
+ export const VerifySMSSandboxPhoneNumberInputFilterSensitiveLog = (obj) => ({
488
+ ...obj,
489
+ ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
490
+ });
@@ -54,11 +54,19 @@ declare const CreatePlatformApplicationCommand_base: {
54
54
  * <code>PlatformCredential</code> is <code>signing key</code>.</p>
55
55
  * </li>
56
56
  * <li>
57
- * <p>For <code>GCM</code> (Firebase Cloud Messaging), there is no
58
- * <code>PlatformPrincipal</code> and the <code>PlatformCredential</code> is
57
+ * <p>For GCM (Firebase Cloud Messaging) using key credentials, there is no
58
+ * <code>PlatformPrincipal</code>. The <code>PlatformCredential</code> is
59
59
  * <code>API key</code>.</p>
60
60
  * </li>
61
61
  * <li>
62
+ * <p>For GCM (Firebase Cloud Messaging) using token credentials, there is no
63
+ * <code>PlatformPrincipal</code>. The <code>PlatformCredential</code> is a
64
+ * JSON formatted private key file. When using the Amazon Web Services CLI, the file must be in
65
+ * string format and special characters must be ignored. To format the file
66
+ * correctly, Amazon SNS recommends using the following command: <code>SERVICE_JSON=`jq
67
+ * @json <<< cat service.json`</code>.</p>
68
+ * </li>
69
+ * <li>
62
70
  * <p>For <code>MPNS</code>, <code>PlatformPrincipal</code> is <code>TLS
63
71
  * certificate</code> and <code>PlatformCredential</code> is <code>private
64
72
  * key</code>.</p>
@@ -217,7 +217,9 @@ export interface CreatePlatformApplicationInput {
217
217
  Platform: string | undefined;
218
218
  /**
219
219
  * @public
220
- * <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html">SetPlatformApplicationAttributes</a>.</p>
220
+ * <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html">
221
+ * <code>SetPlatformApplicationAttributes</code>
222
+ * </a>.</p>
221
223
  */
222
224
  Attributes: Record<string, string> | undefined;
223
225
  }
@@ -228,7 +230,8 @@ export interface CreatePlatformApplicationInput {
228
230
  export interface CreatePlatformApplicationResponse {
229
231
  /**
230
232
  * @public
231
- * <p>PlatformApplicationArn is returned.</p>
233
+ * <p>
234
+ * <code>PlatformApplicationArn</code> is returned.</p>
232
235
  */
233
236
  PlatformApplicationArn?: string;
234
237
  }
@@ -250,8 +253,9 @@ export interface CreateEndpointResponse {
250
253
  export interface CreatePlatformEndpointInput {
251
254
  /**
252
255
  * @public
253
- * <p>PlatformApplicationArn returned from CreatePlatformApplication is used to create a an
254
- * endpoint.</p>
256
+ * <p>
257
+ * <code>PlatformApplicationArn</code> returned from CreatePlatformApplication is used to
258
+ * create a an endpoint.</p>
255
259
  */
256
260
  PlatformApplicationArn: string | undefined;
257
261
  /**
@@ -271,7 +275,9 @@ export interface CreatePlatformEndpointInput {
271
275
  CustomUserData?: string;
272
276
  /**
273
277
  * @public
274
- * <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html">SetEndpointAttributes</a>.</p>
278
+ * <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html">
279
+ * <code>SetEndpointAttributes</code>
280
+ * </a>.</p>
275
281
  */
276
282
  Attributes?: Record<string, string>;
277
283
  }
@@ -576,23 +582,25 @@ export declare class TopicLimitExceededException extends __BaseException {
576
582
  }
577
583
  /**
578
584
  * @public
579
- * <p>Input for DeleteEndpoint action.</p>
585
+ * <p>Input for <code>DeleteEndpoint</code> action.</p>
580
586
  */
581
587
  export interface DeleteEndpointInput {
582
588
  /**
583
589
  * @public
584
- * <p>EndpointArn of endpoint to delete.</p>
590
+ * <p>
591
+ * <code>EndpointArn</code> of endpoint to delete.</p>
585
592
  */
586
593
  EndpointArn: string | undefined;
587
594
  }
588
595
  /**
589
596
  * @public
590
- * <p>Input for DeletePlatformApplication action.</p>
597
+ * <p>Input for <code>DeletePlatformApplication</code> action.</p>
591
598
  */
592
599
  export interface DeletePlatformApplicationInput {
593
600
  /**
594
601
  * @public
595
- * <p>PlatformApplicationArn of platform application object to delete.</p>
602
+ * <p>
603
+ * <code>PlatformApplicationArn</code> of platform application object to delete.</p>
596
604
  */
597
605
  PlatformApplicationArn: string | undefined;
598
606
  }
@@ -670,18 +678,20 @@ export interface GetDataProtectionPolicyResponse {
670
678
  }
671
679
  /**
672
680
  * @public
673
- * <p>Input for GetEndpointAttributes action.</p>
681
+ * <p>Input for <code>GetEndpointAttributes</code> action.</p>
674
682
  */
675
683
  export interface GetEndpointAttributesInput {
676
684
  /**
677
685
  * @public
678
- * <p>EndpointArn for GetEndpointAttributes input.</p>
686
+ * <p>
687
+ * <code>EndpointArn</code> for <code>GetEndpointAttributes</code> input.</p>
679
688
  */
680
689
  EndpointArn: string | undefined;
681
690
  }
682
691
  /**
683
692
  * @public
684
- * <p>Response from GetEndpointAttributes of the EndpointArn.</p>
693
+ * <p>Response from <code>GetEndpointAttributes</code> of the
694
+ * <code>EndpointArn</code>.</p>
685
695
  */
686
696
  export interface GetEndpointAttributesResponse {
687
697
  /**
@@ -717,18 +727,19 @@ export interface GetEndpointAttributesResponse {
717
727
  }
718
728
  /**
719
729
  * @public
720
- * <p>Input for GetPlatformApplicationAttributes action.</p>
730
+ * <p>Input for <code>GetPlatformApplicationAttributes</code> action.</p>
721
731
  */
722
732
  export interface GetPlatformApplicationAttributesInput {
723
733
  /**
724
734
  * @public
725
- * <p>PlatformApplicationArn for GetPlatformApplicationAttributesInput.</p>
735
+ * <p>
736
+ * <code>PlatformApplicationArn</code> for GetPlatformApplicationAttributesInput.</p>
726
737
  */
727
738
  PlatformApplicationArn: string | undefined;
728
739
  }
729
740
  /**
730
741
  * @public
731
- * <p>Response for GetPlatformApplicationAttributes action.</p>
742
+ * <p>Response for <code>GetPlatformApplicationAttributes</code> action.</p>
732
743
  */
733
744
  export interface GetPlatformApplicationAttributesResponse {
734
745
  /**
@@ -752,6 +763,20 @@ export interface GetPlatformApplicationAttributesResponse {
752
763
  * </li>
753
764
  * <li>
754
765
  * <p>
766
+ * <code>AuthenticationMethod</code> – Returns the credential type used when
767
+ * sending push notifications from application to APNS/APNS_Sandbox, or application
768
+ * to GCM.</p>
769
+ * <ul>
770
+ * <li>
771
+ * <p>APNS – Returns the token or certificate.</p>
772
+ * </li>
773
+ * <li>
774
+ * <p>GCM – Returns the token or key.</p>
775
+ * </li>
776
+ * </ul>
777
+ * </li>
778
+ * <li>
779
+ * <p>
755
780
  * <code>EventEndpointCreated</code> – Topic ARN to which EndpointCreated
756
781
  * event notifications should be sent.</p>
757
782
  * </li>
@@ -1068,18 +1093,22 @@ export interface GetTopicAttributesResponse {
1068
1093
  }
1069
1094
  /**
1070
1095
  * @public
1071
- * <p>Input for ListEndpointsByPlatformApplication action.</p>
1096
+ * <p>Input for <code>ListEndpointsByPlatformApplication</code> action.</p>
1072
1097
  */
1073
1098
  export interface ListEndpointsByPlatformApplicationInput {
1074
1099
  /**
1075
1100
  * @public
1076
- * <p>PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.</p>
1101
+ * <p>
1102
+ * <code>PlatformApplicationArn</code> for
1103
+ * <code>ListEndpointsByPlatformApplicationInput</code> action.</p>
1077
1104
  */
1078
1105
  PlatformApplicationArn: string | undefined;
1079
1106
  /**
1080
1107
  * @public
1081
- * <p>NextToken string is used when calling ListEndpointsByPlatformApplication action to
1082
- * retrieve additional records that are available after the first page results.</p>
1108
+ * <p>
1109
+ * <code>NextToken</code> string is used when calling
1110
+ * <code>ListEndpointsByPlatformApplication</code> action to retrieve additional
1111
+ * records that are available after the first page results.</p>
1083
1112
  */
1084
1113
  NextToken?: string;
1085
1114
  }
@@ -1101,18 +1130,20 @@ export interface Endpoint {
1101
1130
  }
1102
1131
  /**
1103
1132
  * @public
1104
- * <p>Response for ListEndpointsByPlatformApplication action.</p>
1133
+ * <p>Response for <code>ListEndpointsByPlatformApplication</code> action.</p>
1105
1134
  */
1106
1135
  export interface ListEndpointsByPlatformApplicationResponse {
1107
1136
  /**
1108
1137
  * @public
1109
- * <p>Endpoints returned for ListEndpointsByPlatformApplication action.</p>
1138
+ * <p>Endpoints returned for <code>ListEndpointsByPlatformApplication</code> action.</p>
1110
1139
  */
1111
1140
  Endpoints?: Endpoint[];
1112
1141
  /**
1113
1142
  * @public
1114
- * <p>NextToken string is returned when calling ListEndpointsByPlatformApplication action if
1115
- * additional records are available after the first page results.</p>
1143
+ * <p>
1144
+ * <code>NextToken</code> string is returned when calling
1145
+ * <code>ListEndpointsByPlatformApplication</code> action if additional records are
1146
+ * available after the first page results.</p>
1116
1147
  */
1117
1148
  NextToken?: string;
1118
1149
  }
@@ -1257,13 +1288,15 @@ export interface ListPhoneNumbersOptedOutResponse {
1257
1288
  }
1258
1289
  /**
1259
1290
  * @public
1260
- * <p>Input for ListPlatformApplications action.</p>
1291
+ * <p>Input for <code>ListPlatformApplications</code> action.</p>
1261
1292
  */
1262
1293
  export interface ListPlatformApplicationsInput {
1263
1294
  /**
1264
1295
  * @public
1265
- * <p>NextToken string is used when calling ListPlatformApplications action to retrieve
1266
- * additional records that are available after the first page results.</p>
1296
+ * <p>
1297
+ * <code>NextToken</code> string is used when calling
1298
+ * <code>ListPlatformApplications</code> action to retrieve additional records that are
1299
+ * available after the first page results.</p>
1267
1300
  */
1268
1301
  NextToken?: string;
1269
1302
  }
@@ -1285,18 +1318,21 @@ export interface PlatformApplication {
1285
1318
  }
1286
1319
  /**
1287
1320
  * @public
1288
- * <p>Response for ListPlatformApplications action.</p>
1321
+ * <p>Response for <code>ListPlatformApplications</code> action.</p>
1289
1322
  */
1290
1323
  export interface ListPlatformApplicationsResponse {
1291
1324
  /**
1292
1325
  * @public
1293
- * <p>Platform applications returned when calling ListPlatformApplications action.</p>
1326
+ * <p>Platform applications returned when calling <code>ListPlatformApplications</code>
1327
+ * action.</p>
1294
1328
  */
1295
1329
  PlatformApplications?: PlatformApplication[];
1296
1330
  /**
1297
1331
  * @public
1298
- * <p>NextToken string is returned when calling ListPlatformApplications action if
1299
- * additional records are available after the first page results.</p>
1332
+ * <p>
1333
+ * <code>NextToken</code> string is returned when calling
1334
+ * <code>ListPlatformApplications</code> action if additional records are available
1335
+ * after the first page results.</p>
1300
1336
  */
1301
1337
  NextToken?: string;
1302
1338
  }
@@ -2185,12 +2221,12 @@ export interface RemovePermissionInput {
2185
2221
  }
2186
2222
  /**
2187
2223
  * @public
2188
- * <p>Input for SetEndpointAttributes action.</p>
2224
+ * <p>Input for <code>SetEndpointAttributes</code> action.</p>
2189
2225
  */
2190
2226
  export interface SetEndpointAttributesInput {
2191
2227
  /**
2192
2228
  * @public
2193
- * <p>EndpointArn used for SetEndpointAttributes action.</p>
2229
+ * <p>EndpointArn used for <code>SetEndpointAttributes</code> action.</p>
2194
2230
  */
2195
2231
  EndpointArn: string | undefined;
2196
2232
  /**
@@ -2223,12 +2259,14 @@ export interface SetEndpointAttributesInput {
2223
2259
  }
2224
2260
  /**
2225
2261
  * @public
2226
- * <p>Input for SetPlatformApplicationAttributes action.</p>
2262
+ * <p>Input for <code>SetPlatformApplicationAttributes</code> action.</p>
2227
2263
  */
2228
2264
  export interface SetPlatformApplicationAttributesInput {
2229
2265
  /**
2230
2266
  * @public
2231
- * <p>PlatformApplicationArn for SetPlatformApplicationAttributes action.</p>
2267
+ * <p>
2268
+ * <code>PlatformApplicationArn</code> for <code>SetPlatformApplicationAttributes</code>
2269
+ * action.</p>
2232
2270
  */
2233
2271
  PlatformApplicationArn: string | undefined;
2234
2272
  /**
@@ -2253,8 +2291,18 @@ export interface SetPlatformApplicationAttributesInput {
2253
2291
  * <code>PlatformCredential</code> is signing key.</p>
2254
2292
  * </li>
2255
2293
  * <li>
2256
- * <p>For GCM (Firebase Cloud Messaging), <code>PlatformCredential</code> is
2257
- * API key. </p>
2294
+ * <p>For GCM (Firebase Cloud Messaging) using key credentials, there is no
2295
+ * <code>PlatformPrincipal</code>. The <code>PlatformCredential</code>
2296
+ * is <code>API key</code>.</p>
2297
+ * </li>
2298
+ * <li>
2299
+ * <p>For GCM (Firebase Cloud Messaging) using token credentials, there is
2300
+ * no <code>PlatformPrincipal</code>. The <code>PlatformCredential</code>
2301
+ * is a JSON formatted private key file. When using the Amazon Web Services CLI, the file
2302
+ * must be in string format and special characters must be ignored. To
2303
+ * format the file correctly, Amazon SNS recommends using the following command:
2304
+ * <code>SERVICE_JSON=`jq @json <<< cat
2305
+ * service.json`</code>.</p>
2258
2306
  * </li>
2259
2307
  * </ul>
2260
2308
  * </li>
@@ -3085,3 +3133,47 @@ export interface VerifySMSSandboxPhoneNumberInput {
3085
3133
  */
3086
3134
  export interface VerifySMSSandboxPhoneNumberResult {
3087
3135
  }
3136
+ /**
3137
+ * @internal
3138
+ */
3139
+ export declare const CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog: (obj: CheckIfPhoneNumberIsOptedOutInput) => any;
3140
+ /**
3141
+ * @internal
3142
+ */
3143
+ export declare const CreateSMSSandboxPhoneNumberInputFilterSensitiveLog: (obj: CreateSMSSandboxPhoneNumberInput) => any;
3144
+ /**
3145
+ * @internal
3146
+ */
3147
+ export declare const DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog: (obj: DeleteSMSSandboxPhoneNumberInput) => any;
3148
+ /**
3149
+ * @internal
3150
+ */
3151
+ export declare const PhoneNumberInformationFilterSensitiveLog: (obj: PhoneNumberInformation) => any;
3152
+ /**
3153
+ * @internal
3154
+ */
3155
+ export declare const ListOriginationNumbersResultFilterSensitiveLog: (obj: ListOriginationNumbersResult) => any;
3156
+ /**
3157
+ * @internal
3158
+ */
3159
+ export declare const ListPhoneNumbersOptedOutResponseFilterSensitiveLog: (obj: ListPhoneNumbersOptedOutResponse) => any;
3160
+ /**
3161
+ * @internal
3162
+ */
3163
+ export declare const SMSSandboxPhoneNumberFilterSensitiveLog: (obj: SMSSandboxPhoneNumber) => any;
3164
+ /**
3165
+ * @internal
3166
+ */
3167
+ export declare const ListSMSSandboxPhoneNumbersResultFilterSensitiveLog: (obj: ListSMSSandboxPhoneNumbersResult) => any;
3168
+ /**
3169
+ * @internal
3170
+ */
3171
+ export declare const OptInPhoneNumberInputFilterSensitiveLog: (obj: OptInPhoneNumberInput) => any;
3172
+ /**
3173
+ * @internal
3174
+ */
3175
+ export declare const PublishInputFilterSensitiveLog: (obj: PublishInput) => any;
3176
+ /**
3177
+ * @internal
3178
+ */
3179
+ export declare const VerifySMSSandboxPhoneNumberInputFilterSensitiveLog: (obj: VerifySMSSandboxPhoneNumberInput) => any;
@@ -592,3 +592,34 @@ export interface VerifySMSSandboxPhoneNumberInput {
592
592
  OneTimePassword: string | undefined;
593
593
  }
594
594
  export interface VerifySMSSandboxPhoneNumberResult {}
595
+ export declare const CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog: (
596
+ obj: CheckIfPhoneNumberIsOptedOutInput
597
+ ) => any;
598
+ export declare const CreateSMSSandboxPhoneNumberInputFilterSensitiveLog: (
599
+ obj: CreateSMSSandboxPhoneNumberInput
600
+ ) => any;
601
+ export declare const DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog: (
602
+ obj: DeleteSMSSandboxPhoneNumberInput
603
+ ) => any;
604
+ export declare const PhoneNumberInformationFilterSensitiveLog: (
605
+ obj: PhoneNumberInformation
606
+ ) => any;
607
+ export declare const ListOriginationNumbersResultFilterSensitiveLog: (
608
+ obj: ListOriginationNumbersResult
609
+ ) => any;
610
+ export declare const ListPhoneNumbersOptedOutResponseFilterSensitiveLog: (
611
+ obj: ListPhoneNumbersOptedOutResponse
612
+ ) => any;
613
+ export declare const SMSSandboxPhoneNumberFilterSensitiveLog: (
614
+ obj: SMSSandboxPhoneNumber
615
+ ) => any;
616
+ export declare const ListSMSSandboxPhoneNumbersResultFilterSensitiveLog: (
617
+ obj: ListSMSSandboxPhoneNumbersResult
618
+ ) => any;
619
+ export declare const OptInPhoneNumberInputFilterSensitiveLog: (
620
+ obj: OptInPhoneNumberInput
621
+ ) => any;
622
+ export declare const PublishInputFilterSensitiveLog: (obj: PublishInput) => any;
623
+ export declare const VerifySMSSandboxPhoneNumberInputFilterSensitiveLog: (
624
+ obj: VerifySMSSandboxPhoneNumberInput
625
+ ) => any;
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.515.0",
4
+ "version": "3.516.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",