@aws-sdk/client-ec2 3.835.0 → 3.838.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.
Files changed (37) hide show
  1. package/dist-cjs/index.js +36 -9
  2. package/dist-es/models/models_1.js +4 -0
  3. package/dist-es/models/models_2.js +0 -4
  4. package/dist-es/protocols/Aws_ec2.js +31 -4
  5. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +12 -9
  6. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +18 -15
  7. package/dist-types/commands/CreateImageCommand.d.ts +15 -0
  8. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateRouteCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
  11. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +2 -2
  12. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -0
  14. package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
  15. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
  17. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -0
  18. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +19 -15
  19. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
  20. package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +1 -1
  21. package/dist-types/commands/RegisterImageCommand.d.ts +2 -0
  22. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -0
  23. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
  24. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -0
  25. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  26. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  27. package/dist-types/commands/StopInstancesCommand.d.ts +4 -5
  28. package/dist-types/models/models_1.d.ts +91 -59
  29. package/dist-types/models/models_2.d.ts +35 -14
  30. package/dist-types/models/models_3.d.ts +18 -24
  31. package/dist-types/models/models_4.d.ts +7 -6
  32. package/dist-types/models/models_7.d.ts +21 -17
  33. package/dist-types/models/models_8.d.ts +5 -0
  34. package/dist-types/ts3.4/models/models_1.d.ts +9 -4
  35. package/dist-types/ts3.4/models/models_2.d.ts +8 -7
  36. package/dist-types/ts3.4/models/models_8.d.ts +1 -0
  37. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -19822,6 +19822,9 @@ var se_CreateImageRequest = /* @__PURE__ */ __name((input, context) => {
19822
19822
  entries[loc] = value;
19823
19823
  });
19824
19824
  }
19825
+ if (input[_SL] != null) {
19826
+ entries[_SL] = input[_SL];
19827
+ }
19825
19828
  if (input[_DRr] != null) {
19826
19829
  entries[_DRr] = input[_DRr];
19827
19830
  }
@@ -20772,8 +20775,8 @@ var se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) =>
20772
20775
  entries[loc] = value;
20773
20776
  });
20774
20777
  }
