@aws-sdk/client-ec2 3.695.0 → 3.696.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 +551 -19
- 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 +5 -0
- package/dist-es/models/models_2.js +16 -0
- package/dist-es/models/models_4.js +0 -15
- package/dist-es/models/models_5.js +25 -0
- package/dist-es/protocols/Aws_ec2.js +395 -2
- 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/CreateImageCommand.d.ts +6 -5
- 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/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -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/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/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/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/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/ListImagesInRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
- 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/RestoreImageFromRecycleBinCommand.d.ts +2 -1
- 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 +66 -80
- package/dist-types/models/models_2.d.ts +220 -106
- package/dist-types/models/models_3.d.ts +155 -371
- package/dist-types/models/models_4.d.ts +423 -401
- package/dist-types/models/models_5.d.ts +567 -506
- package/dist-types/models/models_6.d.ts +3268 -3187
- package/dist-types/models/models_7.d.ts +502 -28
- 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/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
- 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/DescribeHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.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/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/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 +12 -15
- package/dist-types/ts3.4/models/models_2.d.ts +56 -32
- package/dist-types/ts3.4/models/models_3.d.ts +39 -69
- package/dist-types/ts3.4/models/models_4.d.ts +70 -70
- package/dist-types/ts3.4/models/models_5.d.ts +111 -101
- package/dist-types/ts3.4/models/models_6.d.ts +100 -102
- package/dist-types/ts3.4/models/models_7.d.ts +124 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
- package/package.json +37 -37
|
@@ -27,11 +27,13 @@ declare const DisableFastLaunchCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned
|
|
31
|
+
* snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for
|
|
32
|
+
* each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable
|
|
33
|
+
* Windows fast launch again.</p>
|
|
33
34
|
* <note>
|
|
34
|
-
* <p>You can only change these settings for Windows AMIs that you own or that have been
|
|
35
|
+
* <p>You can only change these settings for Windows AMIs that you own or that have been
|
|
36
|
+
* shared with you.</p>
|
|
35
37
|
* </note>
|
|
36
38
|
* @example
|
|
37
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -35,8 +35,8 @@ declare const DisableImageBlockPublicAccessCommand_base: {
|
|
|
35
35
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html">GetImageBlockPublicAccessState</a>, the response will be
|
|
36
36
|
* <code>block-new-sharing</code>. When the API has completed the configuration, the response
|
|
37
37
|
* will be <code>unblocked</code>.</p>
|
|
38
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis">Block
|
|
39
|
-
*
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis">Block
|
|
39
|
+
* public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
42
|
* ```javascript
|
|
@@ -27,14 +27,15 @@ declare const EnableFastLaunchCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>When you enable Windows fast launch for a Windows AMI, images are pre-provisioned,
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
30
|
+
* <p>When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using
|
|
31
|
+
* snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2
|
|
32
|
+
* launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a
|
|
33
|
+
* set of reserved snapshots that are used for subsequent launches. The reserved snapshots are
|
|
34
|
+
* automatically replenished as they are used, depending on your settings for launch
|
|
35
|
+
* frequency.</p>
|
|
36
36
|
* <note>
|
|
37
|
-
* <p>You can only change these settings for Windows AMIs that you own or that have been
|
|
37
|
+
* <p>You can only change these settings for Windows AMIs that you own or that have been
|
|
38
|
+
* shared with you.</p>
|
|
38
39
|
* </note>
|
|
39
40
|
* @example
|
|
40
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,7 +28,8 @@ declare const EnableImageDeprecationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Enables deprecation of the specified AMI at the specified date and time.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the
|
|
32
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -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 { GetAssociatedEnclaveCertificateIamRolesRequest, GetAssociatedEnclaveCertificateIamRolesResult } from "../models/
|
|
4
|
+
import { GetAssociatedEnclaveCertificateIamRolesRequest, GetAssociatedEnclaveCertificateIamRolesResult } from "../models/models_6";
|
|
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 { GetAssociatedIpv6PoolCidrsRequest, GetAssociatedIpv6PoolCidrsResult } from "../models/
|
|
4
|
+
import { GetAssociatedIpv6PoolCidrsRequest, GetAssociatedIpv6PoolCidrsResult } from "../models/models_6";
|
|
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 { GetAwsNetworkPerformanceDataRequest, GetAwsNetworkPerformanceDataResult } from "../models/
|
|
4
|
+
import { GetAwsNetworkPerformanceDataRequest, GetAwsNetworkPerformanceDataResult } from "../models/models_6";
|
|
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 { GetCapacityReservationUsageRequest, GetCapacityReservationUsageResult } from "../models/
|
|
4
|
+
import { GetCapacityReservationUsageRequest, GetCapacityReservationUsageResult } from "../models/models_6";
|
|
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 { GetCoipPoolUsageRequest } from "../models/
|
|
5
|
-
import { GetCoipPoolUsageResult } from "../models/models_6";
|
|
4
|
+
import { GetCoipPoolUsageRequest, GetCoipPoolUsageResult } from "../models/models_6";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -27,8 +27,8 @@ declare const ListImagesInRecycleBinCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information,
|
|
31
|
-
*
|
|
30
|
+
* <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle
|
|
32
32
|
* Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,12 +27,14 @@ declare const ModifyImageAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute
|
|
31
|
+
* at a time.</p>
|
|
32
|
+
* <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the
|
|
33
|
+
* following parameters: <code>Description</code>, <code>ImdsSupport</code>, or
|
|
34
|
+
* <code>LaunchPermission</code>.</p>
|
|
33
35
|
* <p>Images with an Amazon Web Services Marketplace product code cannot be made public.</p>
|
|
34
|
-
* <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable
|
|
35
|
-
*
|
|
36
|
+
* <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable
|
|
37
|
+
* SriovNetSupport on an instance and create an AMI from the instance.</p>
|
|
36
38
|
* @example
|
|
37
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
40
|
* ```javascript
|
|
@@ -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 { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/models_7";
|
|
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 { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_7";
|
|
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 { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/models_7";
|
|
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 { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/models_7";
|
|
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 { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/models_7";
|
|
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 { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/
|
|
4
|
+
import { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { ModifyVpcBlockPublicAccessExclusionRequest, ModifyVpcBlockPublicAccessExclusionResult } from "../models/models_7";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ModifyVpcBlockPublicAccessExclusionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyVpcBlockPublicAccessExclusionCommandInput extends ModifyVpcBlockPublicAccessExclusionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyVpcBlockPublicAccessExclusionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyVpcBlockPublicAccessExclusionCommandOutput extends ModifyVpcBlockPublicAccessExclusionResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ModifyVpcBlockPublicAccessExclusionCommand_base: {
|
|
25
|
+
new (input: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modify VPC Block Public Access (BPA) exclusions. 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.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* const client = new EC2Client(config);
|
|
37
|
+
* const input = { // ModifyVpcBlockPublicAccessExclusionRequest
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* ExclusionId: "STRING_VALUE", // required
|
|
40
|
+
* InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ModifyVpcBlockPublicAccessExclusionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ModifyVpcBlockPublicAccessExclusionResult
|
|
45
|
+
* // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
|
|
46
|
+
* // ExclusionId: "STRING_VALUE",
|
|
47
|
+
* // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
|
|
48
|
+
* // ResourceArn: "STRING_VALUE",
|
|
49
|
+
* // 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",
|
|
50
|
+
* // Reason: "STRING_VALUE",
|
|
51
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
54
|
+
* // Tags: [ // TagList
|
|
55
|
+
* // { // Tag
|
|
56
|
+
* // Key: "STRING_VALUE",
|
|
57
|
+
* // Value: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ModifyVpcBlockPublicAccessExclusionCommandInput - {@link ModifyVpcBlockPublicAccessExclusionCommandInput}
|
|
66
|
+
* @returns {@link ModifyVpcBlockPublicAccessExclusionCommandOutput}
|
|
67
|
+
* @see {@link ModifyVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ModifyVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link EC2ServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ModifyVpcBlockPublicAccessExclusionCommand extends ModifyVpcBlockPublicAccessExclusionCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: ModifyVpcBlockPublicAccessExclusionRequest;
|
|
81
|
+
output: ModifyVpcBlockPublicAccessExclusionResult;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: ModifyVpcBlockPublicAccessExclusionCommandInput;
|
|
85
|
+
output: ModifyVpcBlockPublicAccessExclusionCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -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 { ModifyVpcBlockPublicAccessOptionsRequest, ModifyVpcBlockPublicAccessOptionsResult } from "../models/models_7";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ModifyVpcBlockPublicAccessOptionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ModifyVpcBlockPublicAccessOptionsCommandInput extends ModifyVpcBlockPublicAccessOptionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ModifyVpcBlockPublicAccessOptionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ModifyVpcBlockPublicAccessOptionsCommandOutput extends ModifyVpcBlockPublicAccessOptionsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ModifyVpcBlockPublicAccessOptionsCommand_base: {
|
|
25
|
+
new (input: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modify VPC Block Public Access (BPA) options. VPC Block public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. 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, ModifyVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
35
|
+
* // const { EC2Client, ModifyVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
36
|
+
* const client = new EC2Client(config);
|
|
37
|
+
* const input = { // ModifyVpcBlockPublicAccessOptionsRequest
|
|
38
|
+
* DryRun: true || false,
|
|
39
|
+
* InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ModifyVpcBlockPublicAccessOptionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ModifyVpcBlockPublicAccessOptionsResult
|
|
44
|
+
* // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions
|
|
45
|
+
* // AwsAccountId: "STRING_VALUE",
|
|
46
|
+
* // AwsRegion: "STRING_VALUE",
|
|
47
|
+
* // State: "default-state" || "update-in-progress" || "update-complete",
|
|
48
|
+
* // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
|
|
49
|
+
* // Reason: "STRING_VALUE",
|
|
50
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ModifyVpcBlockPublicAccessOptionsCommandInput - {@link ModifyVpcBlockPublicAccessOptionsCommandInput}
|
|
57
|
+
* @returns {@link ModifyVpcBlockPublicAccessOptionsCommandOutput}
|
|
58
|
+
* @see {@link ModifyVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ModifyVpcBlockPublicAccessOptionsCommandOutput} 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
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ModifyVpcBlockPublicAccessOptionsCommand extends ModifyVpcBlockPublicAccessOptionsCommand_base {
|
|
68
|
+
/** @internal type navigation helper, not in runtime. */
|
|
69
|
+
protected static __types: {
|
|
70
|
+
api: {
|
|
71
|
+
input: ModifyVpcBlockPublicAccessOptionsRequest;
|
|
72
|
+
output: ModifyVpcBlockPublicAccessOptionsResult;
|
|
73
|
+
};
|
|
74
|
+
sdk: {
|
|
75
|
+
input: ModifyVpcBlockPublicAccessOptionsCommandInput;
|
|
76
|
+
output: ModifyVpcBlockPublicAccessOptionsCommandOutput;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -43,18 +43,17 @@ declare const RegisterImageCommand_base: {
|
|
|
43
43
|
* <p>
|
|
44
44
|
* <b>Register a snapshot of a root device volume</b>
|
|
45
45
|
* </p>
|
|
46
|
-
* <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
46
|
+
* <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from a snapshot
|
|
47
|
+
* of a root device volume. You specify the snapshot using a block device mapping. You can't set
|
|
48
|
+
* the encryption state of the volume using the block device mapping. If the snapshot is
|
|
49
|
+
* encrypted, or encryption by default is enabled, the root volume of an instance launched from
|
|
50
|
+
* the AMI is encrypted.</p>
|
|
51
51
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with Amazon EBS-backed
|
|
52
52
|
* AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
53
53
|
* <p>
|
|
54
54
|
* <b>Amazon Web Services Marketplace product codes</b>
|
|
55
55
|
* </p>
|
|
56
|
-
* <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new
|
|
57
|
-
* AMI.</p>
|
|
56
|
+
* <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new AMI.</p>
|
|
58
57
|
* <p>In most cases, AMIs for Windows, RedHat, SUSE, and SQL Server require correct licensing
|
|
59
58
|
* information to be present on the AMI. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI billing
|
|
60
59
|
* information</a> in the <i>Amazon EC2 User Guide</i>. When creating an AMI from
|
|
@@ -27,7 +27,8 @@ declare const RestoreImageFromRecycleBinCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
30
|
+
* <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
|
|
31
|
+
* the <i>Amazon EC2 User Guide</i>.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -132,6 +132,7 @@ export * from "./CreateVerifiedAccessGroupCommand";
|
|
|
132
132
|
export * from "./CreateVerifiedAccessInstanceCommand";
|
|
133
133
|
export * from "./CreateVerifiedAccessTrustProviderCommand";
|
|
134
134
|
export * from "./CreateVolumeCommand";
|
|
135
|
+
export * from "./CreateVpcBlockPublicAccessExclusionCommand";
|
|
135
136
|
export * from "./CreateVpcCommand";
|
|
136
137
|
export * from "./CreateVpcEndpointCommand";
|
|
137
138
|
export * from "./CreateVpcEndpointConnectionNotificationCommand";
|
|
@@ -207,6 +208,7 @@ export * from "./DeleteVerifiedAccessGroupCommand";
|
|
|
207
208
|
export * from "./DeleteVerifiedAccessInstanceCommand";
|
|
208
209
|
export * from "./DeleteVerifiedAccessTrustProviderCommand";
|
|
209
210
|
export * from "./DeleteVolumeCommand";
|
|
211
|
+
export * from "./DeleteVpcBlockPublicAccessExclusionCommand";
|
|
210
212
|
export * from "./DeleteVpcCommand";
|
|
211
213
|
export * from "./DeleteVpcEndpointConnectionNotificationsCommand";
|
|
212
214
|
export * from "./DeleteVpcEndpointServiceConfigurationsCommand";
|
|
@@ -366,6 +368,8 @@ export * from "./DescribeVolumeStatusCommand";
|
|
|
366
368
|
export * from "./DescribeVolumesCommand";
|
|
367
369
|
export * from "./DescribeVolumesModificationsCommand";
|
|
368
370
|
export * from "./DescribeVpcAttributeCommand";
|
|
371
|
+
export * from "./DescribeVpcBlockPublicAccessExclusionsCommand";
|
|
372
|
+
export * from "./DescribeVpcBlockPublicAccessOptionsCommand";
|
|
369
373
|
export * from "./DescribeVpcClassicLinkCommand";
|
|
370
374
|
export * from "./DescribeVpcClassicLinkDnsSupportCommand";
|
|
371
375
|
export * from "./DescribeVpcEndpointConnectionNotificationsCommand";
|
|
@@ -552,6 +556,8 @@ export * from "./ModifyVerifiedAccessTrustProviderCommand";
|
|
|
552
556
|
export * from "./ModifyVolumeAttributeCommand";
|
|
553
557
|
export * from "./ModifyVolumeCommand";
|
|
554
558
|
export * from "./ModifyVpcAttributeCommand";
|
|
559
|
+
export * from "./ModifyVpcBlockPublicAccessExclusionCommand";
|
|
560
|
+
export * from "./ModifyVpcBlockPublicAccessOptionsCommand";
|
|
555
561
|
export * from "./ModifyVpcEndpointCommand";
|
|
556
562
|
export * from "./ModifyVpcEndpointConnectionNotificationCommand";
|
|
557
563
|
export * from "./ModifyVpcEndpointServiceConfigurationCommand";
|
|
@@ -6182,20 +6182,22 @@ export interface AuthorizeSecurityGroupIngressResult {
|
|
|
6182
6182
|
SecurityGroupRules?: SecurityGroupRule[] | undefined;
|
|
6183
6183
|
}
|
|
6184
6184
|
/**
|
|
6185
|
-
* <p>Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed
|
|
6185
|
+
* <p>Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed
|
|
6186
|
+
* AMI.</p>
|
|
6186
6187
|
* @public
|
|
6187
6188
|
*/
|
|
6188
6189
|
export interface S3Storage {
|
|
6189
6190
|
/**
|
|
6190
6191
|
* <p>The access key ID of the owner of the bucket. Before you specify a value for your access
|
|
6191
|
-
*
|
|
6192
|
-
*
|
|
6193
|
-
* Guide</i>.</p>
|
|
6192
|
+
* key ID, review and follow the guidance in <a href="https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html">Best Practices for Amazon Web Services
|
|
6193
|
+
* accounts</a> in the <i>Account ManagementReference Guide</i>.</p>
|
|
6194
6194
|
* @public
|
|
6195
6195
|
*/
|
|
6196
6196
|
AWSAccessKeyId?: string | undefined;
|
|
6197
6197
|
/**
|
|
6198
|
-
* <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
|
|
6198
|
+
* <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
|
|
6199
|
+
* new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone
|
|
6200
|
+
* else, Amazon EC2 returns an error.</p>
|
|
6199
6201
|
* @public
|
|
6200
6202
|
*/
|
|
6201
6203
|
Bucket?: string | undefined;
|
|
@@ -6205,7 +6207,8 @@ export interface S3Storage {
|
|
|
6205
6207
|
*/
|
|
6206
6208
|
Prefix?: string | undefined;
|
|
6207
6209
|
/**
|
|
6208
|
-
* <p>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your
|
|
6210
|
+
* <p>An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your
|
|
6211
|
+
* behalf.</p>
|
|
6209
6212
|
* @public
|
|
6210
6213
|
*/
|
|
6211
6214
|
UploadPolicy?: Uint8Array | undefined;
|
|
@@ -6238,7 +6241,9 @@ export interface BundleInstanceRequest {
|
|
|
6238
6241
|
*/
|
|
6239
6242
|
InstanceId: string | undefined;
|
|
6240
6243
|
/**
|
|
6241
|
-
* <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
|
|
6244
|
+
* <p>The bucket in which to store the AMI. You can specify a bucket that you already own or a
|
|
6245
|
+
* new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone
|
|
6246
|
+
* else, Amazon EC2 returns an error.</p>
|
|
6242
6247
|
* @public
|
|
6243
6248
|
*/
|
|
6244
6249
|
Storage: Storage | undefined;
|
|
@@ -7041,9 +7046,9 @@ export interface CopyFpgaImageResult {
|
|
|
7041
7046
|
*/
|
|
7042
7047
|
export interface CopyImageRequest {
|
|
7043
7048
|
/**
|
|
7044
|
-
* <p>Unique, case-sensitive identifier you provide to ensure
|
|
7045
|
-
*
|
|
7046
|
-
*
|
|
7049
|
+
* <p>Unique, case-sensitive identifier you provide to ensure idempotency of the request. For
|
|
7050
|
+
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
|
|
7051
|
+
* in the <i>Amazon EC2 API Reference</i>.</p>
|
|
7047
7052
|
* @public
|
|
7048
7053
|
*/
|
|
7049
7054
|
ClientToken?: string | undefined;
|
|
@@ -7062,9 +7067,9 @@ export interface CopyImageRequest {
|
|
|
7062
7067
|
*/
|
|
7063
7068
|
Encrypted?: boolean | undefined;
|
|
7064
7069
|
/**
|
|
7065
|
-
* <p>The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating
|
|
7066
|
-
*
|
|
7067
|
-
*
|
|
7070
|
+
* <p>The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating encrypted volumes.
|
|
7071
|
+
* If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. If you
|
|
7072
|
+
* specify a KMS key, you must also set the encrypted state to <code>true</code>.</p>
|
|
7068
7073
|
* <p>You can specify a KMS key using any of the following:</p>
|
|
7069
7074
|
* <ul>
|
|
7070
7075
|
* <li>
|
|
@@ -7080,8 +7085,8 @@ export interface CopyImageRequest {
|
|
|
7080
7085
|
* <p>Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.</p>
|
|
7081
7086
|
* </li>
|
|
7082
7087
|
* </ul>
|
|
7083
|
-
* <p>Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier
|
|
7084
|
-
* the action can appear to complete, but eventually fails.</p>
|
|
7088
|
+
* <p>Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier
|
|
7089
|
+
* that is not valid, the action can appear to complete, but eventually fails.</p>
|
|
7085
7090
|
* <p>The specified KMS key must exist in the destination Region.</p>
|
|
7086
7091
|
* <p>Amazon EBS does not support asymmetric KMS keys.</p>
|
|
7087
7092
|
* @public
|
|
@@ -7103,13 +7108,12 @@ export interface CopyImageRequest {
|
|
|
7103
7108
|
*/
|
|
7104
7109
|
SourceRegion: string | undefined;
|
|
7105
7110
|
/**
|
|
7106
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only
|
|
7107
|
-
*
|
|
7108
|
-
*
|
|
7109
|
-
*
|
|
7110
|
-
*
|
|
7111
|
-
*
|
|
7112
|
-
* Region to an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
7111
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this
|
|
7112
|
+
* parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The AMI must be in the
|
|
7113
|
+
* Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from
|
|
7114
|
+
* one Outpost to another, or within the same Outpost.</p>
|
|
7115
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis">Copy AMIs from an Amazon Web Services Region
|
|
7116
|
+
* to an Outpost</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
7113
7117
|
* @public
|
|
7114
7118
|
*/
|
|
7115
7119
|
DestinationOutpostArn?: string | undefined;
|
|
@@ -7139,7 +7143,7 @@ export interface CopyImageRequest {
|
|
|
7139
7143
|
* </li>
|
|
7140
7144
|
* <li>
|
|
7141
7145
|
* <p>To tag the new snapshots, the value for <code>ResourceType</code> must be
|
|
7142
|
-
*
|
|
7146
|
+
* <code>snapshot</code>. The same tag is applied to all the new snapshots.</p>
|
|
7143
7147
|
* </li>
|
|
7144
7148
|
* </ul>
|
|
7145
7149
|
* <p>If you specify other values for <code>ResourceType</code>, the request fails.</p>
|