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 { DescribeAddressTransfersRequest, DescribeAddressTransfersResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeAddressTransfersCommand}. */ export interface DescribeAddressTransfersCommandInput extends DescribeAddressTransfersRequest { } /** * @public * * The output of {@link DescribeAddressTransfersCommand}. */ export interface DescribeAddressTransfersCommandOutput extends DescribeAddressTransfersResult, __MetadataBearer { } declare const DescribeAddressTransfersCommand_base: { new (input: DescribeAddressTransfersCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeAddressTransfersCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes an Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.

*

When you transfer an Elastic IP address, there is a two-step handshake * between the source and transfer Amazon Web Services accounts. When the source account starts the transfer, * the transfer account has seven days to accept the Elastic IP address * transfer. During those seven days, the source account can view the * pending transfer by using this action. After seven days, the * transfer expires and ownership of the Elastic IP * address returns to the source * account. Accepted transfers are visible to the source account for 14 days * after the transfers have been accepted.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeAddressTransfersCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeAddressTransfersCommand } = 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 = { // DescribeAddressTransfersRequest * AllocationIds: [ // AllocationIdList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * DryRun: true || false, * }; * const command = new DescribeAddressTransfersCommand(input); * const response = await client.send(command); * // { // DescribeAddressTransfersResult * // AddressTransfers: [ // AddressTransferList * // { // AddressTransfer * // PublicIp: "STRING_VALUE", * // AllocationId: "STRING_VALUE", * // TransferAccountId: "STRING_VALUE", * // TransferOfferExpirationTimestamp: new Date("TIMESTAMP"), * // TransferOfferAcceptedTimestamp: new Date("TIMESTAMP"), * // AddressTransferStatus: "pending" || "disabled" || "accepted", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeAddressTransfersCommandInput - {@link DescribeAddressTransfersCommandInput} * @returns {@link DescribeAddressTransfersCommandOutput} * @see {@link DescribeAddressTransfersCommandInput} for command's `input` shape. * @see {@link DescribeAddressTransfersCommandOutput} 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 DescribeAddressTransfersCommand extends DescribeAddressTransfersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAddressTransfersRequest; output: DescribeAddressTransfersResult; }; sdk: { input: DescribeAddressTransfersCommandInput; output: DescribeAddressTransfersCommandOutput; }; }; }