@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
@@ -1,6 +1,6 @@
1
1
  import { ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, Ipam, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
- import { DnsEntry, GroupIdentifier, InstanceIpv6Address, IpAddressType, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceRequirements, IpAddressType, Ipam, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
3
+ import { DnsEntry, GroupIdentifier, InstanceIpv6Address, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion } from "./models_2";
4
4
  import { ConnectionNotification, Filter, IdFormat } from "./models_3";
5
5
  import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode } from "./models_4";
6
6
  /**
@@ -10261,11 +10261,60 @@ export interface VolumeStatusEvent {
10261
10261
  */
10262
10262
  InstanceId?: string | undefined;
10263
10263
  }
10264
+ /**
10265
+ * @public
10266
+ * @enum
10267
+ */
10268
+ export declare const InitializationType: {
10269
+ readonly default: "default";
10270
+ readonly provisioned_rate: "provisioned-rate";
10271
+ };
10272
+ /**
10273
+ * @public
10274
+ */
10275
+ export type InitializationType = (typeof InitializationType)[keyof typeof InitializationType];
10276
+ /**
10277
+ * <p>Information about the volume initialization. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">Initialize Amazon EBS volumes</a>.</p>
10278
+ * @public
10279
+ */
10280
+ export interface InitializationStatusDetails {
10281
+ /**
10282
+ * <p>The method used for volume initialization. Possible values include:</p>
10283
+ * <ul>
10284
+ * <li>
10285
+ * <p>
10286
+ * <code>default</code> - Volume initialized using the default volume initialization
10287
+ * rate or fast snapshot restore.</p>
10288
+ * </li>
10289
+ * <li>
10290
+ * <p>
10291
+ * <code>provisioned-rate</code> - Volume initialized using an Amazon EBS Provisioned
10292
+ * Rate for Volume Initialization.</p>
10293
+ * </li>
10294
+ * </ul>
10295
+ * @public
10296
+ */
10297
+ InitializationType?: InitializationType | undefined;
10298
+ /**
10299
+ * <p>The current volume initialization progress as a percentage (0-100). Returns <code>100</code>
10300
+ * when volume initialization has completed.</p>
10301
+ * @public
10302
+ */
10303
+ Progress?: number | undefined;
10304
+ /**
10305
+ * <p>The estimated remaining time, in seconds, for volume initialization to complete. Returns
10306
+ * <code>0</code> when volume initialization has completed.</p>
10307
+ * <p>Only available for volumes created with Amazon EBS Provisioned Rate for Volume Initialization.</p>
10308
+ * @public
10309
+ */
10310
+ EstimatedTimeToCompleteInSeconds?: number | undefined;
10311
+ }
10264
10312
  /**
10265
10313
  * @public
10266
10314
  * @enum
10267
10315
  */
10268
10316
  export declare const VolumeStatusName: {
10317
+ readonly initialization_state: "initialization-state";
10269
10318
  readonly io_enabled: "io-enabled";
10270
10319
  readonly io_performance: "io-performance";
10271
10320
  };
