@aws-sdk/client-ec2 3.1166.0 → 3.1168.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 +28 -0
- package/dist-cjs/index.js +194 -39
- package/dist-es/EC2.js +10 -0
- package/dist-es/commands/CreateMetricCategoryCommand.js +4 -0
- package/dist-es/commands/DeleteMetricCategoryCommand.js +4 -0
- package/dist-es/commands/DescribeMetricCategoriesCommand.js +4 -0
- package/dist-es/commands/ModifyMetricCategoryCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/pagination/DescribeMetricCategoriesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +152 -38
- package/dist-types/EC2.d.ts +36 -0
- package/dist-types/EC2Client.d.ts +6 -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/AllocateIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- 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/CreateDefaultVpcCommand.d.ts +2 -0
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.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 +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +2 -2
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageUsageReportCommand.d.ts +3 -2
- 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/CreateInterruptibleCapacityReservationAllocationCommand.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/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.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 +5 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +8 -2
- 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 +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateMetricCategoryCommand.d.ts +99 -0
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- 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 +2 -3
- 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/CreateRouteServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecondarySubnetCommand.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/CreateTransitGatewayMeteringPolicyCommand.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 +1 -1
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -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 +5 -1
- package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +3 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConcentratorCommand.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/DeleteKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -2
- package/dist-types/commands/DeleteMetricCategoryCommand.d.ts +74 -0
- package/dist-types/commands/DeleteVpcEncryptionControlCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccountVpcEncryptionControlCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeMetricCategoriesCommand.d.ts +99 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEncryptionControlsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -1
- package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +1 -2
- package/dist-types/commands/ImportImageCommand.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/ModifyAccountVpcEncryptionControlCommand.d.ts +4 -0
- package/dist-types/commands/ModifyMetricCategoryCommand.d.ts +90 -0
- package/dist-types/commands/ModifyVpcEncryptionControlCommand.d.ts +4 -0
- package/dist-types/commands/MonitorInstancesCommand.d.ts +6 -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/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +7 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +7 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- 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 +6 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/models/models_1.d.ts +87 -215
- package/dist-types/models/models_2.d.ts +225 -66
- package/dist-types/models/models_3.d.ts +92 -308
- package/dist-types/models/models_4.d.ts +379 -223
- package/dist-types/models/models_5.d.ts +224 -114
- package/dist-types/models/models_6.d.ts +113 -172
- package/dist-types/models/models_7.d.ts +241 -152
- package/dist-types/models/models_8.d.ts +154 -1
- package/dist-types/pagination/DescribeMetricCategoriesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/EC2.d.ts +76 -0
- package/dist-types/ts3.4/EC2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateMetricCategoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DeleteMetricCategoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeMetricCategoriesCommand.d.ts +42 -0
- 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 +4 -2
- package/dist-types/ts3.4/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyMetricCategoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +18 -34
- package/dist-types/ts3.4/models/models_2.d.ts +41 -16
- package/dist-types/ts3.4/models/models_3.d.ts +21 -38
- package/dist-types/ts3.4/models/models_4.d.ts +52 -39
- package/dist-types/ts3.4/models/models_5.d.ts +35 -33
- package/dist-types/ts3.4/models/models_6.d.ts +31 -36
- package/dist-types/ts3.4/models/models_7.d.ts +55 -40
- package/dist-types/ts3.4/models/models_8.d.ts +40 -0
- package/dist-types/ts3.4/pagination/DescribeMetricCategoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +2 -2
|
@@ -1,7 +1,71 @@
|
|
|
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,
|
|
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, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, IpamPoolCidrFailureCode, IpamPoolCidrState, LaunchTemplateErrorCode, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, Schedule, SnapshotReturnCodes, StatisticType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
|
|
2
2
|
import type { AccountAttribute, AccountVpcEncryptionControl, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CapacityReservationModificationQuote, ClientVpnAuthorizationRuleStatus, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
3
3
|
import type { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, InstanceRequirementsRequest, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
|
|
4
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 DeleteKeyPairRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the key pair.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
KeyName?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ID of the key pair.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
KeyPairId?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
21
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
22
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
DryRun?: boolean | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface DeleteKeyPairResult {
|
|
31
|
+
/**
|
|
32
|
+
* <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
Return?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The ID of the key pair.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
KeyPairId?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface DeleteLaunchTemplateRequest {
|
|
46
|
+
/**
|
|
47
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
48
|
+
* making the request, and provides an error response. If you have the required
|
|
49
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
50
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
DryRun?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The ID of the launch template.</p>
|
|
56
|
+
* <p>You must specify either the launch template ID or the launch template name, but not
|
|
57
|
+
* both.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
LaunchTemplateId?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The name of the launch template.</p>
|
|
63
|
+
* <p>You must specify either the launch template ID or the launch template name, but not
|
|
64
|
+
* both.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
LaunchTemplateName?: string | undefined;
|
|
68
|
+
}
|
|
5
69
|
/**
|
|
6
70
|
* @public
|
|
7
71
|
*/
|
|
@@ -330,6 +394,33 @@ export interface DeleteManagedPrefixListResult {
|
|
|
330
394
|
*/
|
|
331
395
|
PrefixList?: ManagedPrefixList | undefined;
|
|
332
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
export interface DeleteMetricCategoryRequest {
|
|
401
|
+
/**
|
|
402
|
+
* <p>The ID of the metric category.</p>
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
MetricCategoryId: string | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* <p>Checks whether you have the required permissions for the operation, without actually making the
|
|
408
|
+
* request, and provides an error response. If you have the required permissions, the error response is
|
|
409
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
DryRun?: boolean | undefined;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
export interface DeleteMetricCategoryResult {
|
|
418
|
+
/**
|
|
419
|
+
* <p>The ID of the metric category that was deleted.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
MetricCategoryId?: string | undefined;
|
|
423
|
+
}
|
|
333
424
|
/**
|
|
334
425
|
* @public
|
|
335
426
|
*/
|
|
@@ -7500,310 +7591,3 @@ export interface DescribeFastSnapshotRestoresRequest {
|
|
|
7500
7591
|
*/
|
|
7501
7592
|
DryRun?: boolean | undefined;
|
|
7502
7593
|
}
|
|
7503
|
-
/**
|
|
7504
|
-
* <p>Describes fast snapshot restores for a snapshot.</p>
|
|
7505
|
-
* @public
|
|
7506
|
-
*/
|
|
7507
|
-
export interface DescribeFastSnapshotRestoreSuccessItem {
|
|
7508
|
-
/**
|
|
7509
|
-
* <p>The ID of the snapshot.</p>
|
|
7510
|
-
* @public
|
|
7511
|
-
*/
|
|
7512
|
-
SnapshotId?: string | undefined;
|
|
7513
|
-
/**
|
|
7514
|
-
* <p>The Availability Zone.</p>
|
|
7515
|
-
* @public
|
|
7516
|
-
*/
|
|
7517
|
-
AvailabilityZone?: string | undefined;
|
|
7518
|
-
/**
|
|
7519
|
-
* <p>The ID of the Availability Zone.</p>
|
|
7520
|
-
* @public
|
|
7521
|
-
*/
|
|
7522
|
-
AvailabilityZoneId?: string | undefined;
|
|
7523
|
-
/**
|
|
7524
|
-
* <p>The state of fast snapshot restores.</p>
|
|
7525
|
-
* @public
|
|
7526
|
-
*/
|
|
7527
|
-
State?: FastSnapshotRestoreStateCode | undefined;
|
|
7528
|
-
/**
|
|
7529
|
-
* <p>The reason for the state transition. The possible values are as follows:</p>
|
|
7530
|
-
* <ul>
|
|
7531
|
-
* <li>
|
|
7532
|
-
* <p>
|
|
7533
|
-
* <code>Client.UserInitiated</code> - The state successfully transitioned to <code>enabling</code> or
|
|
7534
|
-
* <code>disabling</code>.</p>
|
|
7535
|
-
* </li>
|
|
7536
|
-
* <li>
|
|
7537
|
-
* <p>
|
|
7538
|
-
* <code>Client.UserInitiated - Lifecycle state transition</code> - The state successfully transitioned
|
|
7539
|
-
* to <code>optimizing</code>, <code>enabled</code>, or <code>disabled</code>.</p>
|
|
7540
|
-
* </li>
|
|
7541
|
-
* </ul>
|
|
7542
|
-
* @public
|
|
7543
|
-
*/
|
|
7544
|
-
StateTransitionReason?: string | undefined;
|
|
7545
|
-
/**
|
|
7546
|
-
* <p>The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.</p>
|
|
7547
|
-
* @public
|
|
7548
|
-
*/
|
|
7549
|
-
OwnerId?: string | undefined;
|
|
7550
|
-
/**
|
|
7551
|
-
* <p>The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.</p>
|
|
7552
|
-
* @public
|
|
7553
|
-
*/
|
|
7554
|
-
OwnerAlias?: string | undefined;
|
|
7555
|
-
/**
|
|
7556
|
-
* <p>The time at which fast snapshot restores entered the <code>enabling</code> state.</p>
|
|
7557
|
-
* @public
|
|
7558
|
-
*/
|
|
7559
|
-
EnablingTime?: Date | undefined;
|
|
7560
|
-
/**
|
|
7561
|
-
* <p>The time at which fast snapshot restores entered the <code>optimizing</code> state.</p>
|
|
7562
|
-
* @public
|
|
7563
|
-
*/
|
|
7564
|
-
OptimizingTime?: Date | undefined;
|
|
7565
|
-
/**
|
|
7566
|
-
* <p>The time at which fast snapshot restores entered the <code>enabled</code> state.</p>
|
|
7567
|
-
* @public
|
|
7568
|
-
*/
|
|
7569
|
-
EnabledTime?: Date | undefined;
|
|
7570
|
-
/**
|
|
7571
|
-
* <p>The time at which fast snapshot restores entered the <code>disabling</code> state.</p>
|
|
7572
|
-
* @public
|
|
7573
|
-
*/
|
|
7574
|
-
DisablingTime?: Date | undefined;
|
|
7575
|
-
/**
|
|
7576
|
-
* <p>The time at which fast snapshot restores entered the <code>disabled</code> state.</p>
|
|
7577
|
-
* @public
|
|
7578
|
-
*/
|
|
7579
|
-
DisabledTime?: Date | undefined;
|
|
7580
|
-
}
|
|
7581
|
-
/**
|
|
7582
|
-
* @public
|
|
7583
|
-
*/
|
|
7584
|
-
export interface DescribeFastSnapshotRestoresResult {
|
|
7585
|
-
/**
|
|
7586
|
-
* <p>Information about the state of fast snapshot restores.</p>
|
|
7587
|
-
* @public
|
|
7588
|
-
*/
|
|
7589
|
-
FastSnapshotRestores?: DescribeFastSnapshotRestoreSuccessItem[] | undefined;
|
|
7590
|
-
/**
|
|
7591
|
-
* <p>The token to include in another request to get the next page of items.
|
|
7592
|
-
* This value is <code>null</code> when there are no more items to return.</p>
|
|
7593
|
-
* @public
|
|
7594
|
-
*/
|
|
7595
|
-
NextToken?: string | undefined;
|
|
7596
|
-
}
|
|
7597
|
-
/**
|
|
7598
|
-
* @public
|
|
7599
|
-
*/
|
|
7600
|
-
export interface DescribeFleetHistoryRequest {
|
|
7601
|
-
/**
|
|
7602
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7603
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7604
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7605
|
-
* @public
|
|
7606
|
-
*/
|
|
7607
|
-
DryRun?: boolean | undefined;
|
|
7608
|
-
/**
|
|
7609
|
-
* <p>The type of events to describe. By default, all events are described.</p>
|
|
7610
|
-
* @public
|
|
7611
|
-
*/
|
|
7612
|
-
EventType?: FleetEventType | undefined;
|
|
7613
|
-
/**
|
|
7614
|
-
* <p>The maximum number of items to return for this request.
|
|
7615
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
7616
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
7617
|
-
* @public
|
|
7618
|
-
*/
|
|
7619
|
-
MaxResults?: number | undefined;
|
|
7620
|
-
/**
|
|
7621
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
7622
|
-
* @public
|
|
7623
|
-
*/
|
|
7624
|
-
NextToken?: string | undefined;
|
|
7625
|
-
/**
|
|
7626
|
-
* <p>The ID of the EC2 Fleet.</p>
|
|
7627
|
-
* @public
|
|
7628
|
-
*/
|
|
7629
|
-
FleetId: string | undefined;
|
|
7630
|
-
/**
|
|
7631
|
-
* <p>The start date and time for the events, in UTC format (for example,
|
|
7632
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
7633
|
-
* @public
|
|
7634
|
-
*/
|
|
7635
|
-
StartTime: Date | undefined;
|
|
7636
|
-
}
|
|
7637
|
-
/**
|
|
7638
|
-
* <p>Describes an EC2 Fleet or Spot Fleet event.</p>
|
|
7639
|
-
* @public
|
|
7640
|
-
*/
|
|
7641
|
-
export interface EventInformation {
|
|
7642
|
-
/**
|
|
7643
|
-
* <p>The description of the event.</p>
|
|
7644
|
-
* @public
|
|
7645
|
-
*/
|
|
7646
|
-
EventDescription?: string | undefined;
|
|
7647
|
-
/**
|
|
7648
|
-
* <p>The event.</p>
|
|
7649
|
-
* <p>
|
|
7650
|
-
* <code>error</code> events:</p>
|
|
7651
|
-
* <ul>
|
|
7652
|
-
* <li>
|
|
7653
|
-
* <p>
|
|
7654
|
-
* <code>iamFleetRoleInvalid</code> - The EC2 Fleet or Spot Fleet does not have the required
|
|
7655
|
-
* permissions either to launch or terminate an instance.</p>
|
|
7656
|
-
* </li>
|
|
7657
|
-
* <li>
|
|
7658
|
-
* <p>
|
|
7659
|
-
* <code>allLaunchSpecsTemporarilyBlacklisted</code> - None of the configurations
|
|
7660
|
-
* are valid, and several attempts to launch instances have failed. For more
|
|
7661
|
-
* information, see the description of the event.</p>
|
|
7662
|
-
* </li>
|
|
7663
|
-
* <li>
|
|
7664
|
-
* <p>
|
|
7665
|
-
* <code>spotInstanceCountLimitExceeded</code> - You've reached the limit on the
|
|
7666
|
-
* number of Spot Instances that you can launch.</p>
|
|
7667
|
-
* </li>
|
|
7668
|
-
* <li>
|
|
7669
|
-
* <p>
|
|
7670
|
-
* <code>spotFleetRequestConfigurationInvalid</code> - The configuration is not
|
|
7671
|
-
* valid. For more information, see the description of the event.</p>
|
|
7672
|
-
* </li>
|
|
7673
|
-
* </ul>
|
|
7674
|
-
* <p>
|
|
7675
|
-
* <code>fleetRequestChange</code> events:</p>
|
|
7676
|
-
* <ul>
|
|
7677
|
-
* <li>
|
|
7678
|
-
* <p>
|
|
7679
|
-
* <code>active</code> - The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is
|
|
7680
|
-
* attempting to maintain the target number of running instances.</p>
|
|
7681
|
-
* </li>
|
|
7682
|
-
* <li>
|
|
7683
|
-
* <p>
|
|
7684
|
-
* <code>deleted</code> (EC2 Fleet) / <code>cancelled</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and has no running
|
|
7685
|
-
* instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances are
|
|
7686
|
-
* terminated.</p>
|
|
7687
|
-
* </li>
|
|
7688
|
-
* <li>
|
|
7689
|
-
* <p>
|
|
7690
|
-
* <code>deleted_running</code> (EC2 Fleet) / <code>cancelled_running</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and does
|
|
7691
|
-
* not launch additional instances. Its existing instances continue to run until
|
|
7692
|
-
* they are interrupted or terminated. The request remains in this state until all
|
|
7693
|
-
* instances are interrupted or terminated.</p>
|
|
7694
|
-
* </li>
|
|
7695
|
-
* <li>
|
|
7696
|
-
* <p>
|
|
7697
|
-
* <code>deleted_terminating</code> (EC2 Fleet) / <code>cancelled_terminating</code> (Spot Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is canceled and
|
|
7698
|
-
* its instances are terminating. The request remains in this state until all
|
|
7699
|
-
* instances are terminated.</p>
|
|
7700
|
-
* </li>
|
|
7701
|
-
* <li>
|
|
7702
|
-
* <p>
|
|
7703
|
-
* <code>expired</code> - The EC2 Fleet or Spot Fleet request has expired. If the request was
|
|
7704
|
-
* created with <code>TerminateInstancesWithExpiration</code> set, a subsequent
|
|
7705
|
-
* <code>terminated</code> event indicates that the instances are
|
|
7706
|
-
* terminated.</p>
|
|
7707
|
-
* </li>
|
|
7708
|
-
* <li>
|
|
7709
|
-
* <p>
|
|
7710
|
-
* <code>modify_in_progress</code> - The EC2 Fleet or Spot Fleet request is being modified.
|
|
7711
|
-
* The request remains in this state until the modification is fully
|
|
7712
|
-
* processed.</p>
|
|
7713
|
-
* </li>
|
|
7714
|
-
* <li>
|
|
7715
|
-
* <p>
|
|
7716
|
-
* <code>modify_succeeded</code> - The EC2 Fleet or Spot Fleet request was modified.</p>
|
|
7717
|
-
* </li>
|
|
7718
|
-
* <li>
|
|
7719
|
-
* <p>
|
|
7720
|
-
* <code>submitted</code> - The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2
|
|
7721
|
-
* is preparing to launch the target number of instances.</p>
|
|
7722
|
-
* </li>
|
|
7723
|
-
* <li>
|
|
7724
|
-
* <p>
|
|
7725
|
-
* <code>progress</code> - The EC2 Fleet or Spot Fleet request is in the process of being fulfilled.</p>
|
|
7726
|
-
* </li>
|
|
7727
|
-
* </ul>
|
|
7728
|
-
* <p>
|
|
7729
|
-
* <code>instanceChange</code> events:</p>
|
|
7730
|
-
* <ul>
|
|
7731
|
-
* <li>
|
|
7732
|
-
* <p>
|
|
7733
|
-
* <code>launched</code> - A new instance was launched.</p>
|
|
7734
|
-
* </li>
|
|
7735
|
-
* <li>
|
|
7736
|
-
* <p>
|
|
7737
|
-
* <code>terminated</code> - An instance was terminated by the user.</p>
|
|
7738
|
-
* </li>
|
|
7739
|
-
* <li>
|
|
7740
|
-
* <p>
|
|
7741
|
-
* <code>termination_notified</code> - An instance termination notification was
|
|
7742
|
-
* sent when a Spot Instance was terminated by Amazon EC2 during scale-down, when the target
|
|
7743
|
-
* capacity of the fleet was modified down, for example, from a target capacity of
|
|
7744
|
-
* 4 to a target capacity of 3.</p>
|
|
7745
|
-
* </li>
|
|
7746
|
-
* </ul>
|
|
7747
|
-
* <p>
|
|
7748
|
-
* <code>Information</code> events:</p>
|
|
7749
|
-
* <ul>
|
|
7750
|
-
* <li>
|
|
7751
|
-
* <p>
|
|
7752
|
-
* <code>fleetProgressHalted</code> - The price in every launch specification is
|
|
7753
|
-
* not valid because it is below the Spot price (all the launch specifications have
|
|
7754
|
-
* produced <code>launchSpecUnusable</code> events). A launch specification might
|
|
7755
|
-
* become valid if the Spot price changes.</p>
|
|
7756
|
-
* </li>
|
|
7757
|
-
* <li>
|
|
7758
|
-
* <p>
|
|
7759
|
-
* <code>launchSpecTemporarilyBlacklisted</code> - The configuration is not valid
|
|
7760
|
-
* and several attempts to launch instances have failed. For more information, see
|
|
7761
|
-
* the description of the event.</p>
|
|
7762
|
-
* </li>
|
|
7763
|
-
* <li>
|
|
7764
|
-
* <p>
|
|
7765
|
-
* <code>launchSpecUnusable</code> - The price specified in a launch specification
|
|
7766
|
-
* is not valid because it is below the Spot price for the requested Spot pools.</p>
|
|
7767
|
-
* <p>Note: Even if a fleet with the <code>maintain</code> request type is in the process
|
|
7768
|
-
* of being canceled, it may still publish a <code>launchSpecUnusable</code> event. This
|
|
7769
|
-
* does not mean that the canceled fleet is attempting to launch a new instance.</p>
|
|
7770
|
-
* </li>
|
|
7771
|
-
* <li>
|
|
7772
|
-
* <p>
|
|
7773
|
-
* <code>registerWithLoadBalancersFailed</code> - An attempt to register
|
|
7774
|
-
* instances with load balancers failed. For more information, see the description
|
|
7775
|
-
* of the event.</p>
|
|
7776
|
-
* </li>
|
|
7777
|
-
* </ul>
|
|
7778
|
-
* @public
|
|
7779
|
-
*/
|
|
7780
|
-
EventSubType?: string | undefined;
|
|
7781
|
-
/**
|
|
7782
|
-
* <p>The ID of the instance. This information is available only for
|
|
7783
|
-
* <code>instanceChange</code> events.</p>
|
|
7784
|
-
* @public
|
|
7785
|
-
*/
|
|
7786
|
-
InstanceId?: string | undefined;
|
|
7787
|
-
}
|
|
7788
|
-
/**
|
|
7789
|
-
* <p>Describes an event in the history of an EC2 Fleet.</p>
|
|
7790
|
-
* @public
|
|
7791
|
-
*/
|
|
7792
|
-
export interface HistoryRecordEntry {
|
|
7793
|
-
/**
|
|
7794
|
-
* <p>Information about the event.</p>
|
|
7795
|
-
* @public
|
|
7796
|
-
*/
|
|
7797
|
-
EventInformation?: EventInformation | undefined;
|
|
7798
|
-
/**
|
|
7799
|
-
* <p>The event type.</p>
|
|
7800
|
-
* @public
|
|
7801
|
-
*/
|
|
7802
|
-
EventType?: FleetEventType | undefined;
|
|
7803
|
-
/**
|
|
7804
|
-
* <p>The date and time of the event, in UTC format (for example,
|
|
7805
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
7806
|
-
* @public
|
|
7807
|
-
*/
|
|
7808
|
-
Timestamp?: Date | undefined;
|
|
7809
|
-
}
|