@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.
Files changed (118) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +551 -19
  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/protocols/Aws_ec2.js +395 -2
  16. package/dist-types/EC2.d.ts +44 -0
  17. package/dist-types/EC2Client.d.ts +8 -2
  18. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  19. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  20. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  21. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  24. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  25. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  28. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  29. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  35. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  36. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  37. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  41. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  46. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  48. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  49. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  50. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  51. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  52. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  53. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  54. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  56. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  57. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  58. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  59. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  60. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  67. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  68. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  69. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  70. package/dist-types/commands/index.d.ts +6 -0
  71. package/dist-types/models/models_0.d.ts +27 -23
  72. package/dist-types/models/models_1.d.ts +66 -80
  73. package/dist-types/models/models_2.d.ts +220 -106
  74. package/dist-types/models/models_3.d.ts +155 -371
  75. package/dist-types/models/models_4.d.ts +423 -401
  76. package/dist-types/models/models_5.d.ts +567 -506
  77. package/dist-types/models/models_6.d.ts +3268 -3187
  78. package/dist-types/models/models_7.d.ts +502 -28
  79. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  80. package/dist-types/ts3.4/EC2.d.ts +140 -0
  81. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  82. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  110. package/dist-types/ts3.4/models/models_1.d.ts +12 -15
  111. package/dist-types/ts3.4/models/models_2.d.ts +56 -32
  112. package/dist-types/ts3.4/models/models_3.d.ts +39 -69
  113. package/dist-types/ts3.4/models/models_4.d.ts +70 -70
  114. package/dist-types/ts3.4/models/models_5.d.ts +111 -101
  115. package/dist-types/ts3.4/models/models_6.d.ts +100 -102
  116. package/dist-types/ts3.4/models/models_7.d.ts +124 -2
  117. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  118. package/package.json +37 -37
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { CreateVpcBlockPublicAccessExclusionRequest, CreateVpcBlockPublicAccessExclusionResult } from "../models/models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateVpcBlockPublicAccessExclusionCommand}.
14
+ */
15
+ export interface CreateVpcBlockPublicAccessExclusionCommandInput extends CreateVpcBlockPublicAccessExclusionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateVpcBlockPublicAccessExclusionCommand}.
21
+ */
22
+ export interface CreateVpcBlockPublicAccessExclusionCommandOutput extends CreateVpcBlockPublicAccessExclusionResult, __MetadataBearer {
23
+ }
24
+ declare const CreateVpcBlockPublicAccessExclusionCommand_base: {
25
+ new (input: CreateVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcBlockPublicAccessExclusionCommandInput, CreateVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcBlockPublicAccessExclusionCommandInput, CreateVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Create a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, CreateVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, CreateVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // CreateVpcBlockPublicAccessExclusionRequest
38
+ * DryRun: true || false,
39
+ * SubnetId: "STRING_VALUE",
40
+ * VpcId: "STRING_VALUE",
41
+ * InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress", // required
42
+ * TagSpecifications: [ // TagSpecificationList
43
+ * { // TagSpecification
44
+ * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
45
+ * Tags: [ // TagList
46
+ * { // Tag
47
+ * Key: "STRING_VALUE",
48
+ * Value: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * },
52
+ * ],
53
+ * };
54
+ * const command = new CreateVpcBlockPublicAccessExclusionCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreateVpcBlockPublicAccessExclusionResult
57
+ * // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
58
+ * // ExclusionId: "STRING_VALUE",
59
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
60
+ * // ResourceArn: "STRING_VALUE",
61
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
62
+ * // Reason: "STRING_VALUE",
63
+ * // CreationTimestamp: new Date("TIMESTAMP"),
64
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
65
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
66
+ * // Tags: [ // TagList
67
+ * // { // Tag
68
+ * // Key: "STRING_VALUE",
69
+ * // Value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param CreateVpcBlockPublicAccessExclusionCommandInput - {@link CreateVpcBlockPublicAccessExclusionCommandInput}
78
+ * @returns {@link CreateVpcBlockPublicAccessExclusionCommandOutput}
79
+ * @see {@link CreateVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
80
+ * @see {@link CreateVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
81
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
82
+ *
83
+ * @throws {@link EC2ServiceException}
84
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class CreateVpcBlockPublicAccessExclusionCommand extends CreateVpcBlockPublicAccessExclusionCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateVpcBlockPublicAccessExclusionRequest;
93
+ output: CreateVpcBlockPublicAccessExclusionResult;
94
+ };
95
+ sdk: {
96
+ input: CreateVpcBlockPublicAccessExclusionCommandInput;
97
+ output: CreateVpcBlockPublicAccessExclusionCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -106,6 +106,9 @@ declare const CreateVpcCommand_base: {
106
106
  * // Value: "STRING_VALUE",
107
107
  * // },
108
108
  * // ],
109
+ * // BlockPublicAccessStates: { // BlockPublicAccessStates
110
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
111
+ * // },
109
112
  * // VpcId: "STRING_VALUE",
110
113
  * // State: "pending" || "available",
111
114
  * // CidrBlock: "STRING_VALUE",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteIpamExternalResourceVerificationTokenRequest, DeleteIpamExternalResourceVerificationTokenResult } from "../models/models_2";
4
+ import { DeleteIpamExternalResourceVerificationTokenRequest } from "../models/models_2";
5
+ import { DeleteIpamExternalResourceVerificationTokenResult } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteIpamPoolRequest, DeleteIpamPoolResult } from "../models/models_2";
4
+ import { DeleteIpamPoolRequest, DeleteIpamPoolResult } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteIpamResourceDiscoveryRequest, DeleteIpamResourceDiscoveryResult } from "../models/models_2";
4
+ import { DeleteIpamResourceDiscoveryRequest, DeleteIpamResourceDiscoveryResult } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteIpamScopeRequest, DeleteIpamScopeResult } from "../models/models_2";
4
+ import { DeleteIpamScopeRequest, DeleteIpamScopeResult } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DeleteVpcBlockPublicAccessExclusionRequest, DeleteVpcBlockPublicAccessExclusionResult } from "../models/models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteVpcBlockPublicAccessExclusionCommand}.
14
+ */
15
+ export interface DeleteVpcBlockPublicAccessExclusionCommandInput extends DeleteVpcBlockPublicAccessExclusionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteVpcBlockPublicAccessExclusionCommand}.
21
+ */
22
+ export interface DeleteVpcBlockPublicAccessExclusionCommandOutput extends DeleteVpcBlockPublicAccessExclusionResult, __MetadataBearer {
23
+ }
24
+ declare const DeleteVpcBlockPublicAccessExclusionCommand_base: {
25
+ new (input: DeleteVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcBlockPublicAccessExclusionCommandInput, DeleteVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcBlockPublicAccessExclusionCommandInput, DeleteVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Delete a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DeleteVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DeleteVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // DeleteVpcBlockPublicAccessExclusionRequest
38
+ * DryRun: true || false,
39
+ * ExclusionId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteVpcBlockPublicAccessExclusionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteVpcBlockPublicAccessExclusionResult
44
+ * // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
45
+ * // ExclusionId: "STRING_VALUE",
46
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
47
+ * // ResourceArn: "STRING_VALUE",
48
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
49
+ * // Reason: "STRING_VALUE",
50
+ * // CreationTimestamp: new Date("TIMESTAMP"),
51
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
52
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
53
+ * // Tags: [ // TagList
54
+ * // { // Tag
55
+ * // Key: "STRING_VALUE",
56
+ * // Value: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param DeleteVpcBlockPublicAccessExclusionCommandInput - {@link DeleteVpcBlockPublicAccessExclusionCommandInput}
65
+ * @returns {@link DeleteVpcBlockPublicAccessExclusionCommandOutput}
66
+ * @see {@link DeleteVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
67
+ * @see {@link DeleteVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
68
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
69
+ *
70
+ * @throws {@link EC2ServiceException}
71
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteVpcBlockPublicAccessExclusionCommand extends DeleteVpcBlockPublicAccessExclusionCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteVpcBlockPublicAccessExclusionRequest;
80
+ output: DeleteVpcBlockPublicAccessExclusionResult;
81
+ };
82
+ sdk: {
83
+ input: DeleteVpcBlockPublicAccessExclusionCommandInput;
84
+ output: DeleteVpcBlockPublicAccessExclusionCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -27,18 +27,18 @@ declare const DeregisterImageCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to
31
- * launch new instances.</p>
32
- * <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained
33
- * in the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
30
+ * <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new
31
+ * instances.</p>
32
+ * <p>If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in
33
+ * the Recycle Bin for the specified retention period. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
34
34
  * the <i>Amazon EC2 User Guide</i>.</p>
35
- * <p>When you deregister an AMI, it doesn't affect any instances that you've already
36
- * launched from the AMI. You'll continue to incur usage costs for those instances until
37
- * you terminate them.</p>
38
- * <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was
39
- * created for the root volume of the instance during the AMI creation process. When you
40
- * deregister an instance store-backed AMI, it doesn't affect the files that you uploaded
41
- * to Amazon S3 when you created the AMI.</p>
35
+ * <p>When you deregister an AMI, it doesn't affect any instances that you've already launched
36
+ * from the AMI. You'll continue to incur usage costs for those instances until you terminate
37
+ * them.</p>
38
+ * <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created
39
+ * for the root volume of the instance during the AMI creation process. When you deregister an
40
+ * instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you
41
+ * created the AMI.</p>
42
42
  * @example
43
43
  * Use a bare-bones client and the command you need to make an API call.
44
44
  * ```javascript
@@ -29,12 +29,14 @@ declare const DescribeBundleTasksCommand_base: {
29
29
  /**
30
30
  * <p>Describes the specified bundle tasks or all of your bundle tasks.</p>
31
31
  * <note>
32
- * <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided to the bundle task.</p>
32
+ * <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no
33
+ * longer in the list, you can still register an AMI from it. Just use
34
+ * <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided
35
+ * to the bundle task.</p>
33
36
  * </note>
34
37
  * <note>
35
- * <p>The order of the elements in the response, including those within nested
36
- * structures, might vary. Applications should not assume the elements appear in a
37
- * particular order.</p>
38
+ * <p>The order of the elements in the response, including those within nested structures,
39
+ * might vary. Applications should not assume the elements appear in a particular order.</p>
38
40
  * </note>
39
41
  * @example
40
42
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeHostsRequest, DescribeHostsResult } from "../models/models_3";
4
+ import { DescribeHostsRequest, DescribeHostsResult } from "../models/models_4";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult } from "../models/models_3";
4
+ import { DescribeIamInstanceProfileAssociationsRequest, DescribeIamInstanceProfileAssociationsResult } from "../models/models_4";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,11 +27,11 @@ declare const DescribeImageAttributeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
30
+ * <p>Describes the specified attribute of the specified AMI. You can specify only one attribute
31
+ * at a time.</p>
31
32
  * <note>
32
- * <p>The order of the elements in the response, including those within nested
33
- * structures, might vary. Applications should not assume the elements appear in a
34
- * particular order.</p>
33
+ * <p>The order of the elements in the response, including those within nested structures,
34
+ * might vary. Applications should not assume the elements appear in a particular order.</p>
35
35
  * </note>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,21 +27,22 @@ declare const DescribeImagesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.</p>
31
- * <p>The images available to you include public images, private images that you own, and private images owned by other
32
- * Amazon Web Services accounts for which you have explicit launch permissions.</p>
30
+ * <p>Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the
31
+ * images available to you.</p>
32
+ * <p>The images available to you include public images, private images that you own, and
33
+ * private images owned by other Amazon Web Services accounts for which you have explicit launch
34
+ * permissions.</p>
33
35
  * <p>Recently deregistered images appear in the returned results for a short interval and then
34
36
  * return empty results. After all instances that reference a deregistered AMI are terminated,
35
37
  * specifying the ID of the image will eventually return an error indicating that the AMI ID
36
38
  * cannot be found.</p>
37
39
  * <important>
38
40
  * <p>We strongly recommend using only paginated requests. Unpaginated requests are
39
- * susceptible to throttling and timeouts.</p>
41
+ * susceptible to throttling and timeouts.</p>
40
42
  * </important>
41
43
  * <note>
42
- * <p>The order of the elements in the response, including those within nested
43
- * structures, might vary. Applications should not assume the elements appear in a
44
- * particular order.</p>
44
+ * <p>The order of the elements in the response, including those within nested structures,
45
+ * might vary. Applications should not assume the elements appear in a particular order.</p>
45
46
  * </note>
46
47
  * @example
47
48
  * Use a bare-bones client and the command you need to make an API call.
@@ -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 { DescribeSnapshotAttributeRequest, DescribeSnapshotAttributeResult } from "../models/models_4";
4
+ import { DescribeSnapshotAttributeRequest, DescribeSnapshotAttributeResult } from "../models/models_5";
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 { DescribeSnapshotTierStatusRequest } from "../models/models_4";
5
- import { DescribeSnapshotTierStatusResult } from "../models/models_5";
4
+ import { DescribeSnapshotTierStatusRequest, DescribeSnapshotTierStatusResult } from "../models/models_5";
6
5
  /**
7
6
  * @public
8
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 { DescribeSnapshotsRequest, DescribeSnapshotsResult } from "../models/models_4";
4
+ import { DescribeSnapshotsRequest, DescribeSnapshotsResult } from "../models/models_5";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -38,7 +38,7 @@ declare const DescribeStoreImageTasksCommand_base: {
38
38
  * <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
39
39
  * <i>Amazon EC2 User Guide</i>.</p>
40
40
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
41
- * Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
41
+ * Amazon S3</a> in the <i>Amazon EC2 User Guide</i>.</p>
42
42
  * @example
43
43
  * Use a bare-bones client and the command you need to make an API call.
44
44
  * ```javascript
@@ -93,6 +93,9 @@ declare const DescribeSubnetsCommand_base: {
93
93
  * // EnableResourceNameDnsARecord: true || false,
94
94
  * // EnableResourceNameDnsAAAARecord: true || false,
95
95
  * // },
96
+ * // BlockPublicAccessStates: { // BlockPublicAccessStates
97
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
98
+ * // },
96
99
  * // SubnetId: "STRING_VALUE",
97
100
  * // State: "pending" || "available" || "unavailable",
98
101
  * // VpcId: "STRING_VALUE",
@@ -0,0 +1,102 @@
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 { DescribeVpcBlockPublicAccessExclusionsRequest, DescribeVpcBlockPublicAccessExclusionsResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeVpcBlockPublicAccessExclusionsCommand}.
14
+ */
15
+ export interface DescribeVpcBlockPublicAccessExclusionsCommandInput extends DescribeVpcBlockPublicAccessExclusionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeVpcBlockPublicAccessExclusionsCommand}.
21
+ */
22
+ export interface DescribeVpcBlockPublicAccessExclusionsCommandOutput extends DescribeVpcBlockPublicAccessExclusionsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeVpcBlockPublicAccessExclusionsCommand_base: {
25
+ new (input: DescribeVpcBlockPublicAccessExclusionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessExclusionsCommandInput, DescribeVpcBlockPublicAccessExclusionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeVpcBlockPublicAccessExclusionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessExclusionsCommandInput, DescribeVpcBlockPublicAccessExclusionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describe 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. 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, DescribeVpcBlockPublicAccessExclusionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeVpcBlockPublicAccessExclusionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // DescribeVpcBlockPublicAccessExclusionsRequest
38
+ * DryRun: true || false,
39
+ * Filters: [ // FilterList
40
+ * { // Filter
41
+ * Name: "STRING_VALUE",
42
+ * Values: [ // ValueStringList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * ExclusionIds: [ // VpcBlockPublicAccessExclusionIdList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * NextToken: "STRING_VALUE",
51
+ * MaxResults: Number("int"),
52
+ * };
53
+ * const command = new DescribeVpcBlockPublicAccessExclusionsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // DescribeVpcBlockPublicAccessExclusionsResult
56
+ * // VpcBlockPublicAccessExclusions: [ // VpcBlockPublicAccessExclusionList
57
+ * // { // VpcBlockPublicAccessExclusion
58
+ * // ExclusionId: "STRING_VALUE",
59
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
60
+ * // ResourceArn: "STRING_VALUE",
61
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
62
+ * // Reason: "STRING_VALUE",
63
+ * // CreationTimestamp: new Date("TIMESTAMP"),
64
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
65
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
66
+ * // Tags: [ // TagList
67
+ * // { // Tag
68
+ * // Key: "STRING_VALUE",
69
+ * // Value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // ],
74
+ * // NextToken: "STRING_VALUE",
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param DescribeVpcBlockPublicAccessExclusionsCommandInput - {@link DescribeVpcBlockPublicAccessExclusionsCommandInput}
80
+ * @returns {@link DescribeVpcBlockPublicAccessExclusionsCommandOutput}
81
+ * @see {@link DescribeVpcBlockPublicAccessExclusionsCommandInput} for command's `input` shape.
82
+ * @see {@link DescribeVpcBlockPublicAccessExclusionsCommandOutput} for command's `response` shape.
83
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
84
+ *
85
+ * @throws {@link EC2ServiceException}
86
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class DescribeVpcBlockPublicAccessExclusionsCommand extends DescribeVpcBlockPublicAccessExclusionsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: DescribeVpcBlockPublicAccessExclusionsRequest;
95
+ output: DescribeVpcBlockPublicAccessExclusionsResult;
96
+ };
97
+ sdk: {
98
+ input: DescribeVpcBlockPublicAccessExclusionsCommandInput;
99
+ output: DescribeVpcBlockPublicAccessExclusionsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,78 @@
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 { DescribeVpcBlockPublicAccessOptionsRequest, DescribeVpcBlockPublicAccessOptionsResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeVpcBlockPublicAccessOptionsCommand}.
14
+ */
15
+ export interface DescribeVpcBlockPublicAccessOptionsCommandInput extends DescribeVpcBlockPublicAccessOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeVpcBlockPublicAccessOptionsCommand}.
21
+ */
22
+ export interface DescribeVpcBlockPublicAccessOptionsCommandOutput extends DescribeVpcBlockPublicAccessOptionsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeVpcBlockPublicAccessOptionsCommand_base: {
25
+ new (input: DescribeVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessOptionsCommandInput, DescribeVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeVpcBlockPublicAccessOptionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeVpcBlockPublicAccessOptionsCommandInput, DescribeVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describe 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, DescribeVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // DescribeVpcBlockPublicAccessOptionsRequest
38
+ * DryRun: true || false,
39
+ * };
40
+ * const command = new DescribeVpcBlockPublicAccessOptionsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeVpcBlockPublicAccessOptionsResult
43
+ * // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions
44
+ * // AwsAccountId: "STRING_VALUE",
45
+ * // AwsRegion: "STRING_VALUE",
46
+ * // State: "default-state" || "update-in-progress" || "update-complete",
47
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
48
+ * // Reason: "STRING_VALUE",
49
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param DescribeVpcBlockPublicAccessOptionsCommandInput - {@link DescribeVpcBlockPublicAccessOptionsCommandInput}
56
+ * @returns {@link DescribeVpcBlockPublicAccessOptionsCommandOutput}
57
+ * @see {@link DescribeVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape.
58
+ * @see {@link DescribeVpcBlockPublicAccessOptionsCommandOutput} for command's `response` shape.
59
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
60
+ *
61
+ * @throws {@link EC2ServiceException}
62
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class DescribeVpcBlockPublicAccessOptionsCommand extends DescribeVpcBlockPublicAccessOptionsCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: DescribeVpcBlockPublicAccessOptionsRequest;
71
+ output: DescribeVpcBlockPublicAccessOptionsResult;
72
+ };
73
+ sdk: {
74
+ input: DescribeVpcBlockPublicAccessOptionsCommandInput;
75
+ output: DescribeVpcBlockPublicAccessOptionsCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -91,6 +91,9 @@ declare const DescribeVpcsCommand_base: {
91
91
  * // Value: "STRING_VALUE",
92
92
  * // },
93
93
  * // ],
94
+ * // BlockPublicAccessStates: { // BlockPublicAccessStates
95
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
96
+ * // },
94
97
  * // VpcId: "STRING_VALUE",
95
98
  * // State: "pending" || "available",
96
99
  * // CidrBlock: "STRING_VALUE",