@@ -10280,6 +10329,25 @@ export type VolumeStatusName = (typeof VolumeStatusName)[keyof typeof VolumeStat
10280
10329
  export interface VolumeStatusDetails {
10281
10330
  /**
10282
10331
  * <p>The name of the volume status.</p>
10332
+ * <ul>
10333
+ * <li>
10334
+ * <p>
10335
+ * <code>io-enabled</code> - Indicates the volume I/O status. For more
10336
+ * information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html">Amazon EBS volume
10337
+ * status checks</a>.</p>
10338
+ * </li>
10339
+ * <li>
10340
+ * <p>
10341
+ * <code>io-performance</code> - Indicates the volume performance status.
10342
+ * For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html">Amazon EBS volume
10343
+ * status checks</a>.</p>
10344
+ * </li>
10345
+ * <li>
10346
+ * <p>
10347
+ * <code>initialization-state</code> - Indicates the status of the volume
10348
+ * initialization process. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">Initialize Amazon EBS volumes</a>.</p>
10349
+ * </li>
10350
+ * </ul>
10283
10351
  * @public
10284
10352
  */
10285
10353
  Name?: VolumeStatusName | undefined;
@@ -10358,6 +10426,17 @@ export interface VolumeStatusItem {
10358
10426
  * @public
10359
10427
  */
10360
10428
  AttachmentStatuses?: VolumeStatusAttachmentStatus[] | undefined;
10429
+ /**
10430
+ * <p>Information about the volume initialization. It can take up to 5 minutes
10431
+ * for the volume initialization information to be updated.</p>
10432
+ * <p>Only available for volumes created from snapshots. Not available for empty
10433
+ * volumes created without a snapshot.</p>
10434
+ * <p>For more information, see
10435
+ * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html">
10436
+ * Initialize Amazon EBS volumes</a>.</p>
10437
+ * @public
10438
+ */
10439
+ InitializationStatusDetails?: InitializationStatusDetails | undefined;
10361
10440
  /**
10362
10441
  * <p>The ID of the Availability Zone.</p>
10363
10442
  * @public
@@ -11246,85 +11325,6 @@ export interface DescribeVpcEndpointsRequest {
11246
11325
  */
11247
11326
  NextToken?: string | undefined;
11248
11327
  }
11249
- /**
11250
- * @public
11251
- */
11252
- export interface DescribeVpcEndpointsResult {
11253
- /**
11254
- * <p>Information about the VPC endpoints.</p>
11255
- * @public
11256
- */
11257
- VpcEndpoints?: VpcEndpoint[] | undefined;
11258
- /**
11259
- * <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
11260
- * @public
11261
- */
11262
- NextToken?: string | undefined;
11263
- }
11264
- /**
11265
- * @public
11266
- */
11267
- export interface DescribeVpcEndpointServiceConfigurationsRequest {
11268
- /**
11269
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11270
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11271
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11272
- * @public
11273
- */
11274
- DryRun?: boolean | undefined;
11275
- /**
11276
- * <p>The IDs of the endpoint services.</p>
11277
- * @public
11278
- */
11279
- ServiceIds?: string[] | undefined;
11280
- /**
11281
- * <p>The filters.</p>
11282
- * <ul>
11283
- * <li>
11284
- * <p>
11285
- * <code>service-name</code> - The name of the service.</p>
11286
- * </li>
11287
- * <li>
11288
- * <p>
11289
- * <code>service-id</code> - The ID of the service.</p>
11290
- * </li>
11291
- * <li>
11292
- * <p>
11293
- * <code>service-state</code> - The state of the service (<code>Pending</code> |
11294
- * <code>Available</code> | <code>Deleting</code> | <code>Deleted</code> |
11295
- * <code>Failed</code>). </p>
11296
- * </li>
11297
- * <li>
11298
- * <p>
11299
- * <code>supported-ip-address-types</code> - The IP address type (<code>ipv4</code> | <code>ipv6</code>).</p>
11300
- * </li>
11301
- * <li>
11302
- * <p>
11303
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11304
- * </li>
11305
- * <li>
11306
- * <p>
11307
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11308
- * </li>
11309
- * </ul>
11310
- * @public
11311
- */
11312
- Filters?: Filter[] | undefined;
11313
- /**
11314
- * <p>The maximum number of results to return for the request in a single page. The remaining
11315
- * results of the initial request can be seen by sending another request with the returned
11316
- * <code>NextToken</code> value. This value can be between 5 and 1,000; if
11317
- * <code>MaxResults</code> is given a value larger than 1,000, only 1,000 results are
11318
- * returned.</p>
11319
- * @public
11320
- */
11321
- MaxResults?: number | undefined;
11322
- /**
11323
- * <p>The token to retrieve the next page of results.</p>
11324
- * @public
11325
- */
11326
- NextToken?: string | undefined;
11327
- }
11328
11328
  /**
11329
11329
  * @internal
11330
11330
  */
@@ -1,9 +1,88 @@
1
1
  import { AccessScopeAnalysisFinding, ActiveVpnTunnelStatus, AddressTransfer, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AllowedPrincipal, AsnAssociation, AssociationStatus, CurrencyCodeValues, DeviceTrustProviderType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
- import { CapacityReservationState, DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, RequestIpamResourceTag, TargetCapacityUnitType, Vpc } from "./models_1";
3
- import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType } from "./models_2";
2
+ import { CapacityReservationState, DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, RequestIpamResourceTag, Vpc } from "./models_1";
3
+ import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType, VpcEndpoint } from "./models_2";
4
4
  import { DnsNameState, Filter, IpamPoolCidr, MetricType, PayerResponsibility, PeriodType, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, StatisticType, VpnConnection, VpnGateway } from "./models_3";
5
5
  import { ArchitectureType, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, PaymentOption, VirtualizationType } from "./models_4";
6
6
  import { AnalysisStatus, ManagedBy } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface DescribeVpcEndpointsResult {
11
+ /**
12
+ * <p>Information about the VPC endpoints.</p>
13
+ * @public
14
+ */
15
+ VpcEndpoints?: VpcEndpoint[] | undefined;
16
+ /**
17
+ * <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DescribeVpcEndpointServiceConfigurationsRequest {
26
+ /**
27
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
28
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
29
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
30
+ * @public
31
+ */
32
+ DryRun?: boolean | undefined;
33
+ /**
34
+ * <p>The IDs of the endpoint services.</p>
35
+ * @public
36
+ */
37
+ ServiceIds?: string[] | undefined;
38
+ /**
39
+ * <p>The filters.</p>
40
+ * <ul>
41
+ * <li>
42
+ * <p>
43
+ * <code>service-name</code> - The name of the service.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>service-id</code> - The ID of the service.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>service-state</code> - The state of the service (<code>Pending</code> |
52
+ * <code>Available</code> | <code>Deleting</code> | <code>Deleted</code> |
53
+ * <code>Failed</code>). </p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>supported-ip-address-types</code> - The IP address type (<code>ipv4</code> | <code>ipv6</code>).</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
66
+ * </li>
67
+ * </ul>
68
+ * @public
69
+ */
70
+ Filters?: Filter[] | undefined;
71
+ /**
72
+ * <p>The maximum number of results to return for the request in a single page. The remaining
73
+ * results of the initial request can be seen by sending another request with the returned
74
+ * <code>NextToken</code> value. This value can be between 5 and 1,000; if
75
+ * <code>MaxResults</code> is given a value larger than 1,000, only 1,000 results are
76
+ * returned.</p>
77
+ * @public
78
+ */
79
+ MaxResults?: number | undefined;
80
+ /**
81
+ * <p>The token to retrieve the next page of results.</p>
82
+ * @public
83
+ */
84
+ NextToken?: string | undefined;
85
+ }
7
86
  /**
8
87
  * @public
9
88
  */
@@ -6870,98 +6949,6 @@ export interface GetSnapshotBlockPublicAccessStateResult {
6870
6949
  */
6871
6950
  ManagedBy?: ManagedBy | undefined;
6872
6951
  }
6873
- /**
6874
- * <p>The architecture type, virtualization type, and other attributes for the instance types.
6875
- * When you specify instance attributes, Amazon EC2 will identify instance types with those
6876
- * attributes.</p>
6877
- * <p>If you specify <code>InstanceRequirementsWithMetadataRequest</code>, you can't specify
6878
- * <code>InstanceTypes</code>.</p>
6879
- * @public
6880
- */
6881
- export interface InstanceRequirementsWithMetadataRequest {
6882
- /**
6883
- * <p>The architecture type.</p>
6884
- * @public
6885
- */
6886
- ArchitectureTypes?: ArchitectureType[] | undefined;
6887
- /**
6888
- * <p>The virtualization type.</p>
6889
- * @public
6890
- */
6891
- VirtualizationTypes?: VirtualizationType[] | undefined;
6892
- /**
6893
- * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
6894
- * identify instance types with those attributes.</p>
6895
- * @public
6896
- */
6897
- InstanceRequirements?: InstanceRequirementsRequest | undefined;
6898
- }
6899
- /**
6900
- * @public
6901
- */
6902
- export interface GetSpotPlacementScoresRequest {
6903
- /**
6904
- * <p>The instance types. We recommend that you specify at least three instance types. If you
6905
- * specify one or two instance types, or specify variations of a single instance type (for
6906
- * example, an <code>m3.xlarge</code> with and without instance storage), the returned
6907
- * placement score will always be low. </p>
6908
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
6909
- * <code>InstanceRequirementsWithMetadata</code>.</p>
6910
- * @public
6911
- */
6912
- InstanceTypes?: string[] | undefined;
6913
- /**
6914
- * <p>The target capacity.</p>
6915
- * @public
6916
- */
6917
- TargetCapacity: number | undefined;
6918
- /**
6919
- * <p>The unit for the target capacity.</p>
6920
- * @public
6921
- */
6922
- TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
6923
- /**
6924
- * <p>Specify <code>true</code> so that the response returns a list of scored Availability Zones.
6925
- * Otherwise, the response returns a list of scored Regions.</p>
6926
- * <p>A list of scored Availability Zones is useful if you want to launch all of your Spot
6927
- * capacity into a single Availability Zone.</p>
6928
- * @public
6929
- */
6930
- SingleAvailabilityZone?: boolean | undefined;
6931
- /**
6932
- * <p>The Regions used to narrow down the list of Regions to be scored. Enter the Region code,
6933
- * for example, <code>us-east-1</code>.</p>
6934
- * @public
6935
- */
6936
- RegionNames?: string[] | undefined;
6937
- /**
6938
- * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
6939
- * identify instance types with those attributes.</p>
6940
- * <p>If you specify <code>InstanceRequirementsWithMetadata</code>, you can't specify
6941
- * <code>InstanceTypes</code>.</p>
6942
- * @public
6943
- */
6944
- InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | undefined;
6945
- /**
6946
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6947
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6948
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6949
- * @public
6950
- */
6951
- DryRun?: boolean | undefined;
6952
- /**
6953
- * <p>The maximum number of items to return for this request.
6954
- * To get the next page of items, make another request with the token returned in the output.
6955
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
6956
- * @public
6957
- */
6958
- MaxResults?: number | undefined;
6959
- /**
6960
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
6961
- * @public
6962
- */
6963
- NextToken?: string | undefined;
6964
- }
6965
6952
  /**
6966
6953
  * @internal
6967
6954
  */
@@ -1,10 +1,102 @@
1
1
  import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, InstanceEventWindow, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, Ipam, IpamMeteredAccount, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, InternetGatewayExclusionMode, IpAddressType, LocalGatewayRoute, ManagedPrefixList, RouteServer, RouteServerPersistRoutesAction, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, InstanceRequirementsRequest, IpAddressType, Ipam, IpamMeteredAccount, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, InternetGatewayExclusionMode, LocalGatewayRoute, ManagedPrefixList, RouteServer, RouteServerPersistRoutesAction, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
4
4
  import { Byoasn, CapacityBlock, CapacityBlockExtension, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_3";
5
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_4";
5
+ import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues, VirtualizationType } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InternetGatewayBlockMode, LaunchTemplateConfig, LockState, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
7
  import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * <p>The architecture type, virtualization type, and other attributes for the instance types.
10
+ * When you specify instance attributes, Amazon EC2 will identify instance types with those
11
+ * attributes.</p>
12
+ * <p>If you specify <code>InstanceRequirementsWithMetadataRequest</code>, you can't specify
13
+ * <code>InstanceTypes</code>.</p>
14
+ * @public
15
+ */
16
+ export interface InstanceRequirementsWithMetadataRequest {
17
+ /**
18
+ * <p>The architecture type.</p>
19
+ * @public
20
+ */
21
+ ArchitectureTypes?: ArchitectureType[] | undefined;
22
+ /**
23
+ * <p>The virtualization type.</p>
24
+ * @public
25
+ */
26
+ VirtualizationTypes?: VirtualizationType[] | undefined;
27
+ /**
28
+ * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
29
+ * identify instance types with those attributes.</p>
30
+ * @public
31
+ */
32
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
33
+ }
34
+ /**
35
+ * @public
36
+ */
37
+ export interface GetSpotPlacementScoresRequest {
38
+ /**
39
+ * <p>The instance types. We recommend that you specify at least three instance types. If you
40
+ * specify one or two instance types, or specify variations of a single instance type (for
41
+ * example, an <code>m3.xlarge</code> with and without instance storage), the returned
42
+ * placement score will always be low. </p>
43
+ * <p>If you specify <code>InstanceTypes</code>, you can't specify
44
+ * <code>InstanceRequirementsWithMetadata</code>.</p>
45
+ * @public
46
+ */
47
+ InstanceTypes?: string[] | undefined;
48
+ /**
49
+ * <p>The target capacity.</p>
50
+ * @public
51
+ */
52
+ TargetCapacity: number | undefined;
53
+ /**
54
+ * <p>The unit for the target capacity.</p>
55
+ * @public
56
+ */
57
+ TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
58
+ /**
59
+ * <p>Specify <code>true</code> so that the response returns a list of scored Availability Zones.
60
+ * Otherwise, the response returns a list of scored Regions.</p>
61
+ * <p>A list of scored Availability Zones is useful if you want to launch all of your Spot
62
+ * capacity into a single Availability Zone.</p>
63
+ * @public
64
+ */
65
+ SingleAvailabilityZone?: boolean | undefined;
66
+ /**
67
+ * <p>The Regions used to narrow down the list of Regions to be scored. Enter the Region code,
68
+ * for example, <code>us-east-1</code>.</p>
69
+ * @public
70
+ */
71
+ RegionNames?: string[] | undefined;
72
+ /**
73
+ * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
74
+ * identify instance types with those attributes.</p>
75
+ * <p>If you specify <code>InstanceRequirementsWithMetadata</code>, you can't specify
76
+ * <code>InstanceTypes</code>.</p>
77
+ * @public
78
+ */
79
+ InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest | undefined;
80
+ /**
81
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
82
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
83
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
84
+ * @public
85
+ */
86
+ DryRun?: boolean | undefined;
87
+ /**
88
+ * <p>The maximum number of items to return for this request.
89
+ * To get the next page of items, make another request with the token returned in the output.
90
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
91
+ * @public
92
+ */
93
+ MaxResults?: number | undefined;
94
+ /**
95
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
96
+ * @public
97
+ */
98
+ NextToken?: string | undefined;
99
+ }
8
100
  /**
9
101
  * <p>The Spot placement score for this Region or Availability Zone. The score is calculated
10
102
  * based on the assumption that the <code>capacity-optimized</code> allocation strategy is
@@ -8378,31 +8470,6 @@ export interface RegisterTransitGatewayMulticastGroupSourcesResult {
8378
8470
  */
8379
8471
  RegisteredMulticastGroupSources?: TransitGatewayMulticastRegisteredGroupSources | undefined;
8380
8472
  }
