import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DescribeVpcBlockPublicAccessOptionsRequest, DescribeVpcBlockPublicAccessOptionsResult } from "../models/models_5"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeVpcBlockPublicAccessOptionsCommand}. */ export interface DescribeVpcBlockPublicAccessOptionsCommandInput extends DescribeVpcBlockPublicAccessOptionsRequest { } /** * @public * * The output of {@link DescribeVpcBlockPublicAccessOptionsCommand}. */ export interface DescribeVpcBlockPublicAccessOptionsCommandOutput extends DescribeVpcBlockPublicAccessOptionsResult, __MetadataBearer { } declare const DescribeVpcBlockPublicAccessOptionsCommand_base: { new (input: DescribeVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeVpcBlockPublicAccessOptionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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 Block public access to VPCs and subnets in the Amazon VPC User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DescribeVpcBlockPublicAccessOptionsRequest * DryRun: true || false, * }; * const command = new DescribeVpcBlockPublicAccessOptionsCommand(input); * const response = await client.send(command); * // { // DescribeVpcBlockPublicAccessOptionsResult * // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions * // AwsAccountId: "STRING_VALUE", * // AwsRegion: "STRING_VALUE", * // State: "default-state" || "update-in-progress" || "update-complete", * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress", * // Reason: "STRING_VALUE", * // LastUpdateTimestamp: new Date("TIMESTAMP"), * // ManagedBy: "account" || "declarative-policy", * // ExclusionsAllowed: "allowed" || "not-allowed", * // }, * // }; * * ``` * * @param DescribeVpcBlockPublicAccessOptionsCommandInput - {@link DescribeVpcBlockPublicAccessOptionsCommandInput} * @returns {@link DescribeVpcBlockPublicAccessOptionsCommandOutput} * @see {@link DescribeVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape. * @see {@link DescribeVpcBlockPublicAccessOptionsCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class DescribeVpcBlockPublicAccessOptionsCommand extends DescribeVpcBlockPublicAccessOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeVpcBlockPublicAccessOptionsRequest; output: DescribeVpcBlockPublicAccessOptionsResult; }; sdk: { input: DescribeVpcBlockPublicAccessOptionsCommandInput; output: DescribeVpcBlockPublicAccessOptionsCommandOutput; }; }; }