amazonka-efs-2.0: Amazon Elastic File System SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EFS.PutAccountPreferences

Description

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.

Synopsis

Creating a Request

data PutAccountPreferences Source #

See: newPutAccountPreferences smart constructor.

Constructors

PutAccountPreferences' 

Fields

  • resourceIdType :: ResourceIdType

    Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either LONG_ID (17 characters), or SHORT_ID (8 characters).

    Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.

Instances

Instances details
ToJSON PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

ToHeaders PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

ToPath PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

ToQuery PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

AWSRequest PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type AWSResponse PutAccountPreferences #

Generic PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type Rep PutAccountPreferences :: Type -> Type #

Read PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Show PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

NFData PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Methods

rnf :: PutAccountPreferences -> () #

Eq PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Hashable PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type AWSResponse PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type Rep PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type Rep PutAccountPreferences = D1 ('MetaData "PutAccountPreferences" "Amazonka.EFS.PutAccountPreferences" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "PutAccountPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceIdType)))

newPutAccountPreferences Source #

Create a value of PutAccountPreferences with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

PutAccountPreferences, putAccountPreferences_resourceIdType - Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either LONG_ID (17 characters), or SHORT_ID (8 characters).

Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.

Request Lenses

putAccountPreferences_resourceIdType :: Lens' PutAccountPreferences ResourceIdType Source #

Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either LONG_ID (17 characters), or SHORT_ID (8 characters).

Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.

Destructuring the Response

data PutAccountPreferencesResponse Source #

See: newPutAccountPreferencesResponse smart constructor.

Constructors

PutAccountPreferencesResponse' 

Fields

Instances

Instances details
Generic PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type Rep PutAccountPreferencesResponse :: Type -> Type #

Read PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Show PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

NFData PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Eq PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type Rep PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type Rep PutAccountPreferencesResponse = D1 ('MetaData "PutAccountPreferencesResponse" "Amazonka.EFS.PutAccountPreferences" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "PutAccountPreferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdPreference)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutAccountPreferencesResponse Source #

Create a value of PutAccountPreferencesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:resourceIdPreference:PutAccountPreferencesResponse', putAccountPreferencesResponse_resourceIdPreference - Undocumented member.

$sel:httpStatus:PutAccountPreferencesResponse', putAccountPreferencesResponse_httpStatus - The response's http status code.

Response Lenses