Route53RecoveryReadiness / Client / create_recovery_group

create_recovery_group#

Route53RecoveryReadiness.Client.create_recovery_group(**kwargs)#

Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.

See also: AWS API Documentation

Request Syntax

response = client.create_recovery_group(
    Cells=[
        'string',
    ],
    RecoveryGroupName='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • Cells (list) –

    A list of the cell Amazon Resource Names (ARNs) in the recovery group.

    • (string) –

  • RecoveryGroupName (string) –

    [REQUIRED]

    The name of the recovery group to create.

  • Tags (dict) –

    A collection of tags associated with a resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    200 response - Success.

    • 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.ConflictException

  • Route53RecoveryReadiness.Client.exceptions.AccessDeniedException