2021/05/21 - Amazon Elastic File System - 2 new api methods
Changes EFS now supports account preferences. Utilizing the new capability, users can customize some aspects of their experience using EFS APIs and the EFS Console. The first preference clients are able to set is whether to start using longer File System and Mount Target IDs before EFS migrates to such IDs.
See also: AWS API Documentation
Request Syntax
client.describe_account_preferences( NextToken='string', MaxResults=123 )
string
Token used for pagination.
integer
Max results used for pagination.
dict
Response Syntax
{ 'ResourceIdPreference': { 'ResourceIdType': 'LONG_ID'|'SHORT_ID', 'Resources': [ 'FILE_SYSTEM'|'MOUNT_TARGET', ] }, 'NextToken': 'string' }
Response Structure
(dict) --
ResourceIdPreference (dict) --
ResourceIdType (string) -- A preference indicating a choice to use 63bit/32bit IDs for all applicable resources.
Resources (list) -- EFS resources to which a preference applies to.
(string) -- An EFS resource, for example a file system or a mount target.
NextToken (string) -- Token used for pagination.
See also: AWS API Documentation
Request Syntax
client.put_account_preferences( ResourceIdType='LONG_ID'|'SHORT_ID' )
string
[REQUIRED] A preference indicating a choice to use 63bit/32bit IDs for all applicable resources.
dict
Response Syntax
{ 'ResourceIdPreference': { 'ResourceIdType': 'LONG_ID'|'SHORT_ID', 'Resources': [ 'FILE_SYSTEM'|'MOUNT_TARGET', ] } }
Response Structure
(dict) --
ResourceIdPreference (dict) --
ResourceIdType (string) -- A preference indicating a choice to use 63bit/32bit IDs for all applicable resources.
Resources (list) -- EFS resources to which a preference applies to.
(string) -- An EFS resource, for example a file system or a mount target.