@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
|
@@ -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>
|