aws-sdk 2.1634.0 → 2.1636.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.
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "pagination": {
3
+ "ForecastGeofenceEvents": {
4
+ "input_token": "NextToken",
5
+ "output_token": "NextToken",
6
+ "limit_key": "MaxResults",
7
+ "result_key": "ForecastedEvents"
8
+ },
3
9
  "GetDevicePositionHistory": {
4
10
  "input_token": "NextToken",
5
11
  "output_token": "NextToken",
@@ -334,10 +334,12 @@
334
334
  "Delete": {
335
335
  "Objects": [
336
336
  {
337
- "Key": "objectkey1"
337
+ "Key": "HappyFace.jpg",
338
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
338
339
  },
339
340
  {
340
- "Key": "objectkey2"
341
+ "Key": "HappyFace.jpg",
342
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
341
343
  }
342
344
  ],
343
345
  "Quiet": false
@@ -346,14 +348,12 @@
346
348
  "output": {
347
349
  "Deleted": [
348
350
  {
349
- "DeleteMarker": "true",
350
- "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
351
- "Key": "objectkey1"
351
+ "Key": "HappyFace.jpg",
352
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
352
353
  },
353
354
  {
354
- "DeleteMarker": "true",
355
- "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
356
- "Key": "objectkey2"
355
+ "Key": "HappyFace.jpg",
356
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
357
357
  }
358
358
  ]
359
359
  },
@@ -363,9 +363,9 @@
363
363
  "output": {
364
364
  }
365
365
  },
366
- "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
367
- "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
368
- "title": "To delete multiple objects from a versioned bucket"
366
+ "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
367
+ "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
368
+ "title": "To delete multiple object versions from a versioned bucket"
369
369
  },
370
370
  {
371
371
  "input": {
@@ -373,12 +373,10 @@
373
373
  "Delete": {
374
374
  "Objects": [
375
375
  {
376
- "Key": "HappyFace.jpg",
377
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
376
+ "Key": "objectkey1"
378
377
  },
379
378
  {
380
- "Key": "HappyFace.jpg",
381
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
379
+ "Key": "objectkey2"
382
380
  }
383
381
  ],
384
382
  "Quiet": false
@@ -387,12 +385,14 @@
387
385
  "output": {
388
386
  "Deleted": [
389
387
  {
390
- "Key": "HappyFace.jpg",
391
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
388
+ "DeleteMarker": "true",
389
+ "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390
+ "Key": "objectkey1"
392
391
  },
393
392
  {
394
- "Key": "HappyFace.jpg",
395
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
393
+ "DeleteMarker": "true",
394
+ "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395
+ "Key": "objectkey2"
396
396
  }
397
397
  ]
398
398
  },
@@ -402,9 +402,9 @@
402
402
  "output": {
403
403
  }
404
404
  },
405
- "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
406
- "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
407
- "title": "To delete multiple object versions from a versioned bucket"
405
+ "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
406
+ "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
407
+ "title": "To delete multiple objects from a versioned bucket"
408
408
  }
409
409
  ],
410
410
  "GetBucketCors": [
@@ -1570,14 +1570,33 @@
1570
1570
  "Body": "filetoupload",
1571
1571
  "Bucket": "examplebucket",
1572
1572
  "Key": "exampleobject",
1573
- "Metadata": {
1574
- "metadata1": "value1",
1575
- "metadata2": "value2"
1573
+ "ServerSideEncryption": "AES256",
1574
+ "Tagging": "key1=value1&key2=value2"
1575
+ },
1576
+ "output": {
1577
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1578
+ "ServerSideEncryption": "AES256",
1579
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1580
+ },
1581
+ "comments": {
1582
+ "input": {
1583
+ },
1584
+ "output": {
1576
1585
  }
1577
1586
  },
1587
+ "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1588
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1589
+ "title": "To upload an object and specify server-side encryption and object tags"
1590
+ },
1591
+ {
1592
+ "input": {
1593
+ "Body": "filetoupload",
1594
+ "Bucket": "examplebucket",
1595
+ "Key": "objectkey"
1596
+ },
1578
1597
  "output": {
1579
1598
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1580
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1599
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1581
1600
  },
1582
1601
  "comments": {
1583
1602
  "input": {
@@ -1585,9 +1604,9 @@
1585
1604
  "output": {
1586
1605
  }
1587
1606
  },
1588
- "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1589
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1590
- "title": "To upload object and specify user-defined metadata"
1607
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1608
+ "id": "to-create-an-object-1483147613675",
1609
+ "title": "To create an object."
1591
1610
  },
1592
1611
  {
1593
1612
  "input": {
@@ -1637,31 +1656,15 @@
1637
1656
  "input": {
1638
1657
  "Body": "filetoupload",
1639
1658
  "Bucket": "examplebucket",
1640
- "Key": "objectkey"
1641
- },
1642
- "output": {
1643
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1644
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1645
- },
1646
- "comments": {
1647
- "input": {
1648
- },
1649
- "output": {
1659
+ "Key": "exampleobject",
1660
+ "Metadata": {
1661
+ "metadata1": "value1",
1662
+ "metadata2": "value2"
1650
1663
  }
1651
1664
  },
1652
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1653
- "id": "to-create-an-object-1483147613675",
1654
- "title": "To create an object."
1655
- },
1656
- {
1657
- "input": {
1658
- "Body": "HappyFace.jpg",
1659
- "Bucket": "examplebucket",
1660
- "Key": "HappyFace.jpg"
1661
- },
1662
1665
  "output": {
1663
1666
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1664
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1667
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1665
1668
  },
1666
1669
  "comments": {
1667
1670
  "input": {
@@ -1669,9 +1672,9 @@
1669
1672
  "output": {
1670
1673
  }
1671
1674
  },
1672
- "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
1673
- "id": "to-upload-an-object-1481760101010",
1674
- "title": "To upload an object"
1675
+ "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1676
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1677
+ "title": "To upload object and specify user-defined metadata"
1675
1678
  },
1676
1679
  {
1677
1680
  "input": {
@@ -1696,16 +1699,13 @@
1696
1699
  },
1697
1700
  {
1698
1701
  "input": {
1699
- "Body": "filetoupload",
1702
+ "Body": "HappyFace.jpg",
1700
1703
  "Bucket": "examplebucket",
1701
- "Key": "exampleobject",
1702
- "ServerSideEncryption": "AES256",
1703
- "Tagging": "key1=value1&key2=value2"
1704
+ "Key": "HappyFace.jpg"
1704
1705
  },
1705
1706
  "output": {
1706
1707
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1707
- "ServerSideEncryption": "AES256",
1708
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1708
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1709
1709
  },
1710
1710
  "comments": {
1711
1711
  "input": {
@@ -1713,9 +1713,9 @@
1713
1713
  "output": {
1714
1714
  }
1715
1715
  },
1716
- "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1717
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1718
- "title": "To upload an object and specify server-side encryption and object tags"
1716
+ "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
1717
+ "id": "to-upload-an-object-1481760101010",
1718
+ "title": "To upload an object"
1719
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [
@@ -254,6 +254,9 @@
254
254
  "locationName": "Content-Type"
255
255
  },
256
256
  "CopySource": {
257
+ "contextParam": {
258
+ "name": "CopySource"
259
+ },
257
260
  "location": "header",
258
261
  "locationName": "x-amz-copy-source"
259
262
  },
@@ -297,6 +300,9 @@
297
300
  "locationName": "x-amz-grant-write-acp"
298
301
  },
299
302
  "Key": {
303
+ "contextParam": {
304
+ "name": "Key"
305
+ },
300
306
  "location": "uri",
301
307
  "locationName": "Key"
302
308
  },
@@ -4,12 +4,18 @@
4
4
  "apiVersion": "2010-03-31",
5
5
  "endpointPrefix": "sns",
6
6
  "protocol": "query",
7
+ "protocols": [
8
+ "query"
9
+ ],
7
10
  "serviceAbbreviation": "Amazon SNS",
8
11
  "serviceFullName": "Amazon Simple Notification Service",
9
12
  "serviceId": "SNS",
10
13
  "signatureVersion": "v4",
11
14
  "uid": "sns-2010-03-31",
12
- "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/"
15
+ "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/",
16
+ "auth": [
17
+ "aws.auth#sigv4"
18
+ ]
13
19
  },
14
20
  "operations": {
15
21
  "AddPermission": {
@@ -6,6 +6,9 @@
6
6
  "endpointPrefix": "sqs",
7
7
  "jsonVersion": "1.0",
8
8
  "protocol": "json",
9
+ "protocols": [
10
+ "json"
11
+ ],
9
12
  "serviceAbbreviation": "Amazon SQS",
10
13
  "serviceFullName": "Amazon Simple Queue Service",
11
14
  "serviceId": "SQS",
@@ -5,11 +5,17 @@
5
5
  "endpointPrefix": "storagegateway",
6
6
  "jsonVersion": "1.1",
7
7
  "protocol": "json",
8
+ "protocols": [
9
+ "json"
10
+ ],
8
11
  "serviceFullName": "AWS Storage Gateway",
9
12
  "serviceId": "Storage Gateway",
10
13
  "signatureVersion": "v4",
11
14
  "targetPrefix": "StorageGateway_20130630",
12
- "uid": "storagegateway-2013-06-30"
15
+ "uid": "storagegateway-2013-06-30",
16
+ "auth": [
17
+ "aws.auth#sigv4"
18
+ ]
13
19
  },
14
20
  "operations": {
15
21
  "ActivateGateway": {
@@ -1092,7 +1098,10 @@
1092
1098
  "DayOfMonth": {
1093
1099
  "type": "integer"
1094
1100
  },
1095
- "Timezone": {}
1101
+ "Timezone": {},
1102
+ "SoftwareUpdatePreferences": {
1103
+ "shape": "S5i"
1104
+ }
1096
1105
  }
1097
1106
  }
1098
1107
  },
@@ -1104,7 +1113,7 @@
1104
1113
  ],
1105
1114
  "members": {
1106
1115
  "FileShareARNList": {
1107
- "shape": "S5j"
1116
+ "shape": "S5l"
1108
1117
  }
1109
1118
  }
1110
1119
  },
@@ -1170,7 +1179,7 @@
1170
1179
  ],
1171
1180
  "members": {
1172
1181
  "FileShareARNList": {
1173
- "shape": "S5j"
1182
+ "shape": "S5l"
1174
1183
  }
1175
1184
  }
1176
1185
  },
@@ -1265,7 +1274,7 @@
1265
1274
  "type": "boolean"
1266
1275
  },
1267
1276
  "SMBLocalGroups": {
1268
- "shape": "S5z"
1277
+ "shape": "S61"
1269
1278
  }
1270
1279
  }
