Skip to content

Route53RecoveryReadinessClient#

Index > Route53RecoveryReadiness > Route53RecoveryReadinessClient

Auto-generated documentation for Route53RecoveryReadiness type annotations stubs module mypy-boto3-route53-recovery-readiness.

Route53RecoveryReadinessClient#

Type annotations and code completion for boto3.client("route53-recovery-readiness"). boto3 documentation

# Route53RecoveryReadinessClient usage example

from boto3.session import Session
from mypy_boto3_route53_recovery_readiness.client import Route53RecoveryReadinessClient

def get_route53-recovery-readiness_client() -> Route53RecoveryReadinessClient:
    return Session().client("route53-recovery-readiness")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("route53-recovery-readiness").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("route53-recovery-readiness")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_route53_recovery_readiness.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("route53-recovery-readiness").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("route53-recovery-readiness").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_cell#

Creates a cell in an account.

Type annotations and code completion for boto3.client("route53-recovery-readiness").create_cell method. boto3 documentation

# create_cell method definition

def create_cell(
    self,
    *,
    CellName: str,
    Cells: Sequence[str] = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateCellResponseTypeDef:  # (1)
    ...
  1. See CreateCellResponseTypeDef
# create_cell method usage example with argument unpacking

kwargs: CreateCellRequestRequestTypeDef = {  # (1)
    "CellName": ...,
}

parent.create_cell(**kwargs)
  1. See CreateCellRequestRequestTypeDef

create_cross_account_authorization#

Creates a cross-account readiness authorization.

Type annotations and code completion for boto3.client("route53-recovery-readiness").create_cross_account_authorization method. boto3 documentation

# create_cross_account_authorization method definition

def create_cross_account_authorization(
    self,
    *,
    CrossAccountAuthorization: str,
) -> CreateCrossAccountAuthorizationResponseTypeDef:  # (1)
    ...
  1. See CreateCrossAccountAuthorizationResponseTypeDef
# create_cross_account_authorization method usage example with argument unpacking

kwargs: CreateCrossAccountAuthorizationRequestRequestTypeDef = {  # (1)
    "CrossAccountAuthorization": ...,
}

parent.create_cross_account_authorization(**kwargs)
  1. See CreateCrossAccountAuthorizationRequestRequestTypeDef

create_readiness_check#

Creates a readiness check in an account.

Type annotations and code completion for boto3.client("route53-recovery-readiness").create_readiness_check method. boto3 documentation

# create_readiness_check method definition

def create_readiness_check(
    self,
    *,
    ReadinessCheckName: str,
    ResourceSetName: str,
    Tags: Mapping[str, str] = ...,
) -> CreateReadinessCheckResponseTypeDef:  # (1)
    ...
  1. See CreateReadinessCheckResponseTypeDef
# create_readiness_check method usage example with argument unpacking

kwargs: CreateReadinessCheckRequestRequestTypeDef = {  # (1)
    "ReadinessCheckName": ...,
    "ResourceSetName": ...,
}

parent.create_readiness_check(**kwargs)
  1. See CreateReadinessCheckRequestRequestTypeDef

create_recovery_group#

Creates a recovery group in an account.

Type annotations and code completion for boto3.client("route53-recovery-readiness").create_recovery_group method. boto3 documentation

# create_recovery_group method definition

def create_recovery_group(
    self,
    *,
    RecoveryGroupName: str,
    Cells: Sequence[str] = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateRecoveryGroupResponseTypeDef:  # (1)
    ...
  1. See CreateRecoveryGroupResponseTypeDef
# create_recovery_group method usage example with argument unpacking

kwargs: CreateRecoveryGroupRequestRequestTypeDef = {  # (1)
    "RecoveryGroupName": ...,
}

parent.create_recovery_group(**kwargs)
  1. See CreateRecoveryGroupRequestRequestTypeDef

create_resource_set#

Creates a resource set.

Type annotations and code completion for boto3.client("route53-recovery-readiness").create_resource_set method. boto3 documentation

# create_resource_set method definition

def create_resource_set(
    self,
    *,
    ResourceSetName: str,
    ResourceSetType: str,
    Resources: Sequence[Union[ResourceTypeDef, ResourceExtraOutputTypeDef]],  # (1)
    Tags: Mapping[str, str] = ...,
) -> CreateResourceSetResponseTypeDef:  # (2)
    ...
  1. See ResourceTypeDef ResourceExtraOutputTypeDef
  2. See CreateResourceSetResponseTypeDef
# create_resource_set method usage example with argument unpacking

kwargs: CreateResourceSetRequestRequestTypeDef = {  # (1)
    "ResourceSetName": ...,
    "ResourceSetType": ...,
    "Resources": ...,
}

parent.create_resource_set(**kwargs)
  1. See CreateResourceSetRequestRequestTypeDef

delete_cell#

Delete a cell.

Type annotations and code completion for boto3.client("route53-recovery-readiness").delete_cell method. boto3 documentation

# delete_cell method definition

def delete_cell(
    self,
    *,
    CellName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_cell method usage example with argument unpacking

kwargs: DeleteCellRequestRequestTypeDef = {  # (1)
    "CellName": ...,
}

parent.delete_cell(**kwargs)
  1. See DeleteCellRequestRequestTypeDef

delete_cross_account_authorization#

Deletes cross account readiness authorization.

Type annotations and code completion for boto3.client("route53-recovery-readiness").delete_cross_account_authorization method. boto3 documentation

# delete_cross_account_authorization method definition

def delete_cross_account_authorization(
    self,
    *,
    CrossAccountAuthorization: str,
) -> Dict[str, Any]:
    ...
# delete_cross_account_authorization method usage example with argument unpacking

kwargs: DeleteCrossAccountAuthorizationRequestRequestTypeDef = {  # (1)
    "CrossAccountAuthorization": ...,
}

parent.delete_cross_account_authorization(**kwargs)
  1. See DeleteCrossAccountAuthorizationRequestRequestTypeDef

delete_readiness_check#

Deletes a readiness check.

Type annotations and code completion for boto3.client("route53-recovery-readiness").delete_readiness_check method. boto3 documentation

# delete_readiness_check method definition

def delete_readiness_check(
    self,
    *,
    ReadinessCheckName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_readiness_check method usage example with argument unpacking

kwargs: DeleteReadinessCheckRequestRequestTypeDef = {  # (1)
    "ReadinessCheckName": ...,
}

parent.delete_readiness_check(**kwargs)
  1. See DeleteReadinessCheckRequestRequestTypeDef

delete_recovery_group#

Deletes a recovery group.

Type annotations and code completion for boto3.client("route53-recovery-readiness").delete_recovery_group method. boto3 documentation

# delete_recovery_group method definition

def delete_recovery_group(
    self,
    *,
    RecoveryGroupName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_recovery_group method usage example with argument unpacking

kwargs: DeleteRecoveryGroupRequestRequestTypeDef = {  # (1)
    "RecoveryGroupName": ...,
}

parent.delete_recovery_group(**kwargs)
  1. See DeleteRecoveryGroupRequestRequestTypeDef

delete_resource_set#

Deletes a resource set.

Type annotations and code completion for boto3.client("route53-recovery-readiness").delete_resource_set method. boto3 documentation

# delete_resource_set method definition

def delete_resource_set(
    self,
    *,
    ResourceSetName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_resource_set method usage example with argument unpacking

kwargs: DeleteResourceSetRequestRequestTypeDef = {  # (1)
    "ResourceSetName": ...,
}

parent.delete_resource_set(**kwargs)
  1. See DeleteResourceSetRequestRequestTypeDef

generate_presigned_url