Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data PutAccountPreferences = PutAccountPreferences' {}
- newPutAccountPreferences :: ResourceIdType -> PutAccountPreferences
- putAccountPreferences_resourceIdType :: Lens' PutAccountPreferences ResourceIdType
- data PutAccountPreferencesResponse = PutAccountPreferencesResponse' {}
- newPutAccountPreferencesResponse :: Int -> PutAccountPreferencesResponse
- putAccountPreferencesResponse_resourceIdPreference :: Lens' PutAccountPreferencesResponse (Maybe ResourceIdPreference)
- putAccountPreferencesResponse_httpStatus :: Lens' PutAccountPreferencesResponse Int
Creating a Request
data PutAccountPreferences Source #
See: newPutAccountPreferences
smart constructor.
PutAccountPreferences' | |
|
Instances
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.
PutAccountPreferencesResponse' | |
|
Instances
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
putAccountPreferencesResponse_resourceIdPreference :: Lens' PutAccountPreferencesResponse (Maybe ResourceIdPreference) Source #
Undocumented member.
putAccountPreferencesResponse_httpStatus :: Lens' PutAccountPreferencesResponse Int Source #
The response's http status code.