aws-sdk 2.1313.0 → 2.1314.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 CHANGED
@@ -1,7 +1,12 @@
1
1
  # Changelog for AWS SDK for JavaScript
2
- <!--LATEST=2.1313.0-->
2
+ <!--LATEST=2.1314.0-->
3
3
  <!--ENTRYINSERT-->
4
4
 
5
+ ## 2.1314.0
6
+ * feature: Account: This release of the Account Management API enables customers to view and manage whether AWS Opt-In Regions are enabled or disabled for their Account. For more information, see https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html
7
+ * feature: AppConfigData: AWS AppConfig now offers the option to set a version label on hosted configuration versions. If a labeled hosted configuration version is deployed, its version label is available in the GetLatestConfiguration response.
8
+ * feature: Snowball: Adds support for EKS Anywhere on Snowball. AWS Snow Family customers can now install EKS Anywhere service on Snowball Edge Compute Optimized devices.
9
+
5
10
  ## 2.1313.0
6
11
  * feature: AutoScaling: You can now either terminate/replace, ignore, or wait for EC2 Auto Scaling instances on standby or protected from scale in. Also, you can also roll back changes from a failed instance refresh.
7
12
  * feature: Connect: This update provides the Wisdom session ARN for contacts enabled for Wisdom in the chat channel.
package/README.md CHANGED
@@ -57,7 +57,7 @@ for further details.
57
57
  To use the SDK in the browser, simply add the following script tag to your
58
58
  HTML pages:
59
59
 
60
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1313.0.min.js"></script>
60
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1314.0.min.js"></script>
61
61
 
62
62
  You can also build a custom browser SDK with your specified set of AWS services.
63
63
  This can allow you to reduce the SDK's size, specify different API versions of
@@ -29,6 +29,38 @@
29
29
  },
30
30
  "idempotent": true
31
31
  },
32
+ "DisableRegion": {
33
+ "http": {
34
+ "requestUri": "/disableRegion",
35
+ "responseCode": 200
36
+ },
37
+ "input": {
38
+ "type": "structure",
39
+ "required": [
40
+ "RegionName"
41
+ ],
42
+ "members": {
43
+ "AccountId": {},
44
+ "RegionName": {}
45
+ }
46
+ }
47
+ },
48
+ "EnableRegion": {
49
+ "http": {
50
+ "requestUri": "/enableRegion",
51
+ "responseCode": 200
52
+ },
53
+ "input": {
54
+ "type": "structure",
55
+ "required": [
56
+ "RegionName"
57
+ ],
58
+ "members": {
59
+ "AccountId": {},
60
+ "RegionName": {}
61
+ }
62
+ }
63
+ },
32
64
  "GetAlternateContact": {
33
65
  "http": {
34
66
  "requestUri": "/getAlternateContact",
@@ -52,16 +84,16 @@
52
84
  "members": {
53
85
  "AlternateContactType": {},
54
86
  "EmailAddress": {
55
- "shape": "S7"
87
+ "shape": "Sa"
56
88
  },
57
89
  "Name": {
58
- "shape": "S8"
90
+ "shape": "Sb"
59
91
  },
60
92
  "PhoneNumber": {
61
- "shape": "S9"
93
+ "shape": "Sc"
62
94
  },
63
95
  "Title": {
64
- "shape": "Sa"
96
+ "shape": "Sd"
65
97
  }
66
98
  }
67
99
  }
@@ -83,7 +115,66 @@
83
115
  "type": "structure",
84
116
  "members": {
85
117
  "ContactInformation": {
86
- "shape": "Sd"
118
+ "shape": "Sg"
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "GetRegionOptStatus": {
124
+ "http": {
125
+ "requestUri": "/getRegionOptStatus",
126
+ "responseCode": 200
127
+ },
128
+ "input": {
129
+ "type": "structure",
130
+ "required": [
131
+ "RegionName"
132
+ ],
133
+ "members": {
134
+ "AccountId": {},
135
+ "RegionName": {}
136
+ }
137
+ },
138
+ "output": {
139
+ "type": "structure",
140
+ "members": {
141
+ "RegionName": {},
142
+ "RegionOptStatus": {}
143
+ }
144
+ }
145
+ },
146
+ "ListRegions": {
147
+ "http": {
148
+ "requestUri": "/listRegions",
149
+ "responseCode": 200
150
+ },
151
+ "input": {
152
+ "type": "structure",
153
+ "members": {
154
+ "AccountId": {},
155
+ "MaxResults": {
156
+ "type": "integer"
157
+ },
158
+ "NextToken": {},
159
+ "RegionOptStatusContains": {
160
+ "type": "list",
161
+ "member": {}
162
+ }
163
+ }
164
+ },
165
+ "output": {
166
+ "type": "structure",
167
+ "members": {
168
+ "NextToken": {},
169
+ "Regions": {
170
+ "type": "list",
171
+ "member": {
172
+ "type": "structure",
173
+ "members": {
174
+ "RegionName": {},
175
+ "RegionOptStatus": {}
176
+ }
177
+ }
87
178
  }
88
179
  }
89
180
  }
@@ -106,16 +197,16 @@
106
197
  "AccountId": {},
107
198
  "AlternateContactType": {},
108
199
  "EmailAddress": {
109
- "shape": "S7"
200
+ "shape": "Sa"
110
201
  },
111
202
  "Name": {
112
- "shape": "S8"
203
+ "shape": "Sb"
113
204
  },
114
205
  "PhoneNumber": {
115
- "shape": "S9"
206
+ "shape": "Sc"
116
207
  },
117
208
  "Title": {
118
- "shape": "Sa"
209
+ "shape": "Sd"
119
210
  }
120
211
  }
121
212
  },
@@ -134,7 +225,7 @@
134
225
  "members": {
135
226
  "AccountId": {},
136
227
  "ContactInformation": {
137
- "shape": "Sd"
228
+ "shape": "Sg"
138
229
  }
139
230
  }
140
231
  },
@@ -142,23 +233,23 @@
142
233
  }
