import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AcceptDomainTransferFromAnotherAwsAccountRequest, AcceptDomainTransferFromAnotherAwsAccountResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AcceptDomainTransferFromAnotherAwsAccountCommand}. */ export interface AcceptDomainTransferFromAnotherAwsAccountCommandInput extends AcceptDomainTransferFromAnotherAwsAccountRequest { } /** * @public * * The output of {@link AcceptDomainTransferFromAnotherAwsAccountCommand}. */ export interface AcceptDomainTransferFromAnotherAwsAccountCommandOutput extends AcceptDomainTransferFromAnotherAwsAccountResponse, __MetadataBearer { } declare const AcceptDomainTransferFromAnotherAwsAccountCommand_base: { new (input: AcceptDomainTransferFromAnotherAwsAccountCommandInput): import("@smithy/core/client").CommandImpl; new (input: AcceptDomainTransferFromAnotherAwsAccountCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Accepts the transfer of a domain from another Amazon Web Services account to the * currentAmazon Web Services account. You initiate a transfer between Amazon Web Services accounts using TransferDomainToAnotherAwsAccount.

*

If you use the CLI command at accept-domain-transfer-from-another-aws-account, use JSON format as input * instead of text because otherwise CLI will throw an error from domain * transfer input that includes single quotes.

*

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, * Domain Transfer from Aws Account 111122223333 has been cancelled.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53DomainsClient, AcceptDomainTransferFromAnotherAwsAccountCommand } from "@aws-sdk/client-route-53-domains"; // ES Modules import * // const { Route53DomainsClient, AcceptDomainTransferFromAnotherAwsAccountCommand } = require("@aws-sdk/client-route-53-domains"); // CommonJS import * // import type { Route53DomainsClientConfig } from "@aws-sdk/client-route-53-domains"; * const config = {}; // type is Route53DomainsClientConfig * const client = new Route53DomainsClient(config); * const input = { // AcceptDomainTransferFromAnotherAwsAccountRequest * DomainName: "STRING_VALUE", // required * Password: "STRING_VALUE", // required * }; * const command = new AcceptDomainTransferFromAnotherAwsAccountCommand(input); * const response = await client.send(command); * // { // AcceptDomainTransferFromAnotherAwsAccountResponse * // OperationId: "STRING_VALUE", * // }; * * ``` * * @param AcceptDomainTransferFromAnotherAwsAccountCommandInput - {@link AcceptDomainTransferFromAnotherAwsAccountCommandInput} * @returns {@link AcceptDomainTransferFromAnotherAwsAccountCommandOutput} * @see {@link AcceptDomainTransferFromAnotherAwsAccountCommandInput} for command's `input` shape. * @see {@link AcceptDomainTransferFromAnotherAwsAccountCommandOutput} for command's `response` shape. * @see {@link Route53DomainsClientResolvedConfig | config} for Route53DomainsClient's `config` shape. * * @throws {@link DomainLimitExceeded} (client fault) *

The number of domains has exceeded the allowed threshold for the account.

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

The requested item is not acceptable. For example, for APIs that accept a domain name, * the request might specify a domain name that doesn't belong to the account that * submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, the * password might be invalid.

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

The number of operations or jobs running exceeded the allowed threshold for the * account.

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

Amazon Route 53 does not support this top-level domain (TLD).

* * @throws {@link Route53DomainsServiceException} *

Base exception class for all service exceptions from Route53Domains service.

* * * @public */ export declare class AcceptDomainTransferFromAnotherAwsAccountCommand extends AcceptDomainTransferFromAnotherAwsAccountCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AcceptDomainTransferFromAnotherAwsAccountRequest; output: AcceptDomainTransferFromAnotherAwsAccountResponse; }; sdk: { input: AcceptDomainTransferFromAnotherAwsAccountCommandInput; output: AcceptDomainTransferFromAnotherAwsAccountCommandOutput; }; }; }