@aws-sdk/client-ec2 3.701.0 → 3.708.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -0
- package/dist-cjs/index.js +2291 -481
- package/dist-es/EC2.js +24 -0
- package/dist-es/commands/CancelDeclarativePoliciesReportCommand.js +22 -0
- package/dist-es/commands/DescribeDeclarativePoliciesReportsCommand.js +22 -0
- package/dist-es/commands/DescribeVpcEndpointAssociationsCommand.js +22 -0
- package/dist-es/commands/DisableAllowedImagesSettingsCommand.js +22 -0
- package/dist-es/commands/EnableAllowedImagesSettingsCommand.js +22 -0
- package/dist-es/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.js +23 -0
- package/dist-es/commands/GetAllowedImagesSettingsCommand.js +22 -0
- package/dist-es/commands/GetDeclarativePoliciesReportSummaryCommand.js +22 -0
- package/dist-es/commands/GetVerifiedAccessEndpointTargetsCommand.js +22 -0
- package/dist-es/commands/ModifyInstanceNetworkPerformanceOptionsCommand.js +22 -0
- package/dist-es/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.js +22 -0
- package/dist-es/commands/StartDeclarativePoliciesReportCommand.js +22 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +9 -32
- package/dist-es/models/models_1.js +55 -25
- package/dist-es/models/models_2.js +42 -19
- package/dist-es/models/models_3.js +21 -15
- package/dist-es/models/models_4.js +20 -21
- package/dist-es/models/models_5.js +29 -3
- package/dist-es/models/models_6.js +13 -23
- package/dist-es/models/models_7.js +30 -0
- package/dist-es/models/models_8.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +1662 -123
- package/dist-types/EC2.d.ts +89 -0
- package/dist-types/EC2Client.d.ts +14 -2
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +15 -0
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CancelDeclarativePoliciesReportCommand.d.ts +77 -0
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -3
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +3 -3
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +5 -5
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +6 -3
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +10 -4
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +3 -2
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +2 -2
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -3
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +82 -10
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +8 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +20 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +26 -5
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFlowLogsCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +39 -3
- package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +9 -0
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +1 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +5 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -2
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +39 -3
- package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +9 -0
- package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcEndpointAssociationsCommand.d.ts +112 -0
- package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +21 -2
- package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +15 -0
- package/dist-types/commands/DisableAllowedImagesSettingsCommand.d.ts +82 -0
- package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +101 -0
- package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -1
- package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
- package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/commands/EnableImageCommand.d.ts +1 -1
- package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -1
- package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
- package/dist-types/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
- package/dist-types/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +88 -0
- package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +102 -0
- package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -2
- package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -0
- package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +81 -0
- package/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +75 -0
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
- package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -3
- package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +68 -5
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +7 -0
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +19 -0
- package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +2 -0
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +86 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +4 -4
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +3 -3
- package/dist-types/commands/RunInstancesCommand.d.ts +9 -3
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +129 -0
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +119 -298
- package/dist-types/models/models_1.d.ts +392 -279
- package/dist-types/models/models_2.d.ts +627 -314
- package/dist-types/models/models_3.d.ts +422 -924
- package/dist-types/models/models_4.d.ts +7153 -7068
- package/dist-types/models/models_5.d.ts +5632 -5095
- package/dist-types/models/models_6.d.ts +4278 -4390
- package/dist-types/models/models_7.d.ts +1591 -172
- package/dist-types/models/models_8.d.ts +168 -0
- package/dist-types/protocols/Aws_ec2.d.ts +108 -0
- package/dist-types/ts3.4/EC2.d.ts +239 -0
- package/dist-types/ts3.4/EC2Client.d.ts +72 -0
- package/dist-types/ts3.4/commands/CancelDeclarativePoliciesReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteCoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCoipPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFleetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFlowLogsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableAllowedImagesSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableImageDeprecationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartDeclarativePoliciesReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -64
- package/dist-types/ts3.4/models/models_1.d.ts +102 -85
- package/dist-types/ts3.4/models/models_2.d.ts +171 -94
- package/dist-types/ts3.4/models/models_3.d.ts +108 -174
- package/dist-types/ts3.4/models/models_4.d.ts +187 -166
- package/dist-types/ts3.4/models/models_5.d.ts +215 -142
- package/dist-types/ts3.4/models/models_6.d.ts +255 -297
- package/dist-types/ts3.4/models/models_7.d.ts +366 -41
- package/dist-types/ts3.4/models/models_8.d.ts +40 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +144 -0
- package/package.json +1 -1
|
@@ -1,6 +1,289 @@
|
|
|
1
|
-
import { AccountAttribute, AccountAttributeName,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
|
+
import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, CustomerGateway, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, PlatformValues, TransportProtocol } from "./models_1";
|
|
3
|
+
import { GroupIdentifier, ManagedPrefixList, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteClientVpnRouteResult {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The current state of the route.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
Status?: ClientVpnRouteStatus | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteCoipCidrRequest {
|
|
18
|
+
/**
|
|
19
|
+
* <p> A customer-owned IP address range that you want to delete. </p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
Cidr: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>
|
|
25
|
+
* The ID of the customer-owned address pool.
|
|
26
|
+
* </p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
CoipPoolId: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
32
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
33
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
DryRun?: boolean | undefined;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface DeleteCoipCidrResult {
|
|
42
|
+
/**
|
|
43
|
+
* <p>
|
|
44
|
+
* Information about a range of customer-owned IP addresses.
|
|
45
|
+
* </p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
CoipCidr?: CoipCidr | undefined;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export interface DeleteCoipPoolRequest {
|
|
54
|
+
/**
|
|
55
|
+
* <p>The ID of the CoIP pool that you want to delete. </p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
CoipPoolId: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
61
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
62
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
DryRun?: boolean | undefined;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface DeleteCoipPoolResult {
|
|
71
|
+
/**
|
|
72
|
+
* <p>Information about the CoIP address pool.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
CoipPool?: CoipPool | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>Contains the parameters for DeleteCustomerGateway.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export interface DeleteCustomerGatewayRequest {
|
|
82
|
+
/**
|
|
83
|
+
* <p>The ID of the customer gateway.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
CustomerGatewayId: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
89
|
+
* making the request, and provides an error response. If you have the required
|
|
90
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
91
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
DryRun?: boolean | undefined;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export interface DeleteDhcpOptionsRequest {
|
|
100
|
+
/**
|
|
101
|
+
* <p>The ID of the DHCP options set.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
DhcpOptionsId: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
107
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
108
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
DryRun?: boolean | undefined;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export interface DeleteEgressOnlyInternetGatewayRequest {
|
|
117
|
+
/**
|
|
118
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
119
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
120
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
DryRun?: boolean | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The ID of the egress-only internet gateway.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
EgressOnlyInternetGatewayId: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export interface DeleteEgressOnlyInternetGatewayResult {
|
|
134
|
+
/**
|
|
135
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
ReturnCode?: boolean | undefined;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export interface DeleteFleetsRequest {
|
|
144
|
+
/**
|
|
145
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
146
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
147
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
DryRun?: boolean | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The IDs of the EC2 Fleets.</p>
|
|
153
|
+
* <p>Constraints: In a single request, you can specify up to 25 <code>instant</code> fleet
|
|
154
|
+
* IDs and up to 100 <code>maintain</code> or <code>request</code> fleet IDs. </p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
FleetIds: string[] | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to
|
|
160
|
+
* terminate the instances.</p>
|
|
161
|
+
* <p>To let the instances continue to run after the EC2 Fleet is deleted, specify
|
|
162
|
+
* <code>no-terminate-instances</code>. Supported only for fleets of type
|
|
163
|
+
* <code>maintain</code> and <code>request</code>.</p>
|
|
164
|
+
* <p>For <code>instant</code> fleets, you cannot specify <code>NoTerminateInstances</code>. A
|
|
165
|
+
* deleted <code>instant</code> fleet with running instances is not supported.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
TerminateInstances: boolean | undefined;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @enum
|
|
173
|
+
*/
|
|
174
|
+
export declare const FleetStateCode: {
|
|
175
|
+
readonly ACTIVE: "active";
|
|
176
|
+
readonly DELETED: "deleted";
|
|
177
|
+
readonly DELETED_RUNNING: "deleted_running";
|
|
178
|
+
readonly DELETED_TERMINATING_INSTANCES: "deleted_terminating";
|
|
179
|
+
readonly FAILED: "failed";
|
|
180
|
+
readonly MODIFYING: "modifying";
|
|
181
|
+
readonly SUBMITTED: "submitted";
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export type FleetStateCode = (typeof FleetStateCode)[keyof typeof FleetStateCode];
|
|
187
|
+
/**
|
|
188
|
+
* <p>Describes an EC2 Fleet that was successfully deleted.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export interface DeleteFleetSuccessItem {
|
|
192
|
+
/**
|
|
193
|
+
* <p>The current state of the EC2 Fleet.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
CurrentFleetState?: FleetStateCode | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* <p>The previous state of the EC2 Fleet.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
PreviousFleetState?: FleetStateCode | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* <p>The ID of the EC2 Fleet.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
FleetId?: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* @enum
|
|
211
|
+
*/
|
|
212
|
+
export declare const DeleteFleetErrorCode: {
|
|
213
|
+
readonly FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist";
|
|
214
|
+
readonly FLEET_ID_MALFORMED: "fleetIdMalformed";
|
|
215
|
+
readonly FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState";
|
|
216
|
+
readonly UNEXPECTED_ERROR: "unexpectedError";
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export type DeleteFleetErrorCode = (typeof DeleteFleetErrorCode)[keyof typeof DeleteFleetErrorCode];
|
|
222
|
+
/**
|
|
223
|
+
* <p>Describes an EC2 Fleet error.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export interface DeleteFleetError {
|
|
227
|
+
/**
|
|
228
|
+
* <p>The error code.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
Code?: DeleteFleetErrorCode | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* <p>The description for the error code.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
Message?: string | undefined;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* <p>Describes an EC2 Fleet that was not successfully deleted.</p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export interface DeleteFleetErrorItem {
|
|
243
|
+
/**
|
|
244
|
+
* <p>The error.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
Error?: DeleteFleetError | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The ID of the EC2 Fleet.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
FleetId?: string | undefined;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export interface DeleteFleetsResult {
|
|
258
|
+
/**
|
|
259
|
+
* <p>Information about the EC2 Fleets that are successfully deleted.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
SuccessfulFleetDeletions?: DeleteFleetSuccessItem[] | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* <p>Information about the EC2 Fleets that are not successfully deleted.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
UnsuccessfulFleetDeletions?: DeleteFleetErrorItem[] | undefined;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export interface DeleteFlowLogsRequest {
|
|
273
|
+
/**
|
|
274
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
275
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
276
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
DryRun?: boolean | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* <p>One or more flow log IDs.</p>
|
|
282
|
+
* <p>Constraint: Maximum of 1000 flow log IDs.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
FlowLogIds: string[] | undefined;
|
|
286
|
+
}
|
|
4
287
|
/**
|
|
5
288
|
* @public
|
|
6
289
|
*/
|
|
@@ -5527,12 +5810,14 @@ export interface DescribeCustomerGatewaysResult {
|
|
|
5527
5810
|
/**
|
|
5528
5811
|
* @public
|
|
5529
5812
|
*/
|
|
5530
|
-
export interface
|
|
5813
|
+
export interface DescribeDeclarativePoliciesReportsRequest {
|
|
5531
5814
|
/**
|
|
5532
|
-
* <p>
|
|
5815
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
5816
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
5817
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5533
5818
|
* @public
|
|
5534
5819
|
*/
|
|
5535
|
-
|
|
5820
|
+
DryRun?: boolean | undefined;
|
|
5536
5821
|
/**
|
|
5537
5822
|
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
5538
5823
|
* @public
|
|
@@ -5546,30 +5831,147 @@ export interface DescribeDhcpOptionsRequest {
|
|
|
5546
5831
|
*/
|
|
5547
5832
|
MaxResults?: number | undefined;
|
|
5548
5833
|
/**
|
|
5549
|
-
* <p>
|
|
5550
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
5551
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5834
|
+
* <p>One or more report IDs.</p>
|
|
5552
5835
|
* @public
|
|
5553
5836
|
*/
|
|
5554
|
-
|
|
5837
|
+
ReportIds?: string[] | undefined;
|
|
5838
|
+
}
|
|
5839
|
+
/**
|
|
5840
|
+
* @public
|
|
5841
|
+
* @enum
|
|
5842
|
+
*/
|
|
5843
|
+
export declare const ReportState: {
|
|
5844
|
+
readonly cancelled: "cancelled";
|
|
5845
|
+
readonly complete: "complete";
|
|
5846
|
+
readonly error: "error";
|
|
5847
|
+
readonly running: "running";
|
|
5848
|
+
};
|
|
5849
|
+
/**
|
|
5850
|
+
* @public
|
|
5851
|
+
*/
|
|
5852
|
+
export type ReportState = (typeof ReportState)[keyof typeof ReportState];
|
|
5853
|
+
/**
|
|
5854
|
+
* <p>Describes the metadata of the account status report.</p>
|
|
5855
|
+
* @public
|
|
5856
|
+
*/
|
|
5857
|
+
export interface DeclarativePoliciesReport {
|
|
5555
5858
|
/**
|
|
5556
|
-
* <p>The
|
|
5859
|
+
* <p>The ID of the report.</p>
|
|
5860
|
+
* @public
|
|
5861
|
+
*/
|
|
5862
|
+
ReportId?: string | undefined;
|
|
5863
|
+
/**
|
|
5864
|
+
* <p>The name of the Amazon S3 bucket where the report is located.</p>
|
|
5865
|
+
* @public
|
|
5866
|
+
*/
|
|
5867
|
+
S3Bucket?: string | undefined;
|
|
5868
|
+
/**
|
|
5869
|
+
* <p>The prefix for your S3 object.</p>
|
|
5870
|
+
* @public
|
|
5871
|
+
*/
|
|
5872
|
+
S3Prefix?: string | undefined;
|
|
5873
|
+
/**
|
|
5874
|
+
* <p>The root ID, organizational unit ID, or account ID.</p>
|
|
5875
|
+
* <p>Format:</p>
|
|
5557
5876
|
* <ul>
|
|
5558
5877
|
* <li>
|
|
5559
|
-
* <p>
|
|
5560
|
-
*
|
|
5878
|
+
* <p>For root: <code>r-ab12</code>
|
|
5879
|
+
* </p>
|
|
5561
5880
|
* </li>
|
|
5562
5881
|
* <li>
|
|
5563
|
-
* <p>
|
|
5564
|
-
*
|
|
5882
|
+
* <p>For OU: <code>ou-ab12-cdef1234</code>
|
|
5883
|
+
* </p>
|
|
5565
5884
|
* </li>
|
|
5566
5885
|
* <li>
|
|
5567
|
-
* <p>
|
|
5568
|
-
*
|
|
5886
|
+
* <p>For account: <code>123456789012</code>
|
|
5887
|
+
* </p>
|
|
5569
5888
|
* </li>
|
|
5570
|
-
*
|
|
5571
|
-
*
|
|
5572
|
-
|
|
5889
|
+
* </ul>
|
|
5890
|
+
* @public
|
|
5891
|
+
*/
|
|
5892
|
+
TargetId?: string | undefined;
|
|
5893
|
+
/**
|
|
5894
|
+
* <p>The time when the report generation started.</p>
|
|
5895
|
+
* @public
|
|
5896
|
+
*/
|
|
5897
|
+
StartTime?: Date | undefined;
|
|
5898
|
+
/**
|
|
5899
|
+
* <p>The time when the report generation ended.</p>
|
|
5900
|
+
* @public
|
|
5901
|
+
*/
|
|
5902
|
+
EndTime?: Date | undefined;
|
|
5903
|
+
/**
|
|
5904
|
+
* <p>The current status of the report.</p>
|
|
5905
|
+
* @public
|
|
5906
|
+
*/
|
|
5907
|
+
Status?: ReportState | undefined;
|
|
5908
|
+
/**
|
|
5909
|
+
* <p>Any tags assigned to the report.</p>
|
|
5910
|
+
* @public
|
|
5911
|
+
*/
|
|
5912
|
+
Tags?: Tag[] | undefined;
|
|
5913
|
+
}
|
|
5914
|
+
/**
|
|
5915
|
+
* @public
|
|
5916
|
+
*/
|
|
5917
|
+
export interface DescribeDeclarativePoliciesReportsResult {
|
|
5918
|
+
/**
|
|
5919
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
5920
|
+
* @public
|
|
5921
|
+
*/
|
|
5922
|
+
NextToken?: string | undefined;
|
|
5923
|
+
/**
|
|
5924
|
+
* <p>The report metadata.</p>
|
|
5925
|
+
* @public
|
|
5926
|
+
*/
|
|
5927
|
+
Reports?: DeclarativePoliciesReport[] | undefined;
|
|
5928
|
+
}
|
|
5929
|
+
/**
|
|
5930
|
+
* @public
|
|
5931
|
+
*/
|
|
5932
|
+
export interface DescribeDhcpOptionsRequest {
|
|
5933
|
+
/**
|
|
5934
|
+
* <p>The IDs of DHCP option sets.</p>
|
|
5935
|
+
* @public
|
|
5936
|
+
*/
|
|
5937
|
+
DhcpOptionsIds?: string[] | undefined;
|
|
5938
|
+
/**
|
|
5939
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
5940
|
+
* @public
|
|
5941
|
+
*/
|
|
5942
|
+
NextToken?: string | undefined;
|
|
5943
|
+
/**
|
|
5944
|
+
* <p>The maximum number of items to return for this request.
|
|
5945
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
5946
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
5947
|
+
* @public
|
|
5948
|
+
*/
|
|
5949
|
+
MaxResults?: number | undefined;
|
|
5950
|
+
/**
|
|
5951
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
5952
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
5953
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5954
|
+
* @public
|
|
5955
|
+
*/
|
|
5956
|
+
DryRun?: boolean | undefined;
|
|
5957
|
+
/**
|
|
5958
|
+
* <p>The filters.</p>
|
|
5959
|
+
* <ul>
|
|
5960
|
+
* <li>
|
|
5961
|
+
* <p>
|
|
5962
|
+
* <code>dhcp-options-id</code> - The ID of a DHCP options set.</p>
|
|
5963
|
+
* </li>
|
|
5964
|
+
* <li>
|
|
5965
|
+
* <p>
|
|
5966
|
+
* <code>key</code> - The key for one of the options (for example, <code>domain-name</code>).</p>
|
|
5967
|
+
* </li>
|
|
5968
|
+
* <li>
|
|
5969
|
+
* <p>
|
|
5970
|
+
* <code>value</code> - The value for one of the options.</p>
|
|
5971
|
+
* </li>
|
|
5972
|
+
* <li>
|
|
5973
|
+
* <p>
|
|
5974
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the DHCP options set.</p>
|
|
5573
5975
|
* </li>
|
|
5574
5976
|
* <li>
|
|
5575
5977
|
* <p>
|
|
@@ -6601,910 +7003,6 @@ export interface DescribeFleetInstancesRequest {
|
|
|
6601
7003
|
*/
|
|
6602
7004
|
Filters?: Filter[] | undefined;
|
|
6603
7005
|
}
|
|
6604
|
-
/**
|
|
6605
|
-
* @public
|
|
6606
|
-
*/
|
|
6607
|
-
export interface DescribeFleetInstancesResult {
|
|
6608
|
-
/**
|
|
6609
|
-
* <p>The running instances. This list is refreshed periodically and might be out of
|
|
6610
|
-
* date.</p>
|
|
6611
|
-
* @public
|
|
6612
|
-
*/
|
|
6613
|
-
ActiveInstances?: ActiveInstance[] | undefined;
|
|
6614
|
-
/**
|
|
6615
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
6616
|
-
* are no more items to return.</p>
|
|
6617
|
-
* @public
|
|
6618
|
-
*/
|
|
6619
|
-
NextToken?: string | undefined;
|
|
6620
|
-
/**
|
|
6621
|
-
* <p>The ID of the EC2 Fleet.</p>
|
|
6622
|
-
* @public
|
|
6623
|
-
*/
|
|
6624
|
-
FleetId?: string | undefined;
|
|
6625
|
-
}
|
|
6626
|
-
/**
|
|
6627
|
-
* @public
|
|
6628
|
-
*/
|
|
6629
|
-
export interface DescribeFleetsRequest {
|
|
6630
|
-
/**
|
|
6631
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
6632
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
6633
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6634
|
-
* @public
|
|
6635
|
-
*/
|
|
6636
|
-
DryRun?: boolean | undefined;
|
|
6637
|
-
/**
|
|
6638
|
-
* <p>The maximum number of items to return for this request.
|
|
6639
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
6640
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
6641
|
-
* @public
|
|
6642
|
-
*/
|
|
6643
|
-
MaxResults?: number | undefined;
|
|
6644
|
-
/**
|
|
6645
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
6646
|
-
* @public
|
|
6647
|
-
*/
|
|
6648
|
-
NextToken?: string | undefined;
|
|
6649
|
-
/**
|
|
6650
|
-
* <p>The IDs of the EC2 Fleets.</p>
|
|
6651
|
-
* <note>
|
|
6652
|
-
* <p>If a fleet is of type <code>instant</code>, you must specify the fleet ID, otherwise
|
|
6653
|
-
* it does not appear in the response.</p>
|
|
6654
|
-
* </note>
|
|
6655
|
-
* @public
|
|
6656
|
-
*/
|
|
6657
|
-
FleetIds?: string[] | undefined;
|
|
6658
|
-
/**
|
|
6659
|
-
* <p>The filters.</p>
|
|
6660
|
-
* <ul>
|
|
6661
|
-
* <li>
|
|
6662
|
-
* <p>
|
|
6663
|
-
* <code>activity-status</code> - The progress of the EC2 Fleet ( <code>error</code> |
|
|
6664
|
-
* <code>pending-fulfillment</code> | <code>pending-termination</code> |
|
|
6665
|
-
* <code>fulfilled</code>).</p>
|
|
6666
|
-
* </li>
|
|
6667
|
-
* <li>
|
|
6668
|
-
* <p>
|
|
6669
|
-
* <code>excess-capacity-termination-policy</code> - Indicates whether to terminate
|
|
6670
|
-
* running instances if the target capacity is decreased below the current EC2 Fleet size
|
|
6671
|
-
* (<code>true</code> | <code>false</code>).</p>
|
|
6672
|
-
* </li>
|
|
6673
|
-
* <li>
|
|
6674
|
-
* <p>
|
|
6675
|
-
* <code>fleet-state</code> - The state of the EC2 Fleet (<code>submitted</code> |
|
|
6676
|
-
* <code>active</code> | <code>deleted</code> | <code>failed</code> |
|
|
6677
|
-
* <code>deleted-running</code> | <code>deleted-terminating</code> |
|
|
6678
|
-
* <code>modifying</code>).</p>
|
|
6679
|
-
* </li>
|
|
6680
|
-
* <li>
|
|
6681
|
-
* <p>
|
|
6682
|
-
* <code>replace-unhealthy-instances</code> - Indicates whether EC2 Fleet should replace
|
|
6683
|
-
* unhealthy instances (<code>true</code> | <code>false</code>).</p>
|
|
6684
|
-
* </li>
|
|
6685
|
-
* <li>
|
|
6686
|
-
* <p>
|
|
6687
|
-
* <code>type</code> - The type of request (<code>instant</code> |
|
|
6688
|
-
* <code>request</code> | <code>maintain</code>).</p>
|
|
6689
|
-
* </li>
|
|
6690
|
-
* </ul>
|
|
6691
|
-
* @public
|
|
6692
|
-
*/
|
|
6693
|
-
Filters?: Filter[] | undefined;
|
|
6694
|
-
}
|
|
6695
|
-
/**
|
|
6696
|
-
* @public
|
|
6697
|
-
* @enum
|
|
6698
|
-
*/
|
|
6699
|
-
export declare const FleetActivityStatus: {
|
|
6700
|
-
readonly ERROR: "error";
|
|
6701
|
-
readonly FULFILLED: "fulfilled";
|
|
6702
|
-
readonly PENDING_FULFILLMENT: "pending_fulfillment";
|
|
6703
|
-
readonly PENDING_TERMINATION: "pending_termination";
|
|
6704
|
-
};
|
|
6705
|
-
/**
|
|
6706
|
-
* @public
|
|
6707
|
-
*/
|
|
6708
|
-
export type FleetActivityStatus = (typeof FleetActivityStatus)[keyof typeof FleetActivityStatus];
|
|
6709
|
-
/**
|
|
6710
|
-
* <p>Describes the instances that could not be launched by the fleet.</p>
|
|
6711
|
-
* @public
|
|
6712
|
-
*/
|
|
6713
|
-
export interface DescribeFleetError {
|
|
6714
|
-
/**
|
|
6715
|
-
* <p>The launch templates and overrides that were used for launching the instances. The
|
|
6716
|
-
* values that you specify in the Overrides replace the values in the launch template.</p>
|
|
6717
|
-
* @public
|
|
6718
|
-
*/
|
|
6719
|
-
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
6720
|
-
/**
|
|
6721
|
-
* <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
|
|
6722
|
-
* @public
|
|
6723
|
-
*/
|
|
6724
|
-
Lifecycle?: InstanceLifecycle | undefined;
|
|
6725
|
-
/**
|
|
6726
|
-
* <p>The error code that indicates why the instance could not be launched. For more
|
|
6727
|
-
* information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
|
|
6728
|
-
* @public
|
|
6729
|
-
*/
|
|
6730
|
-
ErrorCode?: string | undefined;
|
|
6731
|
-
/**
|
|
6732
|
-
* <p>The error message that describes why the instance could not be launched. For more
|
|
6733
|
-
* information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
|
|
6734
|
-
* @public
|
|
6735
|
-
*/
|
|
6736
|
-
ErrorMessage?: string | undefined;
|
|
6737
|
-
}
|
|
6738
|
-
/**
|
|
6739
|
-
* <p>Describes the instances that were launched by the fleet.</p>
|
|
6740
|
-
* @public
|
|
6741
|
-
*/
|
|
6742
|
-
export interface DescribeFleetsInstances {
|
|
6743
|
-
/**
|
|
6744
|
-
* <p>The launch templates and overrides that were used for launching the instances. The
|
|
6745
|
-
* values that you specify in the Overrides replace the values in the launch template.</p>
|
|
6746
|
-
* @public
|
|
6747
|
-
*/
|
|
6748
|
-
LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
|
|
6749
|
-
/**
|
|
6750
|
-
* <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
|
|
6751
|
-
* @public
|
|
6752
|
-
*/
|
|
6753
|
-
Lifecycle?: InstanceLifecycle | undefined;
|
|
6754
|
-
/**
|
|
6755
|
-
* <p>The IDs of the instances.</p>
|
|
6756
|
-
* @public
|
|
6757
|
-
*/
|
|
6758
|
-
InstanceIds?: string[] | undefined;
|
|
6759
|
-
/**
|
|
6760
|
-
* <p>The instance type.</p>
|
|
6761
|
-
* @public
|
|
6762
|
-
*/
|
|
6763
|
-
InstanceType?: _InstanceType | undefined;
|
|
6764
|
-
/**
|
|
6765
|
-
* <p>The value is <code>windows</code> for Windows instances in an EC2 Fleet. Otherwise, the value is
|
|
6766
|
-
* blank.</p>
|
|
6767
|
-
* @public
|
|
6768
|
-
*/
|
|
6769
|
-
Platform?: PlatformValues | undefined;
|
|
6770
|
-
}
|
|
6771
|
-
/**
|
|
6772
|
-
* <p>Describes a launch template and overrides.</p>
|
|
6773
|
-
* @public
|
|
6774
|
-
*/
|
|
6775
|
-
export interface FleetLaunchTemplateConfig {
|
|
6776
|
-
/**
|
|
6777
|
-
* <p>The launch template.</p>
|
|
6778
|
-
* @public
|
|
6779
|
-
*/
|
|
6780
|
-
LaunchTemplateSpecification?: FleetLaunchTemplateSpecification | undefined;
|
|
6781
|
-
/**
|
|
6782
|
-
* <p>Any parameters that you specify override the same parameters in the launch
|
|
6783
|
-
* template.</p>
|
|
6784
|
-
* @public
|
|
6785
|
-
*/
|
|
6786
|
-
Overrides?: FleetLaunchTemplateOverrides[] | undefined;
|
|
6787
|
-
}
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6790
|
-
* capacity.</p>
|
|
6791
|
-
* <note>
|
|
6792
|
-
* <p>This strategy can only be used if the EC2 Fleet is of type
|
|
6793
|
-
* <code>instant</code>.</p>
|
|
6794
|
-
* </note>
|
|
6795
|
-
* <p>For more information about Capacity Reservations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">On-Demand Capacity
|
|
6796
|
-
* Reservations</a> in the <i>Amazon EC2 User Guide</i>. For examples of using
|
|
6797
|
-
* Capacity Reservations in an EC2 Fleet, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html">EC2 Fleet example
|
|
6798
|
-
* configurations</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6799
|
-
* @public
|
|
6800
|
-
*/
|
|
6801
|
-
export interface CapacityReservationOptions {
|
|
6802
|
-
/**
|
|
6803
|
-
* <p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p>
|
|
6804
|
-
* <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused
|
|
6805
|
-
* Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If
|
|
6806
|
-
* multiple instance pools have unused Capacity Reservations, the On-Demand allocation
|
|
6807
|
-
* strategy (<code>lowest-price</code> or <code>prioritized</code>) is applied. If the number
|
|
6808
|
-
* of unused Capacity Reservations is less than the On-Demand target capacity, the remaining
|
|
6809
|
-
* On-Demand target capacity is launched according to the On-Demand allocation strategy
|
|
6810
|
-
* (<code>lowest-price</code> or <code>prioritized</code>).</p>
|
|
6811
|
-
* <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
|
|
6812
|
-
* chosen On-Demand allocation strategy.</p>
|
|
6813
|
-
* @public
|
|
6814
|
-
*/
|
|
6815
|
-
UsageStrategy?: FleetCapacityReservationUsageStrategy | undefined;
|
|
6816
|
-
}
|
|
6817
|
-
/**
|
|
6818
|
-
* <p>Describes the configuration of On-Demand Instances in an EC2 Fleet.</p>
|
|
6819
|
-
* @public
|
|
6820
|
-
*/
|
|
6821
|
-
export interface OnDemandOptions {
|
|
6822
|
-
/**
|
|
6823
|
-
* <p>The strategy that determines the order of the launch template overrides to use in
|
|
6824
|
-
* fulfilling On-Demand capacity.</p>
|
|
6825
|
-
* <p>
|
|
6826
|
-
* <code>lowest-price</code> - EC2 Fleet uses price to determine the order, launching the lowest
|
|
6827
|
-
* price first.</p>
|
|
6828
|
-
* <p>
|
|
6829
|
-
* <code>prioritized</code> - EC2 Fleet uses the priority that you assigned to each launch
|
|
6830
|
-
* template override, launching the highest priority first.</p>
|
|
6831
|
-
* <p>Default: <code>lowest-price</code>
|
|
6832
|
-
* </p>
|
|
6833
|
-
* @public
|
|
6834
|
-
*/
|
|
6835
|
-
AllocationStrategy?: FleetOnDemandAllocationStrategy | undefined;
|
|
6836
|
-
/**
|
|
6837
|
-
* <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
|
|
6838
|
-
* capacity.</p>
|
|
6839
|
-
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6840
|
-
* @public
|
|
6841
|
-
*/
|
|
6842
|
-
CapacityReservationOptions?: CapacityReservationOptions | undefined;
|
|
6843
|
-
/**
|
|
6844
|
-
* <p>Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the
|
|
6845
|
-
* fleet.</p>
|
|
6846
|
-
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6847
|
-
* @public
|
|
6848
|
-
*/
|
|
6849
|
-
SingleInstanceType?: boolean | undefined;
|
|
6850
|
-
/**
|
|
6851
|
-
* <p>Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.</p>
|
|
6852
|
-
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
6853
|
-
* @public
|
|
6854
|
-
*/
|
|
6855
|
-
SingleAvailabilityZone?: boolean | undefined;
|
|
6856
|
-
/**
|
|
6857
|
-
* <p>The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't
|
|
6858
|
-
* reached, no instances are launched.</p>
|
|
6859
|
-
* <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
|
|
6860
|
-
* <code>instant</code>.</p>
|
|
6861
|
-
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
6862
|
-
* <code>SingleInstanceType</code>
|
|
6863
|
-
* </p>
|
|
6864
|
-
* @public
|
|
6865
|
-
*/
|
|
6866
|
-
MinTargetCapacity?: number | undefined;
|
|
6867
|
-
/**
|
|
6868
|
-
* <p>The maximum amount per hour for On-Demand Instances that you're willing to pay.</p>
|
|
6869
|
-
* <note>
|
|
6870
|
-
* <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
|
|
6871
|
-
* if their average CPU usage exceeds the baseline utilization, you will incur a charge for
|
|
6872
|
-
* surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
|
|
6873
|
-
* and, if you use surplus credits, your final cost might be higher than what you specified
|
|
6874
|
-
* for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
|
|
6875
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6876
|
-
* </note>
|
|
6877
|
-
* @public
|
|
6878
|
-
*/
|
|
6879
|
-
MaxTotalPrice?: string | undefined;
|
|
6880
|
-
}
|
|
6881
|
-
/**
|
|
6882
|
-
* <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
|
|
6883
|
-
* elevated risk of being interrupted.</p>
|
|
6884
|
-
* @public
|
|
6885
|
-
*/
|
|
6886
|
-
export interface FleetSpotCapacityRebalance {
|
|
6887
|
-
/**
|
|
6888
|
-
* <p>The replacement strategy to use. Only available for fleets of type
|
|
6889
|
-
* <code>maintain</code>.</p>
|
|
6890
|
-
* <p>
|
|
6891
|
-
* <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a
|
|
6892
|
-
* rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet
|
|
6893
|
-
* does not terminate the instances that receive a rebalance notification. You can terminate
|
|
6894
|
-
* the old instances, or you can leave them running. You are charged for all instances while
|
|
6895
|
-
* they are running. </p>
|
|
6896
|
-
* <p>
|
|
6897
|
-
* <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot
|
|
6898
|
-
* Instance when a rebalance notification is emitted for an existing Spot Instance in the
|
|
6899
|
-
* fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
|
|
6900
|
-
* terminates the instances that received a rebalance notification.</p>
|
|
6901
|
-
* @public
|
|
6902
|
-
*/
|
|
6903
|
-
ReplacementStrategy?: FleetReplacementStrategy | undefined;
|
|
6904
|
-
/**
|
|
6905
|
-
* <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
|
|
6906
|
-
* Instance after launching a new replacement Spot Instance.</p>
|
|
6907
|
-
* <p>Required when <code>ReplacementStrategy</code> is set to <code>launch-before-terminate</code>.</p>
|
|
6908
|
-
* <p>Not valid when <code>ReplacementStrategy</code> is set to <code>launch</code>.</p>
|
|
6909
|
-
* <p>Valid values: Minimum value of <code>120</code> seconds. Maximum value of <code>7200</code> seconds.</p>
|
|
6910
|
-
* @public
|
|
6911
|
-
*/
|
|
6912
|
-
TerminationDelay?: number | undefined;
|
|
6913
|
-
}
|
|
6914
|
-
/**
|
|
6915
|
-
* <p>The strategies for managing your Spot Instances that are at an elevated risk of being
|
|
6916
|
-
* interrupted.</p>
|
|
6917
|
-
* @public
|
|
6918
|
-
*/
|
|
6919
|
-
export interface FleetSpotMaintenanceStrategies {
|
|
6920
|
-
/**
|
|
6921
|
-
* <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
|
|
6922
|
-
* elevated risk of being interrupted.</p>
|
|
6923
|
-
* @public
|
|
6924
|
-
*/
|
|
6925
|
-
CapacityRebalance?: FleetSpotCapacityRebalance | undefined;
|
|
6926
|
-
}
|
|
6927
|
-
/**
|
|
6928
|
-
* <p>Describes the configuration of Spot Instances in an EC2 Fleet.</p>
|
|
6929
|
-
* @public
|
|
6930
|
-
*/
|
|
6931
|
-
export interface SpotOptions {
|
|
6932
|
-
/**
|
|
6933
|
-
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
6934
|
-
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
6935
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6936
|
-
* <dl>
|
|
6937
|
-
* <dt>price-capacity-optimized (recommended)</dt>
|
|
6938
|
-
* <dd>
|
|
6939
|
-
* <p>EC2 Fleet identifies the pools with
|
|
6940
|
-
* the highest capacity availability for the number of instances that are launching. This means
|
|
6941
|
-
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
6942
|
-
* in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
6943
|
-
* </dd>
|
|
6944
|
-
* <dt>capacity-optimized</dt>
|
|
6945
|
-
* <dd>
|
|
6946
|
-
* <p>EC2 Fleet identifies the pools with
|
|
6947
|
-
* the highest capacity availability for the number of instances that are launching. This means
|
|
6948
|
-
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
6949
|
-
* in the near term. To give certain
|
|
6950
|
-
* instance types a higher chance of launching first, use
|
|
6951
|
-
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
6952
|
-
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
6953
|
-
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
6954
|
-
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
6955
|
-
* <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
|
|
6956
|
-
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
6957
|
-
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
6958
|
-
* capacity.</p>
|
|
6959
|
-
* </dd>
|
|
6960
|
-
* <dt>diversified</dt>
|
|
6961
|
-
* <dd>
|
|
6962
|
-
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
6963
|
-
* specify.</p>
|
|
6964
|
-
* </dd>
|
|
6965
|
-
* <dt>lowest-price (not recommended)</dt>
|
|
6966
|
-
* <dd>
|
|
6967
|
-
* <important>
|
|
6968
|
-
* <p>We don't recommend the <code>lowest-price</code> allocation strategy because
|
|
6969
|
-
* it has the highest risk of interruption for your Spot Instances.</p>
|
|
6970
|
-
* </important>
|
|
6971
|
-
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that has available
|
|
6972
|
-
* capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
6973
|
-
* come from the next lowest priced pool that has available capacity. If a pool runs
|
|
6974
|
-
* out of capacity before fulfilling your desired capacity, EC2 Fleet will continue to
|
|
6975
|
-
* fulfill your request by drawing from the next lowest priced pool. To ensure that
|
|
6976
|
-
* your desired capacity is met, you might receive Spot Instances from several pools. Because
|
|
6977
|
-
* this strategy only considers instance price and not capacity availability, it
|
|
6978
|
-
* might lead to high interruption rates.</p>
|
|
6979
|
-
* </dd>
|
|
6980
|
-
* </dl>
|
|
6981
|
-
* <p>Default: <code>lowest-price</code>
|
|
6982
|
-
* </p>
|
|
6983
|
-
* @public
|
|
6984
|
-
*/
|
|
6985
|
-
AllocationStrategy?: SpotAllocationStrategy | undefined;
|
|
6986
|
-
/**
|
|
6987
|
-
* <p>The strategies for managing your workloads on your Spot Instances that will be
|
|
6988
|
-
* interrupted. Currently only the capacity rebalance strategy is available.</p>
|
|
6989
|
-
* @public
|
|
6990
|
-
*/
|
|
6991
|
-
MaintenanceStrategies?: FleetSpotMaintenanceStrategies | undefined;
|
|
6992
|
-
/**
|
|
6993
|
-
* <p>The behavior when a Spot Instance is interrupted.</p>
|
|
6994
|
-
* <p>Default: <code>terminate</code>
|
|
6995
|
-
* </p>
|
|
6996
|
-
* @public
|
|
6997
|
-
*/
|
|
6998
|
-
InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | undefined;
|
|
6999
|
-
/**
|
|
7000
|
-
* <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
|
|
7001
|
-
* only when <code>AllocationStrategy</code> is set to <code>lowest-price</code>. EC2 Fleet selects
|
|
7002
|
-
* the cheapest Spot pools and evenly allocates your target Spot capacity across the number of
|
|
7003
|
-
* Spot pools that you specify.</p>
|
|
7004
|
-
* <p>Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a
|
|
7005
|
-
* best effort basis. If a pool runs out of Spot capacity before fulfilling your target
|
|
7006
|
-
* capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest
|
|
7007
|
-
* pool. To ensure that your target capacity is met, you might receive Spot Instances from more than
|
|
7008
|
-
* the number of pools that you specified. Similarly, if most of the pools have no Spot
|
|
7009
|
-
* capacity, you might receive your full target capacity from fewer than the number of pools
|
|
7010
|
-
* that you specified.</p>
|
|
7011
|
-
* @public
|
|
7012
|
-
*/
|
|
7013
|
-
InstancePoolsToUseCount?: number | undefined;
|
|
7014
|
-
/**
|
|
7015
|
-
* <p>Indicates that the fleet uses a single instance type to launch all Spot Instances in the
|
|
7016
|
-
* fleet.</p>
|
|
7017
|
-
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
7018
|
-
* @public
|
|
7019
|
-
*/
|
|
7020
|
-
SingleInstanceType?: boolean | undefined;
|
|
7021
|
-
/**
|
|
7022
|
-
* <p>Indicates that the fleet launches all Spot Instances into a single Availability Zone.</p>
|
|
7023
|
-
* <p>Supported only for fleets of type <code>instant</code>.</p>
|
|
7024
|
-
* @public
|
|
7025
|
-
*/
|
|
7026
|
-
SingleAvailabilityZone?: boolean | undefined;
|
|
7027
|
-
/**
|
|
7028
|
-
* <p>The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't
|
|
7029
|
-
* reached, no instances are launched.</p>
|
|
7030
|
-
* <p>Constraints: Maximum value of <code>1000</code>. Supported only for fleets of type
|
|
7031
|
-
* <code>instant</code>.</p>
|
|
7032
|
-
* <p>At least one of the following must be specified: <code>SingleAvailabilityZone</code> |
|
|
7033
|
-
* <code>SingleInstanceType</code>
|
|
7034
|
-
* </p>
|
|
7035
|
-
* @public
|
|
7036
|
-
*/
|
|
7037
|
-
MinTargetCapacity?: number | undefined;
|
|
7038
|
-
/**
|
|
7039
|
-
* <p>The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend
|
|
7040
|
-
* using this parameter because it can lead to increased interruptions. If you do not specify
|
|
7041
|
-
* this parameter, you will pay the current Spot price.</p>
|
|
7042
|
-
* <important>
|
|
7043
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.</p>
|
|
7044
|
-
* </important>
|
|
7045
|
-
* <note>
|
|
7046
|
-
* <p>If your fleet includes T instances that are configured as <code>unlimited</code>, and
|
|
7047
|
-
* if their average CPU usage exceeds the baseline utilization, you will incur a charge for
|
|
7048
|
-
* surplus credits. The <code>maxTotalPrice</code> does not account for surplus credits,
|
|
7049
|
-
* and, if you use surplus credits, your final cost might be higher than what you specified
|
|
7050
|
-
* for <code>maxTotalPrice</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits">Surplus credits can incur charges</a> in the
|
|
7051
|
-
* <i>Amazon EC2 User Guide</i>.</p>
|
|
7052
|
-
* </note>
|
|
7053
|
-
* @public
|
|
7054
|
-
*/
|
|
7055
|
-
MaxTotalPrice?: string | undefined;
|
|
7056
|
-
}
|
|
7057
|
-
/**
|
|
7058
|
-
* <p>The number of units to request. You can choose to set the target capacity in terms of
|
|
7059
|
-
* instances or a performance characteristic that is important to your application workload,
|
|
7060
|
-
* such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
|
|
7061
|
-
* specify a target capacity of 0 and add capacity later.</p>
|
|
7062
|
-
* <p>You can use the On-Demand Instance <code>MaxTotalPrice</code> parameter, the Spot Instance
|
|
7063
|
-
* <code>MaxTotalPrice</code>, or both to ensure that your fleet cost does not exceed your
|
|
7064
|
-
* budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, EC2 Fleet
|
|
7065
|
-
* will launch instances until it reaches the maximum amount that you're willing to pay. When
|
|
7066
|
-
* the maximum amount you're willing to pay is reached, the fleet stops launching instances
|
|
7067
|
-
* even if it hasn’t met the target capacity. The <code>MaxTotalPrice</code> parameters are
|
|
7068
|
-
* located in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html">OnDemandOptions</a>
|
|
7069
|
-
* and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions">SpotOptions</a>.</p>
|
|
7070
|
-
* @public
|
|
7071
|
-
*/
|
|
7072
|
-
export interface TargetCapacitySpecification {
|
|
7073
|
-
/**
|
|
7074
|
-
* <p>The number of units to request, filled the default target capacity type.</p>
|
|
7075
|
-
* @public
|
|
7076
|
-
*/
|
|
7077
|
-
TotalTargetCapacity?: number | undefined;
|
|
7078
|
-
/**
|
|
7079
|
-
* <p>The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.</p>
|
|
7080
|
-
* @public
|
|
7081
|
-
*/
|
|
7082
|
-
OnDemandTargetCapacity?: number | undefined;
|
|
7083
|
-
/**
|
|
7084
|
-
* <p>The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.</p>
|
|
7085
|
-
* @public
|
|
7086
|
-
*/
|
|
7087
|
-
SpotTargetCapacity?: number | undefined;
|
|
7088
|
-
/**
|
|
7089
|
-
* <p>The default target capacity type.</p>
|
|
7090
|
-
* @public
|
|
7091
|
-
*/
|
|
7092
|
-
DefaultTargetCapacityType?: DefaultTargetCapacityType | undefined;
|
|
7093
|
-
/**
|
|
7094
|
-
* <p>The unit for the target capacity.</p>
|
|
7095
|
-
* @public
|
|
7096
|
-
*/
|
|
7097
|
-
TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
|
|
7098
|
-
}
|
|
7099
|
-
/**
|
|
7100
|
-
* <p>Describes an EC2 Fleet.</p>
|
|
7101
|
-
* @public
|
|
7102
|
-
*/
|
|
7103
|
-
export interface FleetData {
|
|
7104
|
-
/**
|
|
7105
|
-
* <p>The progress of the EC2 Fleet. If there is an error, the status is <code>error</code>. After
|
|
7106
|
-
* all requests are placed, the status is <code>pending_fulfillment</code>. If the size of the
|
|
7107
|
-
* EC2 Fleet is equal to or greater than its target capacity, the status is <code>fulfilled</code>.
|
|
7108
|
-
* If the size of the EC2 Fleet is decreased, the status is <code>pending_termination</code> while
|
|
7109
|
-
* instances are terminating.</p>
|
|
7110
|
-
* @public
|
|
7111
|
-
*/
|
|
7112
|
-
ActivityStatus?: FleetActivityStatus | undefined;
|
|
7113
|
-
/**
|
|
7114
|
-
* <p>The creation date and time of the EC2 Fleet.</p>
|
|
7115
|
-
* @public
|
|
7116
|
-
*/
|
|
7117
|
-
CreateTime?: Date | undefined;
|
|
7118
|
-
/**
|
|
7119
|
-
* <p>The ID of the EC2 Fleet.</p>
|
|
7120
|
-
* @public
|
|
7121
|
-
*/
|
|
7122
|
-
FleetId?: string | undefined;
|
|
7123
|
-
/**
|
|
7124
|
-
* <p>The state of the EC2 Fleet.</p>
|
|
7125
|
-
* @public
|
|
7126
|
-
*/
|
|
7127
|
-
FleetState?: FleetStateCode | undefined;
|
|
7128
|
-
/**
|
|
7129
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
7130
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
7131
|
-
* idempotency</a>.</p>
|
|
7132
|
-
* <p>Constraints: Maximum 64 ASCII characters</p>
|
|
7133
|
-
* @public
|
|
7134
|
-
*/
|
|
7135
|
-
ClientToken?: string | undefined;
|
|
7136
|
-
/**
|
|
7137
|
-
* <p>Indicates whether running instances should be terminated if the target capacity of the
|
|
7138
|
-
* EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
|
|
7139
|
-
* <p>Supported only for fleets of type <code>maintain</code>.</p>
|
|
7140
|
-
* @public
|
|
7141
|
-
*/
|
|
7142
|
-
ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | undefined;
|
|
7143
|
-
/**
|
|
7144
|
-
* <p>The number of units fulfilled by this request compared to the set target
|
|
7145
|
-
* capacity.</p>
|
|
7146
|
-
* @public
|
|
7147
|
-
*/
|
|
7148
|
-
FulfilledCapacity?: number | undefined;
|
|
7149
|
-
/**
|
|
7150
|
-
* <p>The number of units fulfilled by this request compared to the set target On-Demand
|
|
7151
|
-
* capacity.</p>
|
|
7152
|
-
* @public
|
|
7153
|
-
*/
|
|
7154
|
-
FulfilledOnDemandCapacity?: number | undefined;
|
|
7155
|
-
/**
|
|
7156
|
-
* <p>The launch template and overrides.</p>
|
|
7157
|
-
* @public
|
|
7158
|
-
*/
|
|
7159
|
-
LaunchTemplateConfigs?: FleetLaunchTemplateConfig[] | undefined;
|
|
7160
|
-
/**
|
|
7161
|
-
* <p>The number of units to request. You can choose to set the target capacity in terms of
|
|
7162
|
-
* instances or a performance characteristic that is important to your application workload,
|
|
7163
|
-
* such as vCPUs, memory, or I/O. If the request type is <code>maintain</code>, you can
|
|
7164
|
-
* specify a target capacity of 0 and add capacity later.</p>
|
|
7165
|
-
* @public
|
|
7166
|
-
*/
|
|
7167
|
-
TargetCapacitySpecification?: TargetCapacitySpecification | undefined;
|
|
7168
|
-
/**
|
|
7169
|
-
* <p>Indicates whether running instances should be terminated when the EC2 Fleet expires. </p>
|
|
7170
|
-
* @public
|
|
7171
|
-
*/
|
|
7172
|
-
TerminateInstancesWithExpiration?: boolean | undefined;
|
|
7173
|
-
/**
|
|
7174
|
-
* <p>The type of request. Indicates whether the EC2 Fleet only <code>requests</code> the target
|
|
7175
|
-
* capacity, or also attempts to <code>maintain</code> it. If you request a certain target
|
|
7176
|
-
* capacity, EC2 Fleet only places the required requests; it does not attempt to replenish
|
|
7177
|
-
* instances if capacity is diminished, and it does not submit requests in alternative
|
|
7178
|
-
* capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet
|
|
7179
|
-
* places the required requests to meet this target capacity. It also automatically
|
|
7180
|
-
* replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
|
|
7181
|
-
* @public
|
|
7182
|
-
*/
|
|
7183
|
-
Type?: FleetType | undefined;
|
|
7184
|
-
/**
|
|
7185
|
-
* <p>The start date and time of the request, in UTC format (for example,
|
|
7186
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
7187
|
-
* The default is to start fulfilling the request immediately. </p>
|
|
7188
|
-
* @public
|
|
7189
|
-
*/
|
|
7190
|
-
ValidFrom?: Date | undefined;
|
|
7191
|
-
/**
|
|
7192
|
-
* <p>The end date and time of the request, in UTC format (for example,
|
|
7193
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).
|
|
7194
|
-
* At this point, no new instance requests are placed or able to fulfill the request. The
|
|
7195
|
-
* default end date is 7 days from the current date. </p>
|
|
7196
|
-
* @public
|
|
7197
|
-
*/
|
|
7198
|
-
ValidUntil?: Date | undefined;
|
|
7199
|
-
/**
|
|
7200
|
-
* <p>Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for
|
|
7201
|
-
* fleets of type <code>maintain</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks">EC2 Fleet
|
|
7202
|
-
* health checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7203
|
-
* @public
|
|
7204
|
-
*/
|
|
7205
|
-
ReplaceUnhealthyInstances?: boolean | undefined;
|
|
7206
|
-
/**
|
|
7207
|
-
* <p>The configuration of Spot Instances in an EC2 Fleet.</p>
|
|
7208
|
-
* @public
|
|
7209
|
-
*/
|
|
7210
|
-
SpotOptions?: SpotOptions | undefined;
|
|
7211
|
-
/**
|
|
7212
|
-
* <p>The allocation strategy of On-Demand Instances in an EC2 Fleet.</p>
|
|
7213
|
-
* @public
|
|
7214
|
-
*/
|
|
7215
|
-
OnDemandOptions?: OnDemandOptions | undefined;
|
|
7216
|
-
/**
|
|
7217
|
-
* <p>The tags for an EC2 Fleet resource.</p>
|
|
7218
|
-
* @public
|
|
7219
|
-
*/
|
|
7220
|
-
Tags?: Tag[] | undefined;
|
|
7221
|
-
/**
|
|
7222
|
-
* <p>Information about the instances that could not be launched by the fleet. Valid only when
|
|
7223
|
-
* <b>Type</b> is set to <code>instant</code>.</p>
|
|
7224
|
-
* @public
|
|
7225
|
-
*/
|
|
7226
|
-
Errors?: DescribeFleetError[] | undefined;
|
|
7227
|
-
/**
|
|
7228
|
-
* <p>Information about the instances that were launched by the fleet. Valid only when
|
|
7229
|
-
* <b>Type</b> is set to <code>instant</code>.</p>
|
|
7230
|
-
* @public
|
|
7231
|
-
*/
|
|
7232
|
-
Instances?: DescribeFleetsInstances[] | undefined;
|
|
7233
|
-
/**
|
|
7234
|
-
* <p>Reserved.</p>
|
|
7235
|
-
* @public
|
|
7236
|
-
*/
|
|
7237
|
-
Context?: string | undefined;
|
|
7238
|
-
}
|
|
7239
|
-
/**
|
|
7240
|
-
* @public
|
|
7241
|
-
*/
|
|
7242
|
-
export interface DescribeFleetsResult {
|
|
7243
|
-
/**
|
|
7244
|
-
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
|
|
7245
|
-
* are no more items to return.</p>
|
|
7246
|
-
* @public
|
|
7247
|
-
*/
|
|
7248
|
-
NextToken?: string | undefined;
|
|
7249
|
-
/**
|
|
7250
|
-
* <p>Information about the EC2 Fleets.</p>
|
|
7251
|
-
* @public
|
|
7252
|
-
*/
|
|
7253
|
-
Fleets?: FleetData[] | undefined;
|
|
7254
|
-
}
|
|
7255
|
-
/**
|
|
7256
|
-
* @public
|
|
7257
|
-
*/
|
|
7258
|
-
export interface DescribeFlowLogsRequest {
|
|
7259
|
-
/**
|
|
7260
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7261
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7262
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7263
|
-
* @public
|
|
7264
|
-
*/
|
|
7265
|
-
DryRun?: boolean | undefined;
|
|
7266
|
-
/**
|
|
7267
|
-
* <p>One or more filters.</p>
|
|
7268
|
-
* <ul>
|
|
7269
|
-
* <li>
|
|
7270
|
-
* <p>
|
|
7271
|
-
* <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
|
|
7272
|
-
* <code>FAILED</code>).</p>
|
|
7273
|
-
* </li>
|
|
7274
|
-
* <li>
|
|
7275
|
-
* <p>
|
|
7276
|
-
* <code>log-destination-type</code> - The type of destination for the flow log
|
|
7277
|
-
* data (<code>cloud-watch-logs</code> | <code>s3</code> |
|
|
7278
|
-
* <code>kinesis-data-firehose</code>).</p>
|
|
7279
|
-
* </li>
|
|
7280
|
-
* <li>
|
|
7281
|
-
* <p>
|
|
7282
|
-
* <code>flow-log-id</code> - The ID of the flow log.</p>
|
|
7283
|
-
* </li>
|
|
7284
|
-
* <li>
|
|
7285
|
-
* <p>
|
|
7286
|
-
* <code>log-group-name</code> - The name of the log group.</p>
|
|
7287
|
-
* </li>
|
|
7288
|
-
* <li>
|
|
7289
|
-
* <p>
|
|
7290
|
-
* <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
|
|
7291
|
-
* </li>
|
|
7292
|
-
* <li>
|
|
7293
|
-
* <p>
|
|
7294
|
-
* <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
|
|
7295
|
-
* <code>REJECT</code> | <code>ALL</code>).</p>
|
|
7296
|
-
* </li>
|
|
7297
|
-
* <li>
|
|
7298
|
-
* <p>
|
|
7299
|
-
* <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
7300
|
-
* 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>
|
|
7301
|
-
* </li>
|
|
7302
|
-
* <li>
|
|
7303
|
-
* <p>
|
|
7304
|
-
* <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>
|
|
7305
|
-
* </li>
|
|
7306
|
-
* </ul>
|
|
7307
|
-
* @public
|
|
7308
|
-
*/
|
|
7309
|
-
Filter?: Filter[] | undefined;
|
|
7310
|
-
/**
|
|
7311
|
-
* <p>One or more flow log IDs.</p>
|
|
7312
|
-
* <p>Constraint: Maximum of 1000 flow log IDs.</p>
|
|
7313
|
-
* @public
|
|
7314
|
-
*/
|
|
7315
|
-
FlowLogIds?: string[] | undefined;
|
|
7316
|
-
/**
|
|
7317
|
-
* <p>The maximum number of items to return for this request.
|
|
7318
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
7319
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
7320
|
-
* @public
|
|
7321
|
-
*/
|
|
7322
|
-
MaxResults?: number | undefined;
|
|
7323
|
-
/**
|
|
7324
|
-
* <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
|
|
7325
|
-
* @public
|
|
7326
|
-
*/
|
|
7327
|
-
NextToken?: string | undefined;
|
|
7328
|
-
}
|
|
7329
|
-
/**
|
|
7330
|
-
* <p>Describes the destination options for a flow log.</p>
|
|
7331
|
-
* @public
|
|
7332
|
-
*/
|
|
7333
|
-
export interface DestinationOptionsResponse {
|
|
7334
|
-
/**
|
|
7335
|
-
* <p>The format for the flow log.</p>
|
|
7336
|
-
* @public
|
|
7337
|
-
*/
|
|
7338
|
-
FileFormat?: DestinationFileFormat | undefined;
|
|
7339
|
-
/**
|
|
7340
|
-
* <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
|
|
7341
|
-
* @public
|
|
7342
|
-
*/
|
|
7343
|
-
HiveCompatiblePartitions?: boolean | undefined;
|
|
7344
|
-
/**
|
|
7345
|
-
* <p>Indicates whether to partition the flow log per hour.</p>
|
|
7346
|
-
* @public
|
|
7347
|
-
*/
|
|
7348
|
-
PerHourPartition?: boolean | undefined;
|
|
7349
|
-
}
|
|
7350
|
-
/**
|
|
7351
|
-
* <p>Describes a flow log.</p>
|
|
7352
|
-
* @public
|
|
7353
|
-
*/
|
|
7354
|
-
export interface FlowLog {
|
|
7355
|
-
/**
|
|
7356
|
-
* <p>The date and time the flow log was created.</p>
|
|
7357
|
-
* @public
|
|
7358
|
-
*/
|
|
7359
|
-
CreationTime?: Date | undefined;
|
|
7360
|
-
/**
|
|
7361
|
-
* <p>Information about the error that occurred. <code>Rate limited</code> indicates that
|
|
7362
|
-
* CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've
|
|
7363
|
-
* reached the limit on the number of log groups that you can create. <code>Access
|
|
7364
|
-
* error</code> indicates that the IAM role associated with the flow log does not have
|
|
7365
|
-
* sufficient permissions to publish to CloudWatch Logs. <code>Unknown error</code> indicates an
|
|
7366
|
-
* internal error.</p>
|
|
7367
|
-
* @public
|
|
7368
|
-
*/
|
|
7369
|
-
DeliverLogsErrorMessage?: string | undefined;
|
|
7370
|
-
/**
|
|
7371
|
-
* <p>The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.</p>
|
|
7372
|
-
* @public
|
|
7373
|
-
*/
|
|
7374
|
-
DeliverLogsPermissionArn?: string | undefined;
|
|
7375
|
-
/**
|
|
7376
|
-
* <p>The ARN of the IAM role that allows the service to publish flow logs across accounts.</p>
|
|
7377
|
-
* @public
|
|
7378
|
-
*/
|
|
7379
|
-
DeliverCrossAccountRole?: string | undefined;
|
|
7380
|
-
/**
|
|
7381
|
-
* <p>The status of the logs delivery (<code>SUCCESS</code> | <code>FAILED</code>).</p>
|
|
7382
|
-
* @public
|
|
7383
|
-
*/
|
|
7384
|
-
DeliverLogsStatus?: string | undefined;
|
|
7385
|
-
/**
|
|
7386
|
-
* <p>The ID of the flow log.</p>
|
|
7387
|
-
* @public
|
|
7388
|
-
*/
|
|
7389
|
-
FlowLogId?: string | undefined;
|
|
7390
|
-
/**
|
|
7391
|
-
* <p>The status of the flow log (<code>ACTIVE</code>).</p>
|
|
7392
|
-
* @public
|
|
7393
|
-
*/
|
|
7394
|
-
FlowLogStatus?: string | undefined;
|
|
7395
|
-
/**
|
|
7396
|
-
* <p>The name of the flow log group.</p>
|
|
7397
|
-
* @public
|
|
7398
|
-
*/
|
|
7399
|
-
LogGroupName?: string | undefined;
|
|
7400
|
-
/**
|
|
7401
|
-
* <p>The ID of the resource being monitored.</p>
|
|
7402
|
-
* @public
|
|
7403
|
-
*/
|
|
7404
|
-
ResourceId?: string | undefined;
|
|
7405
|
-
/**
|
|
7406
|
-
* <p>The type of traffic captured for the flow log.</p>
|
|
7407
|
-
* @public
|
|
7408
|
-
*/
|
|
7409
|
-
TrafficType?: TrafficType | undefined;
|
|
7410
|
-
/**
|
|
7411
|
-
* <p>The type of destination for the flow log data.</p>
|
|
7412
|
-
* @public
|
|
7413
|
-
*/
|
|
7414
|
-
LogDestinationType?: LogDestinationType | undefined;
|
|
7415
|
-
/**
|
|
7416
|
-
* <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
|
|
7417
|
-
* @public
|
|
7418
|
-
*/
|
|
7419
|
-
LogDestination?: string | undefined;
|
|
7420
|
-
/**
|
|
7421
|
-
* <p>The format of the flow log record.</p>
|
|
7422
|
-
* @public
|
|
7423
|
-
*/
|
|
7424
|
-
LogFormat?: string | undefined;
|
|
7425
|
-
/**
|
|
7426
|
-
* <p>The tags for the flow log.</p>
|
|
7427
|
-
* @public
|
|
7428
|
-
*/
|
|
7429
|
-
Tags?: Tag[] | undefined;
|
|
7430
|
-
/**
|
|
7431
|
-
* <p>The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.</p>
|
|
7432
|
-
* <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Nitro-based
|
|
7433
|
-
* instance</a>, the aggregation interval is always 60 seconds (1 minute) or less,
|
|
7434
|
-
* regardless of the specified value.</p>
|
|
7435
|
-
* <p>Valid Values: <code>60</code> | <code>600</code>
|
|
7436
|
-
* </p>
|
|
7437
|
-
* @public
|
|
7438
|
-
*/
|
|
7439
|
-
MaxAggregationInterval?: number | undefined;
|
|
7440
|
-
/**
|
|
7441
|
-
* <p>The destination options.</p>
|
|
7442
|
-
* @public
|
|
7443
|
-
*/
|
|
7444
|
-
DestinationOptions?: DestinationOptionsResponse | undefined;
|
|
7445
|
-
}
|
|
7446
|
-
/**
|
|
7447
|
-
* @public
|
|
7448
|
-
*/
|
|
7449
|
-
export interface DescribeFlowLogsResult {
|
|
7450
|
-
/**
|
|
7451
|
-
* <p>Information about the flow logs.</p>
|
|
7452
|
-
* @public
|
|
7453
|
-
*/
|
|
7454
|
-
FlowLogs?: FlowLog[] | undefined;
|
|
7455
|
-
/**
|
|
7456
|
-
* <p>The token to request the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
7457
|
-
* @public
|
|
7458
|
-
*/
|
|
7459
|
-
NextToken?: string | undefined;
|
|
7460
|
-
}
|
|
7461
|
-
/**
|
|
7462
|
-
* @public
|
|
7463
|
-
* @enum
|
|
7464
|
-
*/
|
|
7465
|
-
export declare const FpgaImageAttributeName: {
|
|
7466
|
-
readonly description: "description";
|
|
7467
|
-
readonly loadPermission: "loadPermission";
|
|
7468
|
-
readonly name: "name";
|
|
7469
|
-
readonly productCodes: "productCodes";
|
|
7470
|
-
};
|
|
7471
|
-
/**
|
|
7472
|
-
* @public
|
|
7473
|
-
*/
|
|
7474
|
-
export type FpgaImageAttributeName = (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
|
|
7475
|
-
/**
|
|
7476
|
-
* @public
|
|
7477
|
-
*/
|
|
7478
|
-
export interface DescribeFpgaImageAttributeRequest {
|
|
7479
|
-
/**
|
|
7480
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7481
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7482
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7483
|
-
* @public
|
|
7484
|
-
*/
|
|
7485
|
-
DryRun?: boolean | undefined;
|
|
7486
|
-
/**
|
|
7487
|
-
* <p>The ID of the AFI.</p>
|
|
7488
|
-
* @public
|
|
7489
|
-
*/
|
|
7490
|
-
FpgaImageId: string | undefined;
|
|
7491
|
-
/**
|
|
7492
|
-
* <p>The AFI attribute.</p>
|
|
7493
|
-
* @public
|
|
7494
|
-
*/
|
|
7495
|
-
Attribute: FpgaImageAttributeName | undefined;
|
|
7496
|
-
}
|
|
7497
|
-
/**
|
|
7498
|
-
* @public
|
|
7499
|
-
* @enum
|
|
7500
|
-
*/
|
|
7501
|
-
export declare const PermissionGroup: {
|
|
7502
|
-
readonly all: "all";
|
|
7503
|
-
};
|
|
7504
|
-
/**
|
|
7505
|
-
* @public
|
|
7506
|
-
*/
|
|
7507
|
-
export type PermissionGroup = (typeof PermissionGroup)[keyof typeof PermissionGroup];
|
|
7508
7006
|
/**
|
|
7509
7007
|
* @internal
|
|
7510
7008
|
*/
|