@aws-sdk/client-ec2 3.865.0 → 3.868.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/README.md +8 -0
- package/dist-cjs/index.js +144 -35
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceConnectEndpointCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +3 -0
- package/dist-es/models/models_2.js +0 -11
- package/dist-es/models/models_3.js +11 -0
- package/dist-es/protocols/Aws_ec2.js +110 -22
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
- package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +11 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceConnectEndpointCommand.d.ts +81 -0
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
- package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +42 -44
- package/dist-types/models/models_2.d.ts +49 -152
- package/dist-types/models/models_3.d.ts +153 -78
- package/dist-types/models/models_4.d.ts +79 -60
- package/dist-types/models/models_5.d.ts +50 -99
- package/dist-types/models/models_6.d.ts +94 -61
- package/dist-types/models/models_7.d.ts +132 -70
- package/dist-types/models/models_8.d.ts +69 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +12 -8
- package/dist-types/ts3.4/models/models_2.d.ts +9 -41
- package/dist-types/ts3.4/models/models_3.d.ts +46 -13
- package/dist-types/ts3.4/models/models_4.d.ts +12 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -13
- package/dist-types/ts3.4/models/models_6.d.ts +13 -9
- package/dist-types/ts3.4/models/models_7.d.ts +19 -21
- package/dist-types/ts3.4/models/models_8.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,5 +1,48 @@
|
|
|
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,
|
|
2
|
+
import { _InstanceType, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, IpAddressType, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, SnapshotLocationEnum, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Describes the monitoring for the instance.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface LaunchTemplatesMonitoring {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
|
|
10
|
+
* enabled.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Enabled?: boolean | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>A security group connection tracking specification that enables you to set the idle
|
|
17
|
+
* timeout for connection tracking on an Elastic network interface. For more information,
|
|
18
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
|
|
19
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface ConnectionTrackingSpecification {
|
|
23
|
+
/**
|
|
24
|
+
* <p>Timeout (in seconds) for idle TCP
|
|
25
|
+
* connections in an established state. Min: 60 seconds. Max: 432000 seconds (5
|
|
26
|
+
* days). Default: 432000 seconds. Recommended: Less than 432000 seconds.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
TcpEstablishedTimeout?: number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>Timeout (in seconds) for idle UDP flows that
|
|
32
|
+
* have seen traffic only in a single direction or a single request-response
|
|
33
|
+
* transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
UdpTimeout?: number | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>Timeout (in seconds) for idle UDP
|
|
39
|
+
* flows classified as streams which have seen more than one request-response
|
|
40
|
+
* transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180
|
|
41
|
+
* seconds.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
UdpStreamTimeout?: number | undefined;
|
|
45
|
+
}
|
|
3
46
|
/**
|
|
4
47
|
* <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
|
|
5
48
|
* automatically uses it. However, some UDP-based applications are designed to handle network packets that are
|
|
@@ -4477,6 +4520,11 @@ export interface RouteTableAssociation {
|
|
|
4477
4520
|
* @public
|
|
4478
4521
|
*/
|
|
4479
4522
|
GatewayId?: string | undefined;
|
|
4523
|
+
/**
|
|
4524
|
+
* <p>The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.</p>
|
|
4525
|
+
* @public
|
|
4526
|
+
*/
|
|
4527
|
+
PublicIpv4Pool?: string | undefined;
|
|
4480
4528
|
/**
|
|
4481
4529
|
* <p>The state of the association.</p>
|
|
4482
4530
|
* @public
|
|
@@ -9411,157 +9459,6 @@ export interface LastError {
|
|
|
9411
9459
|
*/
|
|
9412
9460
|
Code?: string | undefined;
|
|
9413
9461
|
}
|
|
9414
|
-
/**
|
|
9415
|
-
* @public
|
|
9416
|
-
* @enum
|
|
9417
|
-
*/
|
|
9418
|
-
export declare const State: {
|
|
9419
|
-
readonly Available: "Available";
|
|
9420
|
-
readonly Deleted: "Deleted";
|
|
9421
|
-
readonly Deleting: "Deleting";
|
|
9422
|
-
readonly Expired: "Expired";
|
|
9423
|
-
readonly Failed: "Failed";
|
|
9424
|
-
readonly Partial: "Partial";
|
|
9425
|
-
readonly Pending: "Pending";
|
|
9426
|
-
readonly PendingAcceptance: "PendingAcceptance";
|
|
9427
|
-
readonly Rejected: "Rejected";
|
|
9428
|
-
};
|
|
9429
|
-
/**
|
|
9430
|
-
* @public
|
|
9431
|
-
*/
|
|
9432
|
-
export type State = (typeof State)[keyof typeof State];
|
|
9433
|
-
/**
|
|
9434
|
-
* <p>Describes a VPC endpoint.</p>
|
|
9435
|
-
* @public
|
|
9436
|
-
*/
|
|
9437
|
-
export interface VpcEndpoint {
|
|
9438
|
-
/**
|
|
9439
|
-
* <p>The ID of the endpoint.</p>
|
|
9440
|
-
* @public
|
|
9441
|
-
*/
|
|
9442
|
-
VpcEndpointId?: string | undefined;
|
|
9443
|
-
/**
|
|
9444
|
-
* <p>The type of endpoint.</p>
|
|
9445
|
-
* @public
|
|
9446
|
-
*/
|
|
9447
|
-
VpcEndpointType?: VpcEndpointType | undefined;
|
|
9448
|
-
/**
|
|
9449
|
-
* <p>The ID of the VPC to which the endpoint is associated.</p>
|
|
9450
|
-
* @public
|
|
9451
|
-
*/
|
|
9452
|
-
VpcId?: string | undefined;
|
|
9453
|
-
/**
|
|
9454
|
-
* <p>The name of the service to which the endpoint is associated.</p>
|
|
9455
|
-
* @public
|
|
9456
|
-
*/
|
|
9457
|
-
ServiceName?: string | undefined;
|
|
9458
|
-
/**
|
|
9459
|
-
* <p>The state of the endpoint.</p>
|
|
9460
|
-
* @public
|
|
9461
|
-
*/
|
|
9462
|
-
State?: State | undefined;
|
|
9463
|
-
/**
|
|
9464
|
-
* <p>The policy document associated with the endpoint, if applicable.</p>
|
|
9465
|
-
* @public
|
|
9466
|
-
*/
|
|
9467
|
-
PolicyDocument?: string | undefined;
|
|
9468
|
-
/**
|
|
9469
|
-
* <p>(Gateway endpoint) The IDs of the route tables associated with the endpoint.</p>
|
|
9470
|
-
* @public
|
|
9471
|
-
*/
|
|
9472
|
-
RouteTableIds?: string[] | undefined;
|
|
9473
|
-
/**
|
|
9474
|
-
* <p>(Interface endpoint) The subnets for the endpoint.</p>
|
|
9475
|
-
* @public
|
|
9476
|
-
*/
|
|
9477
|
-
SubnetIds?: string[] | undefined;
|
|
9478
|
-
/**
|
|
9479
|
-
* <p>(Interface endpoint) Information about the security groups that are associated with
|
|
9480
|
-
* the network interface.</p>
|
|
9481
|
-
* @public
|
|
9482
|
-
*/
|
|
9483
|
-
Groups?: SecurityGroupIdentifier[] | undefined;
|
|
9484
|
-
/**
|
|
9485
|
-
* <p>The IP address type for the endpoint.</p>
|
|
9486
|
-
* @public
|
|
9487
|
-
*/
|
|
9488
|
-
IpAddressType?: IpAddressType | undefined;
|
|
9489
|
-
/**
|
|
9490
|
-
* <p>The DNS options for the endpoint.</p>
|
|
9491
|
-
* @public
|
|
9492
|
-
*/
|
|
9493
|
-
DnsOptions?: DnsOptions | undefined;
|
|
9494
|
-
/**
|
|
9495
|
-
* <p>(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.</p>
|
|
9496
|
-
* @public
|
|
9497
|
-
*/
|
|
9498
|
-
PrivateDnsEnabled?: boolean | undefined;
|
|
9499
|
-
/**
|
|
9500
|
-
* <p>Indicates whether the endpoint is being managed by its service.</p>
|
|
9501
|
-
* @public
|
|
9502
|
-
*/
|
|
9503
|
-
RequesterManaged?: boolean | undefined;
|
|
9504
|
-
/**
|
|
9505
|
-
* <p>(Interface endpoint) The network interfaces for the endpoint.</p>
|
|
9506
|
-
* @public
|
|
9507
|
-
*/
|
|
9508
|
-
NetworkInterfaceIds?: string[] | undefined;
|
|
9509
|
-
/**
|
|
9510
|
-
* <p>(Interface endpoint) The DNS entries for the endpoint.</p>
|
|
9511
|
-
* @public
|
|
9512
|
-
*/
|
|
9513
|
-
DnsEntries?: DnsEntry[] | undefined;
|
|
9514
|
-
/**
|
|
9515
|
-
* <p>The date and time that the endpoint was created.</p>
|
|
9516
|
-
* @public
|
|
9517
|
-
*/
|
|
9518
|
-
CreationTimestamp?: Date | undefined;
|
|
9519
|
-
/**
|
|
9520
|
-
* <p>The tags assigned to the endpoint.</p>
|
|
9521
|
-
* @public
|
|
9522
|
-
*/
|
|
9523
|
-
Tags?: Tag[] | undefined;
|
|
9524
|
-
/**
|
|
9525
|
-
* <p>The ID of the Amazon Web Services account that owns the endpoint.</p>
|
|
9526
|
-
* @public
|
|
9527
|
-
*/
|
|
9528
|
-
OwnerId?: string | undefined;
|
|
9529
|
-
/**
|
|
9530
|
-
* <p>The last error that occurred for endpoint.</p>
|
|
9531
|
-
* @public
|
|
9532
|
-
*/
|
|
9533
|
-
LastError?: LastError | undefined;
|
|
9534
|
-
/**
|
|
9535
|
-
* <p>Array of IPv4 prefixes.</p>
|
|
9536
|
-
* @public
|
|
9537
|
-
*/
|
|
9538
|
-
Ipv4Prefixes?: SubnetIpPrefixes[] | undefined;
|
|
9539
|
-
/**
|
|
9540
|
-
* <p>Array of IPv6 prefixes.</p>
|
|
9541
|
-
* @public
|
|
9542
|
-
*/
|
|
9543
|
-
Ipv6Prefixes?: SubnetIpPrefixes[] | undefined;
|
|
9544
|
-
/**
|
|
9545
|
-
* <p>Reason for the failure.</p>
|
|
9546
|
-
* @public
|
|
9547
|
-
*/
|
|
9548
|
-
FailureReason?: string | undefined;
|
|
9549
|
-
/**
|
|
9550
|
-
* <p>The Amazon Resource Name (ARN) of the service network.</p>
|
|
9551
|
-
* @public
|
|
9552
|
-
*/
|
|
9553
|
-
ServiceNetworkArn?: string | undefined;
|
|
9554
|
-
/**
|
|
9555
|
-
* <p>The Amazon Resource Name (ARN) of the resource configuration.</p>
|
|
9556
|
-
* @public
|
|
9557
|
-
*/
|
|
9558
|
-
ResourceConfigurationArn?: string | undefined;
|
|
9559
|
-
/**
|
|
9560
|
-
* <p>The Region where the service is hosted.</p>
|
|
9561
|
-
* @public
|
|
9562
|
-
*/
|
|
9563
|
-
ServiceRegion?: string | undefined;
|
|
9564
|
-
}
|
|
9565
9462
|
/**
|
|
9566
9463
|
* @internal
|
|
9567
9464
|
*/
|
|
@@ -1,6 +1,157 @@
|
|
|
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
|
-
import {
|
|
3
|
-
import { LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion,
|
|
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, LastError, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SecurityGroupIdentifier, SubnetCidrReservation, SubnetIpPrefixes, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpointType } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const State: {
|
|
9
|
+
readonly Available: "Available";
|
|
10
|
+
readonly Deleted: "Deleted";
|
|
11
|
+
readonly Deleting: "Deleting";
|
|
12
|
+
readonly Expired: "Expired";
|
|
13
|
+
readonly Failed: "Failed";
|
|
14
|
+
readonly Partial: "Partial";
|
|
15
|
+
readonly Pending: "Pending";
|
|
16
|
+
readonly PendingAcceptance: "PendingAcceptance";
|
|
17
|
+
readonly Rejected: "Rejected";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type State = (typeof State)[keyof typeof State];
|
|
23
|
+
/**
|
|
24
|
+
* <p>Describes a VPC endpoint.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface VpcEndpoint {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ID of the endpoint.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
VpcEndpointId?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The type of endpoint.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
VpcEndpointType?: VpcEndpointType | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The ID of the VPC to which the endpoint is associated.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
VpcId?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The name of the service to which the endpoint is associated.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
ServiceName?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The state of the endpoint.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
State?: State | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The policy document associated with the endpoint, if applicable.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
PolicyDocument?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>(Gateway endpoint) The IDs of the route tables associated with the endpoint.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
RouteTableIds?: string[] | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>(Interface endpoint) The subnets for the endpoint.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
SubnetIds?: string[] | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>(Interface endpoint) Information about the security groups that are associated with
|
|
70
|
+
* the network interface.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
Groups?: SecurityGroupIdentifier[] | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The IP address type for the endpoint.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
IpAddressType?: IpAddressType | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The DNS options for the endpoint.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
DnsOptions?: DnsOptions | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
PrivateDnsEnabled?: boolean | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Indicates whether the endpoint is being managed by its service.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
RequesterManaged?: boolean | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>(Interface endpoint) The network interfaces for the endpoint.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
NetworkInterfaceIds?: string[] | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>(Interface endpoint) The DNS entries for the endpoint.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
DnsEntries?: DnsEntry[] | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The date and time that the endpoint was created.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
CreationTimestamp?: Date | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The tags assigned to the endpoint.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
Tags?: Tag[] | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The ID of the Amazon Web Services account that owns the endpoint.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
OwnerId?: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The last error that occurred for endpoint.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
LastError?: LastError | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>Array of IPv4 prefixes.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
Ipv4Prefixes?: SubnetIpPrefixes[] | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>Array of IPv6 prefixes.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
Ipv6Prefixes?: SubnetIpPrefixes[] | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>Reason for the failure.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
FailureReason?: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The Amazon Resource Name (ARN) of the service network.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
ServiceNetworkArn?: string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The Amazon Resource Name (ARN) of the resource configuration.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
ResourceConfigurationArn?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* <p>The Region where the service is hosted.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
ServiceRegion?: string | undefined;
|
|
154
|
+
}
|
|
4
155
|
/**
|
|
5
156
|
* @public
|
|
6
157
|
*/
|
|
@@ -6665,82 +6816,6 @@ export interface DescribeCapacityReservationsRequest {
|
|
|
6665
6816
|
*/
|
|
6666
6817
|
DryRun?: boolean | undefined;
|
|
6667
6818
|
}
|
|
6668
|
-
/**
|
|
6669
|
-
* @public
|
|
6670
|
-
*/
|
|
6671
|
-
export interface DescribeCapacityReservationsResult {
|
|
6672
|
-
/**
|
|
6673
|
-
* <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>
|
|
6674
|
-
* @public
|
|
6675
|
-
*/
|
|
6676
|
-
NextToken?: string | undefined;
|
|
6677
|
-
/**
|
|
6678
|
-
* <p>Information about the Capacity Reservations.</p>
|
|
6679
|
-
* @public
|
|
6680
|
-
*/
|
|
6681
|
-
CapacityReservations?: CapacityReservation[] | undefined;
|
|
6682
|
-
}
|
|
6683
|
-
/**
|
|
6684
|
-
* @public
|
|
6685
|
-
*/
|
|
6686
|
-
export interface DescribeCarrierGatewaysRequest {
|
|
6687
|
-
/**
|
|
6688
|
-
* <p>One or more carrier gateway IDs.</p>
|
|
6689
|
-
* @public
|
|
6690
|
-
*/
|
|
6691
|
-
CarrierGatewayIds?: string[] | undefined;
|
|
6692
|
-
/**
|
|
6693
|
-
* <p>One or more filters.</p>
|
|
6694
|
-
* <ul>
|
|
6695
|
-
* <li>
|
|
6696
|
-
* <p>
|
|
6697
|
-
* <code>carrier-gateway-id</code> - The ID of the carrier gateway.</p>
|
|
6698
|
-
* </li>
|
|
6699
|
-
* <li>
|
|
6700
|
-
* <p>
|
|
6701
|
-
* <code>state</code> - The state of the carrier gateway (<code>pending</code> |
|
|
6702
|
-
* <code>failed</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>).</p>
|
|
6703
|
-
* </li>
|
|
6704
|
-
* <li>
|
|
6705
|
-
* <p>
|
|
6706
|
-
* <code>owner-id</code> - The Amazon Web Services account ID of the owner of the carrier gateway.</p>
|
|
6707
|
-
* </li>
|
|
6708
|
-
* <li>
|
|
6709
|
-
* <p>
|
|
6710
|
-
* <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.
|
|
6711
|
-
* 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>
|
|
6712
|
-
* </li>
|
|
6713
|
-
* <li>
|
|
6714
|
-
* <p>
|
|
6715
|
-
* <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>
|
|
6716
|
-
* </li>
|
|
6717
|
-
* <li>
|
|
6718
|
-
* <p>
|
|
6719
|
-
* <code>vpc-id</code> - The ID of the VPC associated with the carrier gateway.</p>
|
|
6720
|
-
* </li>
|
|
6721
|
-
* </ul>
|
|
6722
|
-
* @public
|
|
6723
|
-
*/
|
|
6724
|
-
Filters?: Filter[] | undefined;
|
|
6725
|
-
/**
|
|
6726
|
-
* <p>The maximum number of results to return with a single call.
|
|
6727
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
6728
|
-
* @public
|
|
6729
|
-
*/
|
|
6730
|
-
MaxResults?: number | undefined;
|
|
6731
|
-
/**
|
|
6732
|
-
* <p>The token for the next page of results.</p>
|
|
6733
|
-
* @public
|
|
6734
|
-
*/
|
|
6735
|
-
NextToken?: string | undefined;
|
|
6736
|
-
/**
|
|
6737
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
6738
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
6739
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6740
|
-
* @public
|
|
6741
|
-
*/
|
|
6742
|
-
DryRun?: boolean | undefined;
|
|
6743
|
-
}
|
|
6744
6819
|
/**
|
|
6745
6820
|
* @internal
|
|
6746
6821
|
*/
|
|
@@ -1,7 +1,83 @@
|
|
|
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, 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, IpamPool,
|
|
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, IpamPool, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
3
|
import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
|
|
4
4
|
import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeCapacityReservationsResult {
|
|
9
|
+
/**
|
|
10
|
+
* <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>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
NextToken?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>Information about the Capacity Reservations.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
CapacityReservations?: CapacityReservation[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface DescribeCarrierGatewaysRequest {
|
|
24
|
+
/**
|
|
25
|
+
* <p>One or more carrier gateway IDs.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
CarrierGatewayIds?: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>One or more filters.</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>carrier-gateway-id</code> - The ID of the carrier gateway.</p>
|
|
35
|
+
* </li>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>state</code> - The state of the carrier gateway (<code>pending</code> |
|
|
39
|
+
* <code>failed</code> | <code>available</code> | <code>deleting</code> | <code>deleted</code>).</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <code>owner-id</code> - The Amazon Web Services account ID of the owner of the carrier gateway.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>
|
|
47
|
+
* <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.
|
|
48
|
+
* 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>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>
|
|
52
|
+
* <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>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>vpc-id</code> - The ID of the VPC associated with the carrier gateway.</p>
|
|
57
|
+
* </li>
|
|
58
|
+
* </ul>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
Filters?: Filter[] | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The maximum number of results to return with a single call.
|
|
64
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
MaxResults?: number | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The token for the next page of results.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
NextToken?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
75
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
76
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
DryRun?: boolean | undefined;
|
|
80
|
+
}
|
|
5
81
|
/**
|
|
6
82
|
* @public
|
|
7
83
|
*/
|
|
@@ -4541,7 +4617,7 @@ export interface DescribeImageAttributeRequest {
|
|
|
4541
4617
|
* <p>
|
|
4542
4618
|
* <b>Note</b>: The <code>blockDeviceMapping</code> attribute is
|
|
4543
4619
|
* deprecated. Using this attribute returns the <code>Client.AuthFailure</code> error. To get
|
|
4544
|
-
* information about the block device mappings for an AMI,
|
|
4620
|
+
* information about the block device mappings for an AMI, describe the image instead.</p>
|
|
4545
4621
|
* @public
|
|
4546
4622
|
*/
|
|
4547
4623
|
Attribute: ImageAttributeName | undefined;
|
|
@@ -5209,21 +5285,11 @@ export interface Image {
|
|
|
5209
5285
|
ImageAllowed?: boolean | undefined;
|
|
5210
5286
|
/**
|
|
5211
5287
|
* <p>The ID of the source AMI from which the AMI was created.</p>
|
|
5212
|
-
* <p>The ID only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The ID does not appear
|
|
5213
|
-
* if the AMI was created using any other API. For some older AMIs, the ID might not be
|
|
5214
|
-
* available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
|
|
5215
|
-
* source AMI used to create a new Amazon EC2 AMI</a> in the
|
|
5216
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5217
5288
|
* @public
|
|
5218
5289
|
*/
|
|
5219
5290
|
SourceImageId?: string | undefined;
|
|
5220
5291
|
/**
|
|
5221
|
-
* <p>The Region of the source AMI
|
|
5222
|
-
* <p>The Region only appears if the AMI was created using <a>CreateImage</a>, <a>CopyImage</a>, or <a>CreateRestoreImageTask</a>. The Region does not
|
|
5223
|
-
* appear if the AMI was created using any other API. For some older AMIs, the Region might not
|
|
5224
|
-
* be available. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html">Identify the
|
|
5225
|
-
* source AMI used to create a new Amazon EC2 AMI</a> in the
|
|
5226
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
5292
|
+
* <p>The Region of the source AMI.</p>
|
|
5227
5293
|
* @public
|
|
5228
5294
|
*/
|
|
5229
5295
|
SourceImageRegion?: string | undefined;
|
|
@@ -10709,53 +10775,6 @@ export interface DescribeIpamResourceDiscoveriesRequest {
|
|
|
10709
10775
|
*/
|
|
10710
10776
|
Filters?: Filter[] | undefined;
|
|
10711
10777
|
}
|
|
10712
|
-
/**
|
|
10713
|
-
* @public
|
|
10714
|
-
*/
|
|
10715
|
-
export interface DescribeIpamResourceDiscoveriesResult {
|
|
10716
|
-
/**
|
|
10717
|
-
* <p>The resource discoveries.</p>
|
|
10718
|
-
* @public
|
|
10719
|
-
*/
|
|
10720
|
-
IpamResourceDiscoveries?: IpamResourceDiscovery[] | undefined;
|
|
10721
|
-
/**
|
|
10722
|
-
* <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
|
|
10723
|
-
* @public
|
|
10724
|
-
*/
|
|
10725
|
-
NextToken?: string | undefined;
|
|
10726
|
-
}
|
|
10727
|
-
/**
|
|
10728
|
-
* @public
|
|
10729
|
-
*/
|
|
10730
|
-
export interface DescribeIpamResourceDiscoveryAssociationsRequest {
|
|
10731
|
-
/**
|
|
10732
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
10733
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
10734
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
10735
|
-
* @public
|
|
10736
|
-
*/
|
|
10737
|
-
DryRun?: boolean | undefined;
|
|
10738
|
-
/**
|
|
10739
|
-
* <p>The resource discovery association IDs.</p>
|
|
10740
|
-
* @public
|
|
10741
|
-
*/
|
|
10742
|
-
IpamResourceDiscoveryAssociationIds?: string[] | undefined;
|
|
10743
|
-
/**
|
|
10744
|
-
* <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
|
|
10745
|
-
* @public
|
|
10746
|
-
*/
|
|
10747
|
-
NextToken?: string | undefined;
|
|
10748
|
-
/**
|
|
10749
|
-
* <p>The maximum number of resource discovery associations to return in one page of results.</p>
|
|
10750
|
-
* @public
|
|
10751
|
-
*/
|
|
10752
|
-
MaxResults?: number | undefined;
|
|
10753
|
-
/**
|
|
10754
|
-
* <p>The resource discovery association filters.</p>
|
|
10755
|
-
* @public
|
|
10756
|
-
*/
|
|
10757
|
-
Filters?: Filter[] | undefined;
|
|
10758
|
-
}
|
|
10759
10778
|
/**
|
|
10760
10779
|
* @internal
|
|
10761
10780
|
*/
|