import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutAccountPreferencesRequest, PutAccountPreferencesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutAccountPreferencesCommand}. */ export interface PutAccountPreferencesCommandInput extends PutAccountPreferencesRequest { } /** * @public * * The output of {@link PutAccountPreferencesCommand}. */ export interface PutAccountPreferencesCommandOutput extends PutAccountPreferencesResponse, __MetadataBearer { } declare const PutAccountPreferencesCommand_base: { new (input: PutAccountPreferencesCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutAccountPreferencesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Use this operation to set the account preference in the current Amazon Web Services Region * to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for new * EFS file system and mount target resources. All existing resource IDs are not * affected by any changes you make. You can set the ID preference during the opt-in period as * EFS transitions to long resource IDs. For more information, see Managing Amazon EFS resource IDs.

* *

Starting in October, 2021, you will receive an error if you try to set the account preference * to use the short 8 character format resource ID. Contact Amazon Web Services support if you * receive an error and must use short IDs for file system and mount target resources.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EFSClient, PutAccountPreferencesCommand } from "@aws-sdk/client-efs"; // ES Modules import * // const { EFSClient, PutAccountPreferencesCommand } = require("@aws-sdk/client-efs"); // CommonJS import * // import type { EFSClientConfig } from "@aws-sdk/client-efs"; * const config = {}; // type is EFSClientConfig * const client = new EFSClient(config); * const input = { // PutAccountPreferencesRequest * ResourceIdType: "LONG_ID" || "SHORT_ID", // required * }; * const command = new PutAccountPreferencesCommand(input); * const response = await client.send(command); * // { // PutAccountPreferencesResponse * // ResourceIdPreference: { // ResourceIdPreference * // ResourceIdType: "LONG_ID" || "SHORT_ID", * // Resources: [ // Resources * // "FILE_SYSTEM" || "MOUNT_TARGET", * // ], * // }, * // }; * * ``` * * @param PutAccountPreferencesCommandInput - {@link PutAccountPreferencesCommandInput} * @returns {@link PutAccountPreferencesCommandOutput} * @see {@link PutAccountPreferencesCommandInput} for command's `input` shape. * @see {@link PutAccountPreferencesCommandOutput} for command's `response` shape. * @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

Returned if the request is malformed or contains an error such as an invalid * parameter value or a missing required parameter.

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

Returned if an error occurred on the server side.

* * @throws {@link EFSServiceException} *

Base exception class for all service exceptions from EFS service.

* * * @public */ export declare class PutAccountPreferencesCommand extends PutAccountPreferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutAccountPreferencesRequest; output: PutAccountPreferencesResponse; }; sdk: { input: PutAccountPreferencesCommandInput; output: PutAccountPreferencesCommandOutput; }; }; }