import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { ListDomainConflictsRequest, ListDomainConflictsResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDomainConflictsCommand}. */ export interface ListDomainConflictsCommandInput extends ListDomainConflictsRequest { } /** * @public * * The output of {@link ListDomainConflictsCommand}. */ export interface ListDomainConflictsCommandOutput extends ListDomainConflictsResult, __MetadataBearer { } declare const ListDomainConflictsCommand_base: { new (input: ListDomainConflictsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListDomainConflictsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists existing domain associations that conflict with the domain that you specify.

You can use this API operation when transferring domains to identify potential domain conflicts. Domain conflicts must be resolved first before they can be moved.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, ListDomainConflictsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, ListDomainConflictsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // ListDomainConflictsRequest * Domain: "STRING_VALUE", // required * DomainControlValidationResource: { // DistributionResourceId * DistributionId: "STRING_VALUE", * DistributionTenantId: "STRING_VALUE", * }, * MaxItems: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new ListDomainConflictsCommand(input); * const response = await client.send(command); * // { // ListDomainConflictsResult * // DomainConflicts: [ // DomainConflictsList * // { // DomainConflict * // Domain: "STRING_VALUE", // required * // ResourceType: "distribution" || "distribution-tenant", // required * // ResourceId: "STRING_VALUE", // required * // AccountId: "STRING_VALUE", // required * // }, * // ], * // NextMarker: "STRING_VALUE", * // }; * * ``` * * @param ListDomainConflictsCommandInput - {@link ListDomainConflictsCommandInput} * @returns {@link ListDomainConflictsCommandOutput} * @see {@link ListDomainConflictsCommandInput} for command's `input` shape. * @see {@link ListDomainConflictsCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The entity was not found.

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

An argument is invalid.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class ListDomainConflictsCommand extends ListDomainConflictsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDomainConflictsRequest; output: ListDomainConflictsResult; }; sdk: { input: ListDomainConflictsCommandInput; output: ListDomainConflictsCommandOutput; }; }; }