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)
...
# create_cell method usage example with argument unpacking
kwargs: CreateCellRequestRequestTypeDef = { # (1)
"CellName": ...,
}
parent.create_cell(**kwargs)
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)
...
# create_cross_account_authorization method usage example with argument unpacking
kwargs: CreateCrossAccountAuthorizationRequestRequestTypeDef = { # (1)
"CrossAccountAuthorization": ...,
}
parent.create_cross_account_authorization(**kwargs)
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)
...
# create_readiness_check method usage example with argument unpacking
kwargs: CreateReadinessCheckRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
"ResourceSetName": ...,
}
parent.create_readiness_check(**kwargs)
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)
...
# create_recovery_group method usage example with argument unpacking
kwargs: CreateRecoveryGroupRequestRequestTypeDef = { # (1)
"RecoveryGroupName": ...,
}
parent.create_recovery_group(**kwargs)