20775
- if (input[_SL] != null) {
20776
- entries[_SL] = input[_SL];
20778
+ if (input[_SLp] != null) {
20779
+ entries[_SLp] = input[_SLp];
20777
20780
  }
20778
20781
  if (input[_DRr] != null) {
20779
20782
  entries[_DRr] = input[_DRr];
@@ -20901,6 +20904,9 @@ var se_CreateRouteRequest = /* @__PURE__ */ __name((input, context) => {
20901
20904
  if (input[_CNAo] != null) {
20902
20905
  entries[_CNAo] = input[_CNAo];
20903
20906
  }
20907
+ if (input[_ONA] != null) {
20908
+ entries[_ONA] = input[_ONA];
20909
+ }
20904
20910
  if (input[_DRr] != null) {
20905
20911
  entries[_DRr] = input[_DRr];
20906
20912
  }
@@ -28573,12 +28579,18 @@ var se_EbsBlockDevice = /* @__PURE__ */ __name((input, context) => {
28573
28579
  if (input[_OA] != null) {
28574
28580
  entries[_OA] = input[_OA];
28575
28581
  }
28582
+ if (input[_AZ] != null) {
28583
+ entries[_AZ] = input[_AZ];
28584
+ }
28576
28585
  if (input[_Enc] != null) {
28577
28586
  entries[_Enc] = input[_Enc];
28578
28587
  }
28579
28588
  if (input[_VIR] != null) {
28580
28589
  entries[_VIR] = input[_VIR];
28581
28590
  }
28591
+ if (input[_AZI] != null) {
28592
+ entries[_AZI] = input[_AZI];
28593
+ }
28582
28594
  return entries;
28583
28595
  }, "se_EbsBlockDevice");
28584
28596
  var se_EbsInstanceBlockDeviceSpecification = /* @__PURE__ */ __name((input, context) => {
@@ -36932,6 +36944,9 @@ var se_ReplaceRouteRequest = /* @__PURE__ */ __name((input, context) => {
36932
36944
  if (input[_CNAo] != null) {
36933
36945
  entries[_CNAo] = input[_CNAo];
36934
36946
  }
36947
+ if (input[_ONA] != null) {
36948
+ entries[_ONA] = input[_ONA];
36949
+ }
36935
36950
  if (input[_DRr] != null) {
36936
36951
  entries[_DRr] = input[_DRr];
36937
36952
  }
@@ -47471,12 +47486,18 @@ var de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => {
47471
47486
  if (output[_oA] != null) {
47472
47487
  contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);
47473
47488
  }
47489
+ if (output[_aZ] != null) {
47490
+ contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
47491
+ }
47474
47492
  if (output[_enc] != null) {
47475
47493
  contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);
47476
47494
  }
47477
47495
  if (output[_VIR] != null) {
47478
47496
  contents[_VIR] = (0, import_smithy_client.strictParseInt32)(output[_VIR]);
47479
47497
  }
47498
+ if (output[_AZI] != null) {
47499
+ contents[_AZI] = (0, import_smithy_client.expectString)(output[_AZI]);
47500
+ }
47480
47501
  return contents;
47481
47502
  }, "de_EbsBlockDevice");
47482
47503
  var de_EbsBlockDeviceResponse = /* @__PURE__ */ __name((output, context) => {
@@ -56059,7 +56080,7 @@ var de_PlacementGroup = /* @__PURE__ */ __name((output, context) => {
56059
56080
  contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]);
56060
56081
  }
56061
56082
  if (output[_sLp] != null) {
56062
- contents[_SL] = (0, import_smithy_client.expectString)(output[_sLp]);
56083
+ contents[_SLp] = (0, import_smithy_client.expectString)(output[_sLp]);
56063
56084
  }
56064
56085
  return contents;
56065
56086
  }, "de_PlacementGroup");
@@ -57570,6 +57591,9 @@ var de_Route = /* @__PURE__ */ __name((output, context) => {
57570
57591
  if (output[_cNA] != null) {
57571
57592
  contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]);
57572
57593
  }
57594
+ if (output[_oNA] != null) {
57595
+ contents[_ONA] = (0, import_smithy_client.expectString)(output[_oNA]);
57596
+ }
57573
57597
  return contents;
57574
57598
  }, "de_Route");
57575
57599
  var de_RouteList = /* @__PURE__ */ __name((output, context) => {
@@ -64834,6 +64858,7 @@ var _OL = "OutpostLags";
64834
64858
  var _OLI = "OutpostLagId";
64835
64859
  var _OLIu = "OutpostLagIds";
64836
64860
  var _OMAE = "OriginalMultiAttachEnabled";
64861
+ var _ONA = "OdbNetworkArn";
64837
64862
  var _OO = "OidcOptions";
64838
64863
  var _OR = "OperatingRegions";
64839
64864
  var _ORIWEA = "OutputReservedInstancesWillExpireAt";
@@ -65359,13 +65384,14 @@ var _SIub = "SubnetId";
65359
65384
  var _SIubs = "SubsystemId";
65360
65385
  var _SK = "S3Key";
65361
65386
  var _SKo = "S3objectKey";
65362
- var _SL = "SpreadLevel";
65387
+ var _SL = "SnapshotLocation";
65363
65388
  var _SLGR = "SearchLocalGatewayRoutes";
65364
65389
  var _SLVI = "ServiceLinkVirtualInterfaces";
65365
65390
  var _SLVIA = "ServiceLinkVirtualInterfaceArn";
65366
65391
  var _SLVII = "ServiceLinkVirtualInterfaceIds";
65367
65392
  var _SLVIIe = "ServiceLinkVirtualInterfaceId";
65368
65393
  var _SLo = "S3Location";
65394
+ var _SLp = "SpreadLevel";
65369
65395
  var _SM = "ServiceManaged";
65370
65396
  var _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice";
65371
65397
  var _SMS = "SpotMaintenanceStrategies";
@@ -66887,6 +66913,7 @@ var _oK = "objectKey";
66887
66913
  var _oLI = "outpostLagId";
66888
66914
  var _oLS = "outpostLagSet";
66889
66915
  var _oMAE = "originalMultiAttachEnabled";
66916
+ var _oNA = "odbNetworkArn";
66890
66917
  var _oO = "oidcOptions";
66891
66918
  var _oRIWEA = "outputReservedInstancesWillExpireAt";
66892
66919
  var _oRS = "operatingRegionSet";
@@ -70286,6 +70313,10 @@ var TrafficType = {
70286
70313
  ALL: "ALL",
70287
70314
  REJECT: "REJECT"
70288
70315
  };
70316
+ var SnapshotLocationEnum = {
70317
+ LOCAL: "local",
70318
+ REGIONAL: "regional"
70319
+ };
70289
70320
  var Ec2InstanceConnectEndpointState = {
70290
70321
  create_complete: "create-complete",
70291
70322
  create_failed: "create-failed",
@@ -71131,10 +71162,6 @@ var RouteState = {
71131
71162
  active: "active",
71132
71163
  blackhole: "blackhole"
71133
71164
  };
71134
- var SnapshotLocationEnum = {
71135
- LOCAL: "local",
71136
- REGIONAL: "regional"
71137
- };
71138
71165
  var SSEType = {
71139
71166
  none: "none",
71140
71167
  sse_ebs: "sse-ebs",
@@ -85800,6 +85827,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
85800
85827
  LogDestinationType,
85801
85828
  FlowLogsResourceType,
85802
85829
  TrafficType,
85830
+ SnapshotLocationEnum,
85803
85831
  Ec2InstanceConnectEndpointState,
85804
85832
  ContainerFormat,
85805
85833
  DiskImageFormat,
@@ -85866,7 +85894,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
85866
85894
  RouteServerPeerState,
85867
85895
  RouteOrigin,
85868
85896
  RouteState,
85869
- SnapshotLocationEnum,
85870
85897
  SSEType,
85871
85898
  SnapshotState,
85872
85899
  StorageTier,
@@ -1207,6 +1207,10 @@ export const TrafficType = {
1207
1207
  ALL: "ALL",
1208
1208
  REJECT: "REJECT",
1209
1209
  };
1210
+ export const SnapshotLocationEnum = {
1211
+ LOCAL: "local",
1212
+ REGIONAL: "regional",
1213
+ };
1210
1214
  export const Ec2InstanceConnectEndpointState = {
1211
1215
  create_complete: "create-complete",
1212
1216
  create_failed: "create-failed",
@@ -181,10 +181,6 @@ export const RouteState = {
181
181
  active: "active",
182
182
  blackhole: "blackhole",
183
183
  };
184
- export const SnapshotLocationEnum = {
185
- LOCAL: "local",
186
- REGIONAL: "regional",
187
- };
188
184
  export const SSEType = {
189
185
  none: "none",
190
186
  sse_ebs: "sse-ebs",
@@ -18240,6 +18240,9 @@ const se_CreateImageRequest = (input, context) => {
18240
18240
  entries[loc] = value;
18241
18241
  });
18242
18242
  }
18243
+ if (input[_SL] != null) {
18244
+ entries[_SL] = input[_SL];
18245
+ }
18243
18246
  if (input[_DRr] != null) {
18244
18247
  entries[_DRr] = input[_DRr];
18245
18248
  }
@@ -19190,8 +19193,8 @@ const se_CreatePlacementGroupRequest = (input, context) => {
19190
19193
  entries[loc] = value;
19191
19194
  });
19192
19195
  }
19193
- if (input[_SL] != null) {
19194
- entries[_SL] = input[_SL];
19196
+ if (input[_SLp] != null) {
19197
+ entries[_SLp] = input[_SLp];
19195
19198
  }
19196
19199
  if (input[_DRr] != null) {
19197
19200
  entries[_DRr] = input[_DRr];
@@ -19319,6 +19322,9 @@ const se_CreateRouteRequest = (input, context) => {
19319
19322
  if (input[_CNAo] != null) {
19320
19323
  entries[_CNAo] = input[_CNAo];
19321
19324
  }
19325
+ if (input[_ONA] != null) {
19326
+ entries[_ONA] = input[_ONA];
19327
+ }
19322
19328
  if (input[_DRr] != null) {
19323
19329
  entries[_DRr] = input[_DRr];
19324
19330
  }
@@ -26991,12 +26997,18 @@ const se_EbsBlockDevice = (input, context) => {
26991
26997
  if (input[_OA] != null) {
26992
26998
  entries[_OA] = input[_OA];
26993
26999
  }
27000
+ if (input[_AZ] != null) {
27001
+ entries[_AZ] = input[_AZ];
27002
+ }
26994
27003
  if (input[_Enc] != null) {
26995
27004
  entries[_Enc] = input[_Enc];
26996
27005
  }
26997
27006
  if (input[_VIR] != null) {
26998
27007
  entries[_VIR] = input[_VIR];
26999
27008
  }
27009
+ if (input[_AZI] != null) {
27010
+ entries[_AZI] = input[_AZI];
27011
+ }
27000
27012
  return entries;
27001
27013
  };
27002
27014
  const se_EbsInstanceBlockDeviceSpecification = (input, context) => {
@@ -35350,6 +35362,9 @@ const se_ReplaceRouteRequest = (input, context) => {
35350
35362
  if (input[_CNAo] != null) {
35351
35363
  entries[_CNAo] = input[_CNAo];
35352
35364
  }
35365
+ if (input[_ONA] != null) {
35366
+ entries[_ONA] = input[_ONA];
35367
+ }
35353
35368
  if (input[_DRr] != null) {
35354
35369
  entries[_DRr] = input[_DRr];
35355
35370
  }
@@ -46291,12 +46306,18 @@ const de_EbsBlockDevice = (output, context) => {
46291
46306
  if (output[_oA] != null) {
46292
46307
  contents[_OA] = __expectString(output[_oA]);
46293
46308
  }
46309
+ if (output[_aZ] != null) {
46310
+ contents[_AZ] = __expectString(output[_aZ]);
46311
+ }
46294
46312
  if (output[_enc] != null) {
46295
46313
  contents[_Enc] = __parseBoolean(output[_enc]);
46296
46314
  }
46297
46315
  if (output[_VIR] != null) {
46298
46316
  contents[_VIR] = __strictParseInt32(output[_VIR]);
46299
46317
  }
46318
+ if (output[_AZI] != null) {
46319
+ contents[_AZI] = __expectString(output[_AZI]);
46320
+ }
46300
46321
  return contents;
46301
46322
  };
46302
46323
  const de_EbsBlockDeviceResponse = (output, context) => {
@@ -55458,7 +55479,7 @@ const de_PlacementGroup = (output, context) => {
55458
55479
  contents[_GA] = __expectString(output[_gA]);
55459
55480
  }
55460
55481
  if (output[_sLp] != null) {
55461
- contents[_SL] = __expectString(output[_sLp]);
55482
+ contents[_SLp] = __expectString(output[_sLp]);
55462
55483
  }
55463
55484
  return contents;
55464
55485
  };
@@ -57080,6 +57101,9 @@ const de_Route = (output, context) => {
57080
57101
  if (output[_cNA] != null) {
57081
57102
  contents[_CNAo] = __expectString(output[_cNA]);
57082
57103
  }
57104
+ if (output[_oNA] != null) {
57105
+ contents[_ONA] = __expectString(output[_oNA]);
57106
+ }
57083
57107
  return contents;
57084
57108
  };
57085
57109
  const de_RouteList = (output, context) => {
@@ -64763,6 +64787,7 @@ const _OL = "OutpostLags";
64763
64787
  const _OLI = "OutpostLagId";
64764
64788
  const _OLIu = "OutpostLagIds";
64765
64789
  const _OMAE = "OriginalMultiAttachEnabled";
64790
+ const _ONA = "OdbNetworkArn";
64766
64791
  const _OO = "OidcOptions";
64767
64792
  const _OR = "OperatingRegions";
64768
64793
  const _ORIWEA = "OutputReservedInstancesWillExpireAt";
@@ -65288,13 +65313,14 @@ const _SIub = "SubnetId";
65288
65313
  const _SIubs = "SubsystemId";
65289
65314
  const _SK = "S3Key";
65290
65315
  const _SKo = "S3objectKey";
65291
- const _SL = "SpreadLevel";
65316
+ const _SL = "SnapshotLocation";
65292
65317
  const _SLGR = "SearchLocalGatewayRoutes";
65293
65318
  const _SLVI = "ServiceLinkVirtualInterfaces";
65294
65319
  const _SLVIA = "ServiceLinkVirtualInterfaceArn";
65295
65320
  const _SLVII = "ServiceLinkVirtualInterfaceIds";
65296
65321
  const _SLVIIe = "ServiceLinkVirtualInterfaceId";
65297
65322
  const _SLo = "S3Location";
65323
+ const _SLp = "SpreadLevel";
65298
65324
  const _SM = "ServiceManaged";
65299
65325
  const _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice";
65300
65326
  const _SMS = "SpotMaintenanceStrategies";
@@ -66816,6 +66842,7 @@ const _oK = "objectKey";
66816
66842
  const _oLI = "outpostLagId";
66817
66843
  const _oLS = "outpostLagSet";
66818
66844
  const _oMAE = "originalMultiAttachEnabled";
66845
+ const _oNA = "odbNetworkArn";
66819
66846
  const _oO = "oidcOptions";
66820
66847
  const _oRIWEA = "outputReservedInstancesWillExpireAt";
66821
66848
  const _oRS = "operatingRegionSet";
@@ -27,8 +27,8 @@ declare const CancelCapacityReservationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Cancels the specified Capacity Reservation, releases the reserved capacity, and changes
31
- * the Capacity Reservation's state to <code>cancelled</code>.</p>
30
+ * <p>Cancels the specified Capacity Reservation, releases the reserved capacity, and
31
+ * changes the Capacity Reservation's state to <code>cancelled</code>.</p>
32
32
  * <p>You can cancel a Capacity Reservation that is in the following states:</p>
33
33
  * <ul>
34
34
  * <li>
@@ -39,18 +39,21 @@ declare const CancelCapacityReservationCommand_base: {
39
39
  * <li>
40
40
  * <p>
41
41
  * <code>active</code> and there is no commitment duration or the commitment
42
- * duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.</p>
42
+ * duration has elapsed. You can't cancel a future-dated Capacity Reservation
43
+ * during the commitment duration.</p>
43
44
  * </li>
44
45
  * </ul>
45
46
  * <note>
46
47
  * <p>You can't modify or cancel a Capacity Block. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html">Capacity Blocks for ML</a>.</p>
47
48
  * </note>
48
- * <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the commitment
49
- * duration is waived, and you can cancel it as soon as it enters the <code>active</code> state.</p>
50
- * <p>Instances running in the reserved capacity continue running until you stop them. Stopped
51
- * instances that target the Capacity Reservation can no longer launch. Modify these instances to either
52
- * target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation
53
- * that has matching attributes and sufficient capacity.</p>
49
+ * <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the
50
+ * commitment duration is waived, and you can cancel it as soon as it enters the
51
+ * <code>active</code> state.</p>
52
+ * <p>Instances running in the reserved capacity continue running until you stop them.
53
+ * Stopped instances that target the Capacity Reservation can no longer launch. Modify
54
+ * these instances to either target a different Capacity Reservation, launch On-Demand
55
+ * Instance capacity, or run in any open Capacity Reservation that has matching attributes
56
+ * and sufficient capacity.</p>
54
57
  * @example
55
58
  * Use a bare-bones client and the command you need to make an API call.
56
59
  * ```javascript
@@ -27,26 +27,29 @@ declare const CreateCapacityReservationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates a new Capacity Reservation with the specified attributes. Capacity Reservations enable
31
- * you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any
32
- * duration.</p>
33
- * <p>You can create a Capacity Reservation at any time, and you can choose when it starts. You can create a
34
- * Capacity Reservation for immediate use or you can request a Capacity Reservation for a future date.</p>
35
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">
36
- * Reserve compute capacity with On-Demand Capacity Reservations</a> in the <i>Amazon EC2 User Guide</i>.</p>
30
+ * <p>Creates a new Capacity Reservation with the specified attributes. Capacity
31
+ * Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific
32
+ * Availability Zone for any duration.</p>
33
+ * <p>You can create a Capacity Reservation at any time, and you can choose when it starts.
34
+ * You can create a Capacity Reservation for immediate use or you can request a Capacity
35
+ * Reservation for a future date.</p>
36
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html"> Reserve compute
37
+ * capacity with On-Demand Capacity Reservations</a> in the
38
+ * <i>Amazon EC2 User Guide</i>.</p>
37
39
  * <p>Your request to create a Capacity Reservation could fail if:</p>
38
40
  * <ul>
39
41
  * <li>
40
- * <p>Amazon EC2 does not have sufficient capacity. In this case, try again at a later
41
- * time, try in a different Availability Zone, or request a smaller Capacity Reservation. If
42
- * your workload is flexible across instance types and sizes, try with different instance
43
- * attributes.</p>
42
+ * <p>Amazon EC2 does not have sufficient capacity. In this case, try again
43
+ * at a later time, try in a different Availability Zone, or request a smaller
44
+ * Capacity Reservation. If your workload is flexible across instance types and
45
+ * sizes, try with different instance attributes.</p>
44
46
  * </li>
45
47
  * <li>
46
- * <p>The requested quantity exceeds your On-Demand Instance quota. In this case, increase your
47
- * On-Demand Instance quota for the requested instance type and try again. For more information,
48
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">
49
- * Amazon EC2 Service Quotas</a> in the <i>Amazon EC2 User Guide</i>.</p>
48
+ * <p>The requested quantity exceeds your On-Demand Instance quota. In this case,
49
+ * increase your On-Demand Instance quota for the requested instance type and try
50
+ * again. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">
51
+ * Amazon EC2 Service Quotas</a> in the
52
+ * <i>Amazon EC2 User Guide</i>.</p>
50
53
  * </li>
51
54
  * </ul>
52
55
  * @example
@@ -33,6 +33,18 @@ declare const CreateImageCommand_base: {
33
33
  * to the root device volume, the new AMI contains block device mapping information for those
34
34
  * volumes. When you launch an instance from this new AMI, the instance automatically launches
35
35
  * with those additional volumes.</p>
36
+ * <p>The location of the source instance determines where you can create the snapshots of the
37
+ * AMI:</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>If the source instance is in a Region, you must create the snapshots in the same
41
+ * Region as the instance.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>If the source instance is in a Local Zone, you can create the snapshots in the same
45
+ * Local Zone or in its parent Region.</p>
46
+ * </li>
47
+ * </ul>
36
48
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed AMI</a> in
37
49
  * the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
38
50
  * @example
@@ -53,6 +65,7 @@ declare const CreateImageCommand_base: {
53
65
  * ],
54
66
  * },
55
67
  * ],
68
+ * SnapshotLocation: "regional" || "local",
56
69
  * DryRun: true || false,
57
70
  * InstanceId: "STRING_VALUE", // required
58
71
  * Name: "STRING_VALUE", // required
@@ -69,8 +82,10 @@ declare const CreateImageCommand_base: {
69
82
  * KmsKeyId: "STRING_VALUE",
70
83
  * Throughput: Number("int"),
71
84
  * OutpostArn: "STRING_VALUE",
85
+ * AvailabilityZone: "STRING_VALUE",
72
86
  * Encrypted: true || false,
73
87
  * VolumeInitializationRate: Number("int"),
88
+ * AvailabilityZoneId: "STRING_VALUE",
74
89
  * },
75
90
  * NoDevice: "STRING_VALUE",
76
91
  * DeviceName: "STRING_VALUE",
@@ -29,8 +29,8 @@ declare const CreateInstanceConnectEndpointCommand_base: {
29
29
  /**
30
30
  * <p>Creates an EC2 Instance Connect Endpoint.</p>
31
31
  * <p>An EC2 Instance Connect Endpoint allows you to connect to an instance, without
32
- * requiring the instance to have a public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect-Endpoint.html">Connect to your instances without requiring a public IPv4 address using EC2
33
- * Instance Connect Endpoint</a> in the <i>Amazon EC2 User Guide</i>.</p>
32
+ * requiring the instance to have a public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect-Endpoint.html">Connect to your instances using EC2 Instance Connect Endpoint</a> in the
33
+ * <i>Amazon EC2 User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -61,6 +61,7 @@ declare const CreateRouteCommand_base: {
61
61
  * LocalGatewayId: "STRING_VALUE",
62
62
  * CarrierGatewayId: "STRING_VALUE",
63
63
  * CoreNetworkArn: "STRING_VALUE",
64
+ * OdbNetworkArn: "STRING_VALUE",
64
65
  * DryRun: true || false,
65
66
  * RouteTableId: "STRING_VALUE", // required
66
67
  * DestinationCidrBlock: "STRING_VALUE",
@@ -93,6 +93,7 @@ declare const CreateRouteTableCommand_base: {
93
93
  * // State: "active" || "blackhole",
94
94
  * // VpcPeeringConnectionId: "STRING_VALUE",
95
95
  * // CoreNetworkArn: "STRING_VALUE",
96
+ * // OdbNetworkArn: "STRING_VALUE",
96
97
  * // },
97
98
  * // ],
98
99
  * // Tags: [ // TagList
@@ -27,8 +27,8 @@ declare const DescribeCapacityBlockExtensionOfferingsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes Capacity Block extension offerings available for purchase in the Amazon Web Services Region
31
- * that you're currently using.</p>
30
+ * <p>Describes Capacity Block extension offerings available for purchase in the Amazon Web Services
31
+ * Region that you're currently using.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -30,7 +30,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
30
30
  * <p>Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a
31
31
  * specific instance type for a period of time.</p>
32
32
  * <p>To search for an available Capacity Block offering, you specify a reservation duration
33
- * and instance count.</p>
33
+ * and instance count.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -93,8 +93,10 @@ declare const DescribeImageAttributeCommand_base: {
93
93
  * // KmsKeyId: "STRING_VALUE",
94
94
  * // Throughput: Number("int"),
95
95
  * // OutpostArn: "STRING_VALUE",
96
+ * // AvailabilityZone: "STRING_VALUE",
96
97
  * // Encrypted: true || false,
97
98
  * // VolumeInitializationRate: Number("int"),
99
+ * // AvailabilityZoneId: "STRING_VALUE",
98
100
  * // },
99
101
  * // NoDevice: "STRING_VALUE",
100
102
  * // DeviceName: "STRING_VALUE",
@@ -103,8 +103,10 @@ declare const DescribeImagesCommand_base: {
103
103
  * // KmsKeyId: "STRING_VALUE",
104
104
  * // Throughput: Number("int"),
105
105
  * // OutpostArn: "STRING_VALUE",
106
+ * // AvailabilityZone: "STRING_VALUE",
106
107
  * // Encrypted: true || false,
107
108
  * // VolumeInitializationRate: Number("int"),
109
+ * // AvailabilityZoneId: "STRING_VALUE",
108
110
  * // },
109
111
  * // NoDevice: "STRING_VALUE",
110
112
  * // DeviceName: "STRING_VALUE",
@@ -97,6 +97,7 @@ declare const DescribeRouteTablesCommand_base: {
97
97
  * // State: "active" || "blackhole",
98
98
  * // VpcPeeringConnectionId: "STRING_VALUE",
99
99
  * // CoreNetworkArn: "STRING_VALUE",
100
+ * // OdbNetworkArn: "STRING_VALUE",
100
101
  * // },
101
102
  * // ],
102
103
  * // Tags: [ // TagList
@@ -80,8 +80,10 @@ declare const DescribeSpotFleetRequestsCommand_base: {
80
80
  * // KmsKeyId: "STRING_VALUE",
81
81
  * // Throughput: Number("int"),
82
82
  * // OutpostArn: "STRING_VALUE",
83
+ * // AvailabilityZone: "STRING_VALUE",
83
84
  * // Encrypted: true || false,
84
85
  * // VolumeInitializationRate: Number("int"),
86
+ * // AvailabilityZoneId: "STRING_VALUE",
85
87
  * // },
86
88
  * // NoDevice: "STRING_VALUE",
87
89
  * // DeviceName: "STRING_VALUE",
@@ -94,8 +94,10 @@ declare const DescribeSpotInstanceRequestsCommand_base: {
94
94
  * // KmsKeyId: "STRING_VALUE",
95
95
  * // Throughput: Number("int"),
96
96
  * // OutpostArn: "STRING_VALUE",
97
+ * // AvailabilityZone: "STRING_VALUE",
97
98
  * // Encrypted: true || false,
98
99
  * // VolumeInitializationRate: Number("int"),
100
+ * // AvailabilityZoneId: "STRING_VALUE",
99
101
  * // },
100
102
  * // NoDevice: "STRING_VALUE",
101
103
  * // DeviceName: "STRING_VALUE",
@@ -27,37 +27,41 @@ declare const ModifyCapacityReservationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions under
31
- * which it is to be released. You can't modify a Capacity Reservation's instance type, EBS
32
- * optimization, platform, instance store settings, Availability Zone, or tenancy. If you need
33
- * to modify any of these attributes, we recommend that you cancel the Capacity Reservation,
34
- * and then create a new one with the required attributes. For more information, see
35
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html">
36
- * Modify an active Capacity Reservation</a>.</p>
30
+ * <p>Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions
31
+ * under which it is to be released. You can't modify a Capacity Reservation's instance
32
+ * type, EBS optimization, platform, instance store settings, Availability Zone, or
33
+ * tenancy. If you need to modify any of these attributes, we recommend that you cancel the
34
+ * Capacity Reservation, and then create a new one with the required attributes. For more
35
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html"> Modify an active
36
+ * Capacity Reservation</a>.</p>
37
37
  * <p>The allowed modifications depend on the state of the Capacity Reservation:</p>
38
38
  * <ul>
39
39
  * <li>
40
40
  * <p>
41
- * <code>assessing</code> or <code>scheduled</code> state - You can modify the tags only.</p>
41
+ * <code>assessing</code> or <code>scheduled</code> state - You can modify the
42
+ * tags only.</p>
42
43
  * </li>
43
44
  * <li>
44
45
  * <p>
45
- * <code>pending</code> state - You can't modify the Capacity Reservation in any way.</p>
46
+ * <code>pending</code> state - You can't modify the Capacity Reservation in any
47
+ * way.</p>
46
48
  * </li>
47
49
  * <li>
48
50
  * <p>
49
- * <code>active</code> state but still within the commitment duration - You can't decrease the instance
50
- * count or set an end date that is within the commitment duration. All other modifications are allowed.</p>
51
+ * <code>active</code> state but still within the commitment duration - You can't
52
+ * decrease the instance count or set an end date that is within the commitment
53
+ * duration. All other modifications are allowed.</p>
51
54
  * </li>
52
55
  * <li>
53
56
  * <p>
54
- * <code>active</code> state with no commitment duration or elapsed commitment duration - All modifications
55
- * are allowed.</p>
57
+ * <code>active</code> state with no commitment duration or elapsed commitment
58
+ * duration - All modifications are allowed.</p>
56
59
  * </li>
57
60
  * <li>
58
61
  * <p>
59
- * <code>expired</code>, <code>cancelled</code>, <code>unsupported</code>, or <code>failed</code> state -
60
- * You can't modify the Capacity Reservation in any way.</p>
62
+ * <code>expired</code>, <code>cancelled</code>, <code>unsupported</code>, or
63
+ * <code>failed</code> state - You can't modify the Capacity Reservation in any
64
+ * way.</p>
61
65
  * </li>
62
66
  * </ul>
63
67
  * @example
@@ -29,7 +29,7 @@ declare const ModifyInstanceCapacityReservationAttributesCommand_base: {
29
29
  /**
30
30
  * <p>Modifies the Capacity Reservation settings for a stopped instance. Use this action to
31
31
  * configure an instance to target a specific Capacity Reservation, run in any
32
- * <code>open</code> Capacity Reservation with matching attributes, run in On-Demand
32
+ * <code>open</code> Capacity Reservation with matching attributes, run in On-Demand
33
33
  * Instance capacity, or only run in a Capacity Reservation.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -28,7 +28,7 @@ declare const ModifyInstanceNetworkPerformanceOptionsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Change the configuration of the network performance options for an existing
31
- * instance.</p>
31
+ * instance.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -114,8 +114,10 @@ declare const RegisterImageCommand_base: {
114
114
  * KmsKeyId: "STRING_VALUE",
115
115
  * Throughput: Number("int"),
116
116
  * OutpostArn: "STRING_VALUE",
117
+ * AvailabilityZone: "STRING_VALUE",
117
118
  * Encrypted: true || false,
118
119
  * VolumeInitializationRate: Number("int"),
120
+ * AvailabilityZoneId: "STRING_VALUE",
119
121
  * },
120
122
  * NoDevice: "STRING_VALUE",
121
123
  * DeviceName: "STRING_VALUE",