@aws-sdk/client-ec2 3.844.0 → 3.846.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 (30) hide show
  1. package/dist-cjs/index.js +41 -6
  2. package/dist-es/models/models_1.js +5 -0
  3. package/dist-es/models/models_2.js +0 -5
  4. package/dist-es/models/models_5.js +5 -0
  5. package/dist-es/protocols/Aws_ec2.js +28 -0
  6. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +4 -1
  7. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -0
  8. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -0
  9. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -1
  10. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -2
  11. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +2 -1
  12. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
  13. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
  14. package/dist-types/models/models_1.d.ts +53 -17
  15. package/dist-types/models/models_2.d.ts +17 -14
  16. package/dist-types/models/models_5.d.ts +81 -81
  17. package/dist-types/models/models_6.d.ts +81 -94
  18. package/dist-types/models/models_7.d.ts +95 -28
  19. package/dist-types/models/models_8.d.ts +25 -0
  20. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +4 -2
  21. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_1.d.ts +8 -3
  25. package/dist-types/ts3.4/models/models_2.d.ts +4 -7
  26. package/dist-types/ts3.4/models/models_5.d.ts +14 -13
  27. package/dist-types/ts3.4/models/models_6.d.ts +12 -19
  28. package/dist-types/ts3.4/models/models_7.d.ts +23 -8
  29. package/dist-types/ts3.4/models/models_8.d.ts +7 -0
  30. package/package.json +12 -12
package/dist-cjs/index.js CHANGED
@@ -753,6 +753,7 @@ __export(index_exports, {
753
753
  ImportVolumeRequestFilterSensitiveLog: () => ImportVolumeRequestFilterSensitiveLog,
754
754
  ImportVolumeResultFilterSensitiveLog: () => ImportVolumeResultFilterSensitiveLog,
755
755
  ImportVolumeTaskDetailsFilterSensitiveLog: () => ImportVolumeTaskDetailsFilterSensitiveLog,
756
+ InitializationType: () => InitializationType,
756
757
  InstanceAttributeName: () => InstanceAttributeName,
757
758
  InstanceAutoRecoveryState: () => InstanceAutoRecoveryState,
758
759
  InstanceBandwidthWeighting: () => InstanceBandwidthWeighting,
@@ -19948,6 +19949,9 @@ var se_CreateInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, con
19948
19949
  entries[loc] = value;
19949
19950
  });
19950
19951
  }
19952
+ if (input[_IAT] != null) {
19953
+ entries[_IAT] = input[_IAT];
19954
+ }
19951
19955
  return entries;
19952
19956
  }, "se_CreateInstanceConnectEndpointRequest");
19953
19957
  var se_CreateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => {
@@ -47936,6 +47940,9 @@ var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) =>
47936
47940
  } else if (output[_tS] != null && output[_tS][_i] != null) {
47937
47941
  contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);
47938
47942
  }
47943
+ if (output[_iAT] != null) {
47944
+ contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]);
47945
+ }
47939
47946
  return contents;
47940
47947
  }, "de_Ec2InstanceConnectEndpoint");
47941
47948
  var de_EfaInfo = /* @__PURE__ */ __name((output, context) => {
@@ -50944,6 +50951,19 @@ var de_InferenceDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => {
50944
50951
  }
50945
50952
  return contents;
50946
50953
  }, "de_InferenceDeviceMemoryInfo");
