@aws-sdk/client-ec2 3.694.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.
Files changed (144) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +672 -54
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +5 -0
  12. package/dist-es/models/models_2.js +16 -0
  13. package/dist-es/models/models_4.js +0 -15
  14. package/dist-es/models/models_5.js +25 -0
  15. package/dist-es/models/models_6.js +0 -4
  16. package/dist-es/models/models_7.js +4 -1
  17. package/dist-es/protocols/Aws_ec2.js +511 -32
  18. package/dist-types/EC2.d.ts +44 -0
  19. package/dist-types/EC2Client.d.ts +8 -2
  20. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  21. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  22. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  23. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +10 -0
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +11 -0
  28. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +7 -0
  30. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  33. package/dist-types/commands/CreateVolumeCommand.d.ts +7 -0
  34. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  35. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  43. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  44. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  45. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  49. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  50. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +4 -0
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +9 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +8 -0
  55. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -2
  61. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeVolumesCommand.d.ts +4 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  65. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  66. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  67. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  68. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  69. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  70. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  71. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  74. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  75. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  76. package/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -2
  77. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -0
  78. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  79. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  80. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +4 -0
  81. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  82. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  83. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  88. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  89. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  90. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  91. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  92. package/dist-types/commands/index.d.ts +6 -0
  93. package/dist-types/models/models_0.d.ts +27 -23
  94. package/dist-types/models/models_1.d.ts +120 -116
  95. package/dist-types/models/models_2.d.ts +276 -143
  96. package/dist-types/models/models_3.d.ts +192 -409
  97. package/dist-types/models/models_4.d.ts +1119 -1064
  98. package/dist-types/models/models_5.d.ts +2975 -2932
  99. package/dist-types/models/models_6.d.ts +4328 -4255
  100. package/dist-types/models/models_7.d.ts +564 -29
  101. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  102. package/dist-types/ts3.4/EC2.d.ts +140 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  104. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +4 -2
  119. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +4 -2
  127. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  136. package/dist-types/ts3.4/models/models_1.d.ts +24 -27
  137. package/dist-types/ts3.4/models/models_2.d.ts +74 -40
  138. package/dist-types/ts3.4/models/models_3.d.ts +48 -76
  139. package/dist-types/ts3.4/models/models_4.d.ts +83 -77
  140. package/dist-types/ts3.4/models/models_5.d.ts +117 -107
  141. package/dist-types/ts3.4/models/models_6.d.ts +112 -117
  142. package/dist-types/ts3.4/models/models_7.d.ts +137 -3
  143. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  144. package/package.json +37 -37
@@ -1,5 +1,105 @@
1
- import { 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, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
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
+ }
67
+ /**
68
+ * <p>Describes the Network Access Scope content.</p>
69
+ * @public
70
+ */
71
+ export interface NetworkInsightsAccessScopeContent {
72
+ /**
73
+ * <p>The ID of the Network Access Scope.</p>
74
+ * @public
75
+ */
76
+ NetworkInsightsAccessScopeId?: string | undefined;
77
+ /**
78
+ * <p>The paths to match.</p>
79
+ * @public
80
+ */
81
+ MatchPaths?: AccessScopePath[] | undefined;
82
+ /**
83
+ * <p>The paths to exclude.</p>
84
+ * @public
85
+ */
86
+ ExcludePaths?: AccessScopePath[] | undefined;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface CreateNetworkInsightsAccessScopeResult {
92
+ /**
93
+ * <p>The Network Access Scope.</p>
94
+ * @public
95
+ */
96
+ NetworkInsightsAccessScope?: NetworkInsightsAccessScope | undefined;
97
+ /**
98
+ * <p>The Network Access Scope content.</p>
99
+ * @public
100
+ */
101
+ NetworkInsightsAccessScopeContent?: NetworkInsightsAccessScopeContent | undefined;
102
+ }
3
103
  /**
4
104
  * <p>Describes a port range.</p>
5
105
  * @public
@@ -323,6 +423,11 @@ export interface CreateNetworkInterfaceRequest {
323
423
  * @public
324
424
  */
325
425
  ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest | undefined;
426
+ /**
427
+ * <p>Reserved for internal use.</p>
428
+ * @public
429
+ */
430
+ Operator?: OperatorRequest | undefined;
326
431
  /**
327
432
  * <p>The ID of the subnet to associate with the network interface.</p>
328
433
  * @public
@@ -809,6 +914,11 @@ export interface NetworkInterface {
809
914
  * @public
810
915
  */
811
916
  Ipv6Address?: string | undefined;
917
+ /**
918
+ * <p>The entity that manages the network interface.</p>
919
+ * @public
920
+ */
921
+ Operator?: OperatorResponse | undefined;
812
922
  }
813
923
  /**
814
924
  * @public
@@ -1382,12 +1492,13 @@ export interface CreateRestoreImageTaskRequest {
1382
1492
  * snapshots, or both.</p>
1383
1493
  * <ul>
1384
1494
  * <li>
1385
- * <p>To tag the AMI, the value for <code>ResourceType</code> must be <code>image</code>.</p>
1495
+ * <p>To tag the AMI, the value for <code>ResourceType</code> must be
1496
+ * <code>image</code>.</p>
1386
1497
  * </li>
1387
1498
  * <li>
1388
- * <p>To
1389
- * tag the snapshots, the value for <code>ResourceType</code> must be <code>snapshot</code>. The
1390
- * same tag is applied to all of the snapshots that are created.</p>
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>
1391
1502
  * </li>
1392
1503
  * </ul>
1393
1504
  * @public
@@ -5426,6 +5537,11 @@ export interface CreateVolumeRequest {
5426
5537
  * @public
5427
5538
  */
