libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 need to 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 need to use short IDs for file system and mount target resources.

Instances

Instances details
Eq PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Read PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Show PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Generic PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type Rep PutAccountPreferences :: Type -> Type #

NFData PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Methods

rnf :: PutAccountPreferences -> () #

Hashable PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

ToJSON PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

AWSRequest PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type AWSResponse 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

type Rep PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

type Rep PutAccountPreferences = D1 ('MetaData "PutAccountPreferences" "Amazonka.EFS.PutAccountPreferences" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "PutAccountPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceIdType)))
type AWSResponse PutAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

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:

$sel:resourceIdType: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 need to 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 need to 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
Eq PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Read PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Show PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Generic PutAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.PutAccountPreferences

Associated Types

type Rep PutAccountPreferencesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-efsZSamazonka-efs" '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