@aws-sdk/client-ec2 3.695.0 → 3.697.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 +48 -0
- package/dist-cjs/index.js +730 -57
- package/dist-es/EC2.js +12 -0
- package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
- package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
- package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
- package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
- package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
- package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_1.js +7 -4
- package/dist-es/models/models_2.js +20 -0
- package/dist-es/models/models_3.js +0 -6
- package/dist-es/models/models_4.js +6 -15
- package/dist-es/models/models_5.js +25 -0
- package/dist-es/protocols/Aws_ec2.js +563 -28
- package/dist-types/EC2.d.ts +44 -0
- package/dist-types/EC2Client.d.ts +8 -2
- package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
- package/dist-types/commands/CopyImageCommand.d.ts +8 -7
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
- package/dist-types/commands/CreateImageCommand.d.ts +6 -5
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
- package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
- package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
- package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
- package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
- package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
- package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
- package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
- package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
- package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
- package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
- package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
- package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
- package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
- package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +27 -23
- package/dist-types/models/models_1.d.ts +310 -277
- package/dist-types/models/models_2.d.ts +417 -219
- package/dist-types/models/models_3.d.ts +268 -589
- package/dist-types/models/models_4.d.ts +6951 -7048
- package/dist-types/models/models_5.d.ts +3709 -3519
- package/dist-types/models/models_6.d.ts +4429 -4255
- package/dist-types/models/models_7.d.ts +624 -29
- package/dist-types/protocols/Aws_ec2.d.ts +54 -0
- package/dist-types/ts3.4/EC2.d.ts +140 -0
- package/dist-types/ts3.4/EC2Client.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_1.d.ts +34 -60
- package/dist-types/ts3.4/models/models_2.d.ts +102 -57
- package/dist-types/ts3.4/models/models_3.d.ts +64 -117
- package/dist-types/ts3.4/models/models_4.d.ts +119 -113
- package/dist-types/ts3.4/models/models_5.d.ts +152 -141
- package/dist-types/ts3.4/models/models_6.d.ts +139 -138
- package/dist-types/ts3.4/models/models_7.d.ts +158 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
- package/package.json +37 -37
|
@@ -196,7 +196,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
196
196
|
* AmdSevSnp: "enabled" || "disabled",
|
|
197
197
|
* },
|
|
198
198
|
* CapacityReservationSpecification: { // LaunchTemplateCapacityReservationSpecificationRequest
|
|
199
|
-
* CapacityReservationPreference: "open" || "none",
|
|
199
|
+
* CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
|
|
200
200
|
* CapacityReservationTarget: { // CapacityReservationTarget
|
|
201
201
|
* CapacityReservationId: "STRING_VALUE",
|
|
202
202
|
* CapacityReservationResourceGroupArn: "STRING_VALUE",
|
|
@@ -230,7 +230,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
230
230
|
* Max: Number("int"),
|
|
231
231
|
* },
|
|
232
232
|
* CpuManufacturers: [ // CpuManufacturerSet
|
|
233
|
-
* "intel" || "amd" || "amazon-web-services",
|
|
233
|
+
* "intel" || "amd" || "amazon-web-services" || "apple",
|
|
234
234
|
* ],
|
|
235
235
|
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
|
|
236
236
|
* Min: Number("double"),
|
|
@@ -288,6 +288,15 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
288
288
|
* "STRING_VALUE",
|
|
289
289
|
* ],
|
|
290
290
|
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
291
|
+
* BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
|
|
292
|
+
* Cpu: { // CpuPerformanceFactorRequest
|
|
293
|
+
* References: [ // PerformanceFactorReferenceSetRequest
|
|
294
|
+
* { // PerformanceFactorReferenceRequest
|
|
295
|
+
* InstanceFamily: "STRING_VALUE",
|
|
296
|
+
* },
|
|
297
|
+
* ],
|
|
298
|
+
* },
|
|
299
|
+
* },
|
|
291
300
|
* },
|
|
292
301
|
* PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptionsRequest
|
|
293
302
|
* HostnameType: "ip-name" || "resource-name",
|
|
@@ -462,7 +471,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
462
471
|
* // AmdSevSnp: "enabled" || "disabled",
|
|
463
472
|
* // },
|
|
464
473
|
* // CapacityReservationSpecification: { // LaunchTemplateCapacityReservationSpecificationResponse
|
|
465
|
-
* // CapacityReservationPreference: "open" || "none",
|
|
474
|
+
* // CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
|
|
466
475
|
* // CapacityReservationTarget: { // CapacityReservationTargetResponse
|
|
467
476
|
* // CapacityReservationId: "STRING_VALUE",
|
|
468
477
|
* // CapacityReservationResourceGroupArn: "STRING_VALUE",
|
|
@@ -497,7 +506,7 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
497
506
|
* // Max: Number("int"),
|
|
498
507
|
* // },
|
|
499
508
|
* // CpuManufacturers: [ // CpuManufacturerSet
|
|
500
|
-
* // "intel" || "amd" || "amazon-web-services",
|
|
509
|
+
* // "intel" || "amd" || "amazon-web-services" || "apple",
|
|
501
510
|
* // ],
|
|
502
511
|
* // MemoryGiBPerVCpu: { // MemoryGiBPerVCpu
|
|
503
512
|
* // Min: Number("double"),
|
|
@@ -555,6 +564,15 @@ declare const CreateLaunchTemplateVersionCommand_base: {
|
|
|
555
564
|
* // "STRING_VALUE",
|
|
556
565
|
* // ],
|
|
557
566
|
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
567
|
+
* // BaselinePerformanceFactors: { // BaselinePerformanceFactors
|
|
568
|
+
* // Cpu: { // CpuPerformanceFactor
|
|
569
|
+
* // References: [ // PerformanceFactorReferenceSet
|
|
570
|
+
* // { // PerformanceFactorReference
|
|
571
|
+
* // InstanceFamily: "STRING_VALUE",
|
|
572
|
+
* // },
|
|
573
|
+
* // ],
|
|
574
|
+
* // },
|
|
575
|
+
* // },
|
|
558
576
|
* // },
|
|
559
577
|
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
|
|
560
578
|
* // HostnameType: "ip-name" || "resource-name",
|
|
@@ -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 { CreateNetworkAclRequest
|
|
4
|
+
import { CreateNetworkAclRequest } from "../models/models_1";
|
|
5
|
+
import { CreateNetworkAclResult } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -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 { CreateNetworkAclEntryRequest } from "../models/
|
|
4
|
+
import { CreateNetworkAclEntryRequest } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +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 { CreateNetworkInsightsAccessScopeRequest } from "../models/
|
|
5
|
-
import { CreateNetworkInsightsAccessScopeResult } from "../models/models_2";
|
|
4
|
+
import { CreateNetworkInsightsAccessScopeRequest, CreateNetworkInsightsAccessScopeResult } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -27,12 +27,12 @@ declare const CreateRestoreImageTaskCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Starts a task that restores an AMI from an Amazon S3 object that was previously created by
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
30
|
+
* <p>Starts a task that restores an AMI from an Amazon S3 object that was previously created by
|
|
31
|
+
* using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
|
|
32
32
|
* <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
|
|
33
33
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
|
|
35
|
-
*
|
|
35
|
+
* Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -31,7 +31,7 @@ declare const CreateStoreImageTaskCommand_base: {
|
|
|
31
31
|
* <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
|
|
32
32
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
|
|
34
|
-
*
|
|
34
|
+
* Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -112,6 +112,9 @@ declare const CreateSubnetCommand_base: {
|
|
|
112
112
|
* // EnableResourceNameDnsARecord: true || false,
|
|
113
113
|
* // EnableResourceNameDnsAAAARecord: true || false,
|
|
114
114
|
* // },
|
|
115
|
+
* // BlockPublicAccessStates: { // BlockPublicAccessStates
|
|
116
|
+
* // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
|
|
117
|
+
* // },
|
|
115
118
|
* // SubnetId: "STRING_VALUE",
|
|
116
119
|
* // State: "pending" || "available" || "unavailable",
|
|
117
120
|
* // VpcId: "STRING_VALUE",
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { CreateVpcBlockPublicAccessExclusionRequest, CreateVpcBlockPublicAccessExclusionResult } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateVpcBlockPublicAccessExclusionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateVpcBlockPublicAccessExclusionCommandInput extends CreateVpcBlockPublicAccessExclusionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateVpcBlockPublicAccessExclusionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateVpcBlockPublicAccessExclusionCommandOutput extends CreateVpcBlockPublicAccessExclusionResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateVpcBlockPublicAccessExclusionCommand_base: {
|
|
25
|
+
new (input: CreateVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcBlockPublicAccessExclusionCommandInput, CreateVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcBlockPublicAccessExclusionCommandInput, CreateVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Create a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EC2Client, CreateVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, CreateVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* const client = new EC2Client(config);
|
|
37
|
+
* const input = { // CreateVpcBlockPublicAccessExclusionRequest
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* SubnetId: "STRING_VALUE",
|
|
40
|
+
* VpcId: "STRING_VALUE",
|
|
41
|
+
* InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress", // required
|
|
42
|
+
* TagSpecifications: [ // TagSpecificationList
|
|
43
|
+
* { // TagSpecification
|
|
44
|
+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "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" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "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" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
|
|
45
|
+
* Tags: [ // TagList
|
|
46
|
+
* { // Tag
|
|
47
|
+
* Key: "STRING_VALUE",
|
|
48
|
+
* Value: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateVpcBlockPublicAccessExclusionCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateVpcBlockPublicAccessExclusionResult
|
|
57
|
+
* // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
|
|
58
|
+
* // ExclusionId: "STRING_VALUE",
|
|
59
|
+
* // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
|
|
60
|
+
* // ResourceArn: "STRING_VALUE",
|
|
61
|
+
* // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
|
|
62
|
+
* // Reason: "STRING_VALUE",
|
|
63
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
64
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
65
|
+
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
66
|
+
* // Tags: [ // TagList
|
|
67
|
+
* // { // Tag
|
|
68
|
+
* // Key: "STRING_VALUE",
|
|
69
|
+
* // Value: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param CreateVpcBlockPublicAccessExclusionCommandInput - {@link CreateVpcBlockPublicAccessExclusionCommandInput}
|
|
78
|
+
* @returns {@link CreateVpcBlockPublicAccessExclusionCommandOutput}
|
|
79
|
+
* @see {@link CreateVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link CreateVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link EC2ServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class CreateVpcBlockPublicAccessExclusionCommand extends CreateVpcBlockPublicAccessExclusionCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: CreateVpcBlockPublicAccessExclusionRequest;
|
|
93
|
+
output: CreateVpcBlockPublicAccessExclusionResult;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: CreateVpcBlockPublicAccessExclusionCommandInput;
|
|
97
|
+
output: CreateVpcBlockPublicAccessExclusionCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -106,6 +106,9 @@ declare const CreateVpcCommand_base: {
|
|
|
106
106
|
* // Value: "STRING_VALUE",
|
|
107
107
|
* // },
|
|
108
108
|
* // ],
|
|
109
|
+
* // BlockPublicAccessStates: { // BlockPublicAccessStates
|
|
110
|
+
* // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
|
|
111
|
+
* // },
|
|
109
112
|
* // VpcId: "STRING_VALUE",
|
|
110
113
|
* // State: "pending" || "available",
|
|
111
114
|
* // CidrBlock: "STRING_VALUE",
|
|
@@ -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 { DeleteInstanceEventWindowRequest
|
|
4
|
+
import { DeleteInstanceEventWindowRequest } from "../models/models_2";
|
|
5
|
+
import { DeleteInstanceEventWindowResult } from "../models/models_3";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -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 { DeleteInternetGatewayRequest } from "../models/
|
|
4
|
+
import { DeleteInternetGatewayRequest } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteIpamRequest, DeleteIpamResult } from "../models/
|
|
4
|
+
import { DeleteIpamRequest, DeleteIpamResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteIpamExternalResourceVerificationTokenRequest, DeleteIpamExternalResourceVerificationTokenResult } from "../models/
|
|
4
|
+
import { DeleteIpamExternalResourceVerificationTokenRequest, DeleteIpamExternalResourceVerificationTokenResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteIpamPoolRequest, DeleteIpamPoolResult } from "../models/
|
|
4
|
+
import { DeleteIpamPoolRequest, DeleteIpamPoolResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteIpamResourceDiscoveryRequest, DeleteIpamResourceDiscoveryResult } from "../models/
|
|
4
|
+
import { DeleteIpamResourceDiscoveryRequest, DeleteIpamResourceDiscoveryResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DeleteIpamScopeRequest, DeleteIpamScopeResult } from "../models/
|
|
4
|
+
import { DeleteIpamScopeRequest, DeleteIpamScopeResult } from "../models/models_3";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { DeleteVpcBlockPublicAccessExclusionRequest, DeleteVpcBlockPublicAccessExclusionResult } from "../models/models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteVpcBlockPublicAccessExclusionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteVpcBlockPublicAccessExclusionCommandInput extends DeleteVpcBlockPublicAccessExclusionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteVpcBlockPublicAccessExclusionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteVpcBlockPublicAccessExclusionCommandOutput extends DeleteVpcBlockPublicAccessExclusionResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteVpcBlockPublicAccessExclusionCommand_base: {
|
|
25
|
+
new (input: DeleteVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcBlockPublicAccessExclusionCommandInput, DeleteVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcBlockPublicAccessExclusionCommandInput, DeleteVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Delete a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EC2Client, DeleteVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, DeleteVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* const client = new EC2Client(config);
|
|
37
|
+
* const input = { // DeleteVpcBlockPublicAccessExclusionRequest
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* ExclusionId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteVpcBlockPublicAccessExclusionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DeleteVpcBlockPublicAccessExclusionResult
|
|
44
|
+
* // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
|
|
45
|
+
* // ExclusionId: "STRING_VALUE",
|
|
46
|
+
* // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
|
|
47
|
+
* // ResourceArn: "STRING_VALUE",
|
|
48
|
+
* // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
|
|
49
|
+
* // Reason: "STRING_VALUE",
|
|
50
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
51
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // Tags: [ // TagList
|
|
54
|
+
* // { // Tag
|
|
55
|
+
* // Key: "STRING_VALUE",
|
|
56
|
+
* // Value: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param DeleteVpcBlockPublicAccessExclusionCommandInput - {@link DeleteVpcBlockPublicAccessExclusionCommandInput}
|
|
65
|
+
* @returns {@link DeleteVpcBlockPublicAccessExclusionCommandOutput}
|
|
66
|
+
* @see {@link DeleteVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link DeleteVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link EC2ServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteVpcBlockPublicAccessExclusionCommand extends DeleteVpcBlockPublicAccessExclusionCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteVpcBlockPublicAccessExclusionRequest;
|
|
80
|
+
output: DeleteVpcBlockPublicAccessExclusionResult;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteVpcBlockPublicAccessExclusionCommandInput;
|
|
84
|
+
output: DeleteVpcBlockPublicAccessExclusionCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -27,18 +27,18 @@ declare const DeregisterImageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to
|
|
31
|
-
*
|
|
32
|
-
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
|
|
33
|
-
*
|
|
30
|
+
* <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new
|
|
31
|
+
* instances.</p>
|
|
32
|
+
* <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in
|
|
33
|
+
* the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
34
34
|
* the <i>Amazon EC2 User Guide</i>.</p>
|
|
35
|
-
* <p>When you deregister an AMI, it doesn't affect any instances that you've already
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
35
|
+
* <p>When you deregister an AMI, it doesn't affect any instances that you've already launched
|
|
36
|
+
* from the AMI. You'll continue to incur usage costs for those instances until you terminate
|
|
37
|
+
* them.</p>
|
|
38
|
+
* <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created
|
|
39
|
+
* for the root volume of the instance during the AMI creation process. When you deregister an
|
|
40
|
+
* instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you
|
|
41
|
+
* created the AMI.</p>
|
|
42
42
|
* @example
|
|
43
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
44
|
* ```javascript
|
|
@@ -29,12 +29,14 @@ declare const DescribeBundleTasksCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the specified bundle tasks or all of your bundle tasks.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no
|
|
32
|
+
* <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no
|
|
33
|
+
* longer in the list, you can still register an AMI from it. Just use
|
|
34
|
+
* <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided
|
|
35
|
+
* to the bundle task.</p>
|
|
33
36
|
* </note>
|
|
34
37
|
* <note>
|
|
35
|
-
* <p>The order of the elements in the response, including those within nested
|
|
36
|
-
*
|
|
37
|
-
* particular order.</p>
|
|
38
|
+
* <p>The order of the elements in the response, including those within nested structures,
|
|
39
|
+
* might vary. Applications should not assume the elements appear in a particular order.</p>
|
|
38
40
|
* </note>
|
|
39
41
|
* @example
|
|
40
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -98,7 +98,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
98
98
|
* // Max: Number("int"),
|
|
99
99
|
* // },
|
|
100
100
|
* // CpuManufacturers: [ // CpuManufacturerSet
|
|
101
|
-
* // "intel" || "amd" || "amazon-web-services",
|
|
101
|
+
* // "intel" || "amd" || "amazon-web-services" || "apple",
|
|
102
102
|
* // ],
|
|
103
103
|
* // MemoryGiBPerVCpu: { // MemoryGiBPerVCpu
|
|
104
104
|
* // Min: Number("double"),
|
|
@@ -156,6 +156,15 @@ declare const DescribeFleetsCommand_base: {
|
|
|
156
156
|
* // "STRING_VALUE",
|
|
157
157
|
* // ],
|
|
158
158
|
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
159
|
+
* // BaselinePerformanceFactors: { // BaselinePerformanceFactors
|
|
160
|
+
* // Cpu: { // CpuPerformanceFactor
|
|
161
|
+
* // References: [ // PerformanceFactorReferenceSet
|
|
162
|
+
* // { // PerformanceFactorReference
|
|
163
|
+
* // InstanceFamily: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
159
168
|
* // },
|
|
160
169
|
* // ImageId: "STRING_VALUE",
|
|
161
170
|
* // },
|
|
@@ -233,7 +242,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
233
242
|
* // Max: Number("int"),
|
|
234
243
|
* // },
|
|
235
244
|
* // CpuManufacturers: [
|
|
236
|
-
* // "intel" || "amd" || "amazon-web-services",
|
|
245
|
+
* // "intel" || "amd" || "amazon-web-services" || "apple",
|
|
237
246
|
* // ],
|
|
238
247
|
* // MemoryGiBPerVCpu: {
|
|
239
248
|
* // Min: Number("double"),
|
|
@@ -291,6 +300,15 @@ declare const DescribeFleetsCommand_base: {
|
|
|
291
300
|
* // "STRING_VALUE",
|
|
292
301
|
* // ],
|
|
293
302
|
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
303
|
+
* // BaselinePerformanceFactors: {
|
|
304
|
+
* // Cpu: {
|
|
305
|
+
* // References: [
|
|
306
|
+
* // {
|
|
307
|
+
* // InstanceFamily: "STRING_VALUE",
|
|
308
|
+
* // },
|
|
309
|
+
* // ],
|
|
310
|
+
* // },
|
|
311
|
+
* // },
|
|
294
312
|
* // },
|
|
295
313
|
* // ImageId: "STRING_VALUE",
|
|
296
314
|
* // },
|
|
@@ -328,7 +346,7 @@ declare const DescribeFleetsCommand_base: {
|
|
|
328
346
|
* // Max: Number("int"),
|
|
329
347
|
* // },
|
|
330
348
|
* // CpuManufacturers: [
|
|
331
|
-
* // "intel" || "amd" || "amazon-web-services",
|
|
349
|
+
* // "intel" || "amd" || "amazon-web-services" || "apple",
|
|
332
350
|
* // ],
|
|
333
351
|
* // MemoryGiBPerVCpu: {
|
|
334
352
|
* // Min: Number("double"),
|
|
@@ -386,6 +404,15 @@ declare const DescribeFleetsCommand_base: {
|
|
|
386
404
|
* // "STRING_VALUE",
|
|
387
405
|
* // ],
|
|
388
406
|
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
|
|
407
|
+
* // BaselinePerformanceFactors: {
|
|
408
|
+
* // Cpu: {
|
|
409
|
+
* // References: [
|
|
410
|
+
* // {
|
|
411
|
+
* // InstanceFamily: "STRING_VALUE",
|
|
412
|
+
* // },
|
|
413
|
+
* // ],
|
|
414
|
+
* // },
|
|
415
|
+
* // },
|
|
389
416
|
* // },
|
|
390
417
|
* // ImageId: "STRING_VALUE",
|
|
391
418
|
* // },
|
|
@@ -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 { DescribeHostReservationOfferingsRequest
|
|
4
|
+
import { DescribeHostReservationOfferingsRequest } from "../models/models_3";
|
|
5
|
+
import { DescribeHostReservationOfferingsResult } from "../models/models_4";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -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 { DescribeHostReservationsRequest, DescribeHostReservationsResult } from "../models/
|
|
4
|
+
import { DescribeHostReservationsRequest, DescribeHostReservationsResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DescribeHostsRequest, DescribeHostsResult } from "../models/
|
|
4
|
+
import { DescribeHostsRequest, DescribeHostsResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -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 { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult } from "../models/
|
|
4
|
+
import { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult } from "../models/models_4";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,11 +27,11 @@ declare const DescribeImageAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the specified attribute of the specified AMI. You can specify only one attribute
|
|
30
|
+
* <p>Describes the specified attribute of the specified AMI. You can specify only one attribute
|
|
31
|
+
* at a time.</p>
|
|
31
32
|
* <note>
|
|
32
|
-
* <p>The order of the elements in the response, including those within nested
|
|
33
|
-
*
|
|
34
|
-
* particular order.</p>
|
|
33
|
+
* <p>The order of the elements in the response, including those within nested structures,
|
|
34
|
+
* might vary. Applications should not assume the elements appear in a particular order.</p>
|
|
35
35
|
* </note>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|