143
234
  },
144
235
  "shapes": {
145
- "S7": {
236
+ "Sa": {
146
237
  "type": "string",
147
238
  "sensitive": true
148
239
  },
149
- "S8": {
240
+ "Sb": {
150
241
  "type": "string",
151
242
  "sensitive": true
152
243
  },
153
- "S9": {
244
+ "Sc": {
154
245
  "type": "string",
155
246
  "sensitive": true
156
247
  },
157
- "Sa": {
248
+ "Sd": {
158
249
  "type": "string",
159
250
  "sensitive": true
160
251
  },
161
- "Sd": {
252
+ "Sg": {
162
253
  "type": "structure",
163
254
  "required": [
164
255
  "AddressLine1",
@@ -170,13 +261,13 @@
170
261
  ],
171
262
  "members": {
172
263
  "AddressLine1": {
173
- "shape": "Se"
264
+ "shape": "Sh"
174
265
  },
175
266
  "AddressLine2": {
176
- "shape": "Se"
267
+ "shape": "Sh"
177
268
  },
178
269
  "AddressLine3": {
179
- "shape": "Se"
270
+ "shape": "Sh"
180
271
  },
181
272
  "City": {
182
273
  "type": "string",
@@ -216,7 +307,7 @@
216
307
  }
217
308
  }
218
309
  },
219
- "Se": {
310
+ "Sh": {
220
311
  "type": "string",
221
312
  "sensitive": true
222
313
  }
@@ -1,4 +1,9 @@
1
1
  {
2
2
  "pagination": {
3
+ "ListRegions": {
4
+ "input_token": "NextToken",
5
+ "output_token": "NextToken",
6
+ "limit_key": "MaxResults"
7
+ }
3
8
  }
4
9
  }
@@ -49,6 +49,10 @@
49
49
  "Configuration": {
50
50
  "type": "blob",
51
51
  "sensitive": true
52
+ },
53
+ "VersionLabel": {
54
+ "location": "header",
55
+ "locationName": "Version-Label"
52
56
  }
53
57
  },
54
58
  "payload": "Configuration"
@@ -88,11 +88,11 @@
88
88
  "SnowballType": {},
89
89
  "ShippingOption": {},
90
90
  "Notification": {
91
- "shape": "S14"
91
+ "shape": "S15"
92
92
  },
93
93
  "ForwardingAddressId": {},
94
94
  "TaxDocuments": {
95
- "shape": "S18"
95
+ "shape": "S19"
96
96
  },
97
97
  "RemoteManagement": {}
98
98
  }
@@ -122,16 +122,16 @@
122
122
  "SnowballCapacityPreference": {},
123
123
  "ShippingOption": {},
124
124
  "Notification": {
125
- "shape": "S14"
125
+ "shape": "S15"
126
126
  },
127
127
  "ClusterId": {},
128
128
  "SnowballType": {},
129
129
  "ForwardingAddressId": {},
130
130
  "TaxDocuments": {
131
- "shape": "S18"
131
+ "shape": "S19"
132
132
  },
133
133
  "DeviceConfiguration": {
134
- "shape": "S1f"
134
+ "shape": "S1g"
135
135
  },
136
136
  "RemoteManagement": {},
137
137
  "LongTermPricingId": {}
@@ -257,11 +257,11 @@
257
257
  "AddressId": {},
258
258
  "ShippingOption": {},
259
259
  "Notification": {
260
- "shape": "S14"
260
+ "shape": "S15"
261
261
  },
262
262
  "ForwardingAddressId": {},
263
263
  "TaxDocuments": {
264
- "shape": "S18"
264
+ "shape": "S19"
265
265
  },
266
266
  "OnDeviceServiceConfiguration": {
267
267
  "shape": "Sv"
@@ -285,12 +285,12 @@
285
285
  "type": "structure",
286
286
  "members": {
287
287
  "JobMetadata": {
288
- "shape": "S24"
288
+ "shape": "S25"
289
289
  },
290
290
  "SubJobMetadata": {
291
291
  "type": "list",
292
292
  "member": {
293
- "shape": "S24"
293
+ "shape": "S25"
294
294
  }
295
295
  }
296
296
  }
@@ -403,7 +403,7 @@
403
403
  "type": "structure",
404
404
  "members": {
405
405
  "JobListEntries": {
406
- "shape": "S2o"
406
+ "shape": "S2p"
407
407
  },
408
408
  "NextToken": {}
409
409
  }
@@ -481,7 +481,7 @@
481
481
  "type": "structure",
482
482
  "members": {
483
483
  "JobListEntries": {
484
- "shape": "S2o"
484
+ "shape": "S2p"
485
485
  },
486
486
  "NextToken": {}
487
487
  }
@@ -531,6 +531,44 @@
531
531
  }
532
532
  }
533
533
  },
534
+ "ListServiceVersions": {
535
+ "input": {
536
+ "type": "structure",
537
+ "required": [
538
+ "ServiceName"
539
+ ],
540
+ "members": {
541
+ "ServiceName": {},
542
+ "DependentServices": {
543
+ "shape": "S38"
544
+ },
545
+ "MaxResults": {
546
+ "type": "integer"
547
+ },
548
+ "NextToken": {}
549
+ }
550
+ },
551
+ "output": {
552
+ "type": "structure",
553
+ "required": [
554
+ "ServiceVersions",
555
+ "ServiceName"
556
+ ],
557
+ "members": {
558
+ "ServiceVersions": {
559
+ "type": "list",
560
+ "member": {
561
+ "shape": "S3a"
562
+ }
563
+ },
564
+ "ServiceName": {},
565
+ "DependentServices": {
566
+ "shape": "S38"
567
+ },
568
+ "NextToken": {}
569
+ }
570
+ }
571
+ },
534
572
  "UpdateCluster": {
535
573
  "input": {
536
574
  "type": "structure",
@@ -550,7 +588,7 @@
550
588
  "AddressId": {},
551
589
  "ShippingOption": {},
552
590
  "Notification": {
553
- "shape": "S14"
591
+ "shape": "S15"
554
592
  },
555
593
  "ForwardingAddressId": {}
556
594
  }
@@ -570,7 +608,7 @@
570
608
  "JobId": {},
571
609
  "RoleARN": {},
572
610
  "Notification": {
573
- "shape": "S14"
611
+ "shape": "S15"
574
612
  },
575
613
  "Resources": {
576
614
  "shape": "Sf"
@@ -731,10 +769,17 @@
731
769
  },
732
770
  "StorageUnit": {}
733
771
  }
772
+ },
773
+ "EKSOnDeviceService": {
774
+ "type": "structure",
775
+ "members": {
776
+ "KubernetesVersion": {},
777
+ "EKSAnywhereVersion": {}
778
+ }
734
779
  }
735
780
  }
736
781
  },
