import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RejectDomainTransferFromAnotherAwsAccountRequest, RejectDomainTransferFromAnotherAwsAccountResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RejectDomainTransferFromAnotherAwsAccountCommand}. */ export interface RejectDomainTransferFromAnotherAwsAccountCommandInput extends RejectDomainTransferFromAnotherAwsAccountRequest { } /** * @public * * The output of {@link RejectDomainTransferFromAnotherAwsAccountCommand}. */ export interface RejectDomainTransferFromAnotherAwsAccountCommandOutput extends RejectDomainTransferFromAnotherAwsAccountResponse, __MetadataBearer { } declare const RejectDomainTransferFromAnotherAwsAccountCommand_base: { new (input: RejectDomainTransferFromAnotherAwsAccountCommandInput): import("@smithy/core/client").CommandImpl; new (input: RejectDomainTransferFromAnotherAwsAccountCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Rejects the transfer of a domain from another Amazon Web Services account to the * current Amazon Web Services account. You initiate a transfer betweenAmazon Web Services accounts using TransferDomainToAnotherAwsAccount.

*

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, RejectDomainTransferFromAnotherAwsAccountCommand } from "@aws-sdk/client-route-53-domains"; // ES Modules import * // const { Route53DomainsClient, RejectDomainTransferFromAnotherAwsAccountCommand } = 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 = { // RejectDomainTransferFromAnotherAwsAccountRequest * DomainName: "STRING_VALUE", // required * }; * const command = new RejectDomainTransferFromAnotherAwsAccountCommand(input); * const response = await client.send(command); * // { // RejectDomainTransferFromAnotherAwsAccountResponse * // OperationId: "STRING_VALUE", * // }; * * ``` * * @param RejectDomainTransferFromAnotherAwsAccountCommandInput - {@link RejectDomainTransferFromAnotherAwsAccountCommandInput} * @returns {@link RejectDomainTransferFromAnotherAwsAccountCommandOutput} * @see {@link RejectDomainTransferFromAnotherAwsAccountCommandInput} for command's `input` shape. * @see {@link RejectDomainTransferFromAnotherAwsAccountCommandOutput} for command's `response` shape. * @see {@link Route53DomainsClientResolvedConfig | config} for Route53DomainsClient's `config` shape. * * @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 RejectDomainTransferFromAnotherAwsAccountCommand extends RejectDomainTransferFromAnotherAwsAccountCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RejectDomainTransferFromAnotherAwsAccountRequest; output: RejectDomainTransferFromAnotherAwsAccountResponse; }; sdk: { input: RejectDomainTransferFromAnotherAwsAccountCommandInput; output: RejectDomainTransferFromAnotherAwsAccountCommandOutput; }; }; }