import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DisassociateDefaultViewCommand}. */ export interface DisassociateDefaultViewCommandInput { } /** * @public * * The output of {@link DisassociateDefaultViewCommand}. */ export interface DisassociateDefaultViewCommandOutput extends __MetadataBearer { } declare const DisassociateDefaultViewCommand_base: { new (input: DisassociateDefaultViewCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DisassociateDefaultViewCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

After you call this operation, the affected Amazon Web Services Region no longer has a default view. All Search operations in that Region must explicitly specify a view or the operation fails. You can configure a new default by calling the AssociateDefaultView operation.

If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every Search operation performed in that Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResourceExplorer2Client, DisassociateDefaultViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import * // const { ResourceExplorer2Client, DisassociateDefaultViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import * // import type { ResourceExplorer2ClientConfig } from "@aws-sdk/client-resource-explorer-2"; * const config = {}; // type is ResourceExplorer2ClientConfig * const client = new ResourceExplorer2Client(config); * const input = {}; * const command = new DisassociateDefaultViewCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DisassociateDefaultViewCommandInput - {@link DisassociateDefaultViewCommandInput} * @returns {@link DisassociateDefaultViewCommandOutput} * @see {@link DisassociateDefaultViewCommandInput} for command's `input` shape. * @see {@link DisassociateDefaultViewCommandOutput} for command's `response` shape. * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The credentials that you used to call this operation don't have the minimum required permissions.

* * @throws {@link InternalServerException} (server fault) *

The request failed because of internal service error. Try your request again later.

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

You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.

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

The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

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

You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.

* * @throws {@link ResourceExplorer2ServiceException} *

Base exception class for all service exceptions from ResourceExplorer2 service.

* * * @public */ export declare class DisassociateDefaultViewCommand extends DisassociateDefaultViewCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: {}; }; sdk: { input: DisassociateDefaultViewCommandInput; output: DisassociateDefaultViewCommandOutput; }; }; }