8381
- /**
8382
- * @public
8383
- */
8384
- export interface RejectCapacityReservationBillingOwnershipRequest {
8385
- /**
8386
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8387
- * @public
8388
- */
8389
- DryRun?: boolean | undefined;
8390
- /**
8391
- * <p>The ID of the Capacity Reservation for which to reject the request.</p>
8392
- * @public
8393
- */
8394
- CapacityReservationId: string | undefined;
8395
- }
8396
- /**
8397
- * @public
8398
- */
8399
- export interface RejectCapacityReservationBillingOwnershipResult {
8400
- /**
8401
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8402
- * @public
8403
- */
8404
- Return?: boolean | undefined;
8405
- }
8406
8473
  /**
8407
8474
  * @internal
8408
8475
  */
@@ -5,6 +5,31 @@ import { Filter } from "./models_3";
5
5
  import { ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
7
7
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_7";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RejectCapacityReservationBillingOwnershipRequest {
12
+ /**
13
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
+ * @public
15
+ */
16
+ DryRun?: boolean | undefined;
17
+ /**
18
+ * <p>The ID of the Capacity Reservation for which to reject the request.</p>
19
+ * @public
20
+ */
21
+ CapacityReservationId: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface RejectCapacityReservationBillingOwnershipResult {
27
+ /**
28
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
29
+ * @public
30
+ */
31
+ Return?: boolean | undefined;
32
+ }
8
33
  /**
9
34
  * @public
10
35
  */
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeVpcEndpointServiceConfigurationsRequest } from "../models/models_5";
9
- import { DescribeVpcEndpointServiceConfigurationsResult } from "../models/models_6";
8
+ import {
9
+ DescribeVpcEndpointServiceConfigurationsRequest,
10
+ DescribeVpcEndpointServiceConfigurationsResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeVpcEndpointServiceConfigurationsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeVpcEndpointsRequest,
10
- DescribeVpcEndpointsResult,
11
- } from "../models/models_5";
8
+ import { DescribeVpcEndpointsRequest } from "../models/models_5";
9
+ import { DescribeVpcEndpointsResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeVpcEndpointsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetSpotPlacementScoresRequest } from "../models/models_6";
9
- import { GetSpotPlacementScoresResult } from "../models/models_7";
8
+ import {
9
+ GetSpotPlacementScoresRequest,
10
+ GetSpotPlacementScoresResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetSpotPlacementScoresCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  RejectCapacityReservationBillingOwnershipRequest,
10
10
  RejectCapacityReservationBillingOwnershipResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface RejectCapacityReservationBillingOwnershipCommandInput
@@ -2159,6 +2159,12 @@ export interface CreateImageRequest {
2159
2159
  export interface CreateImageResult {
2160
2160
  ImageId?: string | undefined;
2161
2161
  }
2162
+ export declare const IpAddressType: {
2163
+ readonly dualstack: "dualstack";
2164
+ readonly ipv4: "ipv4";
2165
+ readonly ipv6: "ipv6";
2166
+ };
2167
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
2162
2168
  export interface CreateInstanceConnectEndpointRequest {
2163
2169
  DryRun?: boolean | undefined;
2164
2170
  SubnetId: string | undefined;
@@ -2166,6 +2172,7 @@ export interface CreateInstanceConnectEndpointRequest {
2166
2172
  PreserveClientIp?: boolean | undefined;
2167
2173
  ClientToken?: string | undefined;
2168
2174
  TagSpecifications?: TagSpecification[] | undefined;
2175
+ IpAddressType?: IpAddressType | undefined;
2169
2176
  }
2170
2177
  export declare const Ec2InstanceConnectEndpointState: {
2171
2178
  readonly create_complete: "create-complete";
@@ -2193,6 +2200,7 @@ export interface Ec2InstanceConnectEndpoint {
2193
2200
  PreserveClientIp?: boolean | undefined;
2194
2201
  SecurityGroupIds?: string[] | undefined;
2195
2202
  Tags?: Tag[] | undefined;
2203
+ IpAddressType?: IpAddressType | undefined;
2196
2204
  }
2197
2205
  export interface CreateInstanceConnectEndpointResult {
2198
2206
  InstanceConnectEndpoint?: Ec2InstanceConnectEndpoint | undefined;
@@ -3013,9 +3021,6 @@ export interface ConnectionTrackingSpecification {
3013
3021
  UdpTimeout?: number | undefined;
3014
3022
  UdpStreamTimeout?: number | undefined;
3015
3023
  }
3016
- export interface LaunchTemplateEnaSrdUdpSpecification {
3017
- EnaSrdUdpEnabled?: boolean | undefined;
3018
- }
3019
3024
  export declare const CopySnapshotRequestFilterSensitiveLog: (
3020
3025
  obj: CopySnapshotRequest
3021
3026
  ) => any;