@aws-sdk/client-ec2 3.1140.0 → 3.1142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +180 -25
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  5. package/dist-es/commands/GetClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  6. package/dist-es/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +20 -0
  9. package/dist-es/schemas/schemas_0.js +128 -24
  10. package/dist-types/EC2.d.ts +21 -0
  11. package/dist-types/EC2Client.d.ts +5 -2
  12. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +11 -0
  13. package/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +3 -3
  14. package/dist-types/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.d.ts +72 -0
  15. package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +2 -2
  16. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  17. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +10 -0
  19. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeRouteServerEndpointsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeRouteServerPeersCommand.d.ts +1 -2
  25. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
  26. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  27. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  28. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
  29. package/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +2 -2
  30. package/dist-types/commands/GetClientVpnEndpointAuthorizationPolicyCommand.d.ts +76 -0
  31. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +2 -1
  32. package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.d.ts +76 -0
  34. package/dist-types/commands/ModifyClientVpnEndpointCommand.d.ts +11 -0
  35. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  36. package/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +1 -1
  37. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  38. package/dist-types/commands/index.d.ts +3 -0
  39. package/dist-types/models/enums.d.ts +44 -0
  40. package/dist-types/models/models_1.d.ts +62 -92
  41. package/dist-types/models/models_2.d.ts +151 -109
  42. package/dist-types/models/models_3.d.ts +162 -218
  43. package/dist-types/models/models_4.d.ts +219 -211
  44. package/dist-types/models/models_5.d.ts +211 -108
  45. package/dist-types/models/models_6.d.ts +160 -181
  46. package/dist-types/models/models_7.d.ts +244 -285
  47. package/dist-types/models/models_8.d.ts +283 -1
  48. package/dist-types/schemas/schemas_0.d.ts +13 -0
  49. package/dist-types/ts3.4/EC2.d.ts +51 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  51. package/dist-types/ts3.4/commands/DeleteClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  53. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +1 -2
  55. package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeRouteServerEndpointsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeRouteServerPeersCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +1 -2
  62. package/dist-types/ts3.4/commands/GetClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +2 -4
  64. package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ModifyClientVpnEndpointAuthorizationPolicyCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  70. package/dist-types/ts3.4/models/enums.d.ts +26 -0
  71. package/dist-types/ts3.4/models/models_1.d.ts +12 -17
  72. package/dist-types/ts3.4/models/models_2.d.ts +27 -24
  73. package/dist-types/ts3.4/models/models_3.d.ts +34 -44
  74. package/dist-types/ts3.4/models/models_4.d.ts +43 -55
  75. package/dist-types/ts3.4/models/models_5.d.ts +55 -29
  76. package/dist-types/ts3.4/models/models_6.d.ts +41 -42
  77. package/dist-types/ts3.4/models/models_7.d.ts +57 -48
  78. package/dist-types/ts3.4/models/models_8.d.ts +45 -0
  79. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  80. package/package.json +1 -1
