AWS DataSync

2021/12/20 - AWS DataSync - 2 new api methods

Changes  AWS DataSync now supports FSx Lustre Locations.

CreateLocationFsxLustre (new) Link ¶

Creates an endpoint for an Amazon FSx for Lustre file system.

See also: AWS API Documentation

Request Syntax

client.create_location_fsx_lustre(
    FsxFilesystemArn='string',
    SecurityGroupArns=[
        'string',
    ],
    Subdirectory='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type FsxFilesystemArn

string

param FsxFilesystemArn

[REQUIRED]

The Amazon Resource Name (ARN) for the FSx for Lustre file system.

type SecurityGroupArns

list

param SecurityGroupArns

[REQUIRED]

The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Lustre file system.

  • (string) --

type Subdirectory

string

param Subdirectory

A subdirectory in the location's path. This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.

type Tags

list

param Tags

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

  • (dict) --

    Represents a single entry in a list of Amazon Web Services resource tags. TagListEntry returns an array that contains a list of tasks when the ListTagsForResource operation is called.

    • Key (string) -- [REQUIRED]

      The key for an Amazon Web Services resource tag.

    • Value (string) --

      The value for an Amazon Web Services resource tag.

rtype

dict

returns

Response Syntax

{
    'LocationArn': 'string'
}

Response Structure

  • (dict) --

    • LocationArn (string) --

      The Amazon Resource Name (ARN) of the FSx for Lustre file system location that's created.

DescribeLocationFsxLustre (new) Link ¶

Returns metadata, such as the path information about an Amazon FSx for Lustre location.

See also: AWS API Documentation

Request Syntax

client.describe_location_fsx_lustre(
    LocationArn='string'
)
type LocationArn

string

param LocationArn

[REQUIRED]

The Amazon Resource Name (ARN) of the FSx for Lustre location to describe.

rtype

dict

returns

Response Syntax

{
    'LocationArn': 'string',
    'LocationUri': 'string',
    'SecurityGroupArns': [
        'string',
    ],
    'CreationTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • LocationArn (string) --

      The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.

    • LocationUri (string) --

      The URI of the FSx for Lustre location that was described.

    • SecurityGroupArns (list) --

      The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.

      • (string) --

    • CreationTime (datetime) --

      The time that the FSx for Lustre location was created.