5428
5539
  ClientToken?: string | undefined;
5540
+ /**
5541
+ * <p>Reserved for internal use.</p>
5542
+ * @public
5543
+ */
5544
+ Operator?: OperatorRequest | undefined;
5429
5545
  /**
5430
5546
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
5431
5547
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5503,6 +5619,11 @@ export interface Volume {
5503
5619
  * @public
5504
5620
  */
5505
5621
  SseType?: SSEType | undefined;
5622
+ /**
5623
+ * <p>The entity that manages the volume.</p>
5624
+ * @public
5625
+ */
5626
+ Operator?: OperatorResponse | undefined;
5506
5627
  /**
5507
5628
  * <p>The ID of the volume.</p>
5508
5629
  * @public
@@ -5644,6 +5765,155 @@ export interface CreateVpcResult {
5644
5765
  */
5645
5766
  Vpc?: Vpc | undefined;
5646
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
+ }
5647
5917
  /**
5648
5918
  * @public
5649
5919
  * @enum
@@ -8093,143 +8363,6 @@ export interface DeleteIpamExternalResourceVerificationTokenRequest {
8093
8363
  */
8094
8364
  IpamExternalResourceVerificationTokenId: string | undefined;
8095
8365
  }
8096
- /**
8097
- * @public
8098
- */
8099
- export interface DeleteIpamExternalResourceVerificationTokenResult {
8100
- /**
8101
- * <p>The verification token.</p>
8102
- * @public
8103
- */
8104
- IpamExternalResourceVerificationToken?: IpamExternalResourceVerificationToken | undefined;
8105
- }
8106
- /**
8107
- * @public
8108
- */
8109
- export interface DeleteIpamPoolRequest {
8110
- /**
8111
- * <p>A check for whether you have the required permissions for the action without actually making the request
8112
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8113
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8114
- * @public
8115
- */
8116
- DryRun?: boolean | undefined;
8117
- /**
8118
- * <p>The ID of the pool to delete.</p>
8119
- * @public
8120
- */
8121
- IpamPoolId: string | undefined;
8122
- /**
8123
- * <p>Enables you to quickly delete an IPAM pool and all resources within that pool, including
8124
- * provisioned CIDRs, allocations, and other pools.</p>
8125
- * <important>
8126
- * <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>
8127
- * </important>
8128
- * @public
8129
- */
8130
- Cascade?: boolean | undefined;
8131
- }
8132
- /**
8133
- * @public
8134
- */
8135
- export interface DeleteIpamPoolResult {
8136
- /**
8137
- * <p>Information about the results of the deletion.</p>
8138
- * @public
8139
- */
8140
- IpamPool?: IpamPool | undefined;
8141
- }
8142
- /**
8143
- * @public
8144
- */
8145
- export interface DeleteIpamResourceDiscoveryRequest {
8146
- /**
8147
- * <p>A check for whether you have the required permissions for the action without actually making the request
8148
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8149
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8150
- * @public
8151
- */
8152
- DryRun?: boolean | undefined;
8153
- /**
8154
- * <p>The IPAM resource discovery ID.</p>
8155
- * @public
8156
- */
8157
- IpamResourceDiscoveryId: string | undefined;
8158
- }
8159
- /**
8160
- * @public
8161
- */
8162
- export interface DeleteIpamResourceDiscoveryResult {
8163
- /**
8164
- * <p>The IPAM resource discovery.</p>
8165
- * @public
8166
- */
8167
- IpamResourceDiscovery?: IpamResourceDiscovery | undefined;
8168
- }
8169
- /**
8170
- * @public
8171
- */
8172
- export interface DeleteIpamScopeRequest {
8173
- /**
8174
- * <p>A check for whether you have the required permissions for the action without actually making the request
8175
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8176
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8177
- * @public
8178
- */
8179
- DryRun?: boolean | undefined;
8180
- /**
8181
- * <p>The ID of the scope to delete.</p>
8182
- * @public
8183
- */
8184
- IpamScopeId: string | undefined;
8185
- }
8186
- /**
8187
- * @public
8188
- */
8189
- export interface DeleteIpamScopeResult {
8190
- /**
8191
- * <p>Information about the results of the deletion.</p>
8192
- * @public
8193
- */
8194
- IpamScope?: IpamScope | undefined;
8195
- }
8196
- /**
8197
- * @public
8198
- */
8199
- export interface DeleteKeyPairRequest {
8200
- /**
8201
- * <p>The name of the key pair.</p>
8202
- * @public
8203
- */
8204
- KeyName?: string | undefined;
8205
- /**
8206
- * <p>The ID of the key pair.</p>
8207
- * @public
8208
- */
8209
- KeyPairId?: string | undefined;
8210
- /**
8211
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8212
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8213
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8214
- * @public
8215
- */
8216
- DryRun?: boolean | undefined;
8217
- }
8218
- /**
8219
- * @public
8220
- */
8221
- export interface DeleteKeyPairResult {
8222
- /**
8223
- * <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
8224
- * @public
8225
- */
8226
- Return?: boolean | undefined;
8227
- /**
8228
- * <p>The ID of the key pair.</p>
8229
- * @public
8230
- */
8231
- KeyPairId?: string | undefined;
8232
- }
8233
8366
  /**
8234
8367
  * @internal
8235
8368
  */