Amazon Elastic File System

2021/05/21 - Amazon Elastic File System - 2 new api methods

Changes  Update efs client to latest version

DescribeAccountPreferences (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.describe_account_preferences(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

Token used for pagination.

type MaxResults:

integer

param MaxResults:

Max results used for pagination.

rtype:

dict

returns:

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.

PutAccountPreferences (new) Link ¶

See also: AWS API Documentation

Request Syntax

client.put_account_preferences(
    ResourceIdType='LONG_ID'|'SHORT_ID'
)
type ResourceIdType:

string

param ResourceIdType:

[REQUIRED] A preference indicating a choice to use 63bit/32bit IDs for all applicable resources.

rtype:

dict

returns:

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.