EFS / Client / describe_replication_configurations

describe_replication_configurations#

EFS.Client.describe_replication_configurations(**kwargs)#

Retrieves the replication configuration for a specific file system. If a file system is not specified, all of the replication configurations for the Amazon Web Services account in an Amazon Web Services Region are retrieved.

See also: AWS API Documentation

Request Syntax

response = client.describe_replication_configurations(
    FileSystemId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • FileSystemId (string) – You can retrieve the replication configuration for a specific file system by providing its file system ID. For cross-account,cross-region replication, an account can only describe the replication configuration for a file system in its own Region.

  • NextToken (string) – NextToken is present if the response is paginated. You can use NextToken in a subsequent request to fetch the next page of output.

  • MaxResults (integer) – (Optional) To limit the number of objects returned in a response, you can specify the MaxItems parameter. The default value is 100.

Return type:

dict

Returns:

Response Syntax

{
    'Replications': [
        {
            'SourceFileSystemId': 'string',
            'SourceFileSystemRegion': 'string',
            'SourceFileSystemArn': 'string',
            'OriginalSourceFileSystemArn': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'Destinations': [
                {
                    'Status': 'ENABLED'|'ENABLING'|'DELETING'|'ERROR'|'PAUSED'|'PAUSING',
                    'FileSystemId': 'string',
                    'Region': 'string',
                    'LastReplicatedTimestamp': datetime(2015, 1, 1),
                    'OwnerId': 'string',
                    'StatusMessage': 'string',
                    'RoleArn': 'string'
                },
            ],
            'SourceFileSystemOwnerId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Replications (list) –

      The collection of replication configurations that is returned.

      • (dict) –

        Describes the replication configuration for a specific file system.

        • SourceFileSystemId (string) –

          The ID of the source Amazon EFS file system that is being replicated.

        • SourceFileSystemRegion (string) –

          The Amazon Web Services Region in which the source EFS file system is located.

        • SourceFileSystemArn (string) –

          The Amazon Resource Name (ARN) of the current source file system in the replication configuration.

        • OriginalSourceFileSystemArn (string) –

          The Amazon Resource Name (ARN) of the original source EFS file system in the replication configuration.

        • CreationTime (datetime) –

          Describes when the replication configuration was created.

        • Destinations (list) –

          An array of destination objects. Only one destination object is supported.

          • (dict) –

            Describes the destination file system in the replication configuration.

            • Status (string) –

              Describes the status of the replication configuration. For more information about replication status, see Viewing replication details in the Amazon EFS User Guide.

            • FileSystemId (string) –

              The ID of the destination Amazon EFS file system.

            • Region (string) –

              The Amazon Web Services Region in which the destination file system is located.

            • LastReplicatedTimestamp (datetime) –

              The time when the most recent sync was successfully completed on the destination file system. Any changes to data on the source file system that occurred before this time have been successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated.

            • OwnerId (string) –

              ID of the Amazon Web Services account in which the destination file system resides.

            • StatusMessage (string) –

              Message that provides details about the PAUSED or ERRROR state of the replication destination configuration. For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide.

            • RoleArn (string) –

              Amazon Resource Name (ARN) of the IAM role in the source account that allows Amazon EFS to perform replication on its behalf. This is optional for same-account replication and required for cross-account replication.

        • SourceFileSystemOwnerId (string) –

          ID of the Amazon Web Services account in which the source file system resides.

    • NextToken (string) –

      You can use the NextToken from the previous response in a subsequent request to fetch the additional descriptions.

Exceptions