50954
+ var de_InitializationStatusDetails = /* @__PURE__ */ __name((output, context) => {
50955
+ const contents = {};
50956
+ if (output[_iTni] != null) {
50957
+ contents[_ITni] = (0, import_smithy_client.expectString)(output[_iTni]);
50958
+ }
50959
+ if (output[_pro] != null) {
50960
+ contents[_Prog] = (0, import_smithy_client.strictParseLong)(output[_pro]);
50961
+ }
50962
+ if (output[_eTTCIS] != null) {
50963
+ contents[_ETTCIS] = (0, import_smithy_client.strictParseLong)(output[_eTTCIS]);
50964
+ }
50965
+ return contents;
50966
+ }, "de_InitializationStatusDetails");
50947
50967
  var de_InsideCidrBlocksStringList = /* @__PURE__ */ __name((output, context) => {
50948
50968
  return (output || []).filter((e) => e != null).map((entry) => {
50949
50969
  return (0, import_smithy_client.expectString)(entry);
@@ -62464,6 +62484,9 @@ var de_VolumeStatusItem = /* @__PURE__ */ __name((output, context) => {
62464
62484
  } else if (output[_aStt] != null && output[_aStt][_i] != null) {
62465
62485
  contents[_AStt] = de_VolumeStatusAttachmentStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_aStt][_i]), context);
62466
62486
  }
62487
+ if (output[_iSD] != null) {
62488
+ contents[_ISD] = de_InitializationStatusDetails(output[_iSD], context);
62489
+ }
62467
62490
  if (output[_aZI] != null) {
62468
62491
  contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]);
62469
62492
  }
@@ -64329,6 +64352,7 @@ var _ETI = "ExportTaskId";
64329
64352
  var _ETIx = "ExportTaskIds";
64330
64353
  var _ETLC = "EnableTunnelLifecycleControl";
64331
64354
  var _ETST = "ExportToS3Task";
64355
+ var _ETTCIS = "EstimatedTimeToCompleteInSeconds";
64332
64356
  var _ETa = "EarliestTime";
64333
64357
  var _ETi = "EipTags";
64334
64358
  var _ETn = "EndTime";
@@ -64683,6 +64707,7 @@ var _IRpa = "IpamRegion";
64683
64707
  var _IRpv = "Ipv6Ranges";
64684
64708
  var _IS = "ImportSnapshot";
64685
64709
  var _ISA = "IpamScopeArn";
64710
+ var _ISD = "InitializationStatusDetails";
64686
64711
  var _ISI = "IpamScopeId";
64687
64712
  var _ISIn = "InstanceStorageInfo";
64688
64713
  var _ISIp = "IpamScopeIds";
@@ -64715,6 +64740,7 @@ var _ITO = "InstanceTypeOfferings";
64715
64740
  var _ITS = "InstanceTypeSpecifications";
64716
64741
  var _ITm = "ImageType";
64717
64742
  var _ITn = "InterfaceType";
64743
+ var _ITni = "InitializationType";
64718
64744
  var _ITns = "InstanceTenancy";
64719
64745
  var _ITnst = "InstanceTypes";
64720
64746
  var _ITnsta = "InstanceTags";
@@ -66627,6 +66653,7 @@ var _eTLC = "enableTunnelLifecycleControl";
66627
66653
  var _eTS = "exportTaskSet";
66628
66654
  var _eTSi = "eipTagSet";
66629
66655
  var _eTSx = "exportToS3";
66656
+ var _eTTCIS = "estimatedTimeToCompleteInSeconds";
66630
66657
  var _eTn = "endTime";
66631
66658
  var _eTna = "enablingTime";
66632
66659
  var _eTnab = "enabledTime";
@@ -66873,6 +66900,7 @@ var _iRpa = "ipRanges";
66873
66900
  var _iRpv = "ipv6Ranges";
66874
66901
  var _iS = "interconnectStatus";
66875
66902
  var _iSA = "ipamScopeArn";
66903
+ var _iSD = "initializationStatusDetails";
66876
66904
  var _iSI = "instanceStorageInfo";
66877
66905
  var _iSIp = "ipamScopeId";
66878
66906
  var _iSS = "instanceStatusSet";
@@ -66906,6 +66934,7 @@ var _iTS = "instanceTypeSet";
66906
66934
  var _iTSS = "instanceTypeSpecificationSet";
66907
66935
  var _iTm = "imageType";
66908
66936
  var _iTn = "instanceTypes";
66937
+ var _iTni = "initializationType";
66909
66938
  var _iTns = "instanceTenancy";
66910
66939
  var _iTnt = "interfaceType";
