import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteDataRepositoryAssociationRequest, DeleteDataRepositoryAssociationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteDataRepositoryAssociationCommand}. */ export interface DeleteDataRepositoryAssociationCommandInput extends DeleteDataRepositoryAssociationRequest { } /** * @public * * The output of {@link DeleteDataRepositoryAssociationCommand}. */ export interface DeleteDataRepositoryAssociationCommandOutput extends DeleteDataRepositoryAssociationResponse, __MetadataBearer { } declare const DeleteDataRepositoryAssociationCommand_base: { new (input: DeleteDataRepositoryAssociationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDataRepositoryAssociationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a data repository association on an Amazon FSx for Lustre * file system. Deleting the data repository association unlinks the * file system from the Amazon S3 bucket. When deleting a data repository * association, you have the option of deleting the data in the file system * that corresponds to the data repository association. Data repository * associations are supported on all FSx for Lustre 2.12 and 2.15 file * systems, excluding scratch_1 deployment type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FSxClient, DeleteDataRepositoryAssociationCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, DeleteDataRepositoryAssociationCommand } = require("@aws-sdk/client-fsx"); // CommonJS import * // import type { FSxClientConfig } from "@aws-sdk/client-fsx"; * const config = {}; // type is FSxClientConfig * const client = new FSxClient(config); * const input = { // DeleteDataRepositoryAssociationRequest * AssociationId: "STRING_VALUE", // required * ClientRequestToken: "STRING_VALUE", * DeleteDataInFileSystem: true || false, * }; * const command = new DeleteDataRepositoryAssociationCommand(input); * const response = await client.send(command); * // { // DeleteDataRepositoryAssociationResponse * // AssociationId: "STRING_VALUE", * // Lifecycle: "CREATING" || "AVAILABLE" || "MISCONFIGURED" || "UPDATING" || "DELETING" || "FAILED", * // DeleteDataInFileSystem: true || false, * // }; * * ``` * * @param DeleteDataRepositoryAssociationCommandInput - {@link DeleteDataRepositoryAssociationCommandInput} * @returns {@link DeleteDataRepositoryAssociationCommandOutput} * @see {@link DeleteDataRepositoryAssociationCommandInput} for command's `input` shape. * @see {@link DeleteDataRepositoryAssociationCommandOutput} for command's `response` shape. * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

A generic error indicating a failure with a client request.

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

No data repository associations were found based upon the supplied parameters.

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

The error returned when a second request is received with the same client request * token but different parameters settings. A client request token should always uniquely * identify a single request.

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

A generic error indicating a server-side failure.

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

An error indicating that a particular service limit was exceeded. You can increase * some service limits by contacting Amazon Web Services Support.

* * @throws {@link FSxServiceException} *

Base exception class for all service exceptions from FSx service.

* * * @public */ export declare class DeleteDataRepositoryAssociationCommand extends DeleteDataRepositoryAssociationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDataRepositoryAssociationRequest; output: DeleteDataRepositoryAssociationResponse; }; sdk: { input: DeleteDataRepositoryAssociationCommandInput; output: DeleteDataRepositoryAssociationCommandOutput; }; }; }