@aws-sdk/client-sns 3.687.0 → 3.691.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.
|
@@ -109,7 +109,7 @@ export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
|
109
109
|
* </ul>
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
|
-
isOptedOut?: boolean;
|
|
112
|
+
isOptedOut?: boolean | undefined;
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
@@ -145,7 +145,7 @@ export interface ConfirmSubscriptionInput {
|
|
|
145
145
|
* action requires Amazon Web Services authentication. </p>
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
|
-
AuthenticateOnUnsubscribe?: string;
|
|
148
|
+
AuthenticateOnUnsubscribe?: string | undefined;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
151
|
* <p>Response for ConfirmSubscriptions action.</p>
|
|
@@ -156,7 +156,7 @@ export interface ConfirmSubscriptionResponse {
|
|
|
156
156
|
* <p>The ARN of the created subscription.</p>
|
|
157
157
|
* @public
|
|
158
158
|
*/
|
|
159
|
-
SubscriptionArn?: string;
|
|
159
|
+
SubscriptionArn?: string | undefined;
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
162
|
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
@@ -233,7 +233,7 @@ export interface CreatePlatformApplicationResponse {
|
|
|
233
233
|
* <code>PlatformApplicationArn</code> is returned.</p>
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
|
-
PlatformApplicationArn?: string;
|
|
236
|
+
PlatformApplicationArn?: string | undefined;
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* <p>Response from CreateEndpoint action.</p>
|
|
@@ -244,7 +244,7 @@ export interface CreateEndpointResponse {
|
|
|
244
244
|
* <p>EndpointArn returned from CreateEndpoint action.</p>
|
|
245
245
|
* @public
|
|
246
246
|
*/
|
|
247
|
-
EndpointArn?: string;
|
|
247
|
+
EndpointArn?: string | undefined;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
250
|
* <p>Input for CreatePlatformEndpoint action.</p>
|
|
@@ -272,14 +272,14 @@ export interface CreatePlatformEndpointInput {
|
|
|
272
272
|
* data must be in UTF-8 format and less than 2KB.</p>
|
|
273
273
|
* @public
|
|
274
274
|
*/
|
|
275
|
-
CustomUserData?: string;
|
|
275
|
+
CustomUserData?: string | undefined;
|
|
276
276
|
/**
|
|
277
277
|
* <p>For a list of attributes, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html">
|
|
278
278
|
* <code>SetEndpointAttributes</code>
|
|
279
279
|
* </a>.</p>
|
|
280
280
|
* @public
|
|
281
281
|
*/
|
|
282
|
-
Attributes?: Record<string, string
|
|
282
|
+
Attributes?: Record<string, string> | undefined;
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
* @public
|
|
@@ -319,7 +319,7 @@ export interface CreateSMSSandboxPhoneNumberInput {
|
|
|
319
319
|
* <code>en-US</code>.</p>
|
|
320
320
|
* @public
|
|
321
321
|
*/
|
|
322
|
-
LanguageCode?: LanguageCodeString;
|
|
322
|
+
LanguageCode?: LanguageCodeString | undefined;
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* @public
|
|
@@ -486,7 +486,7 @@ export interface CreateTopicInput {
|
|
|
486
486
|
* </ul>
|
|
487
487
|
* @public
|
|
488
488
|
*/
|
|
489
|
-
Attributes?: Record<string, string
|
|
489
|
+
Attributes?: Record<string, string> | undefined;
|
|
490
490
|
/**
|
|
491
491
|
* <p>The list of tags to add to a new topic.</p>
|
|
492
492
|
* <note>
|
|
@@ -496,7 +496,7 @@ export interface CreateTopicInput {
|
|
|
496
496
|
* </note>
|
|
497
497
|
* @public
|
|
498
498
|
*/
|
|
499
|
-
Tags?: Tag[];
|
|
499
|
+
Tags?: Tag[] | undefined;
|
|
500
500
|
/**
|
|
501
501
|
* <p>The body of the policy document you want to use for this topic.</p>
|
|
502
502
|
* <p>You can only add one policy per topic.</p>
|
|
@@ -504,7 +504,7 @@ export interface CreateTopicInput {
|
|
|
504
504
|
* <p>Length Constraints: Maximum length of 30,720.</p>
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
507
|
-
DataProtectionPolicy?: string;
|
|
507
|
+
DataProtectionPolicy?: string | undefined;
|
|
508
508
|
}
|
|
509
509
|
/**
|
|
510
510
|
* <p>Response from CreateTopic action.</p>
|
|
@@ -515,7 +515,7 @@ export interface CreateTopicResponse {
|
|
|
515
515
|
* <p>The Amazon Resource Name (ARN) assigned to the created topic.</p>
|
|
516
516
|
* @public
|
|
517
517
|
*/
|
|
518
|
-
TopicArn?: string;
|
|
518
|
+
TopicArn?: string | undefined;
|
|
519
519
|
}
|
|
520
520
|
/**
|
|
521
521
|
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
@@ -674,7 +674,7 @@ export interface GetDataProtectionPolicyResponse {
|
|
|
674
674
|
* <p>Retrieves the <code>DataProtectionPolicy</code> in JSON string format.</p>
|
|
675
675
|
* @public
|
|
676
676
|
*/
|
|
677
|
-
DataProtectionPolicy?: string;
|
|
677
|
+
DataProtectionPolicy?: string | undefined;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
680
|
* <p>Input for <code>GetEndpointAttributes</code> action.</p>
|
|
@@ -723,7 +723,7 @@ export interface GetEndpointAttributesResponse {
|
|
|
723
723
|
* </ul>
|
|
724
724
|
* @public
|
|
725
725
|
*/
|
|
726
|
-
Attributes?: Record<string, string
|
|
726
|
+
Attributes?: Record<string, string> | undefined;
|
|
727
727
|
}
|
|
728
728
|
/**
|
|
729
729
|
* <p>Input for <code>GetPlatformApplicationAttributes</code> action.</p>
|
|
@@ -798,7 +798,7 @@ export interface GetPlatformApplicationAttributesResponse {
|
|
|
798
798
|
* </ul>
|
|
799
799
|
* @public
|
|
800
800
|
*/
|
|
801
|
-
Attributes?: Record<string, string
|
|
801
|
+
Attributes?: Record<string, string> | undefined;
|
|
802
802
|
}
|
|
803
803
|
/**
|
|
804
804
|
* <p>The input for the <code>GetSMSAttributes</code> request.</p>
|
|
@@ -812,7 +812,7 @@ export interface GetSMSAttributesInput {
|
|
|
812
812
|
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
|
|
813
813
|
* @public
|
|
814
814
|
*/
|
|
815
|
-
attributes?: string[];
|
|
815
|
+
attributes?: string[] | undefined;
|
|
816
816
|
}
|
|
817
817
|
/**
|
|
818
818
|
* <p>The response from the <code>GetSMSAttributes</code> request.</p>
|
|
@@ -823,7 +823,7 @@ export interface GetSMSAttributesResponse {
|
|
|
823
823
|
* <p>The SMS attribute names and their values.</p>
|
|
824
824
|
* @public
|
|
825
825
|
*/
|
|
826
|
-
attributes?: Record<string, string
|
|
826
|
+
attributes?: Record<string, string> | undefined;
|
|
827
827
|
}
|
|
828
828
|
/**
|
|
829
829
|
* @public
|
|
@@ -953,7 +953,7 @@ export interface GetSubscriptionAttributesResponse {
|
|
|
953
953
|
* </ul>
|
|
954
954
|
* @public
|
|
955
955
|
*/
|
|
956
|
-
Attributes?: Record<string, string
|
|
956
|
+
Attributes?: Record<string, string> | undefined;
|
|
957
957
|
}
|
|
958
958
|
/**
|
|
959
959
|
* <p>Input for GetTopicAttributes action.</p>
|
|
@@ -1089,7 +1089,7 @@ export interface GetTopicAttributesResponse {
|
|
|
1089
1089
|
* </ul>
|
|
1090
1090
|
* @public
|
|
1091
1091
|
*/
|
|
1092
|
-
Attributes?: Record<string, string
|
|
1092
|
+
Attributes?: Record<string, string> | undefined;
|
|
1093
1093
|
}
|
|
1094
1094
|
/**
|
|
1095
1095
|
* <p>Input for <code>ListEndpointsByPlatformApplication</code> action.</p>
|
|
@@ -1110,7 +1110,7 @@ export interface ListEndpointsByPlatformApplicationInput {
|
|
|
1110
1110
|
* records that are available after the first page results.</p>
|
|
1111
1111
|
* @public
|
|
1112
1112
|
*/
|
|
1113
|
-
NextToken?: string;
|
|
1113
|
+
NextToken?: string | undefined;
|
|
1114
1114
|
}
|
|
1115
1115
|
/**
|
|
1116
1116
|
* <p>The endpoint for mobile app and device.</p>
|
|
@@ -1121,12 +1121,12 @@ export interface Endpoint {
|
|
|
1121
1121
|
* <p>The <code>EndpointArn</code> for mobile app and device.</p>
|
|
1122
1122
|
* @public
|
|
1123
1123
|
*/
|
|
1124
|
-
EndpointArn?: string;
|
|
1124
|
+
EndpointArn?: string | undefined;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* <p>Attributes for endpoint.</p>
|
|
1127
1127
|
* @public
|
|
1128
1128
|
*/
|
|
1129
|
-
Attributes?: Record<string, string
|
|
1129
|
+
Attributes?: Record<string, string> | undefined;
|
|
1130
1130
|
}
|
|
1131
1131
|
/**
|
|
1132
1132
|
* <p>Response for <code>ListEndpointsByPlatformApplication</code> action.</p>
|
|
@@ -1137,7 +1137,7 @@ export interface ListEndpointsByPlatformApplicationResponse {
|
|
|
1137
1137
|
* <p>Endpoints returned for <code>ListEndpointsByPlatformApplication</code> action.</p>
|
|
1138
1138
|
* @public
|
|
1139
1139
|
*/
|
|
1140
|
-
Endpoints?: Endpoint[];
|
|
1140
|
+
Endpoints?: Endpoint[] | undefined;
|
|
1141
1141
|
/**
|
|
1142
1142
|
* <p>
|
|
1143
1143
|
* <code>NextToken</code> string is returned when calling
|
|
@@ -1145,7 +1145,7 @@ export interface ListEndpointsByPlatformApplicationResponse {
|
|
|
1145
1145
|
* available after the first page results.</p>
|
|
1146
1146
|
* @public
|
|
1147
1147
|
*/
|
|
1148
|
-
NextToken?: string;
|
|
1148
|
+
NextToken?: string | undefined;
|
|
1149
1149
|
}
|
|
1150
1150
|
/**
|
|
1151
1151
|
* @public
|
|
@@ -1155,12 +1155,12 @@ export interface ListOriginationNumbersRequest {
|
|
|
1155
1155
|
* <p>Token that the previous <code>ListOriginationNumbers</code> request returns.</p>
|
|
1156
1156
|
* @public
|
|
1157
1157
|
*/
|
|
1158
|
-
NextToken?: string;
|
|
1158
|
+
NextToken?: string | undefined;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* <p>The maximum number of origination numbers to return.</p>
|
|
1161
1161
|
* @public
|
|
1162
1162
|
*/
|
|
1163
|
-
MaxResults?: number;
|
|
1163
|
+
MaxResults?: number | undefined;
|
|
1164
1164
|
}
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @public
|
|
@@ -1197,32 +1197,32 @@ export interface PhoneNumberInformation {
|
|
|
1197
1197
|
* <p>The date and time when the phone number was created.</p>
|
|
1198
1198
|
* @public
|
|
1199
1199
|
*/
|
|
1200
|
-
CreatedAt?: Date;
|
|
1200
|
+
CreatedAt?: Date | undefined;
|
|
1201
1201
|
/**
|
|
1202
1202
|
* <p>The phone number.</p>
|
|
1203
1203
|
* @public
|
|
1204
1204
|
*/
|
|
1205
|
-
PhoneNumber?: string;
|
|
1205
|
+
PhoneNumber?: string | undefined;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* <p>The status of the phone number.</p>
|
|
1208
1208
|
* @public
|
|
1209
1209
|
*/
|
|
1210
|
-
Status?: string;
|
|
1210
|
+
Status?: string | undefined;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* <p>The two-character code for the country or region, in ISO 3166-1 alpha-2 format.</p>
|
|
1213
1213
|
* @public
|
|
1214
1214
|
*/
|
|
1215
|
-
Iso2CountryCode?: string;
|
|
1215
|
+
Iso2CountryCode?: string | undefined;
|
|
1216
1216
|
/**
|
|
1217
1217
|
* <p>The list of supported routes.</p>
|
|
1218
1218
|
* @public
|
|
1219
1219
|
*/
|
|
1220
|
-
RouteType?: RouteType;
|
|
1220
|
+
RouteType?: RouteType | undefined;
|
|
1221
1221
|
/**
|
|
1222
1222
|
* <p>The capabilities of each phone number.</p>
|
|
1223
1223
|
* @public
|
|
1224
1224
|
*/
|
|
1225
|
-
NumberCapabilities?: NumberCapability[];
|
|
1225
|
+
NumberCapabilities?: NumberCapability[] | undefined;
|
|
1226
1226
|
}
|
|
1227
1227
|
/**
|
|
1228
1228
|
* @public
|
|
@@ -1234,12 +1234,12 @@ export interface ListOriginationNumbersResult {
|
|
|
1234
1234
|
* available.</p>
|
|
1235
1235
|
* @public
|
|
1236
1236
|
*/
|
|
1237
|
-
NextToken?: string;
|
|
1237
|
+
NextToken?: string | undefined;
|
|
1238
1238
|
/**
|
|
1239
1239
|
* <p>A list of the calling account's verified and pending origination numbers.</p>
|
|
1240
1240
|
* @public
|
|
1241
1241
|
*/
|
|
1242
|
-
PhoneNumbers?: PhoneNumberInformation[];
|
|
1242
|
+
PhoneNumbers?: PhoneNumberInformation[] | undefined;
|
|
1243
1243
|
}
|
|
1244
1244
|
/**
|
|
1245
1245
|
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
@@ -1265,7 +1265,7 @@ export interface ListPhoneNumbersOptedOutInput {
|
|
|
1265
1265
|
* available after the first page of results.</p>
|
|
1266
1266
|
* @public
|
|
1267
1267
|
*/
|
|
1268
|
-
nextToken?: string;
|
|
1268
|
+
nextToken?: string | undefined;
|
|
1269
1269
|
}
|
|
1270
1270
|
/**
|
|
1271
1271
|
* <p>The response from the <code>ListPhoneNumbersOptedOut</code> action.</p>
|
|
@@ -1277,14 +1277,14 @@ export interface ListPhoneNumbersOptedOutResponse {
|
|
|
1277
1277
|
* paginated, and each page can contain up to 100 phone numbers.</p>
|
|
1278
1278
|
* @public
|
|
1279
1279
|
*/
|
|
1280
|
-
phoneNumbers?: string[];
|
|
1280
|
+
phoneNumbers?: string[] | undefined;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* <p>A <code>NextToken</code> string is returned when you call the
|
|
1283
1283
|
* <code>ListPhoneNumbersOptedOut</code> action if additional records are available
|
|
1284
1284
|
* after the first page of results.</p>
|
|
1285
1285
|
* @public
|
|
1286
1286
|
*/
|
|
1287
|
-
nextToken?: string;
|
|
1287
|
+
nextToken?: string | undefined;
|
|
1288
1288
|
}
|
|
1289
1289
|
/**
|
|
1290
1290
|
* <p>Input for <code>ListPlatformApplications</code> action.</p>
|
|
@@ -1298,7 +1298,7 @@ export interface ListPlatformApplicationsInput {
|
|
|
1298
1298
|
* available after the first page results.</p>
|
|
1299
1299
|
* @public
|
|
1300
1300
|
*/
|
|
1301
|
-
NextToken?: string;
|
|
1301
|
+
NextToken?: string | undefined;
|
|
1302
1302
|
}
|
|
1303
1303
|
/**
|
|
1304
1304
|
* <p>Platform application object.</p>
|
|
@@ -1309,12 +1309,12 @@ export interface PlatformApplication {
|
|
|
1309
1309
|
* <p>PlatformApplicationArn for platform application object.</p>
|
|
1310
1310
|
* @public
|
|
1311
1311
|
*/
|
|
1312
|
-
PlatformApplicationArn?: string;
|
|
1312
|
+
PlatformApplicationArn?: string | undefined;
|
|
1313
1313
|
/**
|
|
1314
1314
|
* <p>Attributes for platform application object.</p>
|
|
1315
1315
|
* @public
|
|
1316
1316
|
*/
|
|
1317
|
-
Attributes?: Record<string, string
|
|
1317
|
+
Attributes?: Record<string, string> | undefined;
|
|
1318
1318
|
}
|
|
1319
1319
|
/**
|
|
1320
1320
|
* <p>Response for <code>ListPlatformApplications</code> action.</p>
|
|
@@ -1326,7 +1326,7 @@ export interface ListPlatformApplicationsResponse {
|
|
|
1326
1326
|
* action.</p>
|
|
1327
1327
|
* @public
|
|
1328
1328
|
*/
|
|
1329
|
-
PlatformApplications?: PlatformApplication[];
|
|
1329
|
+
PlatformApplications?: PlatformApplication[] | undefined;
|
|
1330
1330
|
/**
|
|
1331
1331
|
* <p>
|
|
1332
1332
|
* <code>NextToken</code> string is returned when calling
|
|
@@ -1334,7 +1334,7 @@ export interface ListPlatformApplicationsResponse {
|
|
|
1334
1334
|
* after the first page results.</p>
|
|
1335
1335
|
* @public
|
|
1336
1336
|
*/
|
|
1337
|
-
NextToken?: string;
|
|
1337
|
+
NextToken?: string | undefined;
|
|
1338
1338
|
}
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @public
|
|
@@ -1345,12 +1345,12 @@ export interface ListSMSSandboxPhoneNumbersInput {
|
|
|
1345
1345
|
* returns.</p>
|
|
1346
1346
|
* @public
|
|
1347
1347
|
*/
|
|
1348
|
-
NextToken?: string;
|
|
1348
|
+
NextToken?: string | undefined;
|
|
1349
1349
|
/**
|
|
1350
1350
|
* <p>The maximum number of phone numbers to return.</p>
|
|
1351
1351
|
* @public
|
|
1352
1352
|
*/
|
|
1353
|
-
MaxResults?: number;
|
|
1353
|
+
MaxResults?: number | undefined;
|
|
1354
1354
|
}
|
|
1355
1355
|
/**
|
|
1356
1356
|
* @public
|
|
@@ -1381,12 +1381,12 @@ export interface SMSSandboxPhoneNumber {
|
|
|
1381
1381
|
* <p>The destination phone number.</p>
|
|
1382
1382
|
* @public
|
|
1383
1383
|
*/
|
|
1384
|
-
PhoneNumber?: string;
|
|
1384
|
+
PhoneNumber?: string | undefined;
|
|
1385
1385
|
/**
|
|
1386
1386
|
* <p>The destination phone number's verification status.</p>
|
|
1387
1387
|
* @public
|
|
1388
1388
|
*/
|
|
1389
|
-
Status?: SMSSandboxPhoneNumberVerificationStatus;
|
|
1389
|
+
Status?: SMSSandboxPhoneNumberVerificationStatus | undefined;
|
|
1390
1390
|
}
|
|
1391
1391
|
/**
|
|
1392
1392
|
* @public
|
|
@@ -1403,7 +1403,7 @@ export interface ListSMSSandboxPhoneNumbersResult {
|
|
|
1403
1403
|
* records are available.</p>
|
|
1404
1404
|
* @public
|
|
1405
1405
|
*/
|
|
1406
|
-
NextToken?: string;
|
|
1406
|
+
NextToken?: string | undefined;
|
|
1407
1407
|
}
|
|
1408
1408
|
/**
|
|
1409
1409
|
* <p>Input for ListSubscriptions action.</p>
|
|
@@ -1414,7 +1414,7 @@ export interface ListSubscriptionsInput {
|
|
|
1414
1414
|
* <p>Token returned by the previous <code>ListSubscriptions</code> request.</p>
|
|
1415
1415
|
* @public
|
|
1416
1416
|
*/
|
|
1417
|
-
NextToken?: string;
|
|
1417
|
+
NextToken?: string | undefined;
|
|
1418
1418
|
}
|
|
1419
1419
|
/**
|
|
1420
1420
|
* <p>A wrapper type for the attributes of an Amazon SNS subscription.</p>
|
|
@@ -1425,27 +1425,27 @@ export interface Subscription {
|
|
|
1425
1425
|
* <p>The subscription's ARN.</p>
|
|
1426
1426
|
* @public
|
|
1427
1427
|
*/
|
|
1428
|
-
SubscriptionArn?: string;
|
|
1428
|
+
SubscriptionArn?: string | undefined;
|
|
1429
1429
|
/**
|
|
1430
1430
|
* <p>The subscription's owner.</p>
|
|
1431
1431
|
* @public
|
|
1432
1432
|
*/
|
|
1433
|
-
Owner?: string;
|
|
1433
|
+
Owner?: string | undefined;
|
|
1434
1434
|
/**
|
|
1435
1435
|
* <p>The subscription's protocol.</p>
|
|
1436
1436
|
* @public
|
|
1437
1437
|
*/
|
|
1438
|
-
Protocol?: string;
|
|
1438
|
+
Protocol?: string | undefined;
|
|
1439
1439
|
/**
|
|
1440
1440
|
* <p>The subscription's endpoint (format depends on the protocol).</p>
|
|
1441
1441
|
* @public
|
|
1442
1442
|
*/
|
|
1443
|
-
Endpoint?: string;
|
|
1443
|
+
Endpoint?: string | undefined;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* <p>The ARN of the subscription's topic.</p>
|
|
1446
1446
|
* @public
|
|
1447
1447
|
*/
|
|
1448
|
-
TopicArn?: string;
|
|
1448
|
+
TopicArn?: string | undefined;
|
|
1449
1449
|
}
|
|
1450
1450
|
/**
|
|
1451
1451
|
* <p>Response for ListSubscriptions action</p>
|
|
@@ -1456,13 +1456,13 @@ export interface ListSubscriptionsResponse {
|
|
|
1456
1456
|
* <p>A list of subscriptions.</p>
|
|
1457
1457
|
* @public
|
|
1458
1458
|
*/
|
|
1459
|
-
Subscriptions?: Subscription[];
|
|
1459
|
+
Subscriptions?: Subscription[] | undefined;
|
|
1460
1460
|
/**
|
|
1461
1461
|
* <p>Token to pass along to the next <code>ListSubscriptions</code> request. This element
|
|
1462
1462
|
* is returned if there are more subscriptions to retrieve.</p>
|
|
1463
1463
|
* @public
|
|
1464
1464
|
*/
|
|
1465
|
-
NextToken?: string;
|
|
1465
|
+
NextToken?: string | undefined;
|
|
1466
1466
|
}
|
|
1467
1467
|
/**
|
|
1468
1468
|
* <p>Input for ListSubscriptionsByTopic action.</p>
|
|
@@ -1478,7 +1478,7 @@ export interface ListSubscriptionsByTopicInput {
|
|
|
1478
1478
|
* <p>Token returned by the previous <code>ListSubscriptionsByTopic</code> request.</p>
|
|
1479
1479
|
* @public
|
|
1480
1480
|
*/
|
|
1481
|
-
NextToken?: string;
|
|
1481
|
+
NextToken?: string | undefined;
|
|
1482
1482
|
}
|
|
1483
1483
|
/**
|
|
1484
1484
|
* <p>Response for ListSubscriptionsByTopic action.</p>
|
|
@@ -1489,13 +1489,13 @@ export interface ListSubscriptionsByTopicResponse {
|
|
|
1489
1489
|
* <p>A list of subscriptions.</p>
|
|
1490
1490
|
* @public
|
|
1491
1491
|
*/
|
|
1492
|
-
Subscriptions?: Subscription[];
|
|
1492
|
+
Subscriptions?: Subscription[] | undefined;
|
|
1493
1493
|
/**
|
|
1494
1494
|
* <p>Token to pass along to the next <code>ListSubscriptionsByTopic</code> request. This
|
|
1495
1495
|
* element is returned if there are more subscriptions to retrieve.</p>
|
|
1496
1496
|
* @public
|
|
1497
1497
|
*/
|
|
1498
|
-
NextToken?: string;
|
|
1498
|
+
NextToken?: string | undefined;
|
|
1499
1499
|
}
|
|
1500
1500
|
/**
|
|
1501
1501
|
* @public
|
|
@@ -1515,7 +1515,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1515
1515
|
* <p>The tags associated with the specified topic.</p>
|
|
1516
1516
|
* @public
|
|
1517
1517
|
*/
|
|
1518
|
-
Tags?: Tag[];
|
|
1518
|
+
Tags?: Tag[] | undefined;
|
|
1519
1519
|
}
|
|
1520
1520
|
/**
|
|
1521
1521
|
* @public
|
|
@@ -1525,7 +1525,7 @@ export interface ListTopicsInput {
|
|
|
1525
1525
|
* <p>Token returned by the previous <code>ListTopics</code> request.</p>
|
|
1526
1526
|
* @public
|
|
1527
1527
|
*/
|
|
1528
|
-
NextToken?: string;
|
|
1528
|
+
NextToken?: string | undefined;
|
|
1529
1529
|
}
|
|
1530
1530
|
/**
|
|
1531
1531
|
* <p>A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's
|
|
@@ -1537,7 +1537,7 @@ export interface Topic {
|
|
|
1537
1537
|
* <p>The topic's ARN.</p>
|
|
1538
1538
|
* @public
|
|
1539
1539
|
*/
|
|
1540
|
-
TopicArn?: string;
|
|
1540
|
+
TopicArn?: string | undefined;
|
|
1541
1541
|
}
|
|
1542
1542
|
/**
|
|
1543
1543
|
* <p>Response for ListTopics action.</p>
|
|
@@ -1548,13 +1548,13 @@ export interface ListTopicsResponse {
|
|
|
1548
1548
|
* <p>A list of topic ARNs.</p>
|
|
1549
1549
|
* @public
|
|
1550
1550
|
*/
|
|
1551
|
-
Topics?: Topic[];
|
|
1551
|
+
Topics?: Topic[] | undefined;
|
|
1552
1552
|
/**
|
|
1553
1553
|
* <p>Token to pass along to the next <code>ListTopics</code> request. This element is
|
|
1554
1554
|
* returned if there are additional topics to retrieve.</p>
|
|
1555
1555
|
* @public
|
|
1556
1556
|
*/
|
|
1557
|
-
NextToken?: string;
|
|
1557
|
+
NextToken?: string | undefined;
|
|
1558
1558
|
}
|
|
1559
1559
|
/**
|
|
1560
1560
|
* <p>Input for the OptInPhoneNumber action.</p>
|
|
@@ -1715,13 +1715,13 @@ export interface MessageAttributeValue {
|
|
|
1715
1715
|
* Characters</a>.</p>
|
|
1716
1716
|
* @public
|
|
1717
1717
|
*/
|
|
1718
|
-
StringValue?: string;
|
|
1718
|
+
StringValue?: string | undefined;
|
|
1719
1719
|
/**
|
|
1720
1720
|
* <p>Binary type attributes can store any binary data, for example, compressed data,
|
|
1721
1721
|
* encrypted data, or images.</p>
|
|
1722
1722
|
* @public
|
|
1723
1723
|
*/
|
|
1724
|
-
BinaryValue?: Uint8Array;
|
|
1724
|
+
BinaryValue?: Uint8Array | undefined;
|
|
1725
1725
|
}
|
|
1726
1726
|
/**
|
|
1727
1727
|
* <p>Input for Publish action.</p>
|
|
@@ -1734,14 +1734,14 @@ export interface PublishInput {
|
|
|
1734
1734
|
* a value for the <code>PhoneNumber</code> or <code>TargetArn</code> parameters.</p>
|
|
1735
1735
|
* @public
|
|
1736
1736
|
*/
|
|
1737
|
-
TopicArn?: string;
|
|
1737
|
+
TopicArn?: string | undefined;
|
|
1738
1738
|
/**
|
|
1739
1739
|
* <p>If you don't specify a value for the <code>TargetArn</code> parameter, you must
|
|
1740
1740
|
* specify a value for the <code>PhoneNumber</code> or <code>TopicArn</code>
|
|
1741
1741
|
* parameters.</p>
|
|
1742
1742
|
* @public
|
|
1743
1743
|
*/
|
|
1744
|
-
TargetArn?: string;
|
|
1744
|
+
TargetArn?: string | undefined;
|
|
1745
1745
|
/**
|
|
1746
1746
|
* <p>The phone number to which you want to deliver an SMS message. Use E.164 format.</p>
|
|
1747
1747
|
* <p>If you don't specify a value for the <code>PhoneNumber</code> parameter, you must
|
|
@@ -1749,7 +1749,7 @@ export interface PublishInput {
|
|
|
1749
1749
|
* parameters.</p>
|
|
1750
1750
|
* @public
|
|
1751
1751
|
*/
|
|
1752
|
-
PhoneNumber?: string;
|
|
1752
|
+
PhoneNumber?: string | undefined;
|
|
1753
1753
|
/**
|
|
1754
1754
|
* <p>The message you want to send.</p>
|
|
1755
1755
|
* <p>If you are publishing to a topic and you want to send the same message to all
|
|
@@ -1823,7 +1823,7 @@ export interface PublishInput {
|
|
|
1823
1823
|
* and less than 100 characters long.</p>
|
|
1824
1824
|
* @public
|
|
1825
1825
|
*/
|
|
1826
|
-
Subject?: string;
|
|
1826
|
+
Subject?: string | undefined;
|
|
1827
1827
|
/**
|
|
1828
1828
|
* <p>Set <code>MessageStructure</code> to <code>json</code> if you want to send a different
|
|
1829
1829
|
* message for each protocol. For example, using one publish action, you can send a short
|
|
@@ -1845,12 +1845,12 @@ export interface PublishInput {
|
|
|
1845
1845
|
* </p>
|
|
1846
1846
|
* @public
|
|
1847
1847
|
*/
|
|
1848
|
-
MessageStructure?: string;
|
|
1848
|
+
MessageStructure?: string | undefined;
|
|
1849
1849
|
/**
|
|
1850
1850
|
* <p>Message attributes for Publish action.</p>
|
|
1851
1851
|
* @public
|
|
1852
1852
|
*/
|
|
1853
|
-
MessageAttributes?: Record<string, MessageAttributeValue
|
|
1853
|
+
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
1854
1854
|
/**
|
|
1855
1855
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
1856
1856
|
* <code>MessageDeduplicationId</code> can contain up to 128 alphanumeric characters
|
|
@@ -1866,7 +1866,7 @@ export interface PublishInput {
|
|
|
1866
1866
|
* <code>MessageDeduplicationId</code> overrides the generated one.</p>
|
|
1867
1867
|
* @public
|
|
1868
1868
|
*/
|
|
1869
|
-
MessageDeduplicationId?: string;
|
|
1869
|
+
MessageDeduplicationId?: string | undefined;
|
|
1870
1870
|
/**
|
|
1871
1871
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics. The
|
|
1872
1872
|
* <code>MessageGroupId</code> can contain up to 128 alphanumeric characters
|
|
@@ -1878,7 +1878,7 @@ export interface PublishInput {
|
|
|
1878
1878
|
* order). Every message must include a <code>MessageGroupId</code>.</p>
|
|
1879
1879
|
* @public
|
|
1880
1880
|
*/
|
|
1881
|
-
MessageGroupId?: string;
|
|
1881
|
+
MessageGroupId?: string | undefined;
|
|
1882
1882
|
}
|
|
1883
1883
|
/**
|
|
1884
1884
|
* <p>Response for Publish action.</p>
|
|
@@ -1890,7 +1890,7 @@ export interface PublishResponse {
|
|
|
1890
1890
|
* <p>Length Constraint: Maximum 100 characters</p>
|
|
1891
1891
|
* @public
|
|
1892
1892
|
*/
|
|
1893
|
-
MessageId?: string;
|
|
1893
|
+
MessageId?: string | undefined;
|
|
1894
1894
|
/**
|
|
1895
1895
|
* <p>This response element applies only to FIFO (first-in-first-out) topics. </p>
|
|
1896
1896
|
* <p>The sequence number is a large, non-consecutive number that Amazon SNS assigns to each
|
|
@@ -1899,7 +1899,7 @@ export interface PublishResponse {
|
|
|
1899
1899
|
* <code>MessageGroupId</code>.</p>
|
|
1900
1900
|
* @public
|
|
1901
1901
|
*/
|
|
1902
|
-
SequenceNumber?: string;
|
|
1902
|
+
SequenceNumber?: string | undefined;
|
|
1903
1903
|
}
|
|
1904
1904
|
/**
|
|
1905
1905
|
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
@@ -1974,7 +1974,7 @@ export interface PublishBatchRequestEntry {
|
|
|
1974
1974
|
* <p>The subject of the batch message.</p>
|
|
1975
1975
|
* @public
|
|
1976
1976
|
*/
|
|
1977
|
-
Subject?: string;
|
|
1977
|
+
Subject?: string | undefined;
|
|
1978
1978
|
/**
|
|
1979
1979
|
* <p>Set <code>MessageStructure</code> to <code>json</code> if you want to send a different
|
|
1980
1980
|
* message for each protocol. For example, using one publish action, you can send a short
|
|
@@ -1994,14 +1994,14 @@ export interface PublishBatchRequestEntry {
|
|
|
1994
1994
|
* specific transport protocol (e.g. http). </p>
|
|
1995
1995
|
* @public
|
|
1996
1996
|
*/
|
|
1997
|
-
MessageStructure?: string;
|
|
1997
|
+
MessageStructure?: string | undefined;
|
|
1998
1998
|
/**
|
|
1999
1999
|
* <p>Each message attribute consists of a <code>Name</code>, <code>Type</code>, and
|
|
2000
2000
|
* <code>Value</code>. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-message-attributes.html">Amazon SNS message attributes</a> in
|
|
2001
2001
|
* the Amazon SNS Developer Guide.</p>
|
|
2002
2002
|
* @public
|
|
2003
2003
|
*/
|
|
2004
|
-
MessageAttributes?: Record<string, MessageAttributeValue
|
|
2004
|
+
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
2005
2005
|
/**
|
|
2006
2006
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
2007
2007
|
* <p>The token used for deduplication of messages within a 5-minute minimum deduplication
|
|
@@ -2064,7 +2064,7 @@ export interface PublishBatchRequestEntry {
|
|
|
2064
2064
|
* <code>(!"#$%&'()*+,-./:;<=>?@[\]^_`\{|\}~)</code>.</p>
|
|
2065
2065
|
* @public
|
|
2066
2066
|
*/
|
|
2067
|
-
MessageDeduplicationId?: string;
|
|
2067
|
+
MessageDeduplicationId?: string | undefined;
|
|
2068
2068
|
/**
|
|
2069
2069
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
2070
2070
|
* <p>The tag that specifies that a message belongs to a specific message group. Messages
|
|
@@ -2087,7 +2087,7 @@ export interface PublishBatchRequestEntry {
|
|
|
2087
2087
|
* </important>
|
|
2088
2088
|
* @public
|
|
2089
2089
|
*/
|
|
2090
|
-
MessageGroupId?: string;
|
|
2090
|
+
MessageGroupId?: string | undefined;
|
|
2091
2091
|
}
|
|
2092
2092
|
/**
|
|
2093
2093
|
* @public
|
|
@@ -2124,7 +2124,7 @@ export interface BatchResultErrorEntry {
|
|
|
2124
2124
|
* <p>A message explaining why the action failed on this entry.</p>
|
|
2125
2125
|
* @public
|
|
2126
2126
|
*/
|
|
2127
|
-
Message?: string;
|
|
2127
|
+
Message?: string | undefined;
|
|
2128
2128
|
/**
|
|
2129
2129
|
* <p>Specifies whether the error happened due to the caller of the batch API action.</p>
|
|
2130
2130
|
* @public
|
|
@@ -2140,12 +2140,12 @@ export interface PublishBatchResultEntry {
|
|
|
2140
2140
|
* <p>The <code>Id</code> of an entry in a batch request.</p>
|
|
2141
2141
|
* @public
|
|
2142
2142
|
*/
|
|
2143
|
-
Id?: string;
|
|
2143
|
+
Id?: string | undefined;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* <p>An identifier for the message.</p>
|
|
2146
2146
|
* @public
|
|
2147
2147
|
*/
|
|
2148
|
-
MessageId?: string;
|
|
2148
|
+
MessageId?: string | undefined;
|
|
2149
2149
|
/**
|
|
2150
2150
|
* <p>This parameter applies only to FIFO (first-in-first-out) topics.</p>
|
|
2151
2151
|
* <p>The large, non-consecutive number that Amazon SNS assigns to each message.</p>
|
|
@@ -2153,7 +2153,7 @@ export interface PublishBatchResultEntry {
|
|
|
2153
2153
|
* continues to increase for a particular <code>MessageGroupId</code>.</p>
|
|
2154
2154
|
* @public
|
|
2155
2155
|
*/
|
|
2156
|
-
SequenceNumber?: string;
|
|
2156
|
+
SequenceNumber?: string | undefined;
|
|
2157
2157
|
}
|
|
2158
2158
|
/**
|
|
2159
2159
|
* @public
|
|
@@ -2163,12 +2163,12 @@ export interface PublishBatchResponse {
|
|
|
2163
2163
|
* <p>A list of successful <code>PublishBatch</code> responses.</p>
|
|
2164
2164
|
* @public
|
|
2165
2165
|
*/
|
|
2166
|
-
Successful?: PublishBatchResultEntry[];
|
|
2166
|
+
Successful?: PublishBatchResultEntry[] | undefined;
|
|
2167
2167
|
/**
|
|
2168
2168
|
* <p>A list of failed <code>PublishBatch</code> responses. </p>
|
|
2169
2169
|
* @public
|
|
2170
2170
|
*/
|
|
2171
|
-
Failed?: BatchResultErrorEntry[];
|
|
2171
|
+
Failed?: BatchResultErrorEntry[] | undefined;
|
|
2172
2172
|
}
|
|
2173
2173
|
/**
|
|
2174
2174
|
* <p>The batch request contains more entries than permissible.</p>
|
|
@@ -2571,7 +2571,7 @@ export interface SetSubscriptionAttributesInput {
|
|
|
2571
2571
|
* <p>The new value for the attribute in JSON format.</p>
|
|
2572
2572
|
* @public
|
|
2573
2573
|
*/
|
|
2574
|
-
AttributeValue?: string;
|
|
2574
|
+
AttributeValue?: string | undefined;
|
|
2575
2575
|
}
|
|
2576
2576
|
/**
|
|
2577
2577
|
* <p>Input for SetTopicAttributes action.</p>
|
|
@@ -2799,7 +2799,7 @@ export interface SetTopicAttributesInput {
|
|
|
2799
2799
|
* <p>The new value for the attribute.</p>
|
|
2800
2800
|
* @public
|
|
2801
2801
|
*/
|
|
2802
|
-
AttributeValue?: string;
|
|
2802
|
+
AttributeValue?: string | undefined;
|
|
2803
2803
|
}
|
|
2804
2804
|
/**
|
|
2805
2805
|
* <p>Input for Subscribe action.</p>
|
|
@@ -2903,7 +2903,7 @@ export interface SubscribeInput {
|
|
|
2903
2903
|
* </ul>
|
|
2904
2904
|
* @public
|
|
2905
2905
|
*/
|
|
2906
|
-
Endpoint?: string;
|
|
2906
|
+
Endpoint?: string | undefined;
|
|
2907
2907
|
/**
|
|
2908
2908
|
* <p>A map of attributes with their corresponding values.</p>
|
|
2909
2909
|
* <p>The following lists the names, descriptions, and values of the special request
|
|
@@ -3010,7 +3010,7 @@ export interface SubscribeInput {
|
|
|
3010
3010
|
* </ul>
|
|
3011
3011
|
* @public
|
|
3012
3012
|
*/
|
|
3013
|
-
Attributes?: Record<string, string
|
|
3013
|
+
Attributes?: Record<string, string> | undefined;
|
|
3014
3014
|
/**
|
|
3015
3015
|
* <p>Sets whether the response from the <code>Subscribe</code> request includes the
|
|
3016
3016
|
* subscription ARN, even if the subscription is not yet confirmed.</p>
|
|
@@ -3024,7 +3024,7 @@ export interface SubscribeInput {
|
|
|
3024
3024
|
* <p>The default value is <code>false</code>.</p>
|
|
3025
3025
|
* @public
|
|
3026
3026
|
*/
|
|
3027
|
-
ReturnSubscriptionArn?: boolean;
|
|
3027
|
+
ReturnSubscriptionArn?: boolean | undefined;
|
|
3028
3028
|
}
|
|
3029
3029
|
/**
|
|
3030
3030
|
* <p>Response for Subscribe action.</p>
|
|
@@ -3038,7 +3038,7 @@ export interface SubscribeResponse {
|
|
|
3038
3038
|
* subscription ARN, even if the subscription requires confirmation.</p>
|
|
3039
3039
|
* @public
|
|
3040
3040
|
*/
|
|
3041
|
-
SubscriptionArn?: string;
|
|
3041
|
+
SubscriptionArn?: string | undefined;
|
|
3042
3042
|
}
|
|
3043
3043
|
/**
|
|
3044
3044
|
* @public
|
|
@@ -36,7 +36,7 @@ export interface CheckIfPhoneNumberIsOptedOutInput {
|
|
|
36
36
|
phoneNumber: string | undefined;
|
|
37
37
|
}
|
|
38
38
|
export interface CheckIfPhoneNumberIsOptedOutResponse {
|
|
39
|
-
isOptedOut?: boolean;
|
|
39
|
+
isOptedOut?: boolean | undefined;
|
|
40
40
|
}
|
|
41
41
|
export declare class ThrottledException extends __BaseException {
|
|
42
42
|
readonly name: "ThrottledException";
|
|
@@ -46,10 +46,10 @@ export declare class ThrottledException extends __BaseException {
|
|
|
46
46
|
export interface ConfirmSubscriptionInput {
|
|
47
47
|
TopicArn: string | undefined;
|
|
48
48
|
Token: string | undefined;
|
|
49
|
-
AuthenticateOnUnsubscribe?: string;
|
|
49
|
+
AuthenticateOnUnsubscribe?: string | undefined;
|
|
50
50
|
}
|
|
51
51
|
export interface ConfirmSubscriptionResponse {
|
|
52
|
-
SubscriptionArn?: string;
|
|
52
|
+
SubscriptionArn?: string | undefined;
|
|
53
53
|
}
|
|
54
54
|
export declare class FilterPolicyLimitExceededException extends __BaseException {
|
|
55
55
|
readonly name: "FilterPolicyLimitExceededException";
|
|
@@ -84,16 +84,16 @@ export interface CreatePlatformApplicationInput {
|
|
|
84
84
|
Attributes: Record<string, string> | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface CreatePlatformApplicationResponse {
|
|
87
|
-
PlatformApplicationArn?: string;
|
|
87
|
+
PlatformApplicationArn?: string | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface CreateEndpointResponse {
|
|
90
|
-
EndpointArn?: string;
|
|
90
|
+
EndpointArn?: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface CreatePlatformEndpointInput {
|
|
93
93
|
PlatformApplicationArn: string | undefined;
|
|
94
94
|
Token: string | undefined;
|
|
95
|
-
CustomUserData?: string;
|
|
96
|
-
Attributes?: Record<string, string
|
|
95
|
+
CustomUserData?: string | undefined;
|
|
96
|
+
Attributes?: Record<string, string> | undefined;
|
|
97
97
|
}
|
|
98
98
|
export declare const LanguageCodeString: {
|
|
99
99
|
readonly de_DE: "de-DE";
|
|
@@ -114,7 +114,7 @@ export type LanguageCodeString =
|
|
|
114
114
|
(typeof LanguageCodeString)[keyof typeof LanguageCodeString];
|
|
115
115
|
export interface CreateSMSSandboxPhoneNumberInput {
|
|
116
116
|
PhoneNumber: string | undefined;
|
|
117
|
-
LanguageCode?: LanguageCodeString;
|
|
117
|
+
LanguageCode?: LanguageCodeString | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface CreateSMSSandboxPhoneNumberResult {}
|
|
120
120
|
export declare class OptedOutException extends __BaseException {
|
|
@@ -140,12 +140,12 @@ export interface Tag {
|
|
|
140
140
|
}
|
|
141
141
|
export interface CreateTopicInput {
|
|
142
142
|
Name: string | undefined;
|
|
143
|
-
Attributes?: Record<string, string
|
|
144
|
-
Tags?: Tag[];
|
|
145
|
-
DataProtectionPolicy?: string;
|
|
143
|
+
Attributes?: Record<string, string> | undefined;
|
|
144
|
+
Tags?: Tag[] | undefined;
|
|
145
|
+
DataProtectionPolicy?: string | undefined;
|
|
146
146
|
}
|
|
147
147
|
export interface CreateTopicResponse {
|
|
148
|
-
TopicArn?: string;
|
|
148
|
+
TopicArn?: string | undefined;
|
|
149
149
|
}
|
|
150
150
|
export declare class InvalidSecurityException extends __BaseException {
|
|
151
151
|
readonly name: "InvalidSecurityException";
|
|
@@ -209,25 +209,25 @@ export interface GetDataProtectionPolicyInput {
|
|
|
209
209
|
ResourceArn: string | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface GetDataProtectionPolicyResponse {
|
|
212
|
-
DataProtectionPolicy?: string;
|
|
212
|
+
DataProtectionPolicy?: string | undefined;
|
|
213
213
|
}
|
|
214
214
|
export interface GetEndpointAttributesInput {
|
|
215
215
|
EndpointArn: string | undefined;
|
|
216
216
|
}
|
|
217
217
|
export interface GetEndpointAttributesResponse {
|
|
218
|
-
Attributes?: Record<string, string
|
|
218
|
+
Attributes?: Record<string, string> | undefined;
|
|
219
219
|
}
|
|
220
220
|
export interface GetPlatformApplicationAttributesInput {
|
|
221
221
|
PlatformApplicationArn: string | undefined;
|
|
222
222
|
}
|
|
223
223
|
export interface GetPlatformApplicationAttributesResponse {
|
|
224
|
-
Attributes?: Record<string, string
|
|
224
|
+
Attributes?: Record<string, string> | undefined;
|
|
225
225
|
}
|
|
226
226
|
export interface GetSMSAttributesInput {
|
|
227
|
-
attributes?: string[];
|
|
227
|
+
attributes?: string[] | undefined;
|
|
228
228
|
}
|
|
229
229
|
export interface GetSMSAttributesResponse {
|
|
230
|
-
attributes?: Record<string, string
|
|
230
|
+
attributes?: Record<string, string> | undefined;
|
|
231
231
|
}
|
|
232
232
|
export interface GetSMSSandboxAccountStatusInput {}
|
|
233
233
|
export interface GetSMSSandboxAccountStatusResult {
|
|
@@ -237,29 +237,29 @@ export interface GetSubscriptionAttributesInput {
|
|
|
237
237
|
SubscriptionArn: string | undefined;
|
|
238
238
|
}
|
|
239
239
|
export interface GetSubscriptionAttributesResponse {
|
|
240
|
-
Attributes?: Record<string, string
|
|
240
|
+
Attributes?: Record<string, string> | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface GetTopicAttributesInput {
|
|
243
243
|
TopicArn: string | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface GetTopicAttributesResponse {
|
|
246
|
-
Attributes?: Record<string, string
|
|
246
|
+
Attributes?: Record<string, string> | undefined;
|
|
247
247
|
}
|
|
248
248
|
export interface ListEndpointsByPlatformApplicationInput {
|
|
249
249
|
PlatformApplicationArn: string | undefined;
|
|
250
|
-
NextToken?: string;
|
|
250
|
+
NextToken?: string | undefined;
|
|
251
251
|
}
|
|
252
252
|
export interface Endpoint {
|
|
253
|
-
EndpointArn?: string;
|
|
254
|
-
Attributes?: Record<string, string
|
|
253
|
+
EndpointArn?: string | undefined;
|
|
254
|
+
Attributes?: Record<string, string> | undefined;
|
|
255
255
|
}
|
|
256
256
|
export interface ListEndpointsByPlatformApplicationResponse {
|
|
257
|
-
Endpoints?: Endpoint[];
|
|
258
|
-
NextToken?: string;
|
|
257
|
+
Endpoints?: Endpoint[] | undefined;
|
|
258
|
+
NextToken?: string | undefined;
|
|
259
259
|
}
|
|
260
260
|
export interface ListOriginationNumbersRequest {
|
|
261
|
-
NextToken?: string;
|
|
262
|
-
MaxResults?: number;
|
|
261
|
+
NextToken?: string | undefined;
|
|
262
|
+
MaxResults?: number | undefined;
|
|
263
263
|
}
|
|
264
264
|
export declare const NumberCapability: {
|
|
265
265
|
readonly MMS: "MMS";
|
|
@@ -275,16 +275,16 @@ export declare const RouteType: {
|
|
|
275
275
|
};
|
|
276
276
|
export type RouteType = (typeof RouteType)[keyof typeof RouteType];
|
|
277
277
|
export interface PhoneNumberInformation {
|
|
278
|
-
CreatedAt?: Date;
|
|
279
|
-
PhoneNumber?: string;
|
|
280
|
-
Status?: string;
|
|
281
|
-
Iso2CountryCode?: string;
|
|
282
|
-
RouteType?: RouteType;
|
|
283
|
-
NumberCapabilities?: NumberCapability[];
|
|
278
|
+
CreatedAt?: Date | undefined;
|
|
279
|
+
PhoneNumber?: string | undefined;
|
|
280
|
+
Status?: string | undefined;
|
|
281
|
+
Iso2CountryCode?: string | undefined;
|
|
282
|
+
RouteType?: RouteType | undefined;
|
|
283
|
+
NumberCapabilities?: NumberCapability[] | undefined;
|
|
284
284
|
}
|
|
285
285
|
export interface ListOriginationNumbersResult {
|
|
286
|
-
NextToken?: string;
|
|
287
|
-
PhoneNumbers?: PhoneNumberInformation[];
|
|
286
|
+
NextToken?: string | undefined;
|
|
287
|
+
PhoneNumbers?: PhoneNumberInformation[] | undefined;
|
|
288
288
|
}
|
|
289
289
|
export declare class ValidationException extends __BaseException {
|
|
290
290
|
readonly name: "ValidationException";
|
|
@@ -295,26 +295,26 @@ export declare class ValidationException extends __BaseException {
|
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
297
|
export interface ListPhoneNumbersOptedOutInput {
|
|
298
|
-
nextToken?: string;
|
|
298
|
+
nextToken?: string | undefined;
|
|
299
299
|
}
|
|
300
300
|
export interface ListPhoneNumbersOptedOutResponse {
|
|
301
|
-
phoneNumbers?: string[];
|
|
302
|
-
nextToken?: string;
|
|
301
|
+
phoneNumbers?: string[] | undefined;
|
|
302
|
+
nextToken?: string | undefined;
|
|
303
303
|
}
|
|
304
304
|
export interface ListPlatformApplicationsInput {
|
|
305
|
-
NextToken?: string;
|
|
305
|
+
NextToken?: string | undefined;
|
|
306
306
|
}
|
|
307
307
|
export interface PlatformApplication {
|
|
308
|
-
PlatformApplicationArn?: string;
|
|
309
|
-
Attributes?: Record<string, string
|
|
308
|
+
PlatformApplicationArn?: string | undefined;
|
|
309
|
+
Attributes?: Record<string, string> | undefined;
|
|
310
310
|
}
|
|
311
311
|
export interface ListPlatformApplicationsResponse {
|
|
312
|
-
PlatformApplications?: PlatformApplication[];
|
|
313
|
-
NextToken?: string;
|
|
312
|
+
PlatformApplications?: PlatformApplication[] | undefined;
|
|
313
|
+
NextToken?: string | undefined;
|
|
314
314
|
}
|
|
315
315
|
export interface ListSMSSandboxPhoneNumbersInput {
|
|
316
|
-
NextToken?: string;
|
|
317
|
-
MaxResults?: number;
|
|
316
|
+
NextToken?: string | undefined;
|
|
317
|
+
MaxResults?: number | undefined;
|
|
318
318
|
}
|
|
319
319
|
export declare const SMSSandboxPhoneNumberVerificationStatus: {
|
|
320
320
|
readonly Pending: "Pending";
|
|
@@ -323,50 +323,50 @@ export declare const SMSSandboxPhoneNumberVerificationStatus: {
|
|
|
323
323
|
export type SMSSandboxPhoneNumberVerificationStatus =
|
|
324
324
|
(typeof SMSSandboxPhoneNumberVerificationStatus)[keyof typeof SMSSandboxPhoneNumberVerificationStatus];
|
|
325
325
|
export interface SMSSandboxPhoneNumber {
|
|
326
|
-
PhoneNumber?: string;
|
|
327
|
-
Status?: SMSSandboxPhoneNumberVerificationStatus;
|
|
326
|
+
PhoneNumber?: string | undefined;
|
|
327
|
+
Status?: SMSSandboxPhoneNumberVerificationStatus | undefined;
|
|
328
328
|
}
|
|
329
329
|
export interface ListSMSSandboxPhoneNumbersResult {
|
|
330
330
|
PhoneNumbers: SMSSandboxPhoneNumber[] | undefined;
|
|
331
|
-
NextToken?: string;
|
|
331
|
+
NextToken?: string | undefined;
|
|
332
332
|
}
|
|
333
333
|
export interface ListSubscriptionsInput {
|
|
334
|
-
NextToken?: string;
|
|
334
|
+
NextToken?: string | undefined;
|
|
335
335
|
}
|
|
336
336
|
export interface Subscription {
|
|
337
|
-
SubscriptionArn?: string;
|
|
338
|
-
Owner?: string;
|
|
339
|
-
Protocol?: string;
|
|
340
|
-
Endpoint?: string;
|
|
341
|
-
TopicArn?: string;
|
|
337
|
+
SubscriptionArn?: string | undefined;
|
|
338
|
+
Owner?: string | undefined;
|
|
339
|
+
Protocol?: string | undefined;
|
|
340
|
+
Endpoint?: string | undefined;
|
|
341
|
+
TopicArn?: string | undefined;
|
|
342
342
|
}
|
|
343
343
|
export interface ListSubscriptionsResponse {
|
|
344
|
-
Subscriptions?: Subscription[];
|
|
345
|
-
NextToken?: string;
|
|
344
|
+
Subscriptions?: Subscription[] | undefined;
|
|
345
|
+
NextToken?: string | undefined;
|
|
346
346
|
}
|
|
347
347
|
export interface ListSubscriptionsByTopicInput {
|
|
348
348
|
TopicArn: string | undefined;
|
|
349
|
-
NextToken?: string;
|
|
349
|
+
NextToken?: string | undefined;
|
|
350
350
|
}
|
|
351
351
|
export interface ListSubscriptionsByTopicResponse {
|
|
352
|
-
Subscriptions?: Subscription[];
|
|
353
|
-
NextToken?: string;
|
|
352
|
+
Subscriptions?: Subscription[] | undefined;
|
|
353
|
+
NextToken?: string | undefined;
|
|
354
354
|
}
|
|
355
355
|
export interface ListTagsForResourceRequest {
|
|
356
356
|
ResourceArn: string | undefined;
|
|
357
357
|
}
|
|
358
358
|
export interface ListTagsForResourceResponse {
|
|
359
|
-
Tags?: Tag[];
|
|
359
|
+
Tags?: Tag[] | undefined;
|
|
360
360
|
}
|
|
361
361
|
export interface ListTopicsInput {
|
|
362
|
-
NextToken?: string;
|
|
362
|
+
NextToken?: string | undefined;
|
|
363
363
|
}
|
|
364
364
|
export interface Topic {
|
|
365
|
-
TopicArn?: string;
|
|
365
|
+
TopicArn?: string | undefined;
|
|
366
366
|
}
|
|
367
367
|
export interface ListTopicsResponse {
|
|
368
|
-
Topics?: Topic[];
|
|
369
|
-
NextToken?: string;
|
|
368
|
+
Topics?: Topic[] | undefined;
|
|
369
|
+
NextToken?: string | undefined;
|
|
370
370
|
}
|
|
371
371
|
export interface OptInPhoneNumberInput {
|
|
372
372
|
phoneNumber: string | undefined;
|
|
@@ -438,23 +438,23 @@ export declare class PlatformApplicationDisabledException extends __BaseExceptio
|
|
|
438
438
|
}
|
|
439
439
|
export interface MessageAttributeValue {
|
|
440
440
|
DataType: string | undefined;
|
|
441
|
-
StringValue?: string;
|
|
442
|
-
BinaryValue?: Uint8Array;
|
|
441
|
+
StringValue?: string | undefined;
|
|
442
|
+
BinaryValue?: Uint8Array | undefined;
|
|
443
443
|
}
|
|
444
444
|
export interface PublishInput {
|
|
445
|
-
TopicArn?: string;
|
|
446
|
-
TargetArn?: string;
|
|
447
|
-
PhoneNumber?: string;
|
|
445
|
+
TopicArn?: string | undefined;
|
|
446
|
+
TargetArn?: string | undefined;
|
|
447
|
+
PhoneNumber?: string | undefined;
|
|
448
448
|
Message: string | undefined;
|
|
449
|
-
Subject?: string;
|
|
450
|
-
MessageStructure?: string;
|
|
451
|
-
MessageAttributes?: Record<string, MessageAttributeValue
|
|
452
|
-
MessageDeduplicationId?: string;
|
|
453
|
-
MessageGroupId?: string;
|
|
449
|
+
Subject?: string | undefined;
|
|
450
|
+
MessageStructure?: string | undefined;
|
|
451
|
+
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
452
|
+
MessageDeduplicationId?: string | undefined;
|
|
453
|
+
MessageGroupId?: string | undefined;
|
|
454
454
|
}
|
|
455
455
|
export interface PublishResponse {
|
|
456
|
-
MessageId?: string;
|
|
457
|
-
SequenceNumber?: string;
|
|
456
|
+
MessageId?: string | undefined;
|
|
457
|
+
SequenceNumber?: string | undefined;
|
|
458
458
|
}
|
|
459
459
|
export declare class BatchEntryIdsNotDistinctException extends __BaseException {
|
|
460
460
|
readonly name: "BatchEntryIdsNotDistinctException";
|
|
@@ -490,11 +490,11 @@ export declare class InvalidBatchEntryIdException extends __BaseException {
|
|
|
490
490
|
export interface PublishBatchRequestEntry {
|
|
491
491
|
Id: string | undefined;
|
|
492
492
|
Message: string | undefined;
|
|
493
|
-
Subject?: string;
|
|
494
|
-
MessageStructure?: string;
|
|
495
|
-
MessageAttributes?: Record<string, MessageAttributeValue
|
|
496
|
-
MessageDeduplicationId?: string;
|
|
497
|
-
MessageGroupId?: string;
|
|
493
|
+
Subject?: string | undefined;
|
|
494
|
+
MessageStructure?: string | undefined;
|
|
495
|
+
MessageAttributes?: Record<string, MessageAttributeValue> | undefined;
|
|
496
|
+
MessageDeduplicationId?: string | undefined;
|
|
497
|
+
MessageGroupId?: string | undefined;
|
|
498
498
|
}
|
|
499
499
|
export interface PublishBatchInput {
|
|
500
500
|
TopicArn: string | undefined;
|
|
@@ -503,17 +503,17 @@ export interface PublishBatchInput {
|
|
|
503
503
|
export interface BatchResultErrorEntry {
|
|
504
504
|
Id: string | undefined;
|
|
505
505
|
Code: string | undefined;
|
|
506
|
-
Message?: string;
|
|
506
|
+
Message?: string | undefined;
|
|
507
507
|
SenderFault: boolean | undefined;
|
|
508
508
|
}
|
|
509
509
|
export interface PublishBatchResultEntry {
|
|
510
|
-
Id?: string;
|
|
511
|
-
MessageId?: string;
|
|
512
|
-
SequenceNumber?: string;
|
|
510
|
+
Id?: string | undefined;
|
|
511
|
+
MessageId?: string | undefined;
|
|
512
|
+
SequenceNumber?: string | undefined;
|
|
513
513
|
}
|
|
514
514
|
export interface PublishBatchResponse {
|
|
515
|
-
Successful?: PublishBatchResultEntry[];
|
|
516
|
-
Failed?: BatchResultErrorEntry[];
|
|
515
|
+
Successful?: PublishBatchResultEntry[] | undefined;
|
|
516
|
+
Failed?: BatchResultErrorEntry[] | undefined;
|
|
517
517
|
}
|
|
518
518
|
export declare class TooManyEntriesInBatchRequestException extends __BaseException {
|
|
519
519
|
readonly name: "TooManyEntriesInBatchRequestException";
|
|
@@ -548,22 +548,22 @@ export interface SetSMSAttributesResponse {}
|
|
|
548
548
|
export interface SetSubscriptionAttributesInput {
|
|
549
549
|
SubscriptionArn: string | undefined;
|
|
550
550
|
AttributeName: string | undefined;
|
|
551
|
-
AttributeValue?: string;
|
|
551
|
+
AttributeValue?: string | undefined;
|
|
552
552
|
}
|
|
553
553
|
export interface SetTopicAttributesInput {
|
|
554
554
|
TopicArn: string | undefined;
|
|
555
555
|
AttributeName: string | undefined;
|
|
556
|
-
AttributeValue?: string;
|
|
556
|
+
AttributeValue?: string | undefined;
|
|
557
557
|
}
|
|
558
558
|
export interface SubscribeInput {
|
|
559
559
|
TopicArn: string | undefined;
|
|
560
560
|
Protocol: string | undefined;
|
|
561
|
-
Endpoint?: string;
|
|
562
|
-
Attributes?: Record<string, string
|
|
563
|
-
ReturnSubscriptionArn?: boolean;
|
|
561
|
+
Endpoint?: string | undefined;
|
|
562
|
+
Attributes?: Record<string, string> | undefined;
|
|
563
|
+
ReturnSubscriptionArn?: boolean | undefined;
|
|
564
564
|
}
|
|
565
565
|
export interface SubscribeResponse {
|
|
566
|
-
SubscriptionArn?: string;
|
|
566
|
+
SubscriptionArn?: string | undefined;
|
|
567
567
|
}
|
|
568
568
|
export interface TagResourceRequest {
|
|
569
569
|
ResourceArn: string | undefined;
|
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.691.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,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|