@aws-sdk/client-ec2 3.873.0 → 3.875.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +40 -5
- package/dist-es/models/models_1.js +10 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +21 -0
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -2
- package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -2
- package/dist-types/models/models_1.d.ts +40 -89
- package/dist-types/models/models_2.d.ts +89 -33
- package/dist-types/models/models_3.d.ts +33 -184
- package/dist-types/models/models_4.d.ts +200 -49
- package/dist-types/models/models_5.d.ts +49 -130
- package/dist-types/models/models_6.d.ts +132 -42
- package/dist-types/models/models_7.d.ts +38 -48
- package/dist-types/models/models_8.d.ts +49 -1
- package/dist-types/ts3.4/commands/DescribeCapacityReservationFleetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +17 -15
- package/dist-types/ts3.4/models/models_2.d.ts +18 -9
- package/dist-types/ts3.4/models/models_3.d.ts +8 -13
- package/dist-types/ts3.4/models/models_4.d.ts +17 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -22
- package/dist-types/ts3.4/models/models_6.d.ts +24 -8
- package/dist-types/ts3.4/models/models_7.d.ts +7 -11
- package/dist-types/ts3.4/models/models_8.d.ts +11 -1
- package/package.json +1 -1
|
@@ -1,5 +1,93 @@
|
|
|
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, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, IpAddressType, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions,
|
|
2
|
+
import { _InstanceType, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, IpAddressType, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateHttpTokensState, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LaunchTemplateLicenseConfiguration, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const LaunchTemplateInstanceMetadataOptionsState: {
|
|
8
|
+
readonly applied: "applied";
|
|
9
|
+
readonly pending: "pending";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type LaunchTemplateInstanceMetadataOptionsState = (typeof LaunchTemplateInstanceMetadataOptionsState)[keyof typeof LaunchTemplateInstanceMetadataOptionsState];
|
|
15
|
+
/**
|
|
16
|
+
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Use
|
|
17
|
+
* instance metadata to manage your EC2 instance</a> in the
|
|
18
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface LaunchTemplateInstanceMetadataOptions {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The state of the metadata option changes.</p>
|
|
24
|
+
* <p>
|
|
25
|
+
* <code>pending</code> - The metadata options are being updated and the instance is not
|
|
26
|
+
* ready to process metadata traffic with the new selection.</p>
|
|
27
|
+
* <p>
|
|
28
|
+
* <code>applied</code> - The metadata options have been successfully applied on the
|
|
29
|
+
* instance.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
State?: LaunchTemplateInstanceMetadataOptionsState | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>Indicates whether IMDSv2 is required.</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
|
|
39
|
+
* session token in your instance metadata retrieval requests. If you retrieve IAM
|
|
40
|
+
* role credentials without a session token, you receive the IMDSv1 role
|
|
41
|
+
* credentials. If you retrieve IAM role credentials using a valid session token,
|
|
42
|
+
* you receive the IMDSv2 role credentials.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>required</code> - IMDSv2 is required. You must send a session token in
|
|
47
|
+
* your instance metadata retrieval requests. With this option, retrieving the IAM
|
|
48
|
+
* role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not
|
|
49
|
+
* available.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
HttpTokens?: LaunchTemplateHttpTokensState | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
57
|
+
* number, the further instance metadata requests can travel.</p>
|
|
58
|
+
* <p>Default: 1</p>
|
|
59
|
+
* <p>Possible values: Integers from 1 to 64</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
HttpPutResponseHopLimit?: number | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
|
|
65
|
+
* not specified, the default state is <code>enabled</code>.</p>
|
|
66
|
+
* <note>
|
|
67
|
+
* <p>If you specify a value of <code>disabled</code>, you will not be able to access
|
|
68
|
+
* your instance metadata. </p>
|
|
69
|
+
* </note>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
|
|
75
|
+
* <p>Default: <code>disabled</code>
|
|
76
|
+
* </p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Set to <code>enabled</code> to allow access to instance tags from the instance
|
|
82
|
+
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the
|
|
83
|
+
* instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html">View tags for your EC2
|
|
84
|
+
* instances using instance metadata</a>.</p>
|
|
85
|
+
* <p>Default: <code>disabled</code>
|
|
86
|
+
* </p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | undefined;
|
|
90
|
+
}
|
|
3
91
|
/**
|
|
4
92
|
* <p>Describes the monitoring for the instance.</p>
|
|
5
93
|
* @public
|
|
@@ -9427,38 +9515,6 @@ export interface SecurityGroupIdentifier {
|
|
|
9427
9515
|
*/
|
|
9428
9516
|
GroupName?: string | undefined;
|
|
9429
9517
|
}
|
|
9430
|
-
/**
|
|
9431
|
-
* <p>Prefixes of the subnet IP.</p>
|
|
9432
|
-
* @public
|
|
9433
|
-
*/
|
|
9434
|
-
export interface SubnetIpPrefixes {
|
|
9435
|
-
/**
|
|
9436
|
-
* <p>ID of the subnet.</p>
|
|
9437
|
-
* @public
|
|
9438
|
-
*/
|
|
9439
|
-
SubnetId?: string | undefined;
|
|
9440
|
-
/**
|
|
9441
|
-
* <p>Array of SubnetIpPrefixes objects.</p>
|
|
9442
|
-
* @public
|
|
9443
|
-
*/
|
|
9444
|
-
IpPrefixes?: string[] | undefined;
|
|
9445
|
-
}
|
|
9446
|
-
/**
|
|
9447
|
-
* <p>The last error that occurred for a VPC endpoint.</p>
|
|
9448
|
-
* @public
|
|
9449
|
-
*/
|
|
9450
|
-
export interface LastError {
|
|
9451
|
-
/**
|
|
9452
|
-
* <p>The error message for the VPC endpoint error.</p>
|
|
9453
|
-
* @public
|
|
9454
|
-
*/
|
|
9455
|
-
Message?: string | undefined;
|
|
9456
|
-
/**
|
|
9457
|
-
* <p>The error code for the VPC endpoint error.</p>
|
|
9458
|
-
* @public
|
|
9459
|
-
*/
|
|
9460
|
-
Code?: string | undefined;
|
|
9461
|
-
}
|
|
9462
9518
|
/**
|
|
9463
9519
|
* @internal
|
|
9464
9520
|
*/
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, BundleTask, ByoipCidr, CapacityReservationFleetState, InstanceEventWindowState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { CapacityReservationTenancy, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, IpAddressType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate } from "./models_1";
|
|
3
|
-
import { DnsEntry, DnsOptions,
|
|
3
|
+
import { DnsEntry, DnsOptions, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SecurityGroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpointType } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Prefixes of the subnet IP.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface SubnetIpPrefixes {
|
|
9
|
+
/**
|
|
10
|
+
* <p>ID of the subnet.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
SubnetId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>Array of SubnetIpPrefixes objects.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
IpPrefixes?: string[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>The last error that occurred for a VPC endpoint.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface LastError {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The error message for the VPC endpoint error.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
Message?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The error code for the VPC endpoint error.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
Code?: string | undefined;
|
|
35
|
+
}
|
|
4
36
|
/**
|
|
5
37
|
* @public
|
|
6
38
|
* @enum
|
|
@@ -6633,189 +6665,6 @@ export interface CapacityReservationFleet {
|
|
|
6633
6665
|
*/
|
|
6634
6666
|
Tags?: Tag[] | undefined;
|
|
6635
6667
|
}
|
|
6636
|
-
/**
|
|
6637
|
-
* @public
|
|
6638
|
-
*/
|
|
6639
|
-
export interface DescribeCapacityReservationFleetsResult {
|
|
6640
|
-
/**
|
|
6641
|
-
* <p>Information about the Capacity Reservation Fleets.</p>
|
|
6642
|
-
* @public
|
|
6643
|
-
*/
|
|
6644
|
-
CapacityReservationFleets?: CapacityReservationFleet[] | undefined;
|
|
6645
|
-
/**
|
|
6646
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
6647
|
-
* @public
|
|
6648
|
-
*/
|
|
6649
|
-
NextToken?: string | undefined;
|
|
6650
|
-
}
|
|
6651
|
-
/**
|
|
6652
|
-
* @public
|
|
6653
|
-
*/
|
|
6654
|
-
export interface DescribeCapacityReservationsRequest {
|
|
6655
|
-
/**
|
|
6656
|
-
* <p>The ID of the Capacity Reservation.</p>
|
|
6657
|
-
* @public
|
|
6658
|
-
*/
|
|
6659
|
-
CapacityReservationIds?: string[] | undefined;
|
|
6660
|
-
/**
|
|
6661
|
-
* <p>The token to use to retrieve the next page of results.</p>
|
|
6662
|
-
* @public
|
|
6663
|
-
*/
|
|
6664
|
-
NextToken?: string | undefined;
|
|
6665
|
-
/**
|
|
6666
|
-
* <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
|
|
6667
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
6668
|
-
* @public
|
|
6669
|
-
*/
|
|
6670
|
-
MaxResults?: number | undefined;
|
|
6671
|
-
/**
|
|
6672
|
-
* <p>One or more filters.</p>
|
|
6673
|
-
* <ul>
|
|
6674
|
-
* <li>
|
|
6675
|
-
* <p>
|
|
6676
|
-
* <code>instance-type</code> - The type of instance for which the Capacity
|
|
6677
|
-
* Reservation reserves capacity.</p>
|
|
6678
|
-
* </li>
|
|
6679
|
-
* <li>
|
|
6680
|
-
* <p>
|
|
6681
|
-
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
|
|
6682
|
-
* Capacity Reservation.</p>
|
|
6683
|
-
* </li>
|
|
6684
|
-
* <li>
|
|
6685
|
-
* <p>
|
|
6686
|
-
* <code>instance-platform</code> - The type of operating system for which the
|
|
6687
|
-
* Capacity Reservation reserves capacity.</p>
|
|
6688
|
-
* </li>
|
|
6689
|
-
* <li>
|
|
6690
|
-
* <p>
|
|
6691
|
-
* <code>availability-zone</code> - The Availability Zone of the Capacity
|
|
6692
|
-
* Reservation.</p>
|
|
6693
|
-
* </li>
|
|
6694
|
-
* <li>
|
|
6695
|
-
* <p>
|
|
6696
|
-
* <code>tenancy</code> - Indicates the tenancy of the Capacity Reservation. A
|
|
6697
|
-
* Capacity Reservation can have one of the following tenancy settings:</p>
|
|
6698
|
-
* <ul>
|
|
6699
|
-
* <li>
|
|
6700
|
-
* <p>
|
|
6701
|
-
* <code>default</code> - The Capacity Reservation is created on hardware
|
|
6702
|
-
* that is shared with other Amazon Web Services accounts.</p>
|
|
6703
|
-
* </li>
|
|
6704
|
-
* <li>
|
|
6705
|
-
* <p>
|
|
6706
|
-
* <code>dedicated</code> - The Capacity Reservation is created on
|
|
6707
|
-
* single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
6708
|
-
* </li>
|
|
6709
|
-
* </ul>
|
|
6710
|
-
* </li>
|
|
6711
|
-
* <li>
|
|
6712
|
-
* <p>
|
|
6713
|
-
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost on
|
|
6714
|
-
* which the Capacity Reservation was created.</p>
|
|
6715
|
-
* </li>
|
|
6716
|
-
* <li>
|
|
6717
|
-
* <p>
|
|
6718
|
-
* <code>state</code> - The current state of the Capacity Reservation. A Capacity
|
|
6719
|
-
* Reservation can be in one of the following states:</p>
|
|
6720
|
-
* <ul>
|
|
6721
|
-
* <li>
|
|
6722
|
-
* <p>
|
|
6723
|
-
* <code>active</code>- The Capacity Reservation is active and the
|
|
6724
|
-
* capacity is available for your use.</p>
|
|
6725
|
-
* </li>
|
|
6726
|
-
* <li>
|
|
6727
|
-
* <p>
|
|
6728
|
-
* <code>expired</code> - The Capacity Reservation expired automatically
|
|
6729
|
-
* at the date and time specified in your request. The reserved capacity is
|
|
6730
|
-
* no longer available for your use.</p>
|
|
6731
|
-
* </li>
|
|
6732
|
-
* <li>
|
|
6733
|
-
* <p>
|
|
6734
|
-
* <code>cancelled</code> - The Capacity Reservation was cancelled. The
|
|
6735
|
-
* reserved capacity is no longer available for your use.</p>
|
|
6736
|
-
* </li>
|
|
6737
|
-
* <li>
|
|
6738
|
-
* <p>
|
|
6739
|
-
* <code>pending</code> - The Capacity Reservation request was successful
|
|
6740
|
-
* but the capacity provisioning is still pending.</p>
|
|
6741
|
-
* </li>
|
|
6742
|
-
* <li>
|
|
6743
|
-
* <p>
|
|
6744
|
-
* <code>failed</code> - The Capacity Reservation request has failed. A
|
|
6745
|
-
* request might fail due to invalid request parameters, capacity
|
|
6746
|
-
* constraints, or instance limit constraints. Failed requests are retained
|
|
6747
|
-
* for 60 minutes.</p>
|
|
6748
|
-
* </li>
|
|
6749
|
-
* </ul>
|
|
6750
|
-
* </li>
|
|
6751
|
-
* <li>
|
|
6752
|
-
* <p>
|
|
6753
|
-
* <code>start-date</code> - The date and time at which the Capacity Reservation
|
|
6754
|
-
* was started.</p>
|
|
6755
|
-
* </li>
|
|
6756
|
-
* <li>
|
|
6757
|
-
* <p>
|
|
6758
|
-
* <code>end-date</code> - The date and time at which the Capacity Reservation
|
|
6759
|
-
* expires. When a Capacity Reservation expires, the reserved capacity is released
|
|
6760
|
-
* and you can no longer launch instances into it. The Capacity Reservation's state
|
|
6761
|
-
* changes to expired when it reaches its end date and time.</p>
|
|
6762
|
-
* </li>
|
|
6763
|
-
* <li>
|
|
6764
|
-
* <p>
|
|
6765
|
-
* <code>end-date-type</code> - Indicates the way in which the Capacity
|
|
6766
|
-
* Reservation ends. A Capacity Reservation can have one of the following end
|
|
6767
|
-
* types:</p>
|
|
6768
|
-
* <ul>
|
|
6769
|
-
* <li>
|
|
6770
|
-
* <p>
|
|
6771
|
-
* <code>unlimited</code> - The Capacity Reservation remains active until
|
|
6772
|
-
* you explicitly cancel it.</p>
|
|
6773
|
-
* </li>
|
|
6774
|
-
* <li>
|
|
6775
|
-
* <p>
|
|
6776
|
-
* <code>limited</code> - The Capacity Reservation expires automatically
|
|
6777
|
-
* at a specified date and time.</p>
|
|
6778
|
-
* </li>
|
|
6779
|
-
* </ul>
|
|
6780
|
-
* </li>
|
|
6781
|
-
* <li>
|
|
6782
|
-
* <p>
|
|
6783
|
-
* <code>instance-match-criteria</code> - Indicates the type of instance launches
|
|
6784
|
-
* that the Capacity Reservation accepts. The options include:</p>
|
|
6785
|
-
* <ul>
|
|
6786
|
-
* <li>
|
|
6787
|
-
* <p>
|
|
6788
|
-
* <code>open</code> - The Capacity Reservation accepts all instances
|
|
6789
|
-
* that have matching attributes (instance type, platform, and Availability
|
|
6790
|
-
* Zone). Instances that have matching attributes launch into the Capacity
|
|
6791
|
-
* Reservation automatically without specifying any additional
|
|
6792
|
-
* parameters.</p>
|
|
6793
|
-
* </li>
|
|
6794
|
-
* <li>
|
|
6795
|
-
* <p>
|
|
6796
|
-
* <code>targeted</code> - The Capacity Reservation only accepts
|
|
6797
|
-
* instances that have matching attributes (instance type, platform, and
|
|
6798
|
-
* Availability Zone), and explicitly target the Capacity Reservation. This
|
|
6799
|
-
* ensures that only permitted instances can use the reserved
|
|
6800
|
-
* capacity.</p>
|
|
6801
|
-
* </li>
|
|
6802
|
-
* </ul>
|
|
6803
|
-
* </li>
|
|
6804
|
-
* <li>
|
|
6805
|
-
* <p>
|
|
6806
|
-
* <code>placement-group-arn</code> - The ARN of the cluster placement group in
|
|
6807
|
-
* which the Capacity Reservation was created.</p>
|
|
6808
|
-
* </li>
|
|
6809
|
-
* </ul>
|
|
6810
|
-
* @public
|
|
6811
|
-
*/
|
|
6812
|
-
Filters?: Filter[] | undefined;
|
|
6813
|
-
/**
|
|
6814
|
-
* <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>
|
|
6815
|
-
* @public
|
|
6816
|
-
*/
|
|
6817
|
-
DryRun?: boolean | undefined;
|
|
6818
|
-
}
|
|
6819
6668
|
/**
|
|
6820
6669
|
* @internal
|
|
6821
6670
|
*/
|
|
@@ -1,7 +1,190 @@
|
|
|
1
1
|
import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag } from "./models_0";
|
|
2
|
-
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationPreference, CapacityReservationTargetResponse, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, IpamExternalResourceVerificationToken,
|
|
2
|
+
import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationPreference, CapacityReservationTargetResponse, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, EndpointIpAddressType, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceLifecycle, InternetGateway, IpamExternalResourceVerificationToken, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficIpAddressType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
3
|
import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
|
|
4
|
-
import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
4
|
+
import { Byoasn, CapacityReservationFleet, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeCapacityReservationFleetsResult {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Information about the Capacity Reservation Fleets.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
CapacityReservationFleets?: CapacityReservationFleet[] | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
NextToken?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface DescribeCapacityReservationsRequest {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The ID of the Capacity Reservation.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
CapacityReservationIds?: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The token to use to retrieve the next page of results.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
NextToken?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information,
|
|
36
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
MaxResults?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>One or more filters.</p>
|
|
42
|
+
* <ul>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <code>instance-type</code> - The type of instance for which the Capacity
|
|
46
|
+
* Reservation reserves capacity.</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
|
|
51
|
+
* Capacity Reservation.</p>
|
|
52
|
+
* </li>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>
|
|
55
|
+
* <code>instance-platform</code> - The type of operating system for which the
|
|
56
|
+
* Capacity Reservation reserves capacity.</p>
|
|
57
|
+
* </li>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>
|
|
60
|
+
* <code>availability-zone</code> - The Availability Zone of the Capacity
|
|
61
|
+
* Reservation.</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>
|
|
65
|
+
* <code>tenancy</code> - Indicates the tenancy of the Capacity Reservation. A
|
|
66
|
+
* Capacity Reservation can have one of the following tenancy settings:</p>
|
|
67
|
+
* <ul>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <code>default</code> - The Capacity Reservation is created on hardware
|
|
71
|
+
* that is shared with other Amazon Web Services accounts.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <code>dedicated</code> - The Capacity Reservation is created on
|
|
76
|
+
* single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost on
|
|
83
|
+
* which the Capacity Reservation was created.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <code>state</code> - The current state of the Capacity Reservation. A Capacity
|
|
88
|
+
* Reservation can be in one of the following states:</p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>active</code>- The Capacity Reservation is active and the
|
|
93
|
+
* capacity is available for your use.</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>
|
|
97
|
+
* <code>expired</code> - The Capacity Reservation expired automatically
|
|
98
|
+
* at the date and time specified in your request. The reserved capacity is
|
|
99
|
+
* no longer available for your use.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>
|
|
103
|
+
* <code>cancelled</code> - The Capacity Reservation was cancelled. The
|
|
104
|
+
* reserved capacity is no longer available for your use.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>
|
|
108
|
+
* <code>pending</code> - The Capacity Reservation request was successful
|
|
109
|
+
* but the capacity provisioning is still pending.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>
|
|
113
|
+
* <code>failed</code> - The Capacity Reservation request has failed. A
|
|
114
|
+
* request might fail due to invalid request parameters, capacity
|
|
115
|
+
* constraints, or instance limit constraints. Failed requests are retained
|
|
116
|
+
* for 60 minutes.</p>
|
|
117
|
+
* </li>
|
|
118
|
+
* </ul>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>
|
|
122
|
+
* <code>start-date</code> - The date and time at which the Capacity Reservation
|
|
123
|
+
* was started.</p>
|
|
124
|
+
* </li>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>
|
|
127
|
+
* <code>end-date</code> - The date and time at which the Capacity Reservation
|
|
128
|
+
* expires. When a Capacity Reservation expires, the reserved capacity is released
|
|
129
|
+
* and you can no longer launch instances into it. The Capacity Reservation's state
|
|
130
|
+
* changes to expired when it reaches its end date and time.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <code>end-date-type</code> - Indicates the way in which the Capacity
|
|
135
|
+
* Reservation ends. A Capacity Reservation can have one of the following end
|
|
136
|
+
* types:</p>
|
|
137
|
+
* <ul>
|
|
138
|
+
* <li>
|
|
139
|
+
* <p>
|
|
140
|
+
* <code>unlimited</code> - The Capacity Reservation remains active until
|
|
141
|
+
* you explicitly cancel it.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>
|
|
145
|
+
* <code>limited</code> - The Capacity Reservation expires automatically
|
|
146
|
+
* at a specified date and time.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
149
|
+
* </li>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>
|
|
152
|
+
* <code>instance-match-criteria</code> - Indicates the type of instance launches
|
|
153
|
+
* that the Capacity Reservation accepts. The options include:</p>
|
|
154
|
+
* <ul>
|
|
155
|
+
* <li>
|
|
156
|
+
* <p>
|
|
157
|
+
* <code>open</code> - The Capacity Reservation accepts all instances
|
|
158
|
+
* that have matching attributes (instance type, platform, and Availability
|
|
159
|
+
* Zone). Instances that have matching attributes launch into the Capacity
|
|
160
|
+
* Reservation automatically without specifying any additional
|
|
161
|
+
* parameters.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>
|
|
165
|
+
* <code>targeted</code> - The Capacity Reservation only accepts
|
|
166
|
+
* instances that have matching attributes (instance type, platform, and
|
|
167
|
+
* Availability Zone), and explicitly target the Capacity Reservation. This
|
|
168
|
+
* ensures that only permitted instances can use the reserved
|
|
169
|
+
* capacity.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* </ul>
|
|
172
|
+
* </li>
|
|
173
|
+
* <li>
|
|
174
|
+
* <p>
|
|
175
|
+
* <code>placement-group-arn</code> - The ARN of the cluster placement group in
|
|
176
|
+
* which the Capacity Reservation was created.</p>
|
|
177
|
+
* </li>
|
|
178
|
+
* </ul>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
Filters?: Filter[] | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <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>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
DryRun?: boolean | undefined;
|
|
187
|
+
}
|
|
5
188
|
/**
|
|
6
189
|
* @public
|
|
7
190
|
*/
|
|
@@ -418,6 +601,11 @@ export interface ClientVpnConnection {
|
|
|
418
601
|
* @public
|
|
419
602
|
*/
|
|
420
603
|
ClientIp?: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* <p>The IPv6 address assigned to the client connection when using a dual-stack Client VPN endpoint. This field is only populated when the endpoint is configured for dual-stack addressing, and the client is using IPv6 for connectivity.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
ClientIpv6Address?: string | undefined;
|
|
421
609
|
/**
|
|
422
610
|
* <p>The common name associated with the client. This is either the name of the client certificate,
|
|
423
611
|
* or the Active Directory user name.</p>
|
|
@@ -848,6 +1036,16 @@ export interface ClientVpnEndpoint {
|
|
|
848
1036
|
* @public
|
|
849
1037
|
*/
|
|
850
1038
|
DisconnectOnSessionTimeout?: boolean | undefined;
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>The IP address type of the Client VPN endpoint. Possible values are <code>ipv4</code> for IPv4 addressing only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack </code>for both IPv4 and IPv6 addressing.</p>
|
|
1041
|
+
* @public
|
|
1042
|
+
*/
|
|
1043
|
+
EndpointIpAddressType?: EndpointIpAddressType | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>The IP address type of the Client VPN endpoint. Possible values are either <code>ipv4</code> for IPv4 addressing only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack</code> for both IPv4 and IPv6 addressing.</p>
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
1048
|
+
TrafficIpAddressType?: TrafficIpAddressType | undefined;
|
|
851
1049
|
}
|
|
852
1050
|
/**
|
|
853
1051
|
* @public
|
|
@@ -10728,53 +10926,6 @@ export interface DescribeIpamPoolsRequest {
|
|
|
10728
10926
|
*/
|
|
10729
10927
|
IpamPoolIds?: string[] | undefined;
|
|
10730
10928
|
}
|
|
10731
|
-
/**
|
|
10732
|
-
* @public
|
|
10733
|
-
*/
|
|
10734
|
-
export interface DescribeIpamPoolsResult {
|
|
10735
|
-
/**
|
|
10736
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
10737
|
-
* @public
|
|
10738
|
-
*/
|
|
10739
|
-
NextToken?: string | undefined;
|
|
10740
|
-
/**
|
|
10741
|
-
* <p>Information about the IPAM pools.</p>
|
|
10742
|
-
* @public
|
|
10743
|
-
*/
|
|
10744
|
-
IpamPools?: IpamPool[] | undefined;
|
|
10745
|
-
}
|
|
10746
|
-
/**
|
|
10747
|
-
* @public
|
|
10748
|
-
*/
|
|
10749
|
-
export interface DescribeIpamResourceDiscoveriesRequest {
|
|
10750
|
-
/**
|
|
10751
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
10752
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
10753
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
10754
|
-
* @public
|
|
10755
|
-
*/
|
|
10756
|
-
DryRun?: boolean | undefined;
|
|
10757
|
-
/**
|
|
10758
|
-
* <p>The IPAM resource discovery IDs.</p>
|
|
10759
|
-
* @public
|
|
10760
|
-
*/
|
|
10761
|
-
IpamResourceDiscoveryIds?: string[] | undefined;
|
|
10762
|
-
/**
|
|
10763
|
-
* <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
|
|
10764
|
-
* @public
|
|
10765
|
-
*/
|
|
10766
|
-
NextToken?: string | undefined;
|
|
10767
|
-
/**
|
|
10768
|
-
* <p>The maximum number of resource discoveries to return in one page of results.</p>
|
|
10769
|
-
* @public
|
|
10770
|
-
*/
|
|
10771
|
-
MaxResults?: number | undefined;
|
|
10772
|
-
/**
|
|
10773
|
-
* <p>The resource discovery filters.</p>
|
|
10774
|
-
* @public
|
|
10775
|
-
*/
|
|
10776
|
-
Filters?: Filter[] | undefined;
|
|
10777
|
-
}
|
|
10778
10929
|
/**
|
|
10779
10930
|
* @internal
|
|
10780
10931
|
*/
|