@@ -1,7 +1,104 @@
1
- import type { _InstanceType, AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetCapacityReservationTenancy, FleetEventType, FleetInstanceMatchCriteria, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
- import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CapacityReservationModificationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, FleetCapacityReservation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
- import type { DeleteLaunchTemplateVersionsResponseErrorItem, DeleteLaunchTemplateVersionsResponseSuccessItem, GroupIdentifier, RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
1
+ import type { AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnDeviceTrustProviderType, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetCapacityReservationTenancy, FleetEventType, FleetInstanceMatchCriteria, IpamPoolCidrFailureCode, IpamPoolCidrState, LaunchTemplateErrorCode, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
+ import type { AccountAttribute, AccountVpcEncryptionControl, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CapacityReservationModificationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, FleetCapacityReservation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
+ import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
+ import type { GroupIdentifier, RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteLaunchTemplateVersionsRequest {
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually
11
+ * making the request, and provides an error response. If you have the required
12
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
13
+ * <code>UnauthorizedOperation</code>.</p>
14
+ * @public
15
+ */
16
+ DryRun?: boolean | undefined;
17
+ /**
18
+ * <p>The ID of the launch template.</p>
19
+ * <p>You must specify either the launch template ID or the launch template name, but not
20
+ * both.</p>
21
+ * @public
22
+ */
23
+ LaunchTemplateId?: string | undefined;
24
+ /**
25
+ * <p>The name of the launch template.</p>
26
+ * <p>You must specify either the launch template ID or the launch template name, but not
27
+ * both.</p>
28
+ * @public
29
+ */
30
+ LaunchTemplateName?: string | undefined;
31
+ /**
32
+ * <p>The version numbers of one or more launch template versions to delete. You can specify
33
+ * up to 200 launch template version numbers.</p>
34
+ * @public
35
+ */
36
+ Versions: string[] | undefined;
37
+ }
38
+ /**
39
+ * <p>Describes a launch template version that was successfully deleted.</p>
40
+ * @public
41
+ */
42
+ export interface DeleteLaunchTemplateVersionsResponseSuccessItem {
43
+ /**
44
+ * <p>The ID of the launch template.</p>
45
+ * @public
46
+ */
47
+ LaunchTemplateId?: string | undefined;
48
+ /**
49
+ * <p>The name of the launch template.</p>
50
+ * @public
51
+ */
52
+ LaunchTemplateName?: string | undefined;
53
+ /**
54
+ * <p>The version number of the launch template.</p>
55
+ * @public
56
+ */
57
+ VersionNumber?: number | undefined;
58
+ }
59
+ /**
60
+ * <p>Describes the error that's returned when you cannot delete a launch template
61
+ * version.</p>
62
+ * @public
63
+ */
64
+ export interface ResponseError {
65
+ /**
66
+ * <p>The error code.</p>
67
+ * @public
68
+ */
69
+ Code?: LaunchTemplateErrorCode | undefined;
70
+ /**
71
+ * <p>The error message, if applicable.</p>
72
+ * @public
73
+ */
74
+ Message?: string | undefined;
75
+ }
76
+ /**
77
+ * <p>Describes a launch template version that could not be deleted.</p>
78
+ * @public
79
+ */
80
+ export interface DeleteLaunchTemplateVersionsResponseErrorItem {
81
+ /**
82
+ * <p>The ID of the launch template.</p>
83
+ * @public
84
+ */
85
+ LaunchTemplateId?: string | undefined;
86
+ /**
87
+ * <p>The name of the launch template.</p>
88
+ * @public
89
+ */
90
+ LaunchTemplateName?: string | undefined;
91
+ /**
92
+ * <p>The version number of the launch template.</p>
93
+ * @public
94
+ */
95
+ VersionNumber?: number | undefined;
96
+ /**
97
+ * <p>Information about the error.</p>
98
+ * @public
99
+ */
100
+ ResponseError?: ResponseError | undefined;
101
+ }
5
102
  /**
6
103
  * @public
7
104
  */
@@ -5582,6 +5679,11 @@ export interface ClientVpnConnection {
5582
5679
  * @public
5583
5680
  */
5584
5681
  PostureComplianceStatuses?: string[] | undefined;
5682
+ /**
5683
+ * <p>The date and time the authorization policy was last evaluated for the client connection, if applicable.</p>
5684
+ * @public
5685
+ */
5686
+ AuthorizationPolicyLastEvaluatedTime?: string | undefined;
5585
5687
  }
5586
5688
  /**
5587
5689
  * @public
@@ -5814,6 +5916,57 @@ export interface ConnectionLogResponseOptions {
5814
5916
  * @public
5815
5917
  */
5816
5918
  CloudwatchLogStream?: string | undefined;
5919
+ /**
5920
+ * <p>Specifies whether the authorization policy evaluation context is included in the connection logs for the Client VPN endpoint.</p>
5921
+ * @public
5922
+ */
5923
+ IncludeAuthorizationPolicyContext?: boolean | undefined;
5924
+ }
5925
+ /**
5926
+ * <p>Information about a device trust provider configured for a Client VPN endpoint.</p>
5927
+ * @public
5928
+ */
5929
+ export interface ClientVpnTrustProvider {
5930
+ /**
5931
+ * <p>The type of the device trust provider. Possible values include:</p>
5932
+ * <ul>
5933
+ * <li>
5934
+ * <p>
5935
+ * <code>crowdstrike</code> - CrowdStrike device trust provider.</p>
5936
+ * </li>
5937
+ * <li>
5938
+ * <p>
5939
+ * <code>jamf</code> - Jamf device trust provider.</p>
5940
+ * </li>
5941
+ * <li>
5942
+ * <p>
5943
+ * <code>jumpcloud</code> - JumpCloud device trust provider.</p>
5944
+ * </li>
5945
+ * </ul>
5946
+ * @public
5947
+ */
5948
+ TrustProviderType?: ClientVpnDeviceTrustProviderType | undefined;
5949
+ /**
5950
+ * <p>The tenant ID associated with your device trust provider account.</p>
5951
+ * @public
5952
+ */
5953
+ TenantId?: string | undefined;
5954
+ /**
5955
+ * <p>The URL of the public signing key that is used to verify the identity token issued by the device trust provider.</p>
5956
+ * @public
5957
+ */
5958
+ PublicSigningKeyUrl?: string | undefined;
5959
+ }
5960
+ /**
5961
+ * <p>Information about the device posture options for a Client VPN endpoint.</p>
5962
+ * @public
5963
+ */
5964
+ export interface DevicePostureResponseOptions {
5965
+ /**
5966
+ * <p>The device trust providers configured for the Client VPN endpoint.</p>
5967
+ * @public
5968
+ */
5969
+ TrustProviders?: ClientVpnTrustProvider[] | undefined;
5817
5970
  }
5818
5971
  /**
5819
5972
  * <p>Describes the Transit Gateway configuration for a Client VPN endpoint.</p>
@@ -5998,6 +6151,11 @@ export interface ClientVpnEndpoint {
5998
6151
  * @public
5999
6152
  */
6000
6153
  TransitGatewayConfiguration?: TransitGatewayConfigurationDescribeEndpointStructure | undefined;
6154
+ /**
6155
+ * <p>The device trust providers configured for the Client VPN endpoint, if applicable.</p>
6156
+ * @public
6157
+ */
6158
+ DevicePostureOptions?: DevicePostureResponseOptions | undefined;
6001
6159
  }
6002
6160
  /**
6003
6161
  * @public
@@ -7660,217 +7818,3 @@ export interface DescribeFleetHistoryResult {
7660
7818
  */
7661
7819
  StartTime?: Date | undefined;
7662
7820
  }
7663
- /**
7664
- * @public
7665
- */
7666
- export interface DescribeFleetInstancesRequest {
7667
- /**
7668
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7669
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7670
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7671
- * @public
7672
- */
7673
- DryRun?: boolean | undefined;
7674
- /**
7675
- * <p>The maximum number of items to return for this request.
7676
- * To get the next page of items, make another request with the token returned in the output.
7677
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7678
- * @public
7679
- */
7680
- MaxResults?: number | undefined;
7681
- /**
7682
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
7683
- * @public
7684
- */
7685
- NextToken?: string | undefined;
7686
- /**
7687
- * <p>The ID of the EC2 Fleet.</p>
7688
- * @public
7689
- */
7690
- FleetId: string | undefined;
7691
- /**
7692
- * <p>The filters.</p>
7693
- * <ul>
7694
- * <li>
7695
- * <p>
7696
- * <code>instance-type</code> - The instance type.</p>
7697
- * </li>
7698
- * </ul>
7699
- * @public
7700
- */
7701
- Filters?: Filter[] | undefined;
7702
- }
7703
- /**
7704
- * @public
7705
- */
7706
- export interface DescribeFleetInstancesResult {
7707
- /**
7708
- * <p>The running instances. This list is refreshed periodically and might be out of
7709
- * date.</p>
7710
- * @public
7711
- */
7712
- ActiveInstances?: ActiveInstance[] | undefined;
7713
- /**
7714
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
7715
- * are no more items to return.</p>
7716
- * @public
7717
- */
7718
- NextToken?: string | undefined;
7719
- /**
7720
- * <p>The ID of the EC2 Fleet.</p>
7721
- * @public
7722
- */
7723
- FleetId?: string | undefined;
7724
- }
7725
- /**
7726
- * @public
7727
- */
7728
- export interface DescribeFleetsRequest {
7729
- /**
7730
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7731
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7732
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7733
- * @public
7734
- */
7735
- DryRun?: boolean | undefined;
7736
- /**
7737
- * <p>The maximum number of items to return for this request.
7738
- * To get the next page of items, make another request with the token returned in the output.
7739
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
7740
- * @public
7741
- */
7742
- MaxResults?: number | undefined;
7743
- /**
7744
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
7745
- * @public
7746
- */
7747
- NextToken?: string | undefined;
7748
- /**
7749
- * <p>The IDs of the EC2 Fleets.</p>
7750
- * <note>
7751
- * <p>If a fleet is of type <code>instant</code>, you must specify the fleet ID, otherwise
7752
- * it does not appear in the response.</p>
7753
- * </note>
7754
- * @public
7755
- */
7756
- FleetIds?: string[] | undefined;
7757
- /**
7758
- * <p>The filters.</p>
7759
- * <ul>
7760
- * <li>
7761
- * <p>
7762
- * <code>activity-status</code> - The progress of the EC2 Fleet ( <code>error</code> |
7763
- * <code>pending-fulfillment</code> | <code>pending-termination</code> |
7764
- * <code>fulfilled</code>).</p>
7765
- * </li>
7766
- * <li>
7767
- * <p>
7768
- * <code>excess-capacity-termination-policy</code> - Indicates whether to terminate
7769
- * running instances if the target capacity is decreased below the current EC2 Fleet size
7770
- * (<code>true</code> | <code>false</code>).</p>
7771
- * </li>
7772
- * <li>
7773
- * <p>
7774
- * <code>fleet-state</code> - The state of the EC2 Fleet (<code>submitted</code> |
7775
- * <code>active</code> | <code>deleted</code> | <code>failed</code> |
7776
- * <code>deleted-running</code> | <code>deleted-terminating</code> |
7777
- * <code>modifying</code>).</p>
7778
- * </li>
7779
- * <li>
7780
- * <p>
7781
- * <code>replace-unhealthy-instances</code> - Indicates whether EC2 Fleet should replace
7782
- * unhealthy instances (<code>true</code> | <code>false</code>).</p>
7783
- * </li>
7784
- * <li>
7785
- * <p>
7786
- * <code>type</code> - The type of request (<code>instant</code> |
7787
- * <code>request</code> | <code>maintain</code>).</p>
7788
- * </li>
7789
- * </ul>
7790
- * @public
7791
- */
7792
- Filters?: Filter[] | undefined;
7793
- }
7794
- /**
7795
- * <p>Describes the instances that could not be launched by the fleet.</p>
7796
- * @public
7797
- */
7798
- export interface DescribeFleetError {
7799
- /**
7800
- * <p>The launch templates and overrides that were used for launching the instances. The
7801
- * values that you specify in the Overrides replace the values in the launch template.</p>
7802
- * @public
7803
- */
7804
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
7805
- /**
7806
- * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML,
7807
- * or interruptible Capacity Reservation instance. If you are using <code>ReservedCapacityOptions</code> with
7808
- * <code>on-demand-capacity-reservation</code> in the <code>ReservationTypes</code> list, the
7809
- * value can also be <code>on-demand-capacity-reservation</code>.</p>
7810
- * @public
7811
- */
7812
- Lifecycle?: InstanceLifecycle | undefined;
7813
- /**
7814
- * <p>The error code that indicates why the instance could not be launched. For more
7815
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
7816
- * @public
7817
- */
7818
- ErrorCode?: string | undefined;
7819
- /**
7820
- * <p>The error message that describes why the instance could not be launched. For more
7821
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
7822
- * @public
7823
- */
7824
- ErrorMessage?: string | undefined;
7825
- }
7826
- /**
7827
- * <p>Describes the instances that were launched by the fleet.</p>
7828
- * @public
7829
- */
7830
- export interface DescribeFleetsInstances {
7831
- /**
7832
- * <p>The launch templates and overrides that were used for launching the instances. The
7833
- * values that you specify in the Overrides replace the values in the launch template.</p>
7834
- * @public
7835
- */
7836
- LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
7837
- /**
7838
- * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML,
7839
- * or interruptible Capacity Reservation instance.</p>
7840
- * @public
7841
- */
7842
- Lifecycle?: InstanceLifecycle | undefined;
7843
- /**
7844
- * <p>The IDs of the instances.</p>
7845
- * @public
7846
- */
7847
- InstanceIds?: string[] | undefined;
7848
- /**
7849
- * <p>The instance type.</p>
7850
- * @public
7851
- */
7852
- InstanceType?: _InstanceType | undefined;
7853
- /**
7854
- * <p>The value is <code>windows</code> for Windows instances in an EC2 Fleet. Otherwise, the value is
7855
- * blank.</p>
7856
- * @public
7857
- */
7858
- Platform?: PlatformValues | undefined;
7859
- }
7860
- /**
7861
- * <p>Describes a launch template and overrides.</p>
7862
- * @public
7863
- */
7864
- export interface FleetLaunchTemplateConfig {
7865
- /**
7866
- * <p>The launch template.</p>
7867
- * @public
7868
- */
7869
- LaunchTemplateSpecification?: FleetLaunchTemplateSpecification | undefined;
7870
- /**
7871
- * <p>Any parameters that you specify override the same parameters in the launch
7872
- * template.</p>
7873
- * @public
7874
- */
7875
- Overrides?: FleetLaunchTemplateOverrides[] | undefined;
7876
- }