@aws-sdk/client-sns 3.515.0 → 3.521.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 +83 -10
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -1
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -1
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -1
- package/dist-es/commands/ListOriginationNumbersCommand.js +2 -1
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -1
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -1
- package/dist-es/commands/OptInPhoneNumberCommand.js +2 -1
- package/dist-es/commands/PublishCommand.js +2 -1
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -1
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/SNSClient.d.ts +4 -4
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +10 -2
- package/dist-types/models/models_0.d.ts +128 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/dist-types/runtimeConfig.d.ts +1 -4
- package/dist-types/runtimeConfig.native.d.ts +1 -4
- package/dist-types/ts3.4/SNSClient.d.ts +3 -3
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/package.json +34 -34
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(
|
|
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(
|
|
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(
|
|
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,
|
|
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,
|
|
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,
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
|
|
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
|
-
requestHandler: config?.requestHandler ??
|
|
31
|
+
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
32
32
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
33
33
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
|
-
requestHandler: config?.requestHandler ??
|
|
37
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
38
|
retryMode: config?.retryMode ??
|
|
39
39
|
(0, node_config_provider_1.loadConfig)({
|
|
40
40
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -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(
|
|
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(
|
|
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(
|
|
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,
|
|
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,
|
|
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,
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
+
});
|
|
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
-
requestHandler: config?.requestHandler ??
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
28
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
29
|
sha256: config?.sha256 ?? Sha256,
|
|
30
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
-
requestHandler: config?.requestHandler ??
|
|
33
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
34
|
retryMode: config?.retryMode ??
|
|
35
35
|
loadNodeConfig({
|
|
36
36
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import {
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
@@ -63,11 +63,11 @@ export type ServiceOutputTypes = AddPermissionCommandOutput | CheckIfPhoneNumber
|
|
|
63
63
|
/**
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
|
-
export interface ClientDefaults extends Partial<
|
|
66
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
67
67
|
/**
|
|
68
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
68
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
69
69
|
*/
|
|
70
|
-
requestHandler?:
|
|
70
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
71
71
|
/**
|
|
72
72
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
73
73
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -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
|
|
58
|
-
* <code>PlatformPrincipal</code
|
|
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">
|
|
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>
|
|
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>
|
|
254
|
-
*
|
|
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">
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
1082
|
-
*
|
|
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>
|
|
1115
|
-
*
|
|
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>
|
|
1266
|
-
*
|
|
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
|
|
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>
|
|
1299
|
-
*
|
|
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>
|
|
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),
|
|
2257
|
-
*
|
|
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;
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,10 +5,7 @@ import { SNSClientConfig } from "./SNSClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler:
|
|
9
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
-
httpHandlerConfigs(): {};
|
|
11
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
9
|
apiVersion: string;
|
|
13
10
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
RetryInputConfig,
|
|
19
19
|
RetryResolvedConfig,
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
|
-
import {
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
23
|
Client as __Client,
|
|
24
24
|
DefaultsMode as __DefaultsMode,
|
|
@@ -307,8 +307,8 @@ export type ServiceOutputTypes =
|
|
|
307
307
|
| UntagResourceCommandOutput
|
|
308
308
|
| VerifySMSSandboxPhoneNumberCommandOutput;
|
|
309
309
|
export interface ClientDefaults
|
|
310
|
-
extends Partial<
|
|
311
|
-
requestHandler?:
|
|
310
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
311
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
312
312
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
313
313
|
urlParser?: __UrlParser;
|
|
314
314
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
@@ -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;
|
|
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
18
|
-
|
|
|
19
|
-
any,
|
|
20
|
-
any,
|
|
21
|
-
import("@smithy/types").HttpHandlerOptions
|
|
22
|
-
> &
|
|
23
|
-
import("@smithy/types").RequestHandler<
|
|
24
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
-
import("@smithy/types").HttpHandlerOptions
|
|
27
|
-
> & {
|
|
28
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
-
httpHandlerConfigs(): {};
|
|
30
|
-
})
|
|
18
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
31
19
|
| RequestHandler;
|
|
32
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
21
|
requestHandler:
|
|
22
|
-
|
|
|
23
|
-
|
|
24
|
-
any,
|
|
25
|
-
import("@smithy/types").HttpHandlerOptions
|
|
26
|
-
> &
|
|
27
|
-
import("@smithy/types").RequestHandler<
|
|
28
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
-
import("@smithy/types").HttpHandlerOptions
|
|
31
|
-
> & {
|
|
32
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
-
httpHandlerConfigs(): {};
|
|
34
|
-
})
|
|
35
|
-
| RequestHandler;
|
|
22
|
+
| RequestHandler
|
|
23
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
36
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
37
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
38
26
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
3
3
|
runtime: string;
|
|
4
4
|
sha256: import("@smithy/types").HashConstructor;
|
|
5
5
|
requestHandler:
|
|
6
|
-
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> &
|
|
11
|
-
import("@smithy/types").RequestHandler<
|
|
12
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
-
import("@smithy/types").HttpHandlerOptions
|
|
15
|
-
> & {
|
|
16
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
-
httpHandlerConfigs(): {};
|
|
18
|
-
})
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
19
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
20
11
|
apiVersion: string;
|
|
21
12
|
urlParser: import("@smithy/types").UrlParser;
|
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.
|
|
4
|
+
"version": "3.521.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,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1.
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.521.0",
|
|
24
|
+
"@aws-sdk/core": "3.521.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.521.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.521.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.521.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.521.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.521.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.521.0",
|
|
31
|
+
"@aws-sdk/types": "3.521.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.521.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.521.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.521.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.2",
|
|
36
|
+
"@smithy/core": "^1.3.3",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.2",
|
|
38
|
+
"@smithy/hash-node": "^2.1.2",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.2",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.2",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.2",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.2",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.2",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.0",
|
|
49
|
+
"@smithy/types": "^2.10.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.2",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.2",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.1",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.2",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.2",
|
|
58
|
+
"@smithy/util-retry": "^2.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"fast-xml-parser": "4.2.5",
|
|
61
61
|
"tslib": "^2.5.0"
|