@aws-sdk/client-ec2 3.910.0 → 3.911.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 +72 -0
- package/dist-cjs/index.js +1541 -388
- package/dist-es/EC2.js +18 -0
- package/dist-es/commands/CreateCapacityManagerDataExportCommand.js +22 -0
- package/dist-es/commands/DeleteCapacityManagerDataExportCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityManagerDataExportsCommand.js +22 -0
- package/dist-es/commands/DisableCapacityManagerCommand.js +22 -0
- package/dist-es/commands/EnableCapacityManagerCommand.js +22 -0
- package/dist-es/commands/GetCapacityManagerAttributesCommand.js +22 -0
- package/dist-es/commands/GetCapacityManagerMetricDataCommand.js +22 -0
- package/dist-es/commands/GetCapacityManagerMetricDimensionsCommand.js +22 -0
- package/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -1
- package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
- package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
- package/dist-es/commands/UpdateCapacityManagerOrganizationsAccessCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/models/models_2.js +0 -6
- package/dist-es/models/models_3.js +6 -5
- package/dist-es/models/models_4.js +18 -14
- package/dist-es/models/models_5.js +14 -16
- package/dist-es/models/models_6.js +124 -57
- package/dist-es/models/models_7.js +57 -33
- package/dist-es/models/models_8.js +33 -0
- package/dist-es/pagination/DescribeCapacityManagerDataExportsPaginator.js +4 -0
- package/dist-es/pagination/GetCapacityManagerMetricDataPaginator.js +4 -0
- package/dist-es/pagination/GetCapacityManagerMetricDimensionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -1
- package/dist-es/protocols/Aws_ec2.js +939 -107
- package/dist-types/EC2.d.ts +67 -0
- package/dist-types/EC2Client.d.ts +11 -2
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +21 -5
- package/dist-types/commands/AllocateHostsCommand.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/CreateCapacityManagerDataExportCommand.d.ts +93 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationCommand.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/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 +1 -1
- 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 +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 +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -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/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 +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/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/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 +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 +3 -2
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -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/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCapacityManagerDataExportCommand.d.ts +77 -0
- package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCapacityManagerDataExportsCommand.d.ts +109 -0
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DisableCapacityManagerCommand.d.ts +79 -0
- package/dist-types/commands/EnableCapacityManagerCommand.d.ts +80 -0
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +82 -0
- package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +129 -0
- package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +119 -0
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
- package/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
- package/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedPrefixListEntriesCommand.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/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
- package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
- 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/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -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/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +4 -3
- package/dist-types/models/models_1.d.ts +106 -95
- package/dist-types/models/models_2.d.ts +84 -107
- package/dist-types/models/models_3.d.ts +140 -159
- package/dist-types/models/models_4.d.ts +331 -251
- package/dist-types/models/models_5.d.ts +244 -267
- package/dist-types/models/models_6.d.ts +1497 -1467
- package/dist-types/models/models_7.d.ts +4809 -4775
- package/dist-types/models/models_8.d.ts +968 -5
- package/dist-types/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCapacityManagerMetricDataPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -1
- package/dist-types/protocols/Aws_ec2.d.ts +81 -0
- package/dist-types/ts3.4/EC2.d.ts +175 -0
- package/dist-types/ts3.4/EC2Client.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateCapacityManagerDataExportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteCapacityManagerDataExportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCapacityManagerDataExportsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableCapacityManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +21 -16
- package/dist-types/ts3.4/models/models_2.d.ts +18 -29
- package/dist-types/ts3.4/models/models_3.d.ts +35 -39
- package/dist-types/ts3.4/models/models_4.d.ts +79 -66
- package/dist-types/ts3.4/models/models_5.d.ts +65 -67
- package/dist-types/ts3.4/models/models_6.d.ts +284 -258
- package/dist-types/ts3.4/models/models_7.d.ts +257 -227
- package/dist-types/ts3.4/models/models_8.d.ts +232 -7
- package/dist-types/ts3.4/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCapacityManagerMetricDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +108 -0
- package/package.json +5 -5
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { DeleteCapacityManagerDataExportRequest, DeleteCapacityManagerDataExportResult } from "../models/models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteCapacityManagerDataExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteCapacityManagerDataExportCommandInput extends DeleteCapacityManagerDataExportRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteCapacityManagerDataExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteCapacityManagerDataExportCommandOutput extends DeleteCapacityManagerDataExportResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteCapacityManagerDataExportCommand_base: {
|
|
25
|
+
new (input: DeleteCapacityManagerDataExportCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCapacityManagerDataExportCommandInput, DeleteCapacityManagerDataExportCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteCapacityManagerDataExportCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCapacityManagerDataExportCommandInput, DeleteCapacityManagerDataExportCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Deletes an existing Capacity Manager data export configuration. This stops future scheduled exports but does not delete previously exported files from S3.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, DeleteCapacityManagerDataExportCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, DeleteCapacityManagerDataExportCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
39
|
+
* const config = {}; // type is EC2ClientConfig
|
|
40
|
+
* const client = new EC2Client(config);
|
|
41
|
+
* const input = { // DeleteCapacityManagerDataExportRequest
|
|
42
|
+
* CapacityManagerDataExportId: "STRING_VALUE", // required
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteCapacityManagerDataExportCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeleteCapacityManagerDataExportResult
|
|
48
|
+
* // CapacityManagerDataExportId: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteCapacityManagerDataExportCommandInput - {@link DeleteCapacityManagerDataExportCommandInput}
|
|
54
|
+
* @returns {@link DeleteCapacityManagerDataExportCommandOutput}
|
|
55
|
+
* @see {@link DeleteCapacityManagerDataExportCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteCapacityManagerDataExportCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link EC2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteCapacityManagerDataExportCommand extends DeleteCapacityManagerDataExportCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: DeleteCapacityManagerDataExportRequest;
|
|
70
|
+
output: DeleteCapacityManagerDataExportResult;
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: DeleteCapacityManagerDataExportCommandInput;
|
|
74
|
+
output: DeleteCapacityManagerDataExportCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeCapacityBlockStatusRequest, DescribeCapacityBlockStatusResult } from "../models/
|
|
4
|
+
import { DescribeCapacityBlockStatusRequest, DescribeCapacityBlockStatusResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeCapacityBlocksRequest
|
|
4
|
+
import { DescribeCapacityBlocksRequest } from "../models/models_3";
|
|
5
|
+
import { DescribeCapacityBlocksResult } from "../models/models_4";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { DescribeCapacityManagerDataExportsRequest, DescribeCapacityManagerDataExportsResult } from "../models/models_4";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeCapacityManagerDataExportsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeCapacityManagerDataExportsCommandInput extends DescribeCapacityManagerDataExportsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeCapacityManagerDataExportsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeCapacityManagerDataExportsCommandOutput extends DescribeCapacityManagerDataExportsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeCapacityManagerDataExportsCommand_base: {
|
|
25
|
+
new (input: DescribeCapacityManagerDataExportsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapacityManagerDataExportsCommandInput, DescribeCapacityManagerDataExportsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeCapacityManagerDataExportsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeCapacityManagerDataExportsCommandInput, DescribeCapacityManagerDataExportsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Describes one or more Capacity Manager data export configurations. Returns information about export settings, delivery status, and recent export activity.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, DescribeCapacityManagerDataExportsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, DescribeCapacityManagerDataExportsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
39
|
+
* const config = {}; // type is EC2ClientConfig
|
|
40
|
+
* const client = new EC2Client(config);
|
|
41
|
+
* const input = { // DescribeCapacityManagerDataExportsRequest
|
|
42
|
+
* CapacityManagerDataExportIds: [ // CapacityManagerDataExportIdSet
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* DryRun: true || false,
|
|
48
|
+
* Filters: [ // FilterList
|
|
49
|
+
* { // Filter
|
|
50
|
+
* Name: "STRING_VALUE",
|
|
51
|
+
* Values: [ // ValueStringList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
57
|
+
* const command = new DescribeCapacityManagerDataExportsCommand(input);
|
|
58
|
+
* const response = await client.send(command);
|
|
59
|
+
* // { // DescribeCapacityManagerDataExportsResult
|
|
60
|
+
* // CapacityManagerDataExports: [ // CapacityManagerDataExportResponseSet
|
|
61
|
+
* // { // CapacityManagerDataExportResponse
|
|
62
|
+
* // CapacityManagerDataExportId: "STRING_VALUE",
|
|
63
|
+
* // S3BucketName: "STRING_VALUE",
|
|
64
|
+
* // S3BucketPrefix: "STRING_VALUE",
|
|
65
|
+
* // Schedule: "hourly",
|
|
66
|
+
* // OutputFormat: "csv" || "parquet",
|
|
67
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // LatestDeliveryStatus: "pending" || "in-progress" || "delivered" || "failed",
|
|
69
|
+
* // LatestDeliveryStatusMessage: "STRING_VALUE",
|
|
70
|
+
* // LatestDeliveryS3LocationUri: "STRING_VALUE",
|
|
71
|
+
* // LatestDeliveryTime: new Date("TIMESTAMP"),
|
|
72
|
+
* // Tags: [ // TagList
|
|
73
|
+
* // { // Tag
|
|
74
|
+
* // Key: "STRING_VALUE",
|
|
75
|
+
* // Value: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // NextToken: "STRING_VALUE",
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param DescribeCapacityManagerDataExportsCommandInput - {@link DescribeCapacityManagerDataExportsCommandInput}
|
|
86
|
+
* @returns {@link DescribeCapacityManagerDataExportsCommandOutput}
|
|
87
|
+
* @see {@link DescribeCapacityManagerDataExportsCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link DescribeCapacityManagerDataExportsCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link EC2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class DescribeCapacityManagerDataExportsCommand extends DescribeCapacityManagerDataExportsCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: DescribeCapacityManagerDataExportsRequest;
|
|
102
|
+
output: DescribeCapacityManagerDataExportsResult;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: DescribeCapacityManagerDataExportsCommandInput;
|
|
106
|
+
output: DescribeCapacityManagerDataExportsCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -70,7 +70,7 @@ declare const DescribeHostReservationsCommand_base: {
|
|
|
70
70
|
* // OfferingId: "STRING_VALUE",
|
|
71
71
|
* // PaymentOption: "AllUpfront" || "PartialUpfront" || "NoUpfront",
|
|
72
72
|
* // Start: new Date("TIMESTAMP"),
|
|
73
|
-
* // State: "
|
|
73
|
+
* // State: "active" || "expired" || "cancelled" || "scheduled" || "pending" || "failed" || "delayed" || "unsupported" || "payment-pending" || "payment-failed" || "retired",
|
|
74
74
|
* // UpfrontPrice: "STRING_VALUE",
|
|
75
75
|
* // Tags: [ // TagList
|
|
76
76
|
* // { // Tag
|
|
@@ -177,7 +177,7 @@ declare const DescribeLaunchTemplateVersionsCommand_base: {
|
|
|
177
177
|
* // UserData: "STRING_VALUE",
|
|
178
178
|
* // TagSpecifications: [ // LaunchTemplateTagSpecificationList
|
|
179
179
|
* // { // LaunchTemplateTagSpecification
|
|
180
|
-
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task",
|
|
180
|
+
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "capacity-manager-data-export",
|
|
181
181
|
* // Tags: [ // TagList
|
|
182
182
|
* // { // Tag
|
|
183
183
|
* // Key: "STRING_VALUE",
|
|
@@ -172,7 +172,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
|
|
|
172
172
|
* // WeightedCapacity: Number("double"),
|
|
173
173
|
* // TagSpecifications: [ // SpotFleetTagSpecificationList
|
|
174
174
|
* // { // SpotFleetTagSpecification
|
|
175
|
-
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task",
|
|
175
|
+
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "capacity-manager-data-export",
|
|
176
176
|
* // Tags: [ // TagList
|
|
177
177
|
* // { // Tag
|
|
178
178
|
* // Key: "STRING_VALUE",
|
|
@@ -396,7 +396,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
|
|
|
396
396
|
* // TargetCapacityUnitType: "vcpu" || "memory-mib" || "units",
|
|
397
397
|
* // TagSpecifications: [ // TagSpecificationList
|
|
398
398
|
* // { // TagSpecification
|
|
399
|
-
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task",
|
|
399
|
+
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "capacity-manager-data-export",
|
|
400
400
|
* // Tags: [
|
|
401
401
|
* // {
|
|
402
402
|
* // Key: "STRING_VALUE",
|
|
@@ -68,7 +68,7 @@ declare const DescribeTagsCommand_base: {
|
|
|
68
68
|
* // { // TagDescription
|
|
69
69
|
* // Key: "STRING_VALUE",
|
|
70
70
|
* // ResourceId: "STRING_VALUE",
|
|
71
|
-
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task",
|
|
71
|
+
* // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "capacity-manager-data-export",
|
|
72
72
|
* // Value: "STRING_VALUE",
|
|
73
73
|
* // },
|
|
74
74
|
* // ],
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { DisableCapacityManagerRequest, DisableCapacityManagerResult } from "../models/models_6";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableCapacityManagerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableCapacityManagerCommandInput extends DisableCapacityManagerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableCapacityManagerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableCapacityManagerCommandOutput extends DisableCapacityManagerResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableCapacityManagerCommand_base: {
|
|
25
|
+
new (input: DisableCapacityManagerCommandInput): import("@smithy/smithy-client").CommandImpl<DisableCapacityManagerCommandInput, DisableCapacityManagerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DisableCapacityManagerCommandInput]): import("@smithy/smithy-client").CommandImpl<DisableCapacityManagerCommandInput, DisableCapacityManagerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Disables EC2 Capacity Manager for your account. This stops data ingestion and removes access to capacity analytics and optimization recommendations.
|
|
32
|
+
* Previously collected data is retained but no new data will be processed.
|
|
33
|
+
* </p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { EC2Client, DisableCapacityManagerCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
38
|
+
* // const { EC2Client, DisableCapacityManagerCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
40
|
+
* const config = {}; // type is EC2ClientConfig
|
|
41
|
+
* const client = new EC2Client(config);
|
|
42
|
+
* const input = { // DisableCapacityManagerRequest
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DisableCapacityManagerCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DisableCapacityManagerResult
|
|
49
|
+
* // CapacityManagerStatus: "enabled" || "disabled",
|
|
50
|
+
* // OrganizationsAccess: true || false,
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DisableCapacityManagerCommandInput - {@link DisableCapacityManagerCommandInput}
|
|
56
|
+
* @returns {@link DisableCapacityManagerCommandOutput}
|
|
57
|
+
* @see {@link DisableCapacityManagerCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DisableCapacityManagerCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link EC2ServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class DisableCapacityManagerCommand extends DisableCapacityManagerCommand_base {
|
|
68
|
+
/** @internal type navigation helper, not in runtime. */
|
|
69
|
+
protected static __types: {
|
|
70
|
+
api: {
|
|
71
|
+
input: DisableCapacityManagerRequest;
|
|
72
|
+
output: DisableCapacityManagerResult;
|
|
73
|
+
};
|
|
74
|
+
sdk: {
|
|
75
|
+
input: DisableCapacityManagerCommandInput;
|
|
76
|
+
output: DisableCapacityManagerCommandOutput;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { EnableCapacityManagerRequest, EnableCapacityManagerResult } from "../models/models_6";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableCapacityManagerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableCapacityManagerCommandInput extends EnableCapacityManagerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableCapacityManagerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableCapacityManagerCommandOutput extends EnableCapacityManagerResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EnableCapacityManagerCommand_base: {
|
|
25
|
+
new (input: EnableCapacityManagerCommandInput): import("@smithy/smithy-client").CommandImpl<EnableCapacityManagerCommandInput, EnableCapacityManagerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [EnableCapacityManagerCommandInput]): import("@smithy/smithy-client").CommandImpl<EnableCapacityManagerCommandInput, EnableCapacityManagerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Enables EC2 Capacity Manager for your account. This starts data ingestion for your EC2 capacity usage across On-Demand, Spot, and Capacity Reservations.
|
|
32
|
+
* Initial data processing may take several hours to complete.
|
|
33
|
+
* </p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { EC2Client, EnableCapacityManagerCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
38
|
+
* // const { EC2Client, EnableCapacityManagerCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
39
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
40
|
+
* const config = {}; // type is EC2ClientConfig
|
|
41
|
+
* const client = new EC2Client(config);
|
|
42
|
+
* const input = { // EnableCapacityManagerRequest
|
|
43
|
+
* OrganizationsAccess: true || false,
|
|
44
|
+
* DryRun: true || false,
|
|
45
|
+
* ClientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new EnableCapacityManagerCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // EnableCapacityManagerResult
|
|
50
|
+
* // CapacityManagerStatus: "enabled" || "disabled",
|
|
51
|
+
* // OrganizationsAccess: true || false,
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param EnableCapacityManagerCommandInput - {@link EnableCapacityManagerCommandInput}
|
|
57
|
+
* @returns {@link EnableCapacityManagerCommandOutput}
|
|
58
|
+
* @see {@link EnableCapacityManagerCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link EnableCapacityManagerCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link EC2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class EnableCapacityManagerCommand extends EnableCapacityManagerCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: EnableCapacityManagerRequest;
|
|
73
|
+
output: EnableCapacityManagerResult;
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: EnableCapacityManagerCommandInput;
|
|
77
|
+
output: EnableCapacityManagerCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -51,7 +51,7 @@ declare const ExportImageCommand_base: {
|
|
|
51
51
|
* RoleName: "STRING_VALUE",
|
|
52
52
|
* TagSpecifications: [ // TagSpecificationList
|
|
53
53
|
* { // TagSpecification
|
|
54
|
-
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task",
|
|
54
|
+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "capacity-manager-data-export",
|
|
55
55
|
* Tags: [ // TagList
|
|
56
56
|
* { // Tag
|
|
57
57
|
* Key: "STRING_VALUE",
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { GetCapacityManagerAttributesRequest, GetCapacityManagerAttributesResult } from "../models/models_6";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCapacityManagerAttributesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCapacityManagerAttributesCommandInput extends GetCapacityManagerAttributesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCapacityManagerAttributesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCapacityManagerAttributesCommandOutput extends GetCapacityManagerAttributesResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCapacityManagerAttributesCommand_base: {
|
|
25
|
+
new (input: GetCapacityManagerAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapacityManagerAttributesCommandInput, GetCapacityManagerAttributesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetCapacityManagerAttributesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetCapacityManagerAttributesCommandInput, GetCapacityManagerAttributesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Retrieves the current configuration and status of EC2 Capacity Manager for your account, including enablement status, Organizations access settings, and data ingestion status.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EC2Client, GetCapacityManagerAttributesCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
37
|
+
* // const { EC2Client, GetCapacityManagerAttributesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
38
|
+
* // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
|
|
39
|
+
* const config = {}; // type is EC2ClientConfig
|
|
40
|
+
* const client = new EC2Client(config);
|
|
41
|
+
* const input = { // GetCapacityManagerAttributesRequest
|
|
42
|
+
* DryRun: true || false,
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetCapacityManagerAttributesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetCapacityManagerAttributesResult
|
|
47
|
+
* // CapacityManagerStatus: "enabled" || "disabled",
|
|
48
|
+
* // OrganizationsAccess: true || false,
|
|
49
|
+
* // DataExportCount: Number("int"),
|
|
50
|
+
* // IngestionStatus: "initial-ingestion-in-progress" || "ingestion-complete" || "ingestion-failed",
|
|
51
|
+
* // IngestionStatusMessage: "STRING_VALUE",
|
|
52
|
+
* // EarliestDatapointTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // LatestDatapointTimestamp: new Date("TIMESTAMP"),
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetCapacityManagerAttributesCommandInput - {@link GetCapacityManagerAttributesCommandInput}
|
|
59
|
+
* @returns {@link GetCapacityManagerAttributesCommandOutput}
|
|
60
|
+
* @see {@link GetCapacityManagerAttributesCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetCapacityManagerAttributesCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EC2ServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class GetCapacityManagerAttributesCommand extends GetCapacityManagerAttributesCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: GetCapacityManagerAttributesRequest;
|
|
75
|
+
output: GetCapacityManagerAttributesResult;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: GetCapacityManagerAttributesCommandInput;
|
|
79
|
+
output: GetCapacityManagerAttributesCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|