1271
1280
  }
@@ -1713,7 +1722,7 @@
1713
1722
  "type": "structure",
1714
1723
  "members": {
1715
1724
  "AutomaticTapeCreationRules": {
1716
- "shape": "S7j"
1725
+ "shape": "S7l"
1717
1726
  },
1718
1727
  "GatewayARN": {}
1719
1728
  }
@@ -2276,7 +2285,7 @@
2276
2285
  ],
2277
2286
  "members": {
2278
2287
  "AutomaticTapeCreationRules": {
2279
- "shape": "S7j"
2288
+ "shape": "S7l"
2280
2289
  },
2281
2290
  "GatewayARN": {}
2282
2291
  }
@@ -2427,9 +2436,7 @@
2427
2436
  "input": {
2428
2437
  "type": "structure",
2429
2438
  "required": [
2430
- "GatewayARN",
2431
- "HourOfDay",
2432
- "MinuteOfHour"
2439
+ "GatewayARN"
2433
2440
  ],
2434
2441
  "members": {
2435
2442
  "GatewayARN": {},
@@ -2444,6 +2451,9 @@
2444
2451
  },
2445
2452
  "DayOfMonth": {
2446
2453
  "type": "integer"
2454
+ },
2455
+ "SoftwareUpdatePreferences": {
2456
+ "shape": "S5i"
2447
2457
  }
2448
2458
  }