66911
66940
  var _iU = "ipUsage";
@@ -70617,6 +70646,11 @@ var SnapshotLocationEnum = {
70617
70646
  LOCAL: "local",
70618
70647
  REGIONAL: "regional"
70619
70648
  };
70649
+ var IpAddressType = {
70650
+ dualstack: "dualstack",
70651
+ ipv4: "ipv4",
70652
+ ipv6: "ipv6"
70653
+ };
70620
70654
  var Ec2InstanceConnectEndpointState = {
70621
70655
  create_complete: "create-complete",
70622
70656
  create_failed: "create-failed",
@@ -71659,11 +71693,6 @@ var DnsRecordIpType = {
71659
71693
  ipv6: "ipv6",
71660
71694
  service_defined: "service-defined"
71661
71695
  };
71662
- var IpAddressType = {
71663
- dualstack: "dualstack",
71664
- ipv4: "ipv4",
71665
- ipv6: "ipv6"
71666
- };
71667
71696
  var VpcEndpointType = {
71668
71697
  Gateway: "Gateway",
71669
71698
  GatewayLoadBalancer: "GatewayLoadBalancer",
@@ -75846,7 +75875,12 @@ var VolumeModificationState = {
75846
75875
  modifying: "modifying",
75847
75876
  optimizing: "optimizing"
75848
75877
  };
75878
+ var InitializationType = {
75879
+ default: "default",
75880
+ provisioned_rate: "provisioned-rate"
75881
+ };
75849
75882
  var VolumeStatusName = {
75883
+ initialization_state: "initialization-state",
75850
75884
  io_enabled: "io-enabled",
75851
75885
  io_performance: "io-performance"
75852
75886
  };
@@ -86339,6 +86373,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
86339
86373
  FlowLogsResourceType,
86340
86374
  TrafficType,
86341
86375
  SnapshotLocationEnum,
86376
+ IpAddressType,
86342
86377
  Ec2InstanceConnectEndpointState,
86343
86378
  ContainerFormat,
86344
86379
  DiskImageFormat,
@@ -86444,7 +86479,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
86444
86479
  InternetGatewayExclusionMode,
86445
86480
  VpcBlockPublicAccessExclusionState,
86446
86481
  DnsRecordIpType,
86447
- IpAddressType,
86448
86482
  VpcEndpointType,
86449
86483
  State,
86450
86484
  ResponseLaunchTemplateDataFilterSensitiveLog,
@@ -86594,6 +86628,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
86594
86628
  VerifiedAccessLogDeliveryStatusCode,
86595
86629
  VolumeAttributeName,
86596
86630
  VolumeModificationState,
86631
+ InitializationType,
86597
86632
  VolumeStatusName,
86598
86633
  VolumeStatusInfoStatus,
86599
86634
  VpcAttributeName,
@@ -1212,6 +1212,11 @@ export const SnapshotLocationEnum = {
1212
1212
  LOCAL: "local",
1213
1213
  REGIONAL: "regional",
1214
1214
  };
1215
+ export const IpAddressType = {
1216
+ dualstack: "dualstack",
1217
+ ipv4: "ipv4",
1218
+ ipv6: "ipv6",
1219
+ };
1215
1220
  export const Ec2InstanceConnectEndpointState = {
1216
1221
  create_complete: "create-complete",
1217
1222
  create_failed: "create-failed",
@@ -378,11 +378,6 @@ export const DnsRecordIpType = {
378
378
  ipv6: "ipv6",
379
379
  service_defined: "service-defined",
380
380
  };
381
- export const IpAddressType = {
382
- dualstack: "dualstack",
383
- ipv4: "ipv4",
384
- ipv6: "ipv6",
385
- };
386
381
  export const VpcEndpointType = {
387
382
  Gateway: "Gateway",
388
383
  GatewayLoadBalancer: "GatewayLoadBalancer",
@@ -122,7 +122,12 @@ export const VolumeModificationState = {
122
122
  modifying: "modifying",
123
123
  optimizing: "optimizing",
124
124
  };
125
+ export const InitializationType = {
126
+ default: "default",
127
+ provisioned_rate: "provisioned-rate",
128
+ };
125
129
  export const VolumeStatusName = {
130
+ initialization_state: "initialization-state",
126
131
  io_enabled: "io-enabled",
127
132
  io_performance: "io-performance",
128
133
  };
@@ -18356,6 +18356,9 @@ const se_CreateInstanceConnectEndpointRequest = (input, context) => {
18356
18356
  entries[loc] = value;
18357
18357
  });
18358
18358
  }
18359
+ if (input[_IAT] != null) {
18360
+ entries[_IAT] = input[_IAT];
18361
+ }
18359
18362
  return entries;
18360
18363
  };
18361
18364
  const se_CreateInstanceEventWindowRequest = (input, context) => {
@@ -46765,6 +46768,9 @@ const de_Ec2InstanceConnectEndpoint = (output, context) => {
46765
46768
  else if (output[_tS] != null && output[_tS][_i] != null) {
46766
46769
  contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
46767
46770
  }
46771
+ if (output[_iAT] != null) {
46772
+ contents[_IAT] = __expectString(output[_iAT]);
46773
+ }
46768
46774
  return contents;
46769
46775
  };
46770
46776
  const de_EfaInfo = (output, context) => {
@@ -49959,6 +49965,19 @@ const de_InferenceDeviceMemoryInfo = (output, context) => {
49959
49965
  }
49960
49966
  return contents;
49961
49967
  };
49968
+ const de_InitializationStatusDetails = (output, context) => {
49969
+ const contents = {};
49970
+ if (output[_iTni] != null) {
49971
+ contents[_ITni] = __expectString(output[_iTni]);
49972
+ }
49973
+ if (output[_pro] != null) {
49974
+ contents[_Prog] = __strictParseLong(output[_pro]);
49975
+ }
49976
+ if (output[_eTTCIS] != null) {
49977
+ contents[_ETTCIS] = __strictParseLong(output[_eTTCIS]);
49978
+ }
49979
+ return contents;
49980
+ };
49962
49981
  const de_InsideCidrBlocksStringList = (output, context) => {
49963
49982
  return (output || [])
49964
49983
  .filter((e) => e != null)
@@ -62338,6 +62357,9 @@ const de_VolumeStatusItem = (output, context) => {
62338
62357
  else if (output[_aStt] != null && output[_aStt][_i] != null) {
62339
62358
  contents[_AStt] = de_VolumeStatusAttachmentStatusList(__getArrayIfSingleItem(output[_aStt][_i]), context);
62340
62359
  }
62360
+ if (output[_iSD] != null) {
62361
+ contents[_ISD] = de_InitializationStatusDetails(output[_iSD], context);
62362
+ }
62341
62363
  if (output[_aZI] != null) {
62342
62364
  contents[_AZI] = __expectString(output[_aZI]);
62343
62365
  }
@@ -64262,6 +64284,7 @@ const _ETI = "ExportTaskId";
64262
64284
  const _ETIx = "ExportTaskIds";
64263
64285
  const _ETLC = "EnableTunnelLifecycleControl";
64264
64286
  const _ETST = "ExportToS3Task";
64287
+ const _ETTCIS = "EstimatedTimeToCompleteInSeconds";
64265
64288
  const _ETa = "EarliestTime";
64266
64289
  const _ETi = "EipTags";
64267
64290
  const _ETn = "EndTime";
@@ -64616,6 +64639,7 @@ const _IRpa = "IpamRegion";
64616
64639
  const _IRpv = "Ipv6Ranges";
64617
64640
  const _IS = "ImportSnapshot";
64618
64641
  const _ISA = "IpamScopeArn";
64642
+ const _ISD = "InitializationStatusDetails";
64619
64643
  const _ISI = "IpamScopeId";
64620
64644
  const _ISIn = "InstanceStorageInfo";
64621
64645
  const _ISIp = "IpamScopeIds";
@@ -64648,6 +64672,7 @@ const _ITO = "InstanceTypeOfferings";
64648
64672
  const _ITS = "InstanceTypeSpecifications";
64649
64673
  const _ITm = "ImageType";
64650
64674
  const _ITn = "InterfaceType";
64675
+ const _ITni = "InitializationType";
64651
64676
  const _ITns = "InstanceTenancy";
64652
64677
  const _ITnst = "InstanceTypes";
64653
64678
  const _ITnsta = "InstanceTags";
@@ -66560,6 +66585,7 @@ const _eTLC = "enableTunnelLifecycleControl";
66560
66585
  const _eTS = "exportTaskSet";
66561
66586
  const _eTSi = "eipTagSet";
66562
66587
  const _eTSx = "exportToS3";
66588
+ const _eTTCIS = "estimatedTimeToCompleteInSeconds";
66563
66589
  const _eTn = "endTime";
66564
66590
  const _eTna = "enablingTime";
66565
66591
  const _eTnab = "enabledTime";
@@ -66806,6 +66832,7 @@ const _iRpa = "ipRanges";
66806
66832
  const _iRpv = "ipv6Ranges";
66807
66833
  const _iS = "interconnectStatus";
66808
66834
  const _iSA = "ipamScopeArn";
66835
+ const _iSD = "initializationStatusDetails";
66809
66836
  const _iSI = "instanceStorageInfo";
66810
66837
  const _iSIp = "ipamScopeId";
66811
66838
  const _iSS = "instanceStatusSet";
@@ -66839,6 +66866,7 @@ const _iTS = "instanceTypeSet";
66839
66866
  const _iTSS = "instanceTypeSpecificationSet";
66840
66867
  const _iTm = "imageType";
66841
66868
  const _iTn = "instanceTypes";
66869
+ const _iTni = "initializationType";
66842
66870
  const _iTns = "instanceTenancy";
66843
66871
  const _iTnt = "interfaceType";
66844
66872
  const _iU = "ipUsage";
@@ -29,7 +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 using EC2 Instance Connect Endpoint</a> in the
32
+ * requiring the instance to have a public IPv4 or public IPv6 address. For more
33
+ * 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
34
  * <i>Amazon EC2 User Guide</i>.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
@@ -56,6 +57,7 @@ declare const CreateInstanceConnectEndpointCommand_base: {
56
57
  * ],
57
58
  * },
58
59
  * ],
60
+ * IpAddressType: "ipv4" || "dualstack" || "ipv6",
59
61
  * };
60
62
  * const command = new CreateInstanceConnectEndpointCommand(input);
61
63
  * const response = await client.send(command);
@@ -85,6 +87,7 @@ declare const CreateInstanceConnectEndpointCommand_base: {
85
87
  * // Value: "STRING_VALUE",
86
88
  * // },
87
89
  * // ],
90
+ * // IpAddressType: "ipv4" || "dualstack" || "ipv6",
88
91
  * // },
89
92
  * // ClientToken: "STRING_VALUE",
90
93
  * // };
@@ -66,6 +66,7 @@ declare const DeleteInstanceConnectEndpointCommand_base: {
66
66
  * // Value: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
69
+ * // IpAddressType: "ipv4" || "dualstack" || "ipv6",
69
70
  * // },
70
71
  * // };
71
72
  *
@@ -79,6 +79,7 @@ declare const DescribeInstanceConnectEndpointsCommand_base: {
79
79
  * // Value: "STRING_VALUE",
80
80
  * // },
81
81
  * // ],
82
+ * // IpAddressType: "ipv4" || "dualstack" || "ipv6",
82
83
  * // },
83
84
  * // ],
84
85
  * // NextToken: "STRING_VALUE",
@@ -117,7 +117,7 @@ declare const DescribeVolumeStatusCommand_base: {
117
117
  * // VolumeStatus: { // VolumeStatusInfo
118
118
  * // Details: [ // VolumeStatusDetailsList
119
119
  * // { // VolumeStatusDetails
120
- * // Name: "io-enabled" || "io-performance",
120
+ * // Name: "io-enabled" || "io-performance" || "initialization-state",
121
121
  * // Status: "STRING_VALUE",
122
122
  * // },
123
123
  * // ],
@@ -129,6 +129,11 @@ declare const DescribeVolumeStatusCommand_base: {
129
129
  * // InstanceId: "STRING_VALUE",
130
130
  * // },
131
131
  * // ],
132
+ * // InitializationStatusDetails: { // InitializationStatusDetails
133
+ * // InitializationType: "default" || "provisioned-rate",
134
+ * // Progress: Number("long"),
135
+ * // EstimatedTimeToCompleteInSeconds: Number("long"),
136
+ * // },
132
137
  * // AvailabilityZoneId: "STRING_VALUE",
133
138
  * // },
134
139
  * // ],
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeVpcEndpointServiceConfigurationsRequest } from "../models/models_5";
5
- import { DescribeVpcEndpointServiceConfigurationsResult } from "../models/models_6";
4
+ import { DescribeVpcEndpointServiceConfigurationsRequest, DescribeVpcEndpointServiceConfigurationsResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult } from "../models/models_5";
4
+ import { DescribeVpcEndpointsRequest } from "../models/models_5";
5
+ import { DescribeVpcEndpointsResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetSpotPlacementScoresRequest } from "../models/models_6";
5
- import { GetSpotPlacementScoresResult } from "../models/models_7";
4
+ import { GetSpotPlacementScoresRequest, GetSpotPlacementScoresResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { RejectCapacityReservationBillingOwnershipRequest, RejectCapacityReservationBillingOwnershipResult } from "../models/models_7";
4
+ import { RejectCapacityReservationBillingOwnershipRequest, RejectCapacityReservationBillingOwnershipResult } from "../models/models_8";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -7519,6 +7519,19 @@ export interface CreateImageResult {
7519
7519
  */
7520
7520
  ImageId?: string | undefined;
7521
7521
  }
7522
+ /**
7523
+ * @public
7524
+ * @enum
7525
+ */
7526
+ export declare const IpAddressType: {
7527
+ readonly dualstack: "dualstack";
7528
+ readonly ipv4: "ipv4";
7529
+ readonly ipv6: "ipv6";
7530
+ };
7531
+ /**
7532
+ * @public
7533
+ */
7534
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
7522
7535
  /**
7523
7536
  * @public
7524
7537
  */
@@ -7553,6 +7566,12 @@ export interface CreateInstanceConnectEndpointRequest {
7553
7566
  * <code>false</code> - Use the network interface IP address as the source.</p>
7554
7567
  * </li>
7555
7568
  * </ul>
7569
+ * <note>
7570
+ * <p>
7571
+ * <code>PreserveClientIp</code> is only supported on IPv4 EC2 Instance Connect
7572
+ * Endpoints. To use <code>PreserveClientIp</code>, the value for
7573
+ * <code>IpAddressType</code> must be <code>ipv4</code>.</p>
7574
+ * </note>
7556
7575
  * <p>Default: <code>false</code>
7557
7576
  * </p>
7558
7577
  * @public
@@ -7568,6 +7587,33 @@ export interface CreateInstanceConnectEndpointRequest {
7568
7587
  * @public
7569
7588
  */
7570
7589
  TagSpecifications?: TagSpecification[] | undefined;
7590
+ /**
7591
+ * <p>The IP address type of the endpoint.</p>
7592
+ * <p>If no value is specified, the default value is determined by the IP address type of
7593
+ * the subnet:</p>
7594
+ * <ul>
7595
+ * <li>
7596
+ * <p>
7597
+ * <code>dualstack</code> - If the subnet has both IPv4 and IPv6 CIDRs</p>
7598
+ * </li>
7599
+ * <li>
7600
+ * <p>
7601
+ * <code>ipv4</code> - If the subnet has only IPv4 CIDRs</p>
7602
+ * </li>
7603
+ * <li>
7604
+ * <p>
7605
+ * <code>ipv6</code> - If the subnet has only IPv6 CIDRs</p>
7606
+ * </li>
7607
+ * </ul>
7608
+ * <note>
7609
+ * <p>
7610
+ * <code>PreserveClientIp</code> is only supported on IPv4 EC2 Instance Connect
7611
+ * Endpoints. To use <code>PreserveClientIp</code>, the value for
7612
+ * <code>IpAddressType</code> must be <code>ipv4</code>.</p>
7613
+ * </note>
7614
+ * @public
7615
+ */
7616
+ IpAddressType?: IpAddressType | undefined;
7571
7617
  }
7572
7618
  /**
7573
7619
  * @public
@@ -7622,7 +7668,8 @@ export interface Ec2InstanceConnectEndpoint {
7622
7668
  */
7623
7669
  DnsName?: string | undefined;
7624
7670
  /**
7625
- * <p></p>
7671
+ * <p>The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2
7672
+ * Instance Connect Endpoint.</p>
7626
7673
  * @public
7627
7674
  */
7628
7675
  FipsDnsName?: string | undefined;
@@ -7678,6 +7725,11 @@ export interface Ec2InstanceConnectEndpoint {
7678
7725
  * @public
7679
7726
  */
7680
7727
  Tags?: Tag[] | undefined;
7728
+ /**
7729
+ * <p>The IP address type of the endpoint.</p>
7730
+ * @public
7731
+ */
7732
+ IpAddressType?: IpAddressType | undefined;
7681
7733
  }
7682
7734
  /**
7683
7735
  * @public
@@ -11348,22 +11400,6 @@ export interface ConnectionTrackingSpecification {
11348
11400
  */
11349
11401
  UdpStreamTimeout?: number | undefined;
11350
11402
  }
11351
- /**
11352
- * <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
11353
- * automatically uses it. However, some UDP-based applications are designed to handle network packets that are
11354
- * out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
11355
- * applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
11356
- * environment needs.</p>
11357
- * @public
11358
- */
11359
- export interface LaunchTemplateEnaSrdUdpSpecification {
11360
- /**
11361
- * <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
11362
- * you must first enable ENA Express.</p>
11363
- * @public
11364
- */
11365
- EnaSrdUdpEnabled?: boolean | undefined;
11366
- }
11367
11403
  /**
11368
11404
  * @internal
11369
11405
  */
@@ -1,5 +1,21 @@
1
1
  import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment } from "./models_0";
2
- import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnaSrdUdpSpecification, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, LaunchTemplatesMonitoring, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
2
+ import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, IpAddressType, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, LaunchTemplatesMonitoring, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
5
+ * automatically uses it. However, some UDP-based applications are designed to handle network packets that are
6
+ * out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
7
+ * applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
8
+ * environment needs.</p>
9
+ * @public
10
+ */
11
+ export interface LaunchTemplateEnaSrdUdpSpecification {
12
+ /**
13
+ * <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
14
+ * you must first enable ENA Express.</p>
15
+ * @public
16
+ */
17
+ EnaSrdUdpEnabled?: boolean | undefined;
18
+ }
3
19
  /**
4
20
  * <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
5
21
  * maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
@@ -9134,19 +9150,6 @@ export interface DnsOptionsSpecification {
9134
9150
  */
9135
9151
  PrivateDnsOnlyForInboundResolverEndpoint?: boolean | undefined;
9136
9152
  }
9137
- /**
9138
- * @public
9139
- * @enum
9140
- */
9141
- export declare const IpAddressType: {
9142
- readonly dualstack: "dualstack";
9143
- readonly ipv4: "ipv4";
9144
- readonly ipv6: "ipv6";
9145
- };
9146
- /**
9147
- * @public
9148
- */
9149
- export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
9150
9153
  /**
9151
9154
  * <p>Describes the configuration of a subnet for a VPC endpoint.</p>
9152
9155
  * @public