aws-sdk 2.996.0 → 2.1000.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/CHANGELOG.md +24 -1
- package/README.md +1 -1
- package/apis/account-2021-02-01.examples.json +5 -0
- package/apis/account-2021-02-01.min.json +123 -0
- package/apis/account-2021-02-01.paginators.json +4 -0
- package/apis/amp-2020-08-01.min.json +442 -11
- package/apis/amp-2020-08-01.paginators.json +6 -0
- package/apis/amp-2020-08-01.waiters2.json +43 -0
- package/apis/apprunner-2020-05-15.min.json +10 -10
- package/apis/cloudcontrol-2021-09-30.examples.json +5 -0
- package/apis/cloudcontrol-2021-09-30.min.json +271 -0
- package/apis/cloudcontrol-2021-09-30.paginators.json +14 -0
- package/apis/cloudcontrol-2021-09-30.waiters2.json +31 -0
- package/apis/codebuild-2016-10-06.min.json +74 -73
- package/apis/dataexchange-2017-07-25.min.json +277 -38
- package/apis/dataexchange-2017-07-25.paginators.json +6 -0
- package/apis/kms-2014-11-01.examples.json +608 -8
- package/apis/lambda-2015-03-31.min.json +79 -42
- package/apis/macie2-2020-01-01.min.json +79 -67
- package/apis/metadata.json +6 -0
- package/apis/network-firewall-2020-11-12.min.json +65 -31
- package/apis/sesv2-2019-09-27.min.json +72 -70
- package/apis/ssm-2014-11-06.min.json +3 -0
- package/apis/synthetics-2017-10-11.min.json +39 -9
- package/apis/workmail-2017-10-01.min.json +139 -27
- package/apis/workmail-2017-10-01.paginators.json +5 -0
- package/apis/workspaces-2015-04-08.min.json +83 -50
- package/clients/account.d.ts +136 -0
- package/clients/account.js +18 -0
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/amp.d.ts +387 -0
- package/clients/amp.js +1 -0
- package/clients/apprunner.d.ts +55 -54
- package/clients/cloudcontrol.d.ts +385 -0
- package/clients/cloudcontrol.js +19 -0
- package/clients/codebuild.d.ts +8 -3
- package/clients/dataexchange.d.ts +226 -2
- package/clients/imagebuilder.d.ts +27 -27
- package/clients/kms.d.ts +2 -2
- package/clients/lambda.d.ts +61 -22
- package/clients/macie2.d.ts +29 -12
- package/clients/networkfirewall.d.ts +61 -10
- package/clients/sesv2.d.ts +128 -108
- package/clients/ssm.d.ts +7 -3
- package/clients/synthetics.d.ts +40 -0
- package/clients/transfer.d.ts +12 -12
- package/clients/workmail.d.ts +173 -0
- package/clients/workspaces.d.ts +87 -40
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +307 -219
- package/dist/aws-sdk.js +165 -118
- package/dist/aws-sdk.min.js +53 -53
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -157,6 +157,30 @@
|
|
|
157
157
|
"members": {}
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
|
+
"CreateUpdatedWorkspaceImage": {
|
|
161
|
+
"input": {
|
|
162
|
+
"type": "structure",
|
|
163
|
+
"required": [
|
|
164
|
+
"Name",
|
|
165
|
+
"Description",
|
|
166
|
+
"SourceImageId"
|
|
167
|
+
],
|
|
168
|
+
"members": {
|
|
169
|
+
"Name": {},
|
|
170
|
+
"Description": {},
|
|
171
|
+
"SourceImageId": {},
|
|
172
|
+
"Tags": {
|
|
173
|
+
"shape": "Sm"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"output": {
|
|
178
|
+
"type": "structure",
|
|
179
|
+
"members": {
|
|
180
|
+
"ImageId": {}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
160
184
|
"CreateWorkspaceBundle": {
|
|
161
185
|
"input": {
|
|
162
186
|
"type": "structure",
|
|
@@ -172,13 +196,13 @@
|
|
|
172
196
|
"BundleDescription": {},
|
|
173
197
|
"ImageId": {},
|
|
174
198
|
"ComputeType": {
|
|
175
|
-
"shape": "
|
|
199
|
+
"shape": "S15"
|
|
176
200
|
},
|
|
177
201
|
"UserStorage": {
|
|
178
|
-
"shape": "
|
|
202
|
+
"shape": "S17"
|
|
179
203
|
},
|
|
180
204
|
"RootStorage": {
|
|
181
|
-
"shape": "
|
|
205
|
+
"shape": "S18"
|
|
182
206
|
},
|
|
183
207
|
"Tags": {
|
|
184
208
|
"shape": "Sm"
|
|
@@ -189,7 +213,7 @@
|
|
|
189
213
|
"type": "structure",
|
|
190
214
|
"members": {
|
|
191
215
|
"WorkspaceBundle": {
|
|
192
|
-
"shape": "
|
|
216
|
+
"shape": "S1a"
|
|
193
217
|
}
|
|
194
218
|
}
|
|
195
219
|
}
|
|
@@ -204,7 +228,7 @@
|
|
|
204
228
|
"Workspaces": {
|
|
205
229
|
"type": "list",
|
|
206
230
|
"member": {
|
|
207
|
-
"shape": "
|
|
231
|
+
"shape": "S1h"
|
|
208
232
|
}
|
|
209
233
|
}
|
|
210
234
|
}
|
|
@@ -218,7 +242,7 @@
|
|
|
218
242
|
"type": "structure",
|
|
219
243
|
"members": {
|
|
220
244
|
"WorkspaceRequest": {
|
|
221
|
-
"shape": "
|
|
245
|
+
"shape": "S1h"
|
|
222
246
|
},
|
|
223
247
|
"ErrorCode": {},
|
|
224
248
|
"ErrorMessage": {}
|
|
@@ -226,7 +250,7 @@
|
|
|
226
250
|
}
|
|
227
251
|
},
|
|
228
252
|
"PendingRequests": {
|
|
229
|
-
"shape": "
|
|
253
|
+
"shape": "S1u"
|
|
230
254
|
}
|
|
231
255
|
}
|
|
232
256
|
}
|
|
@@ -389,7 +413,7 @@
|
|
|
389
413
|
"members": {
|
|
390
414
|
"ResourceId": {},
|
|
391
415
|
"ClientProperties": {
|
|
392
|
-
"shape": "
|
|
416
|
+
"shape": "S2y"
|
|
393
417
|
}
|
|
394
418
|
}
|
|
395
419
|
}
|
|
@@ -418,7 +442,7 @@
|
|
|
418
442
|
"ConnectionAliasPermissions": {
|
|
419
443
|
"type": "list",
|
|
420
444
|
"member": {
|
|
421
|
-
"shape": "
|
|
445
|
+
"shape": "S34"
|
|
422
446
|
}
|
|
423
447
|
},
|
|
424
448
|
"NextToken": {}
|
|
@@ -542,7 +566,7 @@
|
|
|
542
566
|
"Bundles": {
|
|
543
567
|
"type": "list",
|
|
544
568
|
"member": {
|
|
545
|
-
"shape": "
|
|
569
|
+
"shape": "S1a"
|
|
546
570
|
}
|
|
547
571
|
},
|
|
548
572
|
"NextToken": {}
|
|
@@ -576,7 +600,7 @@
|
|
|
576
600
|
"DirectoryName": {},
|
|
577
601
|
"RegistrationCode": {},
|
|
578
602
|
"SubnetIds": {
|
|
579
|
-
"shape": "
|
|
603
|
+
"shape": "S3x"
|
|
580
604
|
},
|
|
581
605
|
"DnsIpAddresses": {
|
|
582
606
|
"type": "list",
|
|
@@ -610,11 +634,11 @@
|
|
|
610
634
|
"shape": "S8"
|
|
611
635
|
},
|
|
612
636
|
"WorkspaceAccessProperties": {
|
|
613
|
-
"shape": "
|
|
637
|
+
"shape": "S45"
|
|
614
638
|
},
|
|
615
639
|
"Tenancy": {},
|
|
616
640
|
"SelfservicePermissions": {
|
|
617
|
-
"shape": "
|
|
641
|
+
"shape": "S48"
|
|
618
642
|
}
|
|
619
643
|
}
|
|
620
644
|
}
|
|
@@ -693,7 +717,16 @@
|
|
|
693
717
|
"Created": {
|
|
694
718
|
"type": "timestamp"
|
|
695
719
|
},
|
|
696
|
-
"OwnerAccountId": {}
|
|
720
|
+
"OwnerAccountId": {},
|
|
721
|
+
"Updates": {
|
|
722
|
+
"type": "structure",
|
|
723
|
+
"members": {
|
|
724
|
+
"UpdateAvailable": {
|
|
725
|
+
"type": "boolean"
|
|
726
|
+
},
|
|
727
|
+
"Description": {}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
697
730
|
}
|
|
698
731
|
}
|
|
699
732
|
},
|
|
@@ -715,10 +748,10 @@
|
|
|
715
748
|
"type": "structure",
|
|
716
749
|
"members": {
|
|
717
750
|
"RebuildSnapshots": {
|
|
718
|
-
"shape": "
|
|
751
|
+
"shape": "S4s"
|
|
719
752
|
},
|
|
720
753
|
"RestoreSnapshots": {
|
|
721
|
-
"shape": "
|
|
754
|
+
"shape": "S4s"
|
|
722
755
|
}
|
|
723
756
|
}
|
|
724
757
|
}
|
|
@@ -728,7 +761,7 @@
|
|
|
728
761
|
"type": "structure",
|
|
729
762
|
"members": {
|
|
730
763
|
"WorkspaceIds": {
|
|
731
|
-
"shape": "
|
|
764
|
+
"shape": "S4v"
|
|
732
765
|
},
|
|
733
766
|
"DirectoryId": {},
|
|
734
767
|
"UserName": {},
|
|
@@ -743,7 +776,7 @@
|
|
|
743
776
|
"type": "structure",
|
|
744
777
|
"members": {
|
|
745
778
|
"Workspaces": {
|
|
746
|
-
"shape": "
|
|
779
|
+
"shape": "S1u"
|
|
747
780
|
},
|
|
748
781
|
"NextToken": {}
|
|
749
782
|
}
|
|
@@ -754,7 +787,7 @@
|
|
|
754
787
|
"type": "structure",
|
|
755
788
|
"members": {
|
|
756
789
|
"WorkspaceIds": {
|
|
757
|
-
"shape": "
|
|
790
|
+
"shape": "S4v"
|
|
758
791
|
},
|
|
759
792
|
"NextToken": {}
|
|
760
793
|
}
|
|
@@ -914,7 +947,7 @@
|
|
|
914
947
|
"members": {
|
|
915
948
|
"ResourceId": {},
|
|
916
949
|
"ClientProperties": {
|
|
917
|
-
"shape": "
|
|
950
|
+
"shape": "S2y"
|
|
918
951
|
}
|
|
919
952
|
}
|
|
920
953
|
},
|
|
@@ -933,7 +966,7 @@
|
|
|
933
966
|
"members": {
|
|
934
967
|
"ResourceId": {},
|
|
935
968
|
"SelfservicePermissions": {
|
|
936
|
-
"shape": "
|
|
969
|
+
"shape": "S48"
|
|
937
970
|
}
|
|
938
971
|
}
|
|
939
972
|
},
|
|
@@ -952,7 +985,7 @@
|
|
|
952
985
|
"members": {
|
|
953
986
|
"ResourceId": {},
|
|
954
987
|
"WorkspaceAccessProperties": {
|
|
955
|
-
"shape": "
|
|
988
|
+
"shape": "S45"
|
|
956
989
|
}
|
|
957
990
|
}
|
|
958
991
|
},
|
|
@@ -1006,7 +1039,7 @@
|
|
|
1006
1039
|
"members": {
|
|
1007
1040
|
"WorkspaceId": {},
|
|
1008
1041
|
"WorkspaceProperties": {
|
|
1009
|
-
"shape": "
|
|
1042
|
+
"shape": "S1l"
|
|
1010
1043
|
}
|
|
1011
1044
|
}
|
|
1012
1045
|
},
|
|
@@ -1059,7 +1092,7 @@
|
|
|
1059
1092
|
"FailedRequests": {
|
|
1060
1093
|
"type": "list",
|
|
1061
1094
|
"member": {
|
|
1062
|
-
"shape": "
|
|
1095
|
+
"shape": "S65"
|
|
1063
1096
|
}
|
|
1064
1097
|
}
|
|
1065
1098
|
}
|
|
@@ -1092,7 +1125,7 @@
|
|
|
1092
1125
|
"FailedRequests": {
|
|
1093
1126
|
"type": "list",
|
|
1094
1127
|
"member": {
|
|
1095
|
-
"shape": "
|
|
1128
|
+
"shape": "S65"
|
|
1096
1129
|
}
|
|
1097
1130
|
}
|
|
1098
1131
|
}
|
|
@@ -1108,7 +1141,7 @@
|
|
|
1108
1141
|
"members": {
|
|
1109
1142
|
"DirectoryId": {},
|
|
1110
1143
|
"SubnetIds": {
|
|
1111
|
-
"shape": "
|
|
1144
|
+
"shape": "S3x"
|
|
1112
1145
|
},
|
|
1113
1146
|
"EnableWorkDocs": {
|
|
1114
1147
|
"type": "boolean"
|
|
@@ -1186,7 +1219,7 @@
|
|
|
1186
1219
|
"FailedRequests": {
|
|
1187
1220
|
"type": "list",
|
|
1188
1221
|
"member": {
|
|
1189
|
-
"shape": "
|
|
1222
|
+
"shape": "S65"
|
|
1190
1223
|
}
|
|
1191
1224
|
}
|
|
1192
1225
|
}
|
|
@@ -1216,7 +1249,7 @@
|
|
|
1216
1249
|
"FailedRequests": {
|
|
1217
1250
|
"type": "list",
|
|
1218
1251
|
"member": {
|
|
1219
|
-
"shape": "
|
|
1252
|
+
"shape": "S65"
|
|
1220
1253
|
}
|
|
1221
1254
|
}
|
|
1222
1255
|
}
|
|
@@ -1249,7 +1282,7 @@
|
|
|
1249
1282
|
"FailedRequests": {
|
|
1250
1283
|
"type": "list",
|
|
1251
1284
|
"member": {
|
|
1252
|
-
"shape": "
|
|
1285
|
+
"shape": "S65"
|
|
1253
1286
|
}
|
|
1254
1287
|
}
|
|
1255
1288
|
}
|
|
@@ -1265,7 +1298,7 @@
|
|
|
1265
1298
|
"members": {
|
|
1266
1299
|
"AliasId": {},
|
|
1267
1300
|
"ConnectionAliasPermission": {
|
|
1268
|
-
"shape": "
|
|
1301
|
+
"shape": "S34"
|
|
1269
1302
|
}
|
|
1270
1303
|
}
|
|
1271
1304
|
},
|
|
@@ -1356,25 +1389,25 @@
|
|
|
1356
1389
|
}
|
|
1357
1390
|
}
|
|
1358
1391
|
},
|
|
1359
|
-
"
|
|
1392
|
+
"S15": {
|
|
1360
1393
|
"type": "structure",
|
|
1361
1394
|
"members": {
|
|
1362
1395
|
"Name": {}
|
|
1363
1396
|
}
|
|
1364
1397
|
},
|
|
1365
|
-
"
|
|
1398
|
+
"S17": {
|
|
1366
1399
|
"type": "structure",
|
|
1367
1400
|
"members": {
|
|
1368
1401
|
"Capacity": {}
|
|
1369
1402
|
}
|
|
1370
1403
|
},
|
|
1371
|
-
"
|
|
1404
|
+
"S18": {
|
|
1372
1405
|
"type": "structure",
|
|
1373
1406
|
"members": {
|
|
1374
1407
|
"Capacity": {}
|
|
1375
1408
|
}
|
|
1376
1409
|
},
|
|
1377
|
-
"
|
|
1410
|
+
"S1a": {
|
|
1378
1411
|
"type": "structure",
|
|
1379
1412
|
"members": {
|
|
1380
1413
|
"BundleId": {},
|
|
@@ -1383,13 +1416,13 @@
|
|
|
1383
1416
|
"Description": {},
|
|
1384
1417
|
"ImageId": {},
|
|
1385
1418
|
"RootStorage": {
|
|
1386
|
-
"shape": "
|
|
1419
|
+
"shape": "S18"
|
|
1387
1420
|
},
|
|
1388
1421
|
"UserStorage": {
|
|
1389
|
-
"shape": "
|
|
1422
|
+
"shape": "S17"
|
|
1390
1423
|
},
|
|
1391
1424
|
"ComputeType": {
|
|
1392
|
-
"shape": "
|
|
1425
|
+
"shape": "S15"
|
|
1393
1426
|
},
|
|
1394
1427
|
"LastUpdatedTime": {
|
|
1395
1428
|
"type": "timestamp"
|
|
@@ -1399,7 +1432,7 @@
|
|
|
1399
1432
|
}
|
|
1400
1433
|
}
|
|
1401
1434
|
},
|
|
1402
|
-
"
|
|
1435
|
+
"S1h": {
|
|
1403
1436
|
"type": "structure",
|
|
1404
1437
|
"required": [
|
|
1405
1438
|
"DirectoryId",
|
|
@@ -1418,14 +1451,14 @@
|
|
|
1418
1451
|
"type": "boolean"
|
|
1419
1452
|
},
|
|
1420
1453
|
"WorkspaceProperties": {
|
|
1421
|
-
"shape": "
|
|
1454
|
+
"shape": "S1l"
|
|
1422
1455
|
},
|
|
1423
1456
|
"Tags": {
|
|
1424
1457
|
"shape": "Sm"
|
|
1425
1458
|
}
|
|
1426
1459
|
}
|
|
1427
1460
|
},
|
|
1428
|
-
"
|
|
1461
|
+
"S1l": {
|
|
1429
1462
|
"type": "structure",
|
|
1430
1463
|
"members": {
|
|
1431
1464
|
"RunningMode": {},
|
|
@@ -1441,7 +1474,7 @@
|
|
|
1441
1474
|
"ComputeTypeName": {}
|
|
1442
1475
|
}
|
|
1443
1476
|
},
|
|
1444
|
-
"
|
|
1477
|
+
"S1u": {
|
|
1445
1478
|
"type": "list",
|
|
1446
1479
|
"member": {
|
|
1447
1480
|
"type": "structure",
|
|
@@ -1464,7 +1497,7 @@
|
|
|
1464
1497
|
"type": "boolean"
|
|
1465
1498
|
},
|
|
1466
1499
|
"WorkspaceProperties": {
|
|
1467
|
-
"shape": "
|
|
1500
|
+
"shape": "S1l"
|
|
1468
1501
|
},
|
|
1469
1502
|
"ModificationStates": {
|
|
1470
1503
|
"type": "list",
|
|
@@ -1479,13 +1512,13 @@
|
|
|
1479
1512
|
}
|
|
1480
1513
|
}
|
|
1481
1514
|
},
|
|
1482
|
-
"
|
|
1515
|
+
"S2y": {
|
|
1483
1516
|
"type": "structure",
|
|
1484
1517
|
"members": {
|
|
1485
1518
|
"ReconnectEnabled": {}
|
|
1486
1519
|
}
|
|
1487
1520
|
},
|
|
1488
|
-
"
|
|
1521
|
+
"S34": {
|
|
1489
1522
|
"type": "structure",
|
|
1490
1523
|
"required": [
|
|
1491
1524
|
"SharedAccountId",
|
|
@@ -1498,11 +1531,11 @@
|
|
|
1498
1531
|
}
|
|
1499
1532
|
}
|
|
1500
1533
|
},
|
|
1501
|
-
"
|
|
1534
|
+
"S3x": {
|
|
1502
1535
|
"type": "list",
|
|
1503
1536
|
"member": {}
|
|
1504
1537
|
},
|
|
1505
|
-
"
|
|
1538
|
+
"S45": {
|
|
1506
1539
|
"type": "structure",
|
|
1507
1540
|
"members": {
|
|
1508
1541
|
"DeviceTypeWindows": {},
|
|
@@ -1515,7 +1548,7 @@
|
|
|
1515
1548
|
"DeviceTypeLinux": {}
|
|
1516
1549
|
}
|
|
1517
1550
|
},
|
|
1518
|
-
"
|
|
1551
|
+
"S48": {
|
|
1519
1552
|
"type": "structure",
|
|
1520
1553
|
"members": {
|
|
1521
1554
|
"RestartWorkspace": {},
|
|
@@ -1525,7 +1558,7 @@
|
|
|
1525
1558
|
"RebuildWorkspace": {}
|
|
1526
1559
|
}
|
|
1527
1560
|
},
|
|
1528
|
-
"
|
|
1561
|
+
"S4s": {
|
|
1529
1562
|
"type": "list",
|
|
1530
1563
|
"member": {
|
|
1531
1564
|
"type": "structure",
|
|
@@ -1536,11 +1569,11 @@
|
|
|
1536
1569
|
}
|
|
1537
1570
|
}
|
|
1538
1571
|
},
|
|
1539
|
-
"
|
|
1572
|
+
"S4v": {
|
|
1540
1573
|
"type": "list",
|
|
1541
1574
|
"member": {}
|
|
1542
1575
|
},
|
|
1543
|
-
"
|
|
1576
|
+
"S65": {
|
|
1544
1577
|
"type": "structure",
|
|
1545
1578
|
"members": {
|
|
1546
1579
|
"WorkspaceId": {},
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class Account extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: Account.Types.ClientConfiguration)
|
|
13
|
+
config: Config & Account.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Deletes the specified alternate contact from an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
16
|
+
*/
|
|
17
|
+
deleteAlternateContact(params: Account.Types.DeleteAlternateContactRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Deletes the specified alternate contact from an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
20
|
+
*/
|
|
21
|
+
deleteAlternateContact(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the specified alternate contact attached to an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
24
|
+
*/
|
|
25
|
+
getAlternateContact(params: Account.Types.GetAlternateContactRequest, callback?: (err: AWSError, data: Account.Types.GetAlternateContactResponse) => void): Request<Account.Types.GetAlternateContactResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the specified alternate contact attached to an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
28
|
+
*/
|
|
29
|
+
getAlternateContact(callback?: (err: AWSError, data: Account.Types.GetAlternateContactResponse) => void): Request<Account.Types.GetAlternateContactResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Modifies the specified alternate contact attached to an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
32
|
+
*/
|
|
33
|
+
putAlternateContact(params: Account.Types.PutAlternateContactRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Modifies the specified alternate contact attached to an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
|
|
36
|
+
*/
|
|
37
|
+
putAlternateContact(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
38
|
+
}
|
|
39
|
+
declare namespace Account {
|
|
40
|
+
export type AccountId = string;
|
|
41
|
+
export interface AlternateContact {
|
|
42
|
+
/**
|
|
43
|
+
* The type of alternate contact.
|
|
44
|
+
*/
|
|
45
|
+
AlternateContactType?: AlternateContactType;
|
|
46
|
+
/**
|
|
47
|
+
* The email address associated with this alternate contact.
|
|
48
|
+
*/
|
|
49
|
+
EmailAddress?: EmailAddress;
|
|
50
|
+
/**
|
|
51
|
+
* The name associated with this alternate contact.
|
|
52
|
+
*/
|
|
53
|
+
Name?: Name;
|
|
54
|
+
/**
|
|
55
|
+
* The phone number associated with this alternate contact.
|
|
56
|
+
*/
|
|
57
|
+
PhoneNumber?: PhoneNumber;
|
|
58
|
+
/**
|
|
59
|
+
* The title associated with this alternate contact.
|
|
60
|
+
*/
|
|
61
|
+
Title?: Title;
|
|
62
|
+
}
|
|
63
|
+
export type AlternateContactType = "BILLING"|"OPERATIONS"|"SECURITY"|string;
|
|
64
|
+
export interface DeleteAlternateContactRequest {
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
|
|
67
|
+
*/
|
|
68
|
+
AccountId?: AccountId;
|
|
69
|
+
/**
|
|
70
|
+
* Specifies which of the alternate contacts to delete.
|
|
71
|
+
*/
|
|
72
|
+
AlternateContactType: AlternateContactType;
|
|
73
|
+
}
|
|
74
|
+
export type EmailAddress = string;
|
|
75
|
+
export interface GetAlternateContactRequest {
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
|
|
78
|
+
*/
|
|
79
|
+
AccountId?: AccountId;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies which alternate contact you want to retrieve.
|
|
82
|
+
*/
|
|
83
|
+
AlternateContactType: AlternateContactType;
|
|
84
|
+
}
|
|
85
|
+
export interface GetAlternateContactResponse {
|
|
86
|
+
/**
|
|
87
|
+
* A structure that contains the details for the specified alternate contact.
|
|
88
|
+
*/
|
|
89
|
+
AlternateContact?: AlternateContact;
|
|
90
|
+
}
|
|
91
|
+
export type Name = string;
|
|
92
|
+
export type PhoneNumber = string;
|
|
93
|
+
export interface PutAlternateContactRequest {
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
|
|
96
|
+
*/
|
|
97
|
+
AccountId?: AccountId;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies which alternate contact you want to create or update.
|
|
100
|
+
*/
|
|
101
|
+
AlternateContactType: AlternateContactType;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies an email address for the alternate contact.
|
|
104
|
+
*/
|
|
105
|
+
EmailAddress: EmailAddress;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies a name for the alternate contact.
|
|
108
|
+
*/
|
|
109
|
+
Name: Name;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies a phone number for the alternate contact.
|
|
112
|
+
*/
|
|
113
|
+
PhoneNumber: PhoneNumber;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies a title for the alternate contact.
|
|
116
|
+
*/
|
|
117
|
+
Title: Title;
|
|
118
|
+
}
|
|
119
|
+
export type Title = string;
|
|
120
|
+
/**
|
|
121
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
122
|
+
*/
|
|
123
|
+
export type apiVersion = "2021-02-01"|"latest"|string;
|
|
124
|
+
export interface ClientApiVersions {
|
|
125
|
+
/**
|
|
126
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
127
|
+
*/
|
|
128
|
+
apiVersion?: apiVersion;
|
|
129
|
+
}
|
|
130
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
131
|
+
/**
|
|
132
|
+
* Contains interfaces for use with the Account client.
|
|
133
|
+
*/
|
|
134
|
+
export import Types = Account;
|
|
135
|
+
}
|
|
136
|
+
export = Account;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require('../lib/node_loader');
|
|
2
|
+
var AWS = require('../lib/core');
|
|
3
|
+
var Service = AWS.Service;
|
|
4
|
+
var apiLoader = AWS.apiLoader;
|
|
5
|
+
|
|
6
|
+
apiLoader.services['account'] = {};
|
|
7
|
+
AWS.Account = Service.defineService('account', ['2021-02-01']);
|
|
8
|
+
Object.defineProperty(apiLoader.services['account'], '2021-02-01', {
|
|
9
|
+
get: function get() {
|
|
10
|
+
var model = require('../apis/account-2021-02-01.min.json');
|
|
11
|
+
model.paginators = require('../apis/account-2021-02-01.paginators.json').pagination;
|
|
12
|
+
return model;
|
|
13
|
+
},
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
module.exports = AWS.Account;
|
package/clients/all.d.ts
CHANGED
|
@@ -280,3 +280,5 @@ export import OpenSearch = require('./opensearch');
|
|
|
280
280
|
export import KafkaConnect = require('./kafkaconnect');
|
|
281
281
|
export import VoiceID = require('./voiceid');
|
|
282
282
|
export import Wisdom = require('./wisdom');
|
|
283
|
+
export import Account = require('./account');
|
|
284
|
+
export import CloudControl = require('./cloudcontrol');
|
package/clients/all.js
CHANGED
|
@@ -281,5 +281,7 @@ module.exports = {
|
|
|
281
281
|
OpenSearch: require('./opensearch'),
|
|
282
282
|
KafkaConnect: require('./kafkaconnect'),
|
|
283
283
|
VoiceID: require('./voiceid'),
|
|
284
|
-
Wisdom: require('./wisdom')
|
|
284
|
+
Wisdom: require('./wisdom'),
|
|
285
|
+
Account: require('./account'),
|
|
286
|
+
CloudControl: require('./cloudcontrol')
|
|
285
287
|
};
|