2449
2459
  },
@@ -2587,7 +2597,7 @@
2587
2597
  "members": {
2588
2598
  "GatewayARN": {},
2589
2599
  "SMBLocalGroups": {
2590
- "shape": "S5z"
2600
+ "shape": "S61"
2591
2601
  }
2592
2602
  }
2593
2603
  },
@@ -2794,11 +2804,17 @@
2794
2804
  "type": "string",
2795
2805
  "sensitive": true
2796
2806
  },
2797
- "S5j": {
2807
+ "S5i": {
2808
+ "type": "structure",
2809
+ "members": {
2810
+ "AutomaticUpdatePolicy": {}
2811
+ }
2812
+ },
2813
+ "S5l": {
2798
2814
  "type": "list",
2799
2815
  "member": {}
2800
2816
  },
2801
- "S5z": {
2817
+ "S61": {
2802
2818
  "type": "structure",
2803
2819
  "members": {
2804
2820
  "GatewayAdmins": {
@@ -2806,7 +2822,7 @@
2806
2822
  }
2807
2823
  }
2808
2824
  },
2809
- "S7j": {
2825
+ "S7l": {
2810
2826
  "type": "list",
2811
2827
  "member": {
2812
2828
  "type": "structure",
@@ -11,6 +11,14 @@ declare class Account extends Service {
11
11
  */
12
12
  constructor(options?: Account.Types.ClientConfiguration)
13
13
  config: Config & Account.Types.ClientConfiguration;
14
+ /**
15
+ * Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
16
+ */
17
+ acceptPrimaryEmailUpdate(params: Account.Types.AcceptPrimaryEmailUpdateRequest, callback?: (err: AWSError, data: Account.Types.AcceptPrimaryEmailUpdateResponse) => void): Request<Account.Types.AcceptPrimaryEmailUpdateResponse, AWSError>;
18
+ /**
19
+ * Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
20
+ */
21
+ acceptPrimaryEmailUpdate(callback?: (err: AWSError, data: Account.Types.AcceptPrimaryEmailUpdateResponse) => void): Request<Account.Types.AcceptPrimaryEmailUpdateResponse, AWSError>;
14
22
  /**
15
23
  * 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. Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
16
24
  */
@@ -20,11 +28,11 @@ declare class Account extends Service {
20
28
  */
21
29
  deleteAlternateContact(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
30
  /**
23
- * Disables (opts-out) a particular Region for an account.
31
+ * Disables (opts-out) a particular Region for an account. The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
24
32
  */
25
33
  disableRegion(params: Account.Types.DisableRegionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
34
  /**
27
- * Disables (opts-out) a particular Region for an account.
35
+ * Disables (opts-out) a particular Region for an account. The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
28
36
  */
29
37
  disableRegion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
38
  /**
@@ -51,6 +59,14 @@ declare class Account extends Service {
51
59
  * Retrieves the primary contact information of an Amazon Web Services account. For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
52
60
  */
53
61
  getContactInformation(callback?: (err: AWSError, data: Account.Types.GetContactInformationResponse) => void): Request<Account.Types.GetContactInformationResponse, AWSError>;
62
+ /**
63
+ * Retrieves the primary email address for the specified account.
64
+ */
65
+ getPrimaryEmail(params: Account.Types.GetPrimaryEmailRequest, callback?: (err: AWSError, data: Account.Types.GetPrimaryEmailResponse) => void): Request<Account.Types.GetPrimaryEmailResponse, AWSError>;
66
+ /**
67
+ * Retrieves the primary email address for the specified account.
68
+ */
69
+ getPrimaryEmail(callback?: (err: AWSError, data: Account.Types.GetPrimaryEmailResponse) => void): Request<Account.Types.GetPrimaryEmailResponse, AWSError>;
54
70
  /**
55
71
  * Retrieves the opt-in status of a particular Region.
56
72
  */
@@ -83,8 +99,36 @@ declare class Account extends Service {
83
99
  * Updates the primary contact information of an Amazon Web Services account. For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
84
100
  */
85
101
  putContactInformation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
+ /**
103
+ * Starts the process to update the primary email address for the specified account.
104
+ */
105
+ startPrimaryEmailUpdate(params: Account.Types.StartPrimaryEmailUpdateRequest, callback?: (err: AWSError, data: Account.Types.StartPrimaryEmailUpdateResponse) => void): Request<Account.Types.StartPrimaryEmailUpdateResponse, AWSError>;
106
+ /**
107
+ * Starts the process to update the primary email address for the specified account.
108
+ */
109
+ startPrimaryEmailUpdate(callback?: (err: AWSError, data: Account.Types.StartPrimaryEmailUpdateResponse) => void): Request<Account.Types.StartPrimaryEmailUpdateResponse, AWSError>;
86
110
  }
87
111
  declare namespace Account {
112
+ export interface AcceptPrimaryEmailUpdateRequest {
113
+ /**
114
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. 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. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
115
+ */
116
+ AccountId: AccountId;
117
+ /**
118
+ * The OTP code sent to the PrimaryEmail specified on the StartPrimaryEmailUpdate API call.
119
+ */
120
+ Otp: Otp;
121
+ /**
122
+ * The new primary email address for use with the specified account. This must match the PrimaryEmail from the StartPrimaryEmailUpdate API call.
123
+ */
124
+ PrimaryEmail: PrimaryEmailAddress;
125
+ }
126
+ export interface AcceptPrimaryEmailUpdateResponse {
127
+ /**
128
+ * Retrieves the status of the accepted primary email update request.
129
+ */
130
+ Status?: PrimaryEmailUpdateStatus;
131
+ }
88
132
  export type AccountId = string;
89
133
  export type AddressLine = string;
90
134
  export interface AlternateContact {
@@ -154,7 +198,7 @@ declare namespace Account {
154
198
  */
155
199
  PostalCode: PostalCode;
156
200
  /**
157
- * The state or region of the primary contact address. This field is required in selected countries.
201
+ * The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, NJ) or the full state name (for example, New Jersey). This field is required in the following countries: US, CA, GB, DE, JP, IN, and BR.
158
202
  */
159
203
  StateOrRegion?: StateOrRegion;
160
204
  /**
@@ -176,7 +220,7 @@ declare namespace Account {
176
220
  }
177
221
  export interface DisableRegionRequest {
178
222
  /**
179
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
223
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
180
224
  */
181
225
  AccountId?: AccountId;
182
226
  /**
@@ -188,7 +232,7 @@ declare namespace Account {
188
232
  export type EmailAddress = string;
189
233
  export interface EnableRegionRequest {
190
234
  /**
191
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
235
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
192
236
  */
193
237
  AccountId?: AccountId;
194
238
  /**
@@ -215,7 +259,7 @@ declare namespace Account {
215
259
  }
216
260
  export interface GetContactInformationRequest {
217
261
  /**
218
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
262
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
219
263
  */
220
264
  AccountId?: AccountId;
221
265
  }
@@ -225,9 +269,21 @@ declare namespace Account {
225
269
  */
226
270
  ContactInformation?: ContactInformation;
227
271
  }
272
+ export interface GetPrimaryEmailRequest {
273
+ /**
274
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. 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. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
275
+ */
276
+ AccountId: AccountId;
277
+ }
278
+ export interface GetPrimaryEmailResponse {
279
+ /**
280
+ * Retrieves the primary email address associated with the specified account.
281
+ */
282
+ PrimaryEmail?: PrimaryEmailAddress;
283
+ }
228
284
  export interface GetRegionOptStatusRequest {
229
285
  /**
230
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
286
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
231
287
  */
232
288
  AccountId?: AccountId;
233
289
  /**
@@ -247,7 +303,7 @@ declare namespace Account {
247
303
  }
248
304
  export interface ListRegionsRequest {
249
305
  /**
250
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
306
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
251
307
  */
252
308
  AccountId?: AccountId;
253
309
  /**
@@ -276,8 +332,11 @@ declare namespace Account {
276
332
  Regions?: RegionOptList;
277
333
  }
278
334
  export type Name = string;
335
+ export type Otp = string;
279
336
  export type PhoneNumber = string;
280
337
  export type PostalCode = string;
338
+ export type PrimaryEmailAddress = string;
339
+ export type PrimaryEmailUpdateStatus = "PENDING"|"ACCEPTED"|string;
281
340
  export interface PutAlternateContactRequest {
282
341
  /**
283
342
  * 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.
@@ -306,7 +365,7 @@ declare namespace Account {
306
365
  }
307
366
  export interface PutContactInformationRequest {
308
367
  /**
309
- * 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 don't 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. The specified account ID must also 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
368
+ * 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 don't 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. 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, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
310
369
  */
311
370
  AccountId?: AccountId;
312
371
  /**
@@ -328,6 +387,22 @@ declare namespace Account {
328
387
  export type RegionOptList = Region[];
329
388
  export type RegionOptStatus = "ENABLED"|"ENABLING"|"DISABLING"|"DISABLED"|"ENABLED_BY_DEFAULT"|string;
330
389
  export type RegionOptStatusList = RegionOptStatus[];
390
+ export interface StartPrimaryEmailUpdateRequest {
391
+ /**
392
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. 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. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
393
+ */
394
+ AccountId: AccountId;
395
+ /**
396
+ * The new primary email address (also known as the root user email address) to use in the specified account.
397
+ */
398
+ PrimaryEmail: PrimaryEmailAddress;
399
+ }
400
+ export interface StartPrimaryEmailUpdateResponse {
401
+ /**
402
+ * The status of the primary email update request.
403
+ */
404
+ Status?: PrimaryEmailUpdateStatus;
405
+ }
331
406
  export type StateOrRegion = string;
332
407
  export type String = string;
333
408
  export type Title = string;