@aws-sdk/client-ec2 3.1011.0 → 3.1013.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 +6 -0
- package/dist-cjs/schemas/schemas_0.js +105 -62
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +51 -8
- package/dist-types/commands/CreateFleetCommand.d.ts +8 -3
- package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -2
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_1.d.ts +31 -43
- package/dist-types/models/models_2.d.ts +40 -10
- package/dist-types/models/models_3.d.ts +31 -166
- package/dist-types/models/models_4.d.ts +196 -88
- package/dist-types/models/models_5.d.ts +87 -118
- package/dist-types/models/models_6.d.ts +119 -160
- package/dist-types/models/models_7.d.ts +160 -3
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -9
- package/dist-types/ts3.4/models/models_2.d.ts +9 -3
- package/dist-types/ts3.4/models/models_3.d.ts +8 -18
- package/dist-types/ts3.4/models/models_4.d.ts +27 -18
- package/dist-types/ts3.4/models/models_5.d.ts +17 -23
- package/dist-types/ts3.4/models/models_6.d.ts +23 -40
- package/dist-types/ts3.4/models/models_7.d.ts +38 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +15 -15
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, ArchitectureValues, AsnState, AssociatedNetworkType, AttachmentStatus, AutoPlacement, AvailabilityZoneOptInStatus, AvailabilityZoneState, BootModeValues, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetStateCode, FleetType, FpgaImageAttributeName, FpgaImageStateCode, HostMaintenance, HostRecovery, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, LogDestinationType, MetricType, OutputFormat, PaymentOption, PeriodType, PermissionGroup, PlatformValues, ProductCodeValues, ReportState, ReservationState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TpmSupportValues, TrafficIpAddressType, TrafficType, TransportProtocol, VirtualizationType, VpnProtocol } from "./enums";
|
|
1
|
+
import { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, ArchitectureValues, AsnState, AssociatedNetworkType, AttachmentStatus, AutoPlacement, AvailabilityZoneOptInStatus, AvailabilityZoneState, BootModeValues, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FpgaImageAttributeName, FpgaImageStateCode, HostMaintenance, HostRecovery, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, LogDestinationType, MetricType, OutputFormat, PaymentOption, PeriodType, PermissionGroup, PlatformValues, ProductCodeValues, ReportState, ReservationState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TpmSupportValues, TrafficIpAddressType, TrafficType, TransportProtocol, VirtualizationType, VpnProtocol } from "./enums";
|
|
2
2
|
import { type AssociationStatus, type ClientVpnAuthorizationRuleStatus, type ClientVpnEndpointStatus, type ClientVpnRouteStatus, type OperatorResponse, type TransitGatewayPeeringAttachment, type TransitGatewayVpcAttachment, type VerifiedAccessInstance, type VerifiedAccessTrustProvider, type VpcEncryptionControl, AccountAttribute, ActiveInstance, Address, AddressAttribute, AddressTransfer, BundleTask, ByoipCidr, CapacityReservation, CarrierGateway, CoipPool, CustomerGateway, FleetCapacityReservation, IamInstanceProfileAssociation, InstanceEventWindow, Tag, UnsuccessfulItem } from "./models_0";
|
|
3
3
|
import { type AttributeValue, type FleetLaunchTemplateSpecification, type LaunchTemplateAndOverridesResponse, type StateReason, BlockDeviceMapping, DhcpOptions, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, GroupIdentifier } from "./models_1";
|
|
4
4
|
import type { TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteTrafficMirrorSessionResult {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the deleted Traffic Mirror session.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
TrafficMirrorSessionId?: string | undefined;
|
|
14
|
+
}
|
|
5
15
|
/**
|
|
6
16
|
* @public
|
|
7
17
|
*/
|
|
@@ -6149,7 +6159,8 @@ export interface DescribeFleetError {
|
|
|
6149
6159
|
*/
|
|
6150
6160
|
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
6151
6161
|
/**
|
|
6152
|
-
* <p>Indicates if the instance that could not be launched was a Spot
|
|
6162
|
+
* <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
|
|
6163
|
+
* or Interruptible Capacity Reservation instance.</p>
|
|
6153
6164
|
* @public
|
|
6154
6165
|
*/
|
|
6155
6166
|
Lifecycle?: InstanceLifecycle | undefined;
|
|
@@ -6178,7 +6189,8 @@ export interface DescribeFleetsInstances {
|
|
|
6178
6189
|
*/
|
|
6179
6190
|
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
6180
6191
|
/**
|
|
6181
|
-
* <p>Indicates if the instance that was launched is a Spot
|
|
6192
|
+
* <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
|
|
6193
|
+
* or Interruptible Capacity Reservation instance.</p>
|
|
6182
6194
|
* @public
|
|
6183
6195
|
*/
|
|
6184
6196
|
Lifecycle?: InstanceLifecycle | undefined;
|
|
@@ -6309,6 +6321,17 @@ export interface OnDemandOptions {
|
|
|
6309
6321
|
*/
|
|
6310
6322
|
MaxTotalPrice?: string | undefined;
|
|
6311
6323
|
}
|
|
6324
|
+
/**
|
|
6325
|
+
* <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
|
|
6326
|
+
* @public
|
|
6327
|
+
*/
|
|
6328
|
+
export interface ReservedCapacityOptions {
|
|
6329
|
+
/**
|
|
6330
|
+
* <p>The types of Capacity Reservations used for fulfilling the EC2 Fleet request.</p>
|
|
6331
|
+
* @public
|
|
6332
|
+
*/
|
|
6333
|
+
ReservationTypes?: FleetReservationType[] | undefined;
|
|
6334
|
+
}
|
|
6312
6335
|
/**
|
|
6313
6336
|
* <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
|
|
6314
6337
|
* elevated risk of being interrupted.</p>
|
|
@@ -6648,6 +6671,11 @@ export interface FleetData {
|
|
|
6648
6671
|
* @public
|
|
6649
6672
|
*/
|
|
6650
6673
|
OnDemandOptions?: OnDemandOptions | undefined;
|
|
6674
|
+
/**
|
|
6675
|
+
* <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
|
|
6676
|
+
* @public
|
|
6677
|
+
*/
|
|
6678
|
+
ReservedCapacityOptions?: ReservedCapacityOptions | undefined;
|
|
6651
6679
|
/**
|
|
6652
6680
|
* <p>The tags for an EC2 Fleet resource.</p>
|
|
6653
6681
|
* @public
|
|
@@ -9893,166 +9921,3 @@ export interface DescribeInstanceEventWindowsResult {
|
|
|
9893
9921
|
*/
|
|
9894
9922
|
NextToken?: string | undefined;
|
|
9895
9923
|
}
|
|
9896
|
-
/**
|
|
9897
|
-
* @public
|
|
9898
|
-
*/
|
|
9899
|
-
export interface DescribeInstanceImageMetadataRequest {
|
|
9900
|
-
/**
|
|
9901
|
-
* <p>The filters.</p>
|
|
9902
|
-
* <ul>
|
|
9903
|
-
* <li>
|
|
9904
|
-
* <p>
|
|
9905
|
-
* <code>availability-zone</code> - The name of the Availability Zone (for example,
|
|
9906
|
-
* <code>us-west-2a</code>) or Local Zone (for example, <code>us-west-2-lax-1b</code>) of
|
|
9907
|
-
* the instance.</p>
|
|
9908
|
-
* </li>
|
|
9909
|
-
* <li>
|
|
9910
|
-
* <p>
|
|
9911
|
-
* <code>instance-id</code> - The ID of the instance.</p>
|
|
9912
|
-
* </li>
|
|
9913
|
-
* <li>
|
|
9914
|
-
* <p>
|
|
9915
|
-
* <code>image-allowed</code> - A Boolean that indicates whether the image meets the
|
|
9916
|
-
* criteria specified for Allowed AMIs.</p>
|
|
9917
|
-
* </li>
|
|
9918
|
-
* <li>
|
|
9919
|
-
* <p>
|
|
9920
|
-
* <code>instance-state-name</code> - The state of the instance (<code>pending</code> |
|
|
9921
|
-
* <code>running</code> | <code>shutting-down</code> | <code>terminated</code> |
|
|
9922
|
-
* <code>stopping</code> | <code>stopped</code>).</p>
|
|
9923
|
-
* </li>
|
|
9924
|
-
* <li>
|
|
9925
|
-
* <p>
|
|
9926
|
-
* <code>instance-type</code> - The type of instance (for example,
|
|
9927
|
-
* <code>t3.micro</code>).</p>
|
|
9928
|
-
* </li>
|
|
9929
|
-
* <li>
|
|
9930
|
-
* <p>
|
|
9931
|
-
* <code>launch-time</code> - The time when the instance was launched, in the ISO 8601
|
|
9932
|
-
* format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
|
|
9933
|
-
* <code>2023-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
|
|
9934
|
-
* example, <code>2023-09-29T*</code>, which matches an entire day.</p>
|
|
9935
|
-
* </li>
|
|
9936
|
-
* <li>
|
|
9937
|
-
* <p>
|
|
9938
|
-
* <code>owner-alias</code> - The owner alias (<code>amazon</code> |
|
|
9939
|
-
* <code>aws-marketplace</code> | <code>aws-backup-vault</code>). The valid aliases are
|
|
9940
|
-
* defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set
|
|
9941
|
-
* using the IAM console. We recommend that you use the <code>Owner</code> request parameter
|
|
9942
|
-
* instead of this filter.</p>
|
|
9943
|
-
* </li>
|
|
9944
|
-
* <li>
|
|
9945
|
-
* <p>
|
|
9946
|
-
* <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use
|
|
9947
|
-
* the <code>Owner</code> request parameter instead of this filter.</p>
|
|
9948
|
-
* </li>
|
|
9949
|
-
* <li>
|
|
9950
|
-
* <p>
|
|
9951
|
-
* <code>tag:<key></code> - 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.
|
|
9952
|
-
* 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>
|
|
9953
|
-
* </li>
|
|
9954
|
-
* <li>
|
|
9955
|
-
* <p>
|
|
9956
|
-
* <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>
|
|
9957
|
-
* </li>
|
|
9958
|
-
* <li>
|
|
9959
|
-
* <p>
|
|
9960
|
-
* <code>zone-id</code> - The ID of the Availability Zone (for example,
|
|
9961
|
-
* <code>usw2-az2</code>) or Local Zone (for example, <code>usw2-lax1-az1</code>) of the
|
|
9962
|
-
* instance.</p>
|
|
9963
|
-
* </li>
|
|
9964
|
-
* </ul>
|
|
9965
|
-
* @public
|
|
9966
|
-
*/
|
|
9967
|
-
Filters?: Filter[] | undefined;
|
|
9968
|
-
/**
|
|
9969
|
-
* <p>The instance IDs.</p>
|
|
9970
|
-
* <p>If you don't specify an instance ID or filters, the output includes information for all
|
|
9971
|
-
* instances.</p>
|
|
9972
|
-
* @public
|
|
9973
|
-
*/
|
|
9974
|
-
InstanceIds?: string[] | undefined;
|
|
9975
|
-
/**
|
|
9976
|
-
* <p>The maximum number of items to return for this request.
|
|
9977
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
9978
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
9979
|
-
* <p>Default: 1000</p>
|
|
9980
|
-
* @public
|
|
9981
|
-
*/
|
|
9982
|
-
MaxResults?: number | undefined;
|
|
9983
|
-
/**
|
|
9984
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
9985
|
-
* @public
|
|
9986
|
-
*/
|
|
9987
|
-
NextToken?: string | undefined;
|
|
9988
|
-
/**
|
|
9989
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9990
|
-
* and provides an error response. If you have the required permissions, the error response is
|
|
9991
|
-
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9992
|
-
* @public
|
|
9993
|
-
*/
|
|
9994
|
-
DryRun?: boolean | undefined;
|
|
9995
|
-
}
|
|
9996
|
-
/**
|
|
9997
|
-
* <p>Information about the AMI.</p>
|
|
9998
|
-
* @public
|
|
9999
|
-
*/
|
|
10000
|
-
export interface ImageMetadata {
|
|
10001
|
-
/**
|
|
10002
|
-
* <p>The ID of the AMI.</p>
|
|
10003
|
-
* @public
|
|
10004
|
-
*/
|
|
10005
|
-
ImageId?: string | undefined;
|
|
10006
|
-
/**
|
|
10007
|
-
* <p>The name of the AMI.</p>
|
|
10008
|
-
* @public
|
|
10009
|
-
*/
|
|
10010
|
-
Name?: string | undefined;
|
|
10011
|
-
/**
|
|
10012
|
-
* <p>The ID of the Amazon Web Services account that owns the AMI.</p>
|
|
10013
|
-
* @public
|
|
10014
|
-
*/
|
|
10015
|
-
OwnerId?: string | undefined;
|
|
10016
|
-
/**
|
|
10017
|
-
* <p>The current state of the AMI. If the state is <code>available</code>, the AMI is
|
|
10018
|
-
* successfully registered and can be used to launch an instance.</p>
|
|
10019
|
-
* @public
|
|
10020
|
-
*/
|
|
10021
|
-
State?: ImageState | undefined;
|
|
10022
|
-
/**
|
|
10023
|
-
* <p>The alias of the AMI owner.</p>
|
|
10024
|
-
* <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> |
|
|
10025
|
-
* <code>aws-marketplace</code>
|
|
10026
|
-
* </p>
|
|
10027
|
-
* @public
|
|
10028
|
-
*/
|
|
10029
|
-
ImageOwnerAlias?: string | undefined;
|
|
10030
|
-
/**
|
|
10031
|
-
* <p>The date and time the AMI was created.</p>
|
|
10032
|
-
* @public
|
|
10033
|
-
*/
|
|
10034
|
-
CreationDate?: string | undefined;
|
|
10035
|
-
/**
|
|
10036
|
-
* <p>The deprecation date and time of the AMI, in UTC, in the following format:
|
|
10037
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.</p>
|
|
10038
|
-
* @public
|
|
10039
|
-
*/
|
|
10040
|
-
DeprecationTime?: string | undefined;
|
|
10041
|
-
/**
|
|
10042
|
-
* <p>If <code>true</code>, the AMI satisfies the criteria for Allowed AMIs and can be
|
|
10043
|
-
* discovered and used in the account. If <code>false</code>, the AMI can't be discovered or used
|
|
10044
|
-
* in the account.</p>
|
|
10045
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Control the discovery and use of AMIs in
|
|
10046
|
-
* Amazon EC2 with Allowed AMIs</a> in
|
|
10047
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10048
|
-
* @public
|
|
10049
|
-
*/
|
|
10050
|
-
ImageAllowed?: boolean | undefined;
|
|
10051
|
-
/**
|
|
10052
|
-
* <p>Indicates whether the AMI has public launch permissions. A value of <code>true</code>
|
|
10053
|
-
* means this AMI has public launch permissions, while <code>false</code> means it has only
|
|
10054
|
-
* implicit (AMI owner) or explicit (shared with your account) launch permissions.</p>
|
|
10055
|
-
* @public
|
|
10056
|
-
*/
|
|
10057
|
-
IsPublic?: boolean | undefined;
|
|
10058
|
-
}
|
|
@@ -1,8 +1,171 @@
|
|
|
1
|
-
import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
|
|
1
|
+
import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, ImageState, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
|
|
2
2
|
import { type IamInstanceProfile, type IamInstanceProfileSpecification, type OperatorResponse, ActiveInstance, AlternatePathHint, Explanation, IpamResourceDiscoveryAssociation, IpPermission, MacModificationTask, PathComponent, ReservedInstancesListing, SecurityGroupRule, Subnet, Tag, TagSpecification, UserIdGroupPair } from "./models_0";
|
|
3
3
|
import { type AttributeValue, type CapacityReservationTargetResponse, type ConnectionTrackingSpecificationRequest, type EnaSrdSpecificationRequest, type FleetLaunchTemplateSpecification, type InstanceRequirements, type NetworkInterfaceAttachment, type Placement, type StateReason, BlockDeviceMapping, GroupIdentifier, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, SecondaryNetwork } from "./models_1";
|
|
4
|
-
import { type SpotDatafeedSubscription, type SpotInstanceStateFault, SecondarySubnet, Snapshot, TrafficMirrorFilter, TrafficMirrorFilterRule
|
|
5
|
-
import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation,
|
|
4
|
+
import { type SpotDatafeedSubscription, type SpotInstanceStateFault, SecondarySubnet, Snapshot, TrafficMirrorFilter, TrafficMirrorFilterRule } from "./models_2";
|
|
5
|
+
import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation, Byoasn, Filter, IdFormat, InstanceBlockDeviceMapping, ProductCode } from "./models_3";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface DescribeInstanceImageMetadataRequest {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The filters.</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>
|
|
15
|
+
* <code>availability-zone</code> - The name of the Availability Zone (for example,
|
|
16
|
+
* <code>us-west-2a</code>) or Local Zone (for example, <code>us-west-2-lax-1b</code>) of
|
|
17
|
+
* the instance.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>
|
|
21
|
+
* <code>instance-id</code> - The ID of the instance.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>
|
|
25
|
+
* <code>image-allowed</code> - A Boolean that indicates whether the image meets the
|
|
26
|
+
* criteria specified for Allowed AMIs.</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>
|
|
30
|
+
* <code>instance-state-name</code> - The state of the instance (<code>pending</code> |
|
|
31
|
+
* <code>running</code> | <code>shutting-down</code> | <code>terminated</code> |
|
|
32
|
+
* <code>stopping</code> | <code>stopped</code>).</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>instance-type</code> - The type of instance (for example,
|
|
37
|
+
* <code>t3.micro</code>).</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <code>launch-time</code> - The time when the instance was launched, in the ISO 8601
|
|
42
|
+
* format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
|
|
43
|
+
* <code>2023-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
|
|
44
|
+
* example, <code>2023-09-29T*</code>, which matches an entire day.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>owner-alias</code> - The owner alias (<code>amazon</code> |
|
|
49
|
+
* <code>aws-marketplace</code> | <code>aws-backup-vault</code>). The valid aliases are
|
|
50
|
+
* defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set
|
|
51
|
+
* using the IAM console. We recommend that you use the <code>Owner</code> request parameter
|
|
52
|
+
* instead of this filter.</p>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use
|
|
57
|
+
* the <code>Owner</code> request parameter instead of this filter.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>tag:<key></code> - 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.
|
|
62
|
+
* 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>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <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>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <code>zone-id</code> - The ID of the Availability Zone (for example,
|
|
71
|
+
* <code>usw2-az2</code>) or Local Zone (for example, <code>usw2-lax1-az1</code>) of the
|
|
72
|
+
* instance.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* </ul>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
Filters?: Filter[] | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The instance IDs.</p>
|
|
80
|
+
* <p>If you don't specify an instance ID or filters, the output includes information for all
|
|
81
|
+
* instances.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
InstanceIds?: string[] | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The maximum number of items to return for this request.
|
|
87
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
88
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
89
|
+
* <p>Default: 1000</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
MaxResults?: number | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
NextToken?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
100
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
101
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
DryRun?: boolean | undefined;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>Information about the AMI.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export interface ImageMetadata {
|
|
111
|
+
/**
|
|
112
|
+
* <p>The ID of the AMI.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
ImageId?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>The name of the AMI.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
Name?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The ID of the Amazon Web Services account that owns the AMI.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
OwnerId?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The current state of the AMI. If the state is <code>available</code>, the AMI is
|
|
128
|
+
* successfully registered and can be used to launch an instance.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
State?: ImageState | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The alias of the AMI owner.</p>
|
|
134
|
+
* <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> |
|
|
135
|
+
* <code>aws-marketplace</code>
|
|
136
|
+
* </p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
ImageOwnerAlias?: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The date and time the AMI was created.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
CreationDate?: string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The deprecation date and time of the AMI, in UTC, in the following format:
|
|
147
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
DeprecationTime?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>If <code>true</code>, the AMI satisfies the criteria for Allowed AMIs and can be
|
|
153
|
+
* discovered and used in the account. If <code>false</code>, the AMI can't be discovered or used
|
|
154
|
+
* in the account.</p>
|
|
155
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Control the discovery and use of AMIs in
|
|
156
|
+
* Amazon EC2 with Allowed AMIs</a> in
|
|
157
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
ImageAllowed?: boolean | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Indicates whether the AMI has public launch permissions. A value of <code>true</code>
|
|
163
|
+
* means this AMI has public launch permissions, while <code>false</code> means it has only
|
|
164
|
+
* implicit (AMI owner) or explicit (shared with your account) launch permissions.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
IsPublic?: boolean | undefined;
|
|
168
|
+
}
|
|
6
169
|
/**
|
|
7
170
|
* <p>Describes the current state of an instance.</p>
|
|
8
171
|
* @public
|
|
@@ -3577,6 +3740,31 @@ export interface MemoryInfo {
|
|
|
3577
3740
|
*/
|
|
3578
3741
|
SizeInMiB?: number | undefined;
|
|
3579
3742
|
}
|
|
3743
|
+
/**
|
|
3744
|
+
* <p>Indicates default conntrack information for the instance type. For more
|
|
3745
|
+
* information, see
|
|
3746
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts"> Connection tracking timeouts
|
|
3747
|
+
* </a> in the Amazon EC2 User Guide.
|
|
3748
|
+
* </p>
|
|
3749
|
+
* @public
|
|
3750
|
+
*/
|
|
3751
|
+
export interface DefaultConnectionTrackingConfiguration {
|
|
3752
|
+
/**
|
|
3753
|
+
* <p>Default timeout (in seconds) for idle TCP connections in an established state.</p>
|
|
3754
|
+
* @public
|
|
3755
|
+
*/
|
|
3756
|
+
DefaultTcpEstablishedTimeout?: number | undefined;
|
|
3757
|
+
/**
|
|
3758
|
+
* <p>Default timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction.</p>
|
|
3759
|
+
* @public
|
|
3760
|
+
*/
|
|
3761
|
+
DefaultUdpTimeout?: number | undefined;
|
|
3762
|
+
/**
|
|
3763
|
+
* <p>Default timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction.</p>
|
|
3764
|
+
* @public
|
|
3765
|
+
*/
|
|
3766
|
+
DefaultUdpStreamTimeout?: number | undefined;
|
|
3767
|
+
}
|
|
3580
3768
|
/**
|
|
3581
3769
|
* <p>Describes the Elastic Fabric Adapters for the instance type.</p>
|
|
3582
3770
|
* @public
|
|
@@ -3724,6 +3912,11 @@ export interface NetworkInfo {
|
|
|
3724
3912
|
* @public
|
|
3725
3913
|
*/
|
|
3726
3914
|
FlexibleEnaQueuesSupport?: FlexibleEnaQueuesSupport | undefined;
|
|
3915
|
+
/**
|
|
3916
|
+
* <p>Indicates conntrack information for the instance type</p>
|
|
3917
|
+
* @public
|
|
3918
|
+
*/
|
|
3919
|
+
ConnectionTrackingConfiguration?: DefaultConnectionTrackingConfiguration | undefined;
|
|
3727
3920
|
/**
|
|
3728
3921
|
* <p>Indicates whether secondary interface attachments from secondary network are supported.</p>
|
|
3729
3922
|
* @public
|
|
@@ -13147,88 +13340,3 @@ export interface DescribeTrafficMirrorSessionsRequest {
|
|
|
13147
13340
|
*/
|
|
13148
13341
|
NextToken?: string | undefined;
|
|
13149
13342
|
}
|
|
13150
|
-
/**
|
|
13151
|
-
* @public
|
|
13152
|
-
*/
|
|
13153
|
-
export interface DescribeTrafficMirrorSessionsResult {
|
|
13154
|
-
/**
|
|
13155
|
-
* <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
|
|
13156
|
-
* @public
|
|
13157
|
-
*/
|
|
13158
|
-
TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
|
|
13159
|
-
/**
|
|
13160
|
-
* <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
|
|
13161
|
-
* @public
|
|
13162
|
-
*/
|
|
13163
|
-
NextToken?: string | undefined;
|
|
13164
|
-
}
|
|
13165
|
-
/**
|
|
13166
|
-
* @public
|
|
13167
|
-
*/
|
|
13168
|
-
export interface DescribeTrafficMirrorTargetsRequest {
|
|
13169
|
-
/**
|
|
13170
|
-
* <p>The ID of the Traffic Mirror targets.</p>
|
|
13171
|
-
* @public
|
|
13172
|
-
*/
|
|
13173
|
-
TrafficMirrorTargetIds?: string[] | undefined;
|
|
13174
|
-
/**
|
|
13175
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
13176
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
13177
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
13178
|
-
* @public
|
|
13179
|
-
*/
|
|
13180
|
-
DryRun?: boolean | undefined;
|
|
13181
|
-
/**
|
|
13182
|
-
* <p>One or more filters. The possible values are:</p>
|
|
13183
|
-
* <ul>
|
|
13184
|
-
* <li>
|
|
13185
|
-
* <p>
|
|
13186
|
-
* <code>description</code>: The Traffic Mirror target description.</p>
|
|
13187
|
-
* </li>
|
|
13188
|
-
* <li>
|
|
13189
|
-
* <p>
|
|
13190
|
-
* <code>network-interface-id</code>: The ID of the Traffic Mirror session network interface.</p>
|
|
13191
|
-
* </li>
|
|
13192
|
-
* <li>
|
|
13193
|
-
* <p>
|
|
13194
|
-
* <code>network-load-balancer-arn</code>: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session.</p>
|
|
13195
|
-
* </li>
|
|
13196
|
-
* <li>
|
|
13197
|
-
* <p>
|
|
13198
|
-
* <code>owner-id</code>: The ID of the account that owns the Traffic Mirror session.</p>
|
|
13199
|
-
* </li>
|
|
13200
|
-
* <li>
|
|
13201
|
-
* <p>
|
|
13202
|
-
* <code>traffic-mirror-target-id</code>: The ID of the Traffic Mirror target.</p>
|
|
13203
|
-
* </li>
|
|
13204
|
-
* </ul>
|
|
13205
|
-
* @public
|
|
13206
|
-
*/
|
|
13207
|
-
Filters?: Filter[] | undefined;
|
|
13208
|
-
/**
|
|
13209
|
-
* <p>The maximum number of results to return with a single call.
|
|
13210
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
13211
|
-
* @public
|
|
13212
|
-
*/
|
|
13213
|
-
MaxResults?: number | undefined;
|
|
13214
|
-
/**
|
|
13215
|
-
* <p>The token for the next page of results.</p>
|
|
13216
|
-
* @public
|
|
13217
|
-
*/
|
|
13218
|
-
NextToken?: string | undefined;
|
|
13219
|
-
}
|
|
13220
|
-
/**
|
|
13221
|
-
* @public
|
|
13222
|
-
*/
|
|
13223
|
-
export interface DescribeTrafficMirrorTargetsResult {
|
|
13224
|
-
/**
|
|
13225
|
-
* <p>Information about one or more Traffic Mirror targets.</p>
|
|
13226
|
-
* @public
|
|
13227
|
-
*/
|
|
13228
|
-
TrafficMirrorTargets?: TrafficMirrorTarget[] | undefined;
|
|
13229
|
-
/**
|
|
13230
|
-
* <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
|
|
13231
|
-
* @public
|
|
13232
|
-
*/
|
|
13233
|
-
NextToken?: string | undefined;
|
|
13234
|
-
}
|