@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType,
|
|
1
|
+
import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, EndDateType, InstanceEventWindow, InstanceMatchCriteria, NatGatewayAddress, PortRange, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Describes a Capacity Reservation.</p>
|
|
4
4
|
* @public
|
|
@@ -2294,6 +2294,44 @@ export interface CreateDefaultSubnetRequest {
|
|
|
2294
2294
|
*/
|
|
2295
2295
|
Ipv6Native?: boolean | undefined;
|
|
2296
2296
|
}
|
|
2297
|
+
/**
|
|
2298
|
+
* @public
|
|
2299
|
+
* @enum
|
|
2300
|
+
*/
|
|
2301
|
+
export declare const BlockPublicAccessMode: {
|
|
2302
|
+
readonly block_bidirectional: "block-bidirectional";
|
|
2303
|
+
readonly block_ingress: "block-ingress";
|
|
2304
|
+
readonly off: "off";
|
|
2305
|
+
};
|
|
2306
|
+
/**
|
|
2307
|
+
* @public
|
|
2308
|
+
*/
|
|
2309
|
+
export type BlockPublicAccessMode = (typeof BlockPublicAccessMode)[keyof typeof BlockPublicAccessMode];
|
|
2310
|
+
/**
|
|
2311
|
+
* <p>The state of VPC Block Public Access (BPA).</p>
|
|
2312
|
+
* @public
|
|
2313
|
+
*/
|
|
2314
|
+
export interface BlockPublicAccessStates {
|
|
2315
|
+
/**
|
|
2316
|
+
* <p>The mode of VPC BPA.</p>
|
|
2317
|
+
* <ul>
|
|
2318
|
+
* <li>
|
|
2319
|
+
* <p>
|
|
2320
|
+
* <code>bidirectional-access-allowed</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
|
|
2321
|
+
* </li>
|
|
2322
|
+
* <li>
|
|
2323
|
+
* <p>
|
|
2324
|
+
* <code>bidirectional-access-blocked</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
|
|
2325
|
+
* </li>
|
|
2326
|
+
* <li>
|
|
2327
|
+
* <p>
|
|
2328
|
+
* <code>ingress-access-blocked</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
|
|
2329
|
+
* </li>
|
|
2330
|
+
* </ul>
|
|
2331
|
+
* @public
|
|
2332
|
+
*/
|
|
2333
|
+
InternetGatewayBlockMode?: BlockPublicAccessMode | undefined;
|
|
2334
|
+
}
|
|
2297
2335
|
/**
|
|
2298
2336
|
* @public
|
|
2299
2337
|
* @enum
|
|
@@ -2423,6 +2461,11 @@ export interface Subnet {
|
|
|
2423
2461
|
* @public
|
|
2424
2462
|
*/
|
|
2425
2463
|
PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | undefined;
|
|
2464
|
+
/**
|
|
2465
|
+
* <p>The state of VPC Block Public Access (BPA).</p>
|
|
2466
|
+
* @public
|
|
2467
|
+
*/
|
|
2468
|
+
BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
|
|
2426
2469
|
/**
|
|
2427
2470
|
* <p>The ID of the subnet.</p>
|
|
2428
2471
|
* @public
|
|
@@ -2549,6 +2592,11 @@ export interface Vpc {
|
|
|
2549
2592
|
* @public
|
|
2550
2593
|
*/
|
|
2551
2594
|
Tags?: Tag[] | undefined;
|
|
2595
|
+
/**
|
|
2596
|
+
* <p>The state of VPC Block Public Access (BPA).</p>
|
|
2597
|
+
* @public
|
|
2598
|
+
*/
|
|
2599
|
+
BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
|
|
2552
2600
|
/**
|
|
2553
2601
|
* <p>The ID of the VPC.</p>
|
|
2554
2602
|
* @public
|
|
@@ -5540,8 +5588,8 @@ export interface CreateImageRequest {
|
|
|
5540
5588
|
* <code>image</code>.</p>
|
|
5541
5589
|
* </li>
|
|
5542
5590
|
* <li>
|
|
5543
|
-
* <p>To tag the snapshots that are created of the root volume and of other Amazon EBS volumes
|
|
5544
|
-
* are attached to the instance, the value for <code>ResourceType</code> must be
|
|
5591
|
+
* <p>To tag the snapshots that are created of the root volume and of other Amazon EBS volumes
|
|
5592
|
+
* that are attached to the instance, the value for <code>ResourceType</code> must be
|
|
5545
5593
|
* <code>snapshot</code>. The same tag is applied to all of the snapshots that are
|
|
5546
5594
|
* created.</p>
|
|
5547
5595
|
* </li>
|
|
@@ -5565,7 +5613,9 @@ export interface CreateImageRequest {
|
|
|
5565
5613
|
InstanceId: string | undefined;
|
|
5566
5614
|
/**
|
|
5567
5615
|
* <p>A name for the new image.</p>
|
|
5568
|
-
* <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces
|
|
5616
|
+
* <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces
|
|
5617
|
+
* ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or
|
|
5618
|
+
* underscores(_)</p>
|
|
5569
5619
|
* @public
|
|
5570
5620
|
*/
|
|
5571
5621
|
Name: string | undefined;
|
|
@@ -5575,21 +5625,21 @@ export interface CreateImageRequest {
|
|
|
5575
5625
|
*/
|
|
5576
5626
|
Description?: string | undefined;
|
|
5577
5627
|
/**
|
|
5578
|
-
* <p>Indicates whether or not the instance should be automatically rebooted before creating
|
|
5579
|
-
*
|
|
5628
|
+
* <p>Indicates whether or not the instance should be automatically rebooted before creating the
|
|
5629
|
+
* image. Specify one of the following values:</p>
|
|
5580
5630
|
* <ul>
|
|
5581
5631
|
* <li>
|
|
5582
5632
|
* <p>
|
|
5583
5633
|
* <code>true</code> - The instance is not rebooted before creating the image. This
|
|
5584
|
-
*
|
|
5585
|
-
*
|
|
5586
|
-
*
|
|
5634
|
+
* creates crash-consistent snapshots that include only the data that has been written to the
|
|
5635
|
+
* volumes at the time the snapshots are created. Buffered data and data in memory that has
|
|
5636
|
+
* not yet been written to the volumes is not included in the snapshots.</p>
|
|
5587
5637
|
* </li>
|
|
5588
5638
|
* <li>
|
|
5589
5639
|
* <p>
|
|
5590
|
-
* <code>false</code> - The instance is rebooted before creating the image. This
|
|
5591
|
-
*
|
|
5592
|
-
*
|
|
5640
|
+
* <code>false</code> - The instance is rebooted before creating the image. This ensures
|
|
5641
|
+
* that all buffered data and data in memory is written to the volumes before the snapshots
|
|
5642
|
+
* are created.</p>
|
|
5593
5643
|
* </li>
|
|
5594
5644
|
* </ul>
|
|
5595
5645
|
* <p>Default: <code>false</code>
|
|
@@ -8157,8 +8207,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
8157
8207
|
/**
|
|
8158
8208
|
* <p>A security group connection tracking specification that enables you to set the timeout
|
|
8159
8209
|
* for connection tracking on an Elastic network interface. For more information, see
|
|
8160
|
-
*
|
|
8161
|
-
*
|
|
8210
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Idle connection tracking timeout</a> in the
|
|
8211
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
8162
8212
|
* @public
|
|
8163
8213
|
*/
|
|
8164
8214
|
ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest | undefined;
|
|
@@ -9497,8 +9547,8 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
|
|
|
9497
9547
|
/**
|
|
9498
9548
|
* <p>A security group connection tracking specification that enables you to set the timeout
|
|
9499
9549
|
* for connection tracking on an Elastic network interface. For more information, see
|
|
9500
|
-
*
|
|
9501
|
-
*
|
|
9550
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Idle connection tracking timeout</a> in the
|
|
9551
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
9502
9552
|
* @public
|
|
9503
9553
|
*/
|
|
9504
9554
|
ConnectionTrackingSpecification?: ConnectionTrackingSpecification | undefined;
|
|
@@ -11020,70 +11070,6 @@ export interface CreateNetworkAclEntryRequest {
|
|
|
11020
11070
|
*/
|
|
11021
11071
|
PortRange?: PortRange | undefined;
|
|
11022
11072
|
}
|
|
11023
|
-
/**
|
|
11024
|
-
* @public
|
|
11025
|
-
*/
|
|
11026
|
-
export interface CreateNetworkInsightsAccessScopeRequest {
|
|
11027
|
-
/**
|
|
11028
|
-
* <p>The paths to match.</p>
|
|
11029
|
-
* @public
|
|
11030
|
-
*/
|
|
11031
|
-
MatchPaths?: AccessScopePathRequest[] | undefined;
|
|
11032
|
-
/**
|
|
11033
|
-
* <p>The paths to exclude.</p>
|
|
11034
|
-
* @public
|
|
11035
|
-
*/
|
|
11036
|
-
ExcludePaths?: AccessScopePathRequest[] | undefined;
|
|
11037
|
-
/**
|
|
11038
|
-
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
|
|
11039
|
-
* see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p>
|
|
11040
|
-
* @public
|
|
11041
|
-
*/
|
|
11042
|
-
ClientToken?: string | undefined;
|
|
11043
|
-
/**
|
|
11044
|
-
* <p>The tags to apply.</p>
|
|
11045
|
-
* @public
|
|
11046
|
-
*/
|
|
11047
|
-
TagSpecifications?: TagSpecification[] | undefined;
|
|
11048
|
-
/**
|
|
11049
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
11050
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
11051
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
11052
|
-
* @public
|
|
11053
|
-
*/
|
|
11054
|
-
DryRun?: boolean | undefined;
|
|
11055
|
-
}
|
|
11056
|
-
/**
|
|
11057
|
-
* <p>Describes a Network Access Scope.</p>
|
|
11058
|
-
* @public
|
|
11059
|
-
*/
|
|
11060
|
-
export interface NetworkInsightsAccessScope {
|
|
11061
|
-
/**
|
|
11062
|
-
* <p>The ID of the Network Access Scope.</p>
|
|
11063
|
-
* @public
|
|
11064
|
-
*/
|
|
11065
|
-
NetworkInsightsAccessScopeId?: string | undefined;
|
|
11066
|
-
/**
|
|
11067
|
-
* <p>The Amazon Resource Name (ARN) of the Network Access Scope.</p>
|
|
11068
|
-
* @public
|
|
11069
|
-
*/
|
|
11070
|
-
NetworkInsightsAccessScopeArn?: string | undefined;
|
|
11071
|
-
/**
|
|
11072
|
-
* <p>The creation date.</p>
|
|
11073
|
-
* @public
|
|
11074
|
-
*/
|
|
11075
|
-
CreatedDate?: Date | undefined;
|
|
11076
|
-
/**
|
|
11077
|
-
* <p>The last updated date.</p>
|
|
11078
|
-
* @public
|
|
11079
|
-
*/
|
|
11080
|
-
UpdatedDate?: Date | undefined;
|
|
11081
|
-
/**
|
|
11082
|
-
* <p>The tags.</p>
|
|
11083
|
-
* @public
|
|
11084
|
-
*/
|
|
11085
|
-
Tags?: Tag[] | undefined;
|
|
11086
|
-
}
|
|
11087
11073
|
/**
|
|
11088
11074
|
* @internal
|
|
11089
11075
|
*/
|
|
@@ -1,5 +1,69 @@
|
|
|
1
|
-
import { AccessScopePath, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam,
|
|
1
|
+
import { AccessScopePath, AccessScopePathRequest, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateNetworkInsightsAccessScopeRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The paths to match.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
MatchPaths?: AccessScopePathRequest[] | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The paths to exclude.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
ExcludePaths?: AccessScopePathRequest[] | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
|
|
19
|
+
* see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
ClientToken?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The tags to apply.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
30
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
31
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
DryRun?: boolean | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>Describes a Network Access Scope.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface NetworkInsightsAccessScope {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The ID of the Network Access Scope.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
NetworkInsightsAccessScopeId?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The Amazon Resource Name (ARN) of the Network Access Scope.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
NetworkInsightsAccessScopeArn?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The creation date.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
CreatedDate?: Date | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The last updated date.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
UpdatedDate?: Date | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The tags.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
Tags?: Tag[] | undefined;
|
|
66
|
+
}
|
|
3
67
|
/**
|
|
4
68
|
* <p>Describes the Network Access Scope content.</p>
|
|
5
69
|
* @public
|
|
@@ -1428,12 +1492,13 @@ export interface CreateRestoreImageTaskRequest {
|
|
|
1428
1492
|
* snapshots, or both.</p>
|
|
1429
1493
|
* <ul>
|
|
1430
1494
|
* <li>
|
|
1431
|
-
* <p>To tag the AMI, the value for <code>ResourceType</code> must be
|
|
1495
|
+
* <p>To tag the AMI, the value for <code>ResourceType</code> must be
|
|
1496
|
+
* <code>image</code>.</p>
|
|
1432
1497
|
* </li>
|
|
1433
1498
|
* <li>
|
|
1434
|
-
* <p>To
|
|
1435
|
-
*
|
|
1436
|
-
*
|
|
1499
|
+
* <p>To tag the snapshots, the value for <code>ResourceType</code> must be
|
|
1500
|
+
* <code>snapshot</code>. The same tag is applied to all of the snapshots that are
|
|
1501
|
+
* created.</p>
|
|
1437
1502
|
* </li>
|
|
1438
1503
|
* </ul>
|
|
1439
1504
|
* @public
|
|
@@ -5700,6 +5765,155 @@ export interface CreateVpcResult {
|
|
|
5700
5765
|
*/
|
|
5701
5766
|
Vpc?: Vpc | undefined;
|
|
5702
5767
|
}
|
|
5768
|
+
/**
|
|
5769
|
+
* @public
|
|
5770
|
+
* @enum
|
|
5771
|
+
*/
|
|
5772
|
+
export declare const InternetGatewayExclusionMode: {
|
|
5773
|
+
readonly allow_bidirectional: "allow-bidirectional";
|
|
5774
|
+
readonly allow_egress: "allow-egress";
|
|
5775
|
+
};
|
|
5776
|
+
/**
|
|
5777
|
+
* @public
|
|
5778
|
+
*/
|
|
5779
|
+
export type InternetGatewayExclusionMode = (typeof InternetGatewayExclusionMode)[keyof typeof InternetGatewayExclusionMode];
|
|
5780
|
+
/**
|
|
5781
|
+
* @public
|
|
5782
|
+
*/
|
|
5783
|
+
export interface CreateVpcBlockPublicAccessExclusionRequest {
|
|
5784
|
+
/**
|
|
5785
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
5786
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
5787
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
5788
|
+
* @public
|
|
5789
|
+
*/
|
|
5790
|
+
DryRun?: boolean | undefined;
|
|
5791
|
+
/**
|
|
5792
|
+
* <p>A subnet ID.</p>
|
|
5793
|
+
* @public
|
|
5794
|
+
*/
|
|
5795
|
+
SubnetId?: string | undefined;
|
|
5796
|
+
/**
|
|
5797
|
+
* <p>A VPC ID.</p>
|
|
5798
|
+
* @public
|
|
5799
|
+
*/
|
|
5800
|
+
VpcId?: string | undefined;
|
|
5801
|
+
/**
|
|
5802
|
+
* <p>The exclusion mode for internet gateway traffic.</p>
|
|
5803
|
+
* <ul>
|
|
5804
|
+
* <li>
|
|
5805
|
+
* <p>
|
|
5806
|
+
* <code>bidirectional-access-allowed</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
|
|
5807
|
+
* </li>
|
|
5808
|
+
* <li>
|
|
5809
|
+
* <p>
|
|
5810
|
+
* <code>egress-access-allowed</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
|
|
5811
|
+
* </li>
|
|
5812
|
+
* </ul>
|
|
5813
|
+
* @public
|
|
5814
|
+
*/
|
|
5815
|
+
InternetGatewayExclusionMode: InternetGatewayExclusionMode | undefined;
|
|
5816
|
+
/**
|
|
5817
|
+
* <p>
|
|
5818
|
+
* <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
5819
|
+
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
5820
|
+
* @public
|
|
5821
|
+
*/
|
|
5822
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
5823
|
+
}
|
|
5824
|
+
/**
|
|
5825
|
+
* @public
|
|
5826
|
+
* @enum
|
|
5827
|
+
*/
|
|
5828
|
+
export declare const VpcBlockPublicAccessExclusionState: {
|
|
5829
|
+
readonly create_complete: "create-complete";
|
|
5830
|
+
readonly create_failed: "create-failed";
|
|
5831
|
+
readonly create_in_progress: "create-in-progress";
|
|
5832
|
+
readonly delete_complete: "delete-complete";
|
|
5833
|
+
readonly delete_in_progress: "delete-in-progress";
|
|
5834
|
+
readonly disable_complete: "disable-complete";
|
|
5835
|
+
readonly disable_in_progress: "disable-in-progress";
|
|
5836
|
+
readonly update_complete: "update-complete";
|
|
5837
|
+
readonly update_failed: "update-failed";
|
|
5838
|
+
readonly update_in_progress: "update-in-progress";
|
|
5839
|
+
};
|
|
5840
|
+
/**
|
|
5841
|
+
* @public
|
|
5842
|
+
*/
|
|
5843
|
+
export type VpcBlockPublicAccessExclusionState = (typeof VpcBlockPublicAccessExclusionState)[keyof typeof VpcBlockPublicAccessExclusionState];
|
|
5844
|
+
/**
|
|
5845
|
+
* <p>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>
|
|
5846
|
+
* @public
|
|
5847
|
+
*/
|
|
5848
|
+
export interface VpcBlockPublicAccessExclusion {
|
|
5849
|
+
/**
|
|
5850
|
+
* <p>The ID of the exclusion.</p>
|
|
5851
|
+
* @public
|
|
5852
|
+
*/
|
|
5853
|
+
ExclusionId?: string | undefined;
|
|
5854
|
+
/**
|
|
5855
|
+
* <p>The exclusion mode for internet gateway traffic.</p>
|
|
5856
|
+
* <ul>
|
|
5857
|
+
* <li>
|
|
5858
|
+
* <p>
|
|
5859
|
+
* <code>bidirectional-access-allowed</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
|
|
5860
|
+
* </li>
|
|
5861
|
+
* <li>
|
|
5862
|
+
* <p>
|
|
5863
|
+
* <code>egress-access-allowed</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
|
|
5864
|
+
* </li>
|
|
5865
|
+
* </ul>
|
|
5866
|
+
* @public
|
|
5867
|
+
*/
|
|
5868
|
+
InternetGatewayExclusionMode?: InternetGatewayExclusionMode | undefined;
|
|
5869
|
+
/**
|
|
5870
|
+
* <p>The ARN of the exclusion.</p>
|
|
5871
|
+
* @public
|
|
5872
|
+
*/
|
|
5873
|
+
ResourceArn?: string | undefined;
|
|
5874
|
+
/**
|
|
5875
|
+
* <p>The state of the exclusion.</p>
|
|
5876
|
+
* @public
|
|
5877
|
+
*/
|
|
5878
|
+
State?: VpcBlockPublicAccessExclusionState | undefined;
|
|
5879
|
+
/**
|
|
5880
|
+
* <p>The reason for the current exclusion state.</p>
|
|
5881
|
+
* @public
|
|
5882
|
+
*/
|
|
5883
|
+
Reason?: string | undefined;
|
|
5884
|
+
/**
|
|
5885
|
+
* <p>When the exclusion was created.</p>
|
|
5886
|
+
* @public
|
|
5887
|
+
*/
|
|
5888
|
+
CreationTimestamp?: Date | undefined;
|
|
5889
|
+
/**
|
|
5890
|
+
* <p>When the exclusion was last updated.</p>
|
|
5891
|
+
* @public
|
|
5892
|
+
*/
|
|
5893
|
+
LastUpdateTimestamp?: Date | undefined;
|
|
5894
|
+
/**
|
|
5895
|
+
* <p>When the exclusion was deleted.</p>
|
|
5896
|
+
* @public
|
|
5897
|
+
*/
|
|
5898
|
+
DeletionTimestamp?: Date | undefined;
|
|
5899
|
+
/**
|
|
5900
|
+
* <p>
|
|
5901
|
+
* <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
5902
|
+
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
5903
|
+
* @public
|
|
5904
|
+
*/
|
|
5905
|
+
Tags?: Tag[] | undefined;
|
|
5906
|
+
}
|
|
5907
|
+
/**
|
|
5908
|
+
* @public
|
|
5909
|
+
*/
|
|
5910
|
+
export interface CreateVpcBlockPublicAccessExclusionResult {
|
|
5911
|
+
/**
|
|
5912
|
+
* <p>Details about an exclusion.</p>
|
|
5913
|
+
* @public
|
|
5914
|
+
*/
|
|
5915
|
+
VpcBlockPublicAccessExclusion?: VpcBlockPublicAccessExclusion | undefined;
|
|
5916
|
+
}
|
|
5703
5917
|
/**
|
|
5704
5918
|
* @public
|
|
5705
5919
|
* @enum
|
|
@@ -8149,106 +8363,6 @@ export interface DeleteIpamExternalResourceVerificationTokenRequest {
|
|
|
8149
8363
|
*/
|
|
8150
8364
|
IpamExternalResourceVerificationTokenId: string | undefined;
|
|
8151
8365
|
}
|
|
8152
|
-
/**
|
|
8153
|
-
* @public
|
|
8154
|
-
*/
|
|
8155
|
-
export interface DeleteIpamExternalResourceVerificationTokenResult {
|
|
8156
|
-
/**
|
|
8157
|
-
* <p>The verification token.</p>
|
|
8158
|
-
* @public
|
|
8159
|
-
*/
|
|
8160
|
-
IpamExternalResourceVerificationToken?: IpamExternalResourceVerificationToken | undefined;
|
|
8161
|
-
}
|
|
8162
|
-
/**
|
|
8163
|
-
* @public
|
|
8164
|
-
*/
|
|
8165
|
-
export interface DeleteIpamPoolRequest {
|
|
8166
|
-
/**
|
|
8167
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
8168
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8169
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8170
|
-
* @public
|
|
8171
|
-
*/
|
|
8172
|
-
DryRun?: boolean | undefined;
|
|
8173
|
-
/**
|
|
8174
|
-
* <p>The ID of the pool to delete.</p>
|
|
8175
|
-
* @public
|
|
8176
|
-
*/
|
|
8177
|
-
IpamPoolId: string | undefined;
|
|
8178
|
-
/**
|
|
8179
|
-
* <p>Enables you to quickly delete an IPAM pool and all resources within that pool, including
|
|
8180
|
-
* provisioned CIDRs, allocations, and other pools.</p>
|
|
8181
|
-
* <important>
|
|
8182
|
-
* <p>You can only use this option to delete pools in the private scope or pools in the public scope with a source resource. A source resource is a resource used to provision CIDRs to a resource planning pool.</p>
|
|
8183
|
-
* </important>
|
|
8184
|
-
* @public
|
|
8185
|
-
*/
|
|
8186
|
-
Cascade?: boolean | undefined;
|
|
8187
|
-
}
|
|
8188
|
-
/**
|
|
8189
|
-
* @public
|
|
8190
|
-
*/
|
|
8191
|
-
export interface DeleteIpamPoolResult {
|
|
8192
|
-
/**
|
|
8193
|
-
* <p>Information about the results of the deletion.</p>
|
|
8194
|
-
* @public
|
|
8195
|
-
*/
|
|
8196
|
-
IpamPool?: IpamPool | undefined;
|
|
8197
|
-
}
|
|
8198
|
-
/**
|
|
8199
|
-
* @public
|
|
8200
|
-
*/
|
|
8201
|
-
export interface DeleteIpamResourceDiscoveryRequest {
|
|
8202
|
-
/**
|
|
8203
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
8204
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8205
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8206
|
-
* @public
|
|
8207
|
-
*/
|
|
8208
|
-
DryRun?: boolean | undefined;
|
|
8209
|
-
/**
|
|
8210
|
-
* <p>The IPAM resource discovery ID.</p>
|
|
8211
|
-
* @public
|
|
8212
|
-
*/
|
|
8213
|
-
IpamResourceDiscoveryId: string | undefined;
|
|
8214
|
-
}
|
|
8215
|
-
/**
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
export interface DeleteIpamResourceDiscoveryResult {
|
|
8219
|
-
/**
|
|
8220
|
-
* <p>The IPAM resource discovery.</p>
|
|
8221
|
-
* @public
|
|
8222
|
-
*/
|
|
8223
|
-
IpamResourceDiscovery?: IpamResourceDiscovery | undefined;
|
|
8224
|
-
}
|
|
8225
|
-
/**
|
|
8226
|
-
* @public
|
|
8227
|
-
*/
|
|
8228
|
-
export interface DeleteIpamScopeRequest {
|
|
8229
|
-
/**
|
|
8230
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
8231
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8232
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8233
|
-
* @public
|
|
8234
|
-
*/
|
|
8235
|
-
DryRun?: boolean | undefined;
|
|
8236
|
-
/**
|
|
8237
|
-
* <p>The ID of the scope to delete.</p>
|
|
8238
|
-
* @public
|
|
8239
|
-
*/
|
|
8240
|
-
IpamScopeId: string | undefined;
|
|
8241
|
-
}
|
|
8242
|
-
/**
|
|
8243
|
-
* @public
|
|
8244
|
-
*/
|
|
8245
|
-
export interface DeleteIpamScopeResult {
|
|
8246
|
-
/**
|
|
8247
|
-
* <p>Information about the results of the deletion.</p>
|
|
8248
|
-
* @public
|
|
8249
|
-
*/
|
|
8250
|
-
IpamScope?: IpamScope | undefined;
|
|
8251
|
-
}
|
|
8252
8366
|
/**
|
|
8253
8367
|
* @internal
|
|
8254
8368
|
*/
|