import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client"; import type { SetIpAddressTypeInput, SetIpAddressTypeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link SetIpAddressTypeCommand}. */ export interface SetIpAddressTypeCommandInput extends SetIpAddressTypeInput { } /** * @public * * The output of {@link SetIpAddressTypeCommand}. */ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, __MetadataBearer { } declare const SetIpAddressTypeCommand_base: { new (input: SetIpAddressTypeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: SetIpAddressTypeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Sets the type of IP addresses used by the subnets of the specified load balancer.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import * // const { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import * // import type { ElasticLoadBalancingV2ClientConfig } from "@aws-sdk/client-elastic-load-balancing-v2"; * const config = {}; // type is ElasticLoadBalancingV2ClientConfig * const client = new ElasticLoadBalancingV2Client(config); * const input = { // SetIpAddressTypeInput * LoadBalancerArn: "STRING_VALUE", // required * IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4", // required * }; * const command = new SetIpAddressTypeCommand(input); * const response = await client.send(command); * // { // SetIpAddressTypeOutput * // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4", * // }; * * ``` * * @param SetIpAddressTypeCommandInput - {@link SetIpAddressTypeCommandInput} * @returns {@link SetIpAddressTypeCommandOutput} * @see {@link SetIpAddressTypeCommandInput} for command's `input` shape. * @see {@link SetIpAddressTypeCommandOutput} for command's `response` shape. * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape. * * @throws {@link InvalidConfigurationRequestException} (client fault) *

The requested configuration is not valid.

* * @throws {@link InvalidSubnetException} (client fault) *

The specified subnet is out of available addresses.

* * @throws {@link LoadBalancerNotFoundException} (client fault) *

The specified load balancer does not exist.

* * @throws {@link ElasticLoadBalancingV2ServiceException} *

Base exception class for all service exceptions from ElasticLoadBalancingV2 service.

* * * @public */ export declare class SetIpAddressTypeCommand extends SetIpAddressTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetIpAddressTypeInput; output: SetIpAddressTypeOutput; }; sdk: { input: SetIpAddressTypeCommandInput; output: SetIpAddressTypeCommandOutput; }; }; }