@aws-sdk/client-ec2 3.269.0 → 3.271.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/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
- package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +1 -2
- package/dist-cjs/models/models_0.js +7 -7
- package/dist-cjs/models/models_1.js +11 -10
- package/dist-cjs/models/models_2.js +9 -9
- package/dist-cjs/models/models_3.js +10 -10
- package/dist-cjs/models/models_4.js +10 -10
- package/dist-cjs/models/models_5.js +5 -6
- package/dist-cjs/models/models_6.js +11 -10
- package/dist-cjs/models/models_7.js +5 -1
- package/dist-cjs/protocols/Aws_ec2.js +10 -0
- package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
- package/dist-es/commands/UnassignIpv6AddressesCommand.js +1 -2
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +5 -3
- package/dist-es/models/models_2.js +3 -3
- package/dist-es/models/models_3.js +3 -3
- package/dist-es/models/models_4.js +3 -3
- package/dist-es/models/models_5.js +3 -5
- package/dist-es/models/models_6.js +5 -3
- package/dist-es/models/models_7.js +3 -0
- package/dist-es/protocols/Aws_ec2.js +10 -0
- package/dist-types/EC2Client.d.ts +15 -15
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +12 -4
- package/dist-types/models/models_1.d.ts +5 -34
- package/dist-types/models/models_2.d.ts +35 -12
- package/dist-types/models/models_3.d.ts +15 -263
- package/dist-types/models/models_4.d.ts +264 -18
- package/dist-types/models/models_5.d.ts +18 -5
- package/dist-types/models/models_6.d.ts +13 -21
- package/dist-types/models/models_7.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/EC2Client.d.ts +4 -4
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +5 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -13
- package/dist-types/ts3.4/models/models_2.d.ts +12 -7
- package/dist-types/ts3.4/models/models_3.d.ts +8 -61
- package/dist-types/ts3.4/models/models_4.d.ts +81 -8
- package/dist-types/ts3.4/models/models_5.d.ts +8 -5
- package/dist-types/ts3.4/models/models_6.d.ts +7 -10
- package/dist-types/ts3.4/models/models_7.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +31 -31
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria,
|
|
2
|
-
import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus,
|
|
1
|
+
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
3
|
import { FleetStateCode, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
+
export interface DeleteTrafficMirrorSessionResult {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The ID of the deleted Traffic Mirror session.</p>
|
|
7
|
+
*/
|
|
8
|
+
TrafficMirrorSessionId?: string;
|
|
9
|
+
}
|
|
4
10
|
export interface DeleteTrafficMirrorTargetRequest {
|
|
5
11
|
/**
|
|
6
12
|
* <p>The ID of the Traffic Mirror target.</p>
|
|
@@ -4986,6 +4992,11 @@ export interface Host {
|
|
|
4986
4992
|
* Dedicated Host is allocated.</p>
|
|
4987
4993
|
*/
|
|
4988
4994
|
OutpostArn?: string;
|
|
4995
|
+
/**
|
|
4996
|
+
* <p>Indicates whether host maintenance is enabled or disabled for the Dedicated
|
|
4997
|
+
* Host.</p>
|
|
4998
|
+
*/
|
|
4999
|
+
HostMaintenance?: HostMaintenance | string;
|
|
4989
5000
|
}
|
|
4990
5001
|
export interface DescribeHostsResult {
|
|
4991
5002
|
/**
|
|
@@ -7265,264 +7276,9 @@ export interface InstanceState {
|
|
|
7265
7276
|
Name?: InstanceStateName | string;
|
|
7266
7277
|
}
|
|
7267
7278
|
/**
|
|
7268
|
-
*
|
|
7279
|
+
* @internal
|
|
7269
7280
|
*/
|
|
7270
|
-
export
|
|
7271
|
-
/**
|
|
7272
|
-
* <p>The AMI launch index, which can be used to find this instance in the launch
|
|
7273
|
-
* group.</p>
|
|
7274
|
-
*/
|
|
7275
|
-
AmiLaunchIndex?: number;
|
|
7276
|
-
/**
|
|
7277
|
-
* <p>The ID of the AMI used to launch the instance.</p>
|
|
7278
|
-
*/
|
|
7279
|
-
ImageId?: string;
|
|
7280
|
-
/**
|
|
7281
|
-
* <p>The ID of the instance.</p>
|
|
7282
|
-
*/
|
|
7283
|
-
InstanceId?: string;
|
|
7284
|
-
/**
|
|
7285
|
-
* <p>The instance type.</p>
|
|
7286
|
-
*/
|
|
7287
|
-
InstanceType?: _InstanceType | string;
|
|
7288
|
-
/**
|
|
7289
|
-
* <p>The kernel associated with this instance, if applicable.</p>
|
|
7290
|
-
*/
|
|
7291
|
-
KernelId?: string;
|
|
7292
|
-
/**
|
|
7293
|
-
* <p>The name of the key pair, if this instance was launched with an associated key
|
|
7294
|
-
* pair.</p>
|
|
7295
|
-
*/
|
|
7296
|
-
KeyName?: string;
|
|
7297
|
-
/**
|
|
7298
|
-
* <p>The time the instance was launched.</p>
|
|
7299
|
-
*/
|
|
7300
|
-
LaunchTime?: Date;
|
|
7301
|
-
/**
|
|
7302
|
-
* <p>The monitoring for the instance.</p>
|
|
7303
|
-
*/
|
|
7304
|
-
Monitoring?: Monitoring;
|
|
7305
|
-
/**
|
|
7306
|
-
* <p>The location where the instance launched, if applicable.</p>
|
|
7307
|
-
*/
|
|
7308
|
-
Placement?: Placement;
|
|
7309
|
-
/**
|
|
7310
|
-
* <p>The value is <code>Windows</code> for Windows instances; otherwise blank.</p>
|
|
7311
|
-
*/
|
|
7312
|
-
Platform?: PlatformValues | string;
|
|
7313
|
-
/**
|
|
7314
|
-
* <p>(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname
|
|
7315
|
-
* can only be used inside the Amazon EC2 network. This name is not available until the
|
|
7316
|
-
* instance enters the <code>running</code> state. </p>
|
|
7317
|
-
* <p>[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS
|
|
7318
|
-
* hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not
|
|
7319
|
-
* using the Amazon-provided DNS server in your VPC, your custom domain name servers must
|
|
7320
|
-
* resolve the hostname as appropriate.</p>
|
|
7321
|
-
*/
|
|
7322
|
-
PrivateDnsName?: string;
|
|
7323
|
-
/**
|
|
7324
|
-
* <p>The private IPv4 address assigned to the instance.</p>
|
|
7325
|
-
*/
|
|
7326
|
-
PrivateIpAddress?: string;
|
|
7327
|
-
/**
|
|
7328
|
-
* <p>The product codes attached to this instance, if applicable.</p>
|
|
7329
|
-
*/
|
|
7330
|
-
ProductCodes?: ProductCode[];
|
|
7331
|
-
/**
|
|
7332
|
-
* <p>(IPv4 only) The public DNS name assigned to the instance. This name is not available
|
|
7333
|
-
* until the instance enters the <code>running</code> state. For EC2-VPC, this name is only
|
|
7334
|
-
* available if you've enabled DNS hostnames for your VPC.</p>
|
|
7335
|
-
*/
|
|
7336
|
-
PublicDnsName?: string;
|
|
7337
|
-
/**
|
|
7338
|
-
* <p>The public IPv4 address, or the Carrier IP address assigned to the instance, if
|
|
7339
|
-
* applicable.</p>
|
|
7340
|
-
* <p>A Carrier IP address only applies to an instance launched in a subnet associated with
|
|
7341
|
-
* a Wavelength Zone.</p>
|
|
7342
|
-
*/
|
|
7343
|
-
PublicIpAddress?: string;
|
|
7344
|
-
/**
|
|
7345
|
-
* <p>The RAM disk associated with this instance, if applicable.</p>
|
|
7346
|
-
*/
|
|
7347
|
-
RamdiskId?: string;
|
|
7348
|
-
/**
|
|
7349
|
-
* <p>The current state of the instance.</p>
|
|
7350
|
-
*/
|
|
7351
|
-
State?: InstanceState;
|
|
7352
|
-
/**
|
|
7353
|
-
* <p>The reason for the most recent state transition. This might be an empty string.</p>
|
|
7354
|
-
*/
|
|
7355
|
-
StateTransitionReason?: string;
|
|
7356
|
-
/**
|
|
7357
|
-
* <p>[EC2-VPC] The ID of the subnet in which the instance is running.</p>
|
|
7358
|
-
*/
|
|
7359
|
-
SubnetId?: string;
|
|
7360
|
-
/**
|
|
7361
|
-
* <p>[EC2-VPC] The ID of the VPC in which the instance is running.</p>
|
|
7362
|
-
*/
|
|
7363
|
-
VpcId?: string;
|
|
7364
|
-
/**
|
|
7365
|
-
* <p>The architecture of the image.</p>
|
|
7366
|
-
*/
|
|
7367
|
-
Architecture?: ArchitectureValues | string;
|
|
7368
|
-
/**
|
|
7369
|
-
* <p>Any block device mapping entries for the instance.</p>
|
|
7370
|
-
*/
|
|
7371
|
-
BlockDeviceMappings?: InstanceBlockDeviceMapping[];
|
|
7372
|
-
/**
|
|
7373
|
-
* <p>The idempotency token you provided when you launched the instance, if
|
|
7374
|
-
* applicable.</p>
|
|
7375
|
-
*/
|
|
7376
|
-
ClientToken?: string;
|
|
7377
|
-
/**
|
|
7378
|
-
* <p>Indicates whether the instance is optimized for Amazon EBS I/O. This optimization
|
|
7379
|
-
* provides dedicated throughput to Amazon EBS and an optimized configuration stack to
|
|
7380
|
-
* provide optimal I/O performance. This optimization isn't available with all instance
|
|
7381
|
-
* types. Additional usage charges apply when using an EBS Optimized instance.</p>
|
|
7382
|
-
*/
|
|
7383
|
-
EbsOptimized?: boolean;
|
|
7384
|
-
/**
|
|
7385
|
-
* <p>Specifies whether enhanced networking with ENA is enabled.</p>
|
|
7386
|
-
*/
|
|
7387
|
-
EnaSupport?: boolean;
|
|
7388
|
-
/**
|
|
7389
|
-
* <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
|
|
7390
|
-
* and Nitro hypervisors.</p>
|
|
7391
|
-
*/
|
|
7392
|
-
Hypervisor?: HypervisorType | string;
|
|
7393
|
-
/**
|
|
7394
|
-
* <p>The IAM instance profile associated with the instance, if
|
|
7395
|
-
* applicable.</p>
|
|
7396
|
-
*/
|
|
7397
|
-
IamInstanceProfile?: IamInstanceProfile;
|
|
7398
|
-
/**
|
|
7399
|
-
* <p>Indicates whether this is a Spot Instance or a Scheduled Instance.</p>
|
|
7400
|
-
*/
|
|
7401
|
-
InstanceLifecycle?: InstanceLifecycleType | string;
|
|
7402
|
-
/**
|
|
7403
|
-
* <p>The Elastic GPU associated with the instance.</p>
|
|
7404
|
-
*/
|
|
7405
|
-
ElasticGpuAssociations?: ElasticGpuAssociation[];
|
|
7406
|
-
/**
|
|
7407
|
-
* <p> The elastic inference accelerator associated with the instance.</p>
|
|
7408
|
-
*/
|
|
7409
|
-
ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
|
|
7410
|
-
/**
|
|
7411
|
-
* <p>[EC2-VPC] The network interfaces for the instance.</p>
|
|
7412
|
-
*/
|
|
7413
|
-
NetworkInterfaces?: InstanceNetworkInterface[];
|
|
7414
|
-
/**
|
|
7415
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
7416
|
-
*/
|
|
7417
|
-
OutpostArn?: string;
|
|
7418
|
-
/**
|
|
7419
|
-
* <p>The device name of the root device volume (for example,
|
|
7420
|
-
* <code>/dev/sda1</code>).</p>
|
|
7421
|
-
*/
|
|
7422
|
-
RootDeviceName?: string;
|
|
7423
|
-
/**
|
|
7424
|
-
* <p>The root device type used by the AMI. The AMI can use an EBS volume or an instance
|
|
7425
|
-
* store volume.</p>
|
|
7426
|
-
*/
|
|
7427
|
-
RootDeviceType?: DeviceType | string;
|
|
7428
|
-
/**
|
|
7429
|
-
* <p>The security groups for the instance.</p>
|
|
7430
|
-
*/
|
|
7431
|
-
SecurityGroups?: GroupIdentifier[];
|
|
7432
|
-
/**
|
|
7433
|
-
* <p>Indicates whether source/destination checking is enabled.</p>
|
|
7434
|
-
*/
|
|
7435
|
-
SourceDestCheck?: boolean;
|
|
7436
|
-
/**
|
|
7437
|
-
* <p>If the request is a Spot Instance request, the ID of the request.</p>
|
|
7438
|
-
*/
|
|
7439
|
-
SpotInstanceRequestId?: string;
|
|
7440
|
-
/**
|
|
7441
|
-
* <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface
|
|
7442
|
-
* is enabled.</p>
|
|
7443
|
-
*/
|
|
7444
|
-
SriovNetSupport?: string;
|
|
7445
|
-
/**
|
|
7446
|
-
* <p>The reason for the most recent state transition.</p>
|
|
7447
|
-
*/
|
|
7448
|
-
StateReason?: StateReason;
|
|
7449
|
-
/**
|
|
7450
|
-
* <p>Any tags assigned to the instance.</p>
|
|
7451
|
-
*/
|
|
7452
|
-
Tags?: Tag[];
|
|
7453
|
-
/**
|
|
7454
|
-
* <p>The virtualization type of the instance.</p>
|
|
7455
|
-
*/
|
|
7456
|
-
VirtualizationType?: VirtualizationType | string;
|
|
7457
|
-
/**
|
|
7458
|
-
* <p>The CPU options for the instance.</p>
|
|
7459
|
-
*/
|
|
7460
|
-
CpuOptions?: CpuOptions;
|
|
7461
|
-
/**
|
|
7462
|
-
* <p>The ID of the Capacity Reservation.</p>
|
|
7463
|
-
*/
|
|
7464
|
-
CapacityReservationId?: string;
|
|
7465
|
-
/**
|
|
7466
|
-
* <p>Information about the Capacity Reservation targeting option.</p>
|
|
7467
|
-
*/
|
|
7468
|
-
CapacityReservationSpecification?: CapacityReservationSpecificationResponse;
|
|
7469
|
-
/**
|
|
7470
|
-
* <p>Indicates whether the instance is enabled for hibernation.</p>
|
|
7471
|
-
*/
|
|
7472
|
-
HibernationOptions?: HibernationOptions;
|
|
7473
|
-
/**
|
|
7474
|
-
* <p>The license configurations for the instance.</p>
|
|
7475
|
-
*/
|
|
7476
|
-
Licenses?: LicenseConfiguration[];
|
|
7477
|
-
/**
|
|
7478
|
-
* <p>The metadata options for the instance.</p>
|
|
7479
|
-
*/
|
|
7480
|
-
MetadataOptions?: InstanceMetadataOptionsResponse;
|
|
7481
|
-
/**
|
|
7482
|
-
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
7483
|
-
* Enclaves.</p>
|
|
7484
|
-
*/
|
|
7485
|
-
EnclaveOptions?: EnclaveOptions;
|
|
7486
|
-
/**
|
|
7487
|
-
* <p>The boot mode of the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
7488
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7489
|
-
*/
|
|
7490
|
-
BootMode?: BootModeValues | string;
|
|
7491
|
-
/**
|
|
7492
|
-
* <p>The platform details value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
7493
|
-
* billing information fields</a> in the
|
|
7494
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7495
|
-
*/
|
|
7496
|
-
PlatformDetails?: string;
|
|
7497
|
-
/**
|
|
7498
|
-
* <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
7499
|
-
* billing information fields</a> in the
|
|
7500
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7501
|
-
*/
|
|
7502
|
-
UsageOperation?: string;
|
|
7503
|
-
/**
|
|
7504
|
-
* <p>The time that the usage operation was last updated.</p>
|
|
7505
|
-
*/
|
|
7506
|
-
UsageOperationUpdateTime?: Date;
|
|
7507
|
-
/**
|
|
7508
|
-
* <p>The options for the instance hostname.</p>
|
|
7509
|
-
*/
|
|
7510
|
-
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse;
|
|
7511
|
-
/**
|
|
7512
|
-
* <p>The IPv6 address assigned to the instance.</p>
|
|
7513
|
-
*/
|
|
7514
|
-
Ipv6Address?: string;
|
|
7515
|
-
/**
|
|
7516
|
-
* <p>If the instance is configured for NitroTPM support, the value is <code>v2.0</code>.
|
|
7517
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
|
|
7518
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7519
|
-
*/
|
|
7520
|
-
TpmSupport?: string;
|
|
7521
|
-
/**
|
|
7522
|
-
* <p>Provides information on the recovery and maintenance options of your instance.</p>
|
|
7523
|
-
*/
|
|
7524
|
-
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
7525
|
-
}
|
|
7281
|
+
export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionResult) => any;
|
|
7526
7282
|
/**
|
|
7527
7283
|
* @internal
|
|
7528
7284
|
*/
|
|
@@ -8539,7 +8295,3 @@ export declare const PrivateDnsNameOptionsResponseFilterSensitiveLog: (obj: Priv
|
|
|
8539
8295
|
* @internal
|
|
8540
8296
|
*/
|
|
8541
8297
|
export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => any;
|
|
8542
|
-
/**
|
|
8543
|
-
* @internal
|
|
8544
|
-
*/
|
|
8545
|
-
export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
|
|
@@ -1,7 +1,266 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
-
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
|
|
1
|
+
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, Placement, PlacementGroup, PlatformValues, PrivateIpAddressSpecification, ReplaceRootVolumeTask, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy, VolumeType } from "./models_1";
|
|
3
3
|
import { RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume } from "./models_2";
|
|
4
|
-
import { AttributeBooleanValue, EventInformation, Filter, IdFormat,
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceLifecycleType, InstanceMaintenanceOptions, InstanceMetadataOptionsResponse, InstanceNetworkInterface, InstanceState, LicenseConfiguration, Monitoring, PermissionGroup, PrivateDnsNameOptionsResponse, ProductCode, VirtualizationType } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Describes an instance.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface Instance {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The AMI launch index, which can be used to find this instance in the launch
|
|
11
|
+
* group.</p>
|
|
12
|
+
*/
|
|
13
|
+
AmiLaunchIndex?: number;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ID of the AMI used to launch the instance.</p>
|
|
16
|
+
*/
|
|
17
|
+
ImageId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The ID of the instance.</p>
|
|
20
|
+
*/
|
|
21
|
+
InstanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The instance type.</p>
|
|
24
|
+
*/
|
|
25
|
+
InstanceType?: _InstanceType | string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The kernel associated with this instance, if applicable.</p>
|
|
28
|
+
*/
|
|
29
|
+
KernelId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The name of the key pair, if this instance was launched with an associated key
|
|
32
|
+
* pair.</p>
|
|
33
|
+
*/
|
|
34
|
+
KeyName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The time the instance was launched.</p>
|
|
37
|
+
*/
|
|
38
|
+
LaunchTime?: Date;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The monitoring for the instance.</p>
|
|
41
|
+
*/
|
|
42
|
+
Monitoring?: Monitoring;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The location where the instance launched, if applicable.</p>
|
|
45
|
+
*/
|
|
46
|
+
Placement?: Placement;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The value is <code>Windows</code> for Windows instances; otherwise blank.</p>
|
|
49
|
+
*/
|
|
50
|
+
Platform?: PlatformValues | string;
|
|
51
|
+
/**
|
|
52
|
+
* <p>(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname
|
|
53
|
+
* can only be used inside the Amazon EC2 network. This name is not available until the
|
|
54
|
+
* instance enters the <code>running</code> state. </p>
|
|
55
|
+
* <p>[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS
|
|
56
|
+
* hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not
|
|
57
|
+
* using the Amazon-provided DNS server in your VPC, your custom domain name servers must
|
|
58
|
+
* resolve the hostname as appropriate.</p>
|
|
59
|
+
*/
|
|
60
|
+
PrivateDnsName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The private IPv4 address assigned to the instance.</p>
|
|
63
|
+
*/
|
|
64
|
+
PrivateIpAddress?: string;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The product codes attached to this instance, if applicable.</p>
|
|
67
|
+
*/
|
|
68
|
+
ProductCodes?: ProductCode[];
|
|
69
|
+
/**
|
|
70
|
+
* <p>(IPv4 only) The public DNS name assigned to the instance. This name is not available
|
|
71
|
+
* until the instance enters the <code>running</code> state. For EC2-VPC, this name is only
|
|
72
|
+
* available if you've enabled DNS hostnames for your VPC.</p>
|
|
73
|
+
*/
|
|
74
|
+
PublicDnsName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* <p>The public IPv4 address, or the Carrier IP address assigned to the instance, if
|
|
77
|
+
* applicable.</p>
|
|
78
|
+
* <p>A Carrier IP address only applies to an instance launched in a subnet associated with
|
|
79
|
+
* a Wavelength Zone.</p>
|
|
80
|
+
*/
|
|
81
|
+
PublicIpAddress?: string;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The RAM disk associated with this instance, if applicable.</p>
|
|
84
|
+
*/
|
|
85
|
+
RamdiskId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The current state of the instance.</p>
|
|
88
|
+
*/
|
|
89
|
+
State?: InstanceState;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The reason for the most recent state transition. This might be an empty string.</p>
|
|
92
|
+
*/
|
|
93
|
+
StateTransitionReason?: string;
|
|
94
|
+
/**
|
|
95
|
+
* <p>[EC2-VPC] The ID of the subnet in which the instance is running.</p>
|
|
96
|
+
*/
|
|
97
|
+
SubnetId?: string;
|
|
98
|
+
/**
|
|
99
|
+
* <p>[EC2-VPC] The ID of the VPC in which the instance is running.</p>
|
|
100
|
+
*/
|
|
101
|
+
VpcId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* <p>The architecture of the image.</p>
|
|
104
|
+
*/
|
|
105
|
+
Architecture?: ArchitectureValues | string;
|
|
106
|
+
/**
|
|
107
|
+
* <p>Any block device mapping entries for the instance.</p>
|
|
108
|
+
*/
|
|
109
|
+
BlockDeviceMappings?: InstanceBlockDeviceMapping[];
|
|
110
|
+
/**
|
|
111
|
+
* <p>The idempotency token you provided when you launched the instance, if
|
|
112
|
+
* applicable.</p>
|
|
113
|
+
*/
|
|
114
|
+
ClientToken?: string;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Indicates whether the instance is optimized for Amazon EBS I/O. This optimization
|
|
117
|
+
* provides dedicated throughput to Amazon EBS and an optimized configuration stack to
|
|
118
|
+
* provide optimal I/O performance. This optimization isn't available with all instance
|
|
119
|
+
* types. Additional usage charges apply when using an EBS Optimized instance.</p>
|
|
120
|
+
*/
|
|
121
|
+
EbsOptimized?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* <p>Specifies whether enhanced networking with ENA is enabled.</p>
|
|
124
|
+
*/
|
|
125
|
+
EnaSupport?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
|
|
128
|
+
* and Nitro hypervisors.</p>
|
|
129
|
+
*/
|
|
130
|
+
Hypervisor?: HypervisorType | string;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The IAM instance profile associated with the instance, if
|
|
133
|
+
* applicable.</p>
|
|
134
|
+
*/
|
|
135
|
+
IamInstanceProfile?: IamInstanceProfile;
|
|
136
|
+
/**
|
|
137
|
+
* <p>Indicates whether this is a Spot Instance or a Scheduled Instance.</p>
|
|
138
|
+
*/
|
|
139
|
+
InstanceLifecycle?: InstanceLifecycleType | string;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The Elastic GPU associated with the instance.</p>
|
|
142
|
+
*/
|
|
143
|
+
ElasticGpuAssociations?: ElasticGpuAssociation[];
|
|
144
|
+
/**
|
|
145
|
+
* <p> The elastic inference accelerator associated with the instance.</p>
|
|
146
|
+
*/
|
|
147
|
+
ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
|
|
148
|
+
/**
|
|
149
|
+
* <p>[EC2-VPC] The network interfaces for the instance.</p>
|
|
150
|
+
*/
|
|
151
|
+
NetworkInterfaces?: InstanceNetworkInterface[];
|
|
152
|
+
/**
|
|
153
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
154
|
+
*/
|
|
155
|
+
OutpostArn?: string;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The device name of the root device volume (for example,
|
|
158
|
+
* <code>/dev/sda1</code>).</p>
|
|
159
|
+
*/
|
|
160
|
+
RootDeviceName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The root device type used by the AMI. The AMI can use an EBS volume or an instance
|
|
163
|
+
* store volume.</p>
|
|
164
|
+
*/
|
|
165
|
+
RootDeviceType?: DeviceType | string;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The security groups for the instance.</p>
|
|
168
|
+
*/
|
|
169
|
+
SecurityGroups?: GroupIdentifier[];
|
|
170
|
+
/**
|
|
171
|
+
* <p>Indicates whether source/destination checking is enabled.</p>
|
|
172
|
+
*/
|
|
173
|
+
SourceDestCheck?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* <p>If the request is a Spot Instance request, the ID of the request.</p>
|
|
176
|
+
*/
|
|
177
|
+
SpotInstanceRequestId?: string;
|
|
178
|
+
/**
|
|
179
|
+
* <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface
|
|
180
|
+
* is enabled.</p>
|
|
181
|
+
*/
|
|
182
|
+
SriovNetSupport?: string;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The reason for the most recent state transition.</p>
|
|
185
|
+
*/
|
|
186
|
+
StateReason?: StateReason;
|
|
187
|
+
/**
|
|
188
|
+
* <p>Any tags assigned to the instance.</p>
|
|
189
|
+
*/
|
|
190
|
+
Tags?: Tag[];
|
|
191
|
+
/**
|
|
192
|
+
* <p>The virtualization type of the instance.</p>
|
|
193
|
+
*/
|
|
194
|
+
VirtualizationType?: VirtualizationType | string;
|
|
195
|
+
/**
|
|
196
|
+
* <p>The CPU options for the instance.</p>
|
|
197
|
+
*/
|
|
198
|
+
CpuOptions?: CpuOptions;
|
|
199
|
+
/**
|
|
200
|
+
* <p>The ID of the Capacity Reservation.</p>
|
|
201
|
+
*/
|
|
202
|
+
CapacityReservationId?: string;
|
|
203
|
+
/**
|
|
204
|
+
* <p>Information about the Capacity Reservation targeting option.</p>
|
|
205
|
+
*/
|
|
206
|
+
CapacityReservationSpecification?: CapacityReservationSpecificationResponse;
|
|
207
|
+
/**
|
|
208
|
+
* <p>Indicates whether the instance is enabled for hibernation.</p>
|
|
209
|
+
*/
|
|
210
|
+
HibernationOptions?: HibernationOptions;
|
|
211
|
+
/**
|
|
212
|
+
* <p>The license configurations for the instance.</p>
|
|
213
|
+
*/
|
|
214
|
+
Licenses?: LicenseConfiguration[];
|
|
215
|
+
/**
|
|
216
|
+
* <p>The metadata options for the instance.</p>
|
|
217
|
+
*/
|
|
218
|
+
MetadataOptions?: InstanceMetadataOptionsResponse;
|
|
219
|
+
/**
|
|
220
|
+
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro
|
|
221
|
+
* Enclaves.</p>
|
|
222
|
+
*/
|
|
223
|
+
EnclaveOptions?: EnclaveOptions;
|
|
224
|
+
/**
|
|
225
|
+
* <p>The boot mode of the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
226
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
227
|
+
*/
|
|
228
|
+
BootMode?: BootModeValues | string;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The platform details value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
231
|
+
* billing information fields</a> in the
|
|
232
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
233
|
+
*/
|
|
234
|
+
PlatformDetails?: string;
|
|
235
|
+
/**
|
|
236
|
+
* <p>The usage operation value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
|
|
237
|
+
* billing information fields</a> in the
|
|
238
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
239
|
+
*/
|
|
240
|
+
UsageOperation?: string;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The time that the usage operation was last updated.</p>
|
|
243
|
+
*/
|
|
244
|
+
UsageOperationUpdateTime?: Date;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The options for the instance hostname.</p>
|
|
247
|
+
*/
|
|
248
|
+
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse;
|
|
249
|
+
/**
|
|
250
|
+
* <p>The IPv6 address assigned to the instance.</p>
|
|
251
|
+
*/
|
|
252
|
+
Ipv6Address?: string;
|
|
253
|
+
/**
|
|
254
|
+
* <p>If the instance is configured for NitroTPM support, the value is <code>v2.0</code>.
|
|
255
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
|
|
256
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
257
|
+
*/
|
|
258
|
+
TpmSupport?: string;
|
|
259
|
+
/**
|
|
260
|
+
* <p>Provides information on the recovery and maintenance options of your instance.</p>
|
|
261
|
+
*/
|
|
262
|
+
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
263
|
+
}
|
|
5
264
|
/**
|
|
6
265
|
* <p>Describes a launch request for one or more instances, and includes owner, requester,
|
|
7
266
|
* and security group information that applies to all instances in the launch
|
|
@@ -8838,18 +9097,9 @@ export declare enum VolumeStatusName {
|
|
|
8838
9097
|
io_performance = "io-performance"
|
|
8839
9098
|
}
|
|
8840
9099
|
/**
|
|
8841
|
-
*
|
|
9100
|
+
* @internal
|
|
8842
9101
|
*/
|
|
8843
|
-
export
|
|
8844
|
-
/**
|
|
8845
|
-
* <p>The name of the volume status.</p>
|
|
8846
|
-
*/
|
|
8847
|
-
Name?: VolumeStatusName | string;
|
|
8848
|
-
/**
|
|
8849
|
-
* <p>The intended status of the volume status.</p>
|
|
8850
|
-
*/
|
|
8851
|
-
Status?: string;
|
|
8852
|
-
}
|
|
9102
|
+
export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
|
|
8853
9103
|
/**
|
|
8854
9104
|
* @internal
|
|
8855
9105
|
*/
|
|
@@ -9890,7 +10140,3 @@ export declare const VolumeStatusAttachmentStatusFilterSensitiveLog: (obj: Volum
|
|
|
9890
10140
|
* @internal
|
|
9891
10141
|
*/
|
|
9892
10142
|
export declare const VolumeStatusEventFilterSensitiveLog: (obj: VolumeStatusEvent) => any;
|
|
9893
|
-
/**
|
|
9894
|
-
* @internal
|
|
9895
|
-
*/
|
|
9896
|
-
export declare const VolumeStatusDetailsFilterSensitiveLog: (obj: VolumeStatusDetails) => any;
|
|
@@ -2,7 +2,20 @@ import { _InstanceType, AccessScopeAnalysisFinding, AddressAttribute, AddressTra
|
|
|
2
2
|
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, TargetCapacityUnitType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, MetricType, PaymentOption, PeriodType, SnapshotDetail, SnapshotTaskDetail, StatisticType, VirtualizationType } from "./models_3";
|
|
5
|
-
import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus,
|
|
5
|
+
import { AnalysisStatus, ArchitectureType, VolumeStatusAction, VolumeStatusAttachmentStatus, VolumeStatusEvent, VolumeStatusName } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Describes a volume status.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface VolumeStatusDetails {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The name of the volume status.</p>
|
|
12
|
+
*/
|
|
13
|
+
Name?: VolumeStatusName | string;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The intended status of the volume status.</p>
|
|
16
|
+
*/
|
|
17
|
+
Status?: string;
|
|
18
|
+
}
|
|
6
19
|
export declare enum VolumeStatusInfoStatus {
|
|
7
20
|
impaired = "impaired",
|
|
8
21
|
insufficient_data = "insufficient-data",
|
|
@@ -5770,10 +5783,10 @@ export interface ModifyAddressAttributeResult {
|
|
|
5770
5783
|
*/
|
|
5771
5784
|
Address?: AddressAttribute;
|
|
5772
5785
|
}
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5786
|
+
/**
|
|
5787
|
+
* @internal
|
|
5788
|
+
*/
|
|
5789
|
+
export declare const VolumeStatusDetailsFilterSensitiveLog: (obj: VolumeStatusDetails) => any;
|
|
5777
5790
|
/**
|
|
5778
5791
|
* @internal
|
|
5779
5792
|
*/
|