Route53RecoveryReadiness / Client / list_recovery_groups

list_recovery_groups#

Route53RecoveryReadiness.Client.list_recovery_groups(**kwargs)#

Lists the recovery groups in an account.

See also: AWS API Documentation

Request Syntax

response = client.list_recovery_groups(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The number of objects that you want to return with this call.

  • NextToken (string) – The token that identifies which batch of results you want to see.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'RecoveryGroups': [
        {
            'Cells': [
                'string',
            ],
            'RecoveryGroupArn': 'string',
            'RecoveryGroupName': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) –

    200 response - Success.

    • NextToken (string) –

      The token that identifies which batch of results you want to see.

    • RecoveryGroups (list) –

      A list of recovery groups.

      • (dict) –

        A representation of the application, typically containing multiple cells.

        • Cells (list) –

          A list of a cell’s Amazon Resource Names (ARNs).

          • (string) –

        • RecoveryGroupArn (string) –

          The Amazon Resource Name (ARN) for the recovery group.

        • RecoveryGroupName (string) –

          The name of the recovery group.

        • Tags (dict) –

          The tags associated with the recovery group.

          • (string) –

            • (string) –

Exceptions

  • Route53RecoveryReadiness.Client.exceptions.ThrottlingException

  • Route53RecoveryReadiness.Client.exceptions.ValidationException

  • Route53RecoveryReadiness.Client.exceptions.InternalServerException

  • Route53RecoveryReadiness.Client.exceptions.AccessDeniedException