737
- "S14": {
782
+ "S15": {
738
783
  "type": "structure",
739
784
  "members": {
740
785
  "SnsTopicARN": {},
@@ -747,7 +792,7 @@
747
792
  }
748
793
  }
749
794
  },
750
- "S18": {
795
+ "S19": {
751
796
  "type": "structure",
752
797
  "members": {
753
798
  "IND": {
@@ -758,7 +803,7 @@
758
803
  }
759
804
  }
760
805
  },
761
- "S1f": {
806
+ "S1g": {
762
807
  "type": "structure",
763
808
  "members": {
764
809
  "SnowconeDeviceConfiguration": {
@@ -776,7 +821,7 @@
776
821
  }
777
822
  }
778
823
  },
779
- "S24": {
824
+ "S25": {
780
825
  "type": "structure",
781
826
  "members": {
782
827
  "JobId": {},
@@ -798,16 +843,16 @@
798
843
  "members": {
799
844
  "ShippingOption": {},
800
845
  "InboundShipment": {
801
- "shape": "S26"
846
+ "shape": "S27"
802
847
  },
803
848
  "OutboundShipment": {
804
- "shape": "S26"
849
+ "shape": "S27"
805
850
  }
806
851
  }
807
852
  },
808
853
  "SnowballCapacityPreference": {},
809
854
  "Notification": {
810
- "shape": "S14"
855
+ "shape": "S15"
811
856
  },
812
857
  "DataTransferProgress": {
813
858
  "type": "structure",
@@ -837,10 +882,10 @@
837
882
  "ClusterId": {},
838
883
  "ForwardingAddressId": {},
839
884
  "TaxDocuments": {
840
- "shape": "S18"
885
+ "shape": "S19"
841
886
  },
842
887
  "DeviceConfiguration": {
843
- "shape": "S1f"
888
+ "shape": "S1g"
844
889
  },
845
890
  "RemoteManagement": {},
846
891
  "LongTermPricingId": {},
@@ -849,14 +894,14 @@
849
894
  }
850
895
  }
851
896
  },
852
- "S26": {
897
+ "S27": {
853
898
  "type": "structure",
854
899
  "members": {
855
900
  "Status": {},
856
901
  "TrackingNumber": {}
857
902
  }
858
903
  },
859
- "S2o": {
904
+ "S2p": {
860
905
  "type": "list",
861
906
  "member": {
862
907
  "type": "structure",
@@ -874,6 +919,24 @@
874
919
  "Description": {}
875
920
  }
876
921
  }
922
+ },
923
+ "S38": {
924
+ "type": "list",
925
+ "member": {
926
+ "type": "structure",
927
+ "members": {
928
+ "ServiceName": {},
929
+ "ServiceVersion": {
930
+ "shape": "S3a"
931
+ }
932
+ }
933
+ }
934
+ },
935
+ "S3a": {
936
+ "type": "structure",
937
+ "members": {
938
+ "Version": {}
939
+ }
877
940
  }
878
941
  }
879
942
  }
@@ -19,6 +19,22 @@ declare class Account extends Service {
19
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. 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.
20
20
  */
21
21
  deleteAlternateContact(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
+ /**
23
+ * Disables (opts-out) a particular Region for an account.
24
+ */
25
+ disableRegion(params: Account.Types.DisableRegionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
+ /**
27
+ * Disables (opts-out) a particular Region for an account.
28
+ */
29
+ disableRegion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
+ /**
31
+ * Enables (opts-in) a particular Region for an account.
32
+ */
33
+ enableRegion(params: Account.Types.EnableRegionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
34
+ /**
35
+ * Enables (opts-in) a particular Region for an account.
36
+ */
37
+ enableRegion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
38
  /**
23
39
  * 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. 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.
24
40
  */
@@ -35,6 +51,22 @@ declare class Account extends Service {
35
51
  * 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.
36
52
  */
37
53
  getContactInformation(callback?: (err: AWSError, data: Account.Types.GetContactInformationResponse) => void): Request<Account.Types.GetContactInformationResponse, AWSError>;
54
+ /**
55
+ * Retrieves the opt-in status of a particular Region.
56
+ */
57
+ getRegionOptStatus(params: Account.Types.GetRegionOptStatusRequest, callback?: (err: AWSError, data: Account.Types.GetRegionOptStatusResponse) => void): Request<Account.Types.GetRegionOptStatusResponse, AWSError>;
58
+ /**
59
+ * Retrieves the opt-in status of a particular Region.
60
+ */
61
+ getRegionOptStatus(callback?: (err: AWSError, data: Account.Types.GetRegionOptStatusResponse) => void): Request<Account.Types.GetRegionOptStatusResponse, AWSError>;
62
+ /**
63
+ * Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be filtered by the region-opt-status-contains parameter.
64
+ */
65
+ listRegions(params: Account.Types.ListRegionsRequest, callback?: (err: AWSError, data: Account.Types.ListRegionsResponse) => void): Request<Account.Types.ListRegionsResponse, AWSError>;
66
+ /**
67
+ * Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be filtered by the region-opt-status-contains parameter.
68
+ */
69
+ listRegions(callback?: (err: AWSError, data: Account.Types.ListRegionsResponse) => void): Request<Account.Types.ListRegionsResponse, AWSError>;
38
70
  /**
39
71
  * 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. 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.
40
72
  */
@@ -142,8 +174,28 @@ declare namespace Account {
142
174
  */
143
175
  AlternateContactType: AlternateContactType;
144
176
  }
177
+ export interface DisableRegionRequest {
178
+ /**
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.
180
+ */
181
+ AccountId?: AccountId;
182
+ /**
183
+ * Specifies the Region-code for a given Region name (for example, af-south-1). When you disable a Region, AWS performs actions to deactivate that Region in your account, such as destroying IAM resources in the Region. This process takes a few minutes for most accounts, but this can take several hours. You cannot enable the Region until the disabling process is fully completed.
184
+ */
185
+ RegionName: RegionName;
186
+ }
145
187
  export type DistrictOrCounty = string;
146
188
  export type EmailAddress = string;
189
+ export interface EnableRegionRequest {
190
+ /**
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.
192
+ */
193
+ AccountId?: AccountId;
194
+ /**
195
+ * Specifies the Region-code for a given Region name (for example, af-south-1). When you enable a Region, AWS performs actions to prepare your account in that Region, such as distributing your IAM resources to the Region. This process takes a few minutes for most accounts, but it can take several hours. You cannot use the Region until this process is complete. Furthermore, you cannot disable the Region until the enabling process is fully completed.
196
+ */
197
+ RegionName: RegionName;
198
+ }
147
199
  export type FullName = string;
148
200
  export interface GetAlternateContactRequest {
149
201
  /**
@@ -173,6 +225,56 @@ declare namespace Account {
173
225
  */
174
226
  ContactInformation?: ContactInformation;
175
227
  }
228
+ export interface GetRegionOptStatusRequest {
229
+ /**
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.
231
+ */
232
+ AccountId?: AccountId;
233
+ /**
234
+ * Specifies the Region-code for a given Region name (for example, af-south-1). This function will return the status of whatever Region you pass into this parameter.
235
+ */
236
+ RegionName: RegionName;
237
+ }
238
+ export interface GetRegionOptStatusResponse {
239
+ /**
240
+ * The Region code that was passed in.
241
+ */
242
+ RegionName?: RegionName;
243
+ /**
244
+ * One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
245
+ */
246
+ RegionOptStatus?: RegionOptStatus;
247
+ }
248
+ export interface ListRegionsRequest {
249
+ /**
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.
251
+ */
252
+ AccountId?: AccountId;
253
+ /**
254
+ * The total number of items to return in the command’s output. If the total number of items available is more than the value specified, a NextToken is provided in the command’s output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the Amazon Web Services CLI. For usage examples, see Pagination in the Amazon Web Services Command Line Interface User Guide.
255
+ */
256
+ MaxResults?: ListRegionsRequestMaxResultsInteger;
257
+ /**
258
+ * A token used to specify where to start paginating. This is the NextToken from a previously truncated response. For usage examples, see Pagination in the Amazon Web Services Command Line Interface User Guide.
259
+ */
260
+ NextToken?: ListRegionsRequestNextTokenString;
261
+ /**
262
+ * A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default) to use to filter the list of Regions for a given account. For example, passing in a value of ENABLING will only return a list of Regions with a Region status of ENABLING.
263
+ */
264
+ RegionOptStatusContains?: RegionOptStatusList;
265
+ }
266
+ export type ListRegionsRequestMaxResultsInteger = number;
267
+ export type ListRegionsRequestNextTokenString = string;
268
+ export interface ListRegionsResponse {
269
+ /**
270
+ * If there is more data to be returned, this will be populated. It should be passed into the next-token request parameter of list-regions.
271
+ */
272
+ NextToken?: String;
273
+ /**
274
+ * This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the filter parameter.
275
+ */
276
+ Regions?: RegionOptList;
277
+ }
176
278
  export type Name = string;
177
279
  export type PhoneNumber = string;
178
280
  export type PostalCode = string;
@@ -212,7 +314,22 @@ declare namespace Account {
212
314
  */
213
315
  ContactInformation: ContactInformation;
214
316
  }
317
+ export interface Region {
318
+ /**
319
+ * The Region code of a given Region (for example, us-east-1).
320
+ */
321
+ RegionName?: RegionName;
322
+ /**
323
+ * One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
324
+ */
325
+ RegionOptStatus?: RegionOptStatus;
326
+ }
327
+ export type RegionName = string;
328
+ export type RegionOptList = Region[];
329
+ export type RegionOptStatus = "ENABLED"|"ENABLING"|"DISABLING"|"DISABLED"|"ENABLED_BY_DEFAULT"|string;
330
+ export type RegionOptStatusList = RegionOptStatus[];
215
331
  export type StateOrRegion = string;
332
+ export type String = string;
216
333
  export type Title = string;
217
334
  export type WebsiteUrl = string;
218
335
  /**