import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateDataRepositoryAssociationRequest, UpdateDataRepositoryAssociationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateDataRepositoryAssociationCommand}. */ export interface UpdateDataRepositoryAssociationCommandInput extends UpdateDataRepositoryAssociationRequest { } /** * @public * * The output of {@link UpdateDataRepositoryAssociationCommand}. */ export interface UpdateDataRepositoryAssociationCommandOutput extends UpdateDataRepositoryAssociationResponse, __MetadataBearer { } declare const UpdateDataRepositoryAssociationCommand_base: { new (input: UpdateDataRepositoryAssociationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateDataRepositoryAssociationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the configuration of an existing data repository association * on an Amazon FSx for Lustre file system. 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, UpdateDataRepositoryAssociationCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, UpdateDataRepositoryAssociationCommand } = 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 = { // UpdateDataRepositoryAssociationRequest * AssociationId: "STRING_VALUE", // required * ClientRequestToken: "STRING_VALUE", * ImportedFileChunkSize: Number("int"), * S3: { // S3DataRepositoryConfiguration * AutoImportPolicy: { // AutoImportPolicy * Events: [ // EventTypes * "NEW" || "CHANGED" || "DELETED", * ], * }, * AutoExportPolicy: { // AutoExportPolicy * Events: [ * "NEW" || "CHANGED" || "DELETED", * ], * }, * }, * }; * const command = new UpdateDataRepositoryAssociationCommand(input); * const response = await client.send(command); * // { // UpdateDataRepositoryAssociationResponse * // Association: { // DataRepositoryAssociation * // AssociationId: "STRING_VALUE", * // ResourceARN: "STRING_VALUE", * // FileSystemId: "STRING_VALUE", * // Lifecycle: "CREATING" || "AVAILABLE" || "MISCONFIGURED" || "UPDATING" || "DELETING" || "FAILED", * // FailureDetails: { // DataRepositoryFailureDetails * // Message: "STRING_VALUE", * // }, * // FileSystemPath: "STRING_VALUE", * // DataRepositoryPath: "STRING_VALUE", * // BatchImportMetaDataOnCreate: true || false, * // ImportedFileChunkSize: Number("int"), * // S3: { // S3DataRepositoryConfiguration * // AutoImportPolicy: { // AutoImportPolicy * // Events: [ // EventTypes * // "NEW" || "CHANGED" || "DELETED", * // ], * // }, * // AutoExportPolicy: { // AutoExportPolicy * // Events: [ * // "NEW" || "CHANGED" || "DELETED", * // ], * // }, * // }, * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // CreationTime: new Date("TIMESTAMP"), * // FileCacheId: "STRING_VALUE", * // FileCachePath: "STRING_VALUE", * // DataRepositorySubdirectories: [ // SubDirectoriesPaths * // "STRING_VALUE", * // ], * // NFS: { // NFSDataRepositoryConfiguration * // Version: "NFS3", // required * // DnsIps: [ // RepositoryDnsIps * // "STRING_VALUE", * // ], * // AutoExportPolicy: { * // Events: [ * // "NEW" || "CHANGED" || "DELETED", * // ], * // }, * // }, * // }, * // }; * * ``` * * @param UpdateDataRepositoryAssociationCommandInput - {@link UpdateDataRepositoryAssociationCommandInput} * @returns {@link UpdateDataRepositoryAssociationCommandOutput} * @see {@link UpdateDataRepositoryAssociationCommandInput} for command's `input` shape. * @see {@link UpdateDataRepositoryAssociationCommandOutput} 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 UpdateDataRepositoryAssociationCommand extends UpdateDataRepositoryAssociationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateDataRepositoryAssociationRequest; output: UpdateDataRepositoryAssociationResponse; }; sdk: { input: UpdateDataRepositoryAssociationCommandInput; output: UpdateDataRepositoryAssociationCommandOutput; }; }; }