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)
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[ResourceUnionTypeDef], # (1)
Tags: Mapping[str, str] = ...,
) -> CreateResourceSetResponseTypeDef: # (2)
...
# create_resource_set method usage example with argument unpacking
kwargs: CreateResourceSetRequestRequestTypeDef = { # (1)
"ResourceSetName": ...,
"ResourceSetType": ...,
"Resources": ...,
}
parent.create_resource_set(**kwargs)
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)
...
# delete_cell method usage example with argument unpacking
kwargs: DeleteCellRequestRequestTypeDef = { # (1)
"CellName": ...,
}
parent.delete_cell(**kwargs)
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)
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)
...
# delete_readiness_check method usage example with argument unpacking
kwargs: DeleteReadinessCheckRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
}
parent.delete_readiness_check(**kwargs)
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)
...
# delete_recovery_group method usage example with argument unpacking
kwargs: DeleteRecoveryGroupRequestRequestTypeDef = { # (1)
"RecoveryGroupName": ...,
}
parent.delete_recovery_group(**kwargs)
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)
...
# delete_resource_set method usage example with argument unpacking
kwargs: DeleteResourceSetRequestRequestTypeDef = { # (1)
"ResourceSetName": ...,
}
parent.delete_resource_set(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("route53-recovery-readiness").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_architecture_recommendations#
Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_architecture_recommendations
method.
boto3 documentation
# get_architecture_recommendations method definition
def get_architecture_recommendations(
self,
*,
RecoveryGroupName: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetArchitectureRecommendationsResponseTypeDef: # (1)
...
# get_architecture_recommendations method usage example with argument unpacking
kwargs: GetArchitectureRecommendationsRequestRequestTypeDef = { # (1)
"RecoveryGroupName": ...,
}
parent.get_architecture_recommendations(**kwargs)
get_cell#
Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_cell
method.
boto3 documentation
# get_cell method definition
def get_cell(
self,
*,
CellName: str,
) -> GetCellResponseTypeDef: # (1)
...
# get_cell method usage example with argument unpacking
kwargs: GetCellRequestRequestTypeDef = { # (1)
"CellName": ...,
}
parent.get_cell(**kwargs)
get_cell_readiness_summary#
Gets readiness for a cell.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_cell_readiness_summary
method.
boto3 documentation
# get_cell_readiness_summary method definition
def get_cell_readiness_summary(
self,
*,
CellName: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetCellReadinessSummaryResponseTypeDef: # (1)
...
# get_cell_readiness_summary method usage example with argument unpacking
kwargs: GetCellReadinessSummaryRequestRequestTypeDef = { # (1)
"CellName": ...,
}
parent.get_cell_readiness_summary(**kwargs)
get_readiness_check#
Gets details about a readiness check.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_readiness_check
method.
boto3 documentation
# get_readiness_check method definition
def get_readiness_check(
self,
*,
ReadinessCheckName: str,
) -> GetReadinessCheckResponseTypeDef: # (1)
...
# get_readiness_check method usage example with argument unpacking
kwargs: GetReadinessCheckRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
}
parent.get_readiness_check(**kwargs)
get_readiness_check_resource_status#
Gets individual readiness status for a readiness check.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_readiness_check_resource_status
method.
boto3 documentation
# get_readiness_check_resource_status method definition
def get_readiness_check_resource_status(
self,
*,
ReadinessCheckName: str,
ResourceIdentifier: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetReadinessCheckResourceStatusResponseTypeDef: # (1)
...
# get_readiness_check_resource_status method usage example with argument unpacking
kwargs: GetReadinessCheckResourceStatusRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
"ResourceIdentifier": ...,
}
parent.get_readiness_check_resource_status(**kwargs)
get_readiness_check_status#
Gets the readiness status for an individual readiness check.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_readiness_check_status
method.
boto3 documentation
# get_readiness_check_status method definition
def get_readiness_check_status(
self,
*,
ReadinessCheckName: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetReadinessCheckStatusResponseTypeDef: # (1)
...
# get_readiness_check_status method usage example with argument unpacking
kwargs: GetReadinessCheckStatusRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
}
parent.get_readiness_check_status(**kwargs)
get_recovery_group#
Gets details about a recovery group, including a list of the cells that are included in it.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_recovery_group
method.
boto3 documentation
# get_recovery_group method definition
def get_recovery_group(
self,
*,
RecoveryGroupName: str,
) -> GetRecoveryGroupResponseTypeDef: # (1)
...
# get_recovery_group method usage example with argument unpacking
kwargs: GetRecoveryGroupRequestRequestTypeDef = { # (1)
"RecoveryGroupName": ...,
}
parent.get_recovery_group(**kwargs)
get_recovery_group_readiness_summary#
Displays a summary of information about a recovery group's readiness status.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_recovery_group_readiness_summary
method.
boto3 documentation
# get_recovery_group_readiness_summary method definition
def get_recovery_group_readiness_summary(
self,
*,
RecoveryGroupName: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetRecoveryGroupReadinessSummaryResponseTypeDef: # (1)
...
# get_recovery_group_readiness_summary method usage example with argument unpacking
kwargs: GetRecoveryGroupReadinessSummaryRequestRequestTypeDef = { # (1)
"RecoveryGroupName": ...,
}
parent.get_recovery_group_readiness_summary(**kwargs)
get_resource_set#
Displays the details about a resource set, including a list of the resources in the set.
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_resource_set
method.
boto3 documentation
# get_resource_set method definition
def get_resource_set(
self,
*,
ResourceSetName: str,
) -> GetResourceSetResponseTypeDef: # (1)
...
# get_resource_set method usage example with argument unpacking
kwargs: GetResourceSetRequestRequestTypeDef = { # (1)
"ResourceSetName": ...,
}
parent.get_resource_set(**kwargs)
list_cells#
Lists the cells for an account.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_cells
method.
boto3 documentation
# list_cells method definition
def list_cells(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCellsResponseTypeDef: # (1)
...
# list_cells method usage example with argument unpacking
kwargs: ListCellsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_cells(**kwargs)
list_cross_account_authorizations#
Lists the cross-account readiness authorizations that are in place for an account.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_cross_account_authorizations
method.
boto3 documentation
# list_cross_account_authorizations method definition
def list_cross_account_authorizations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCrossAccountAuthorizationsResponseTypeDef: # (1)
...
# list_cross_account_authorizations method usage example with argument unpacking
kwargs: ListCrossAccountAuthorizationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_cross_account_authorizations(**kwargs)
list_readiness_checks#
Lists the readiness checks for an account.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_readiness_checks
method.
boto3 documentation
# list_readiness_checks method definition
def list_readiness_checks(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListReadinessChecksResponseTypeDef: # (1)
...
# list_readiness_checks method usage example with argument unpacking
kwargs: ListReadinessChecksRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_readiness_checks(**kwargs)
list_recovery_groups#
Lists the recovery groups in an account.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_recovery_groups
method.
boto3 documentation
# list_recovery_groups method definition
def list_recovery_groups(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListRecoveryGroupsResponseTypeDef: # (1)
...
# list_recovery_groups method usage example with argument unpacking
kwargs: ListRecoveryGroupsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_recovery_groups(**kwargs)
list_resource_sets#
Lists the resource sets in an account.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_resource_sets
method.
boto3 documentation
# list_resource_sets method definition
def list_resource_sets(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListResourceSetsResponseTypeDef: # (1)
...
# list_resource_sets method usage example with argument unpacking
kwargs: ListResourceSetsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_resource_sets(**kwargs)
list_rules#
Lists all readiness rules, or lists the readiness rules for a specific resource type.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_rules
method.
boto3 documentation
# list_rules method definition
def list_rules(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
ResourceType: str = ...,
) -> ListRulesResponseTypeDef: # (1)
...
# list_rules method usage example with argument unpacking
kwargs: ListRulesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_rules(**kwargs)
list_tags_for_resources#
Lists the tags for a resource.
Type annotations and code completion for boto3.client("route53-recovery-readiness").list_tags_for_resources
method.
boto3 documentation
# list_tags_for_resources method definition
def list_tags_for_resources(
self,
*,
ResourceArn: str,
) -> ListTagsForResourcesResponseTypeDef: # (1)
...
# list_tags_for_resources method usage example with argument unpacking
kwargs: ListTagsForResourcesRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resources(**kwargs)
tag_resource#
Adds a tag to a resource.
Type annotations and code completion for boto3.client("route53-recovery-readiness").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> Dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes a tag from a resource.
Type annotations and code completion for boto3.client("route53-recovery-readiness").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_cell#
Updates a cell to replace the list of nested cells with a new list of nested cells.
Type annotations and code completion for boto3.client("route53-recovery-readiness").update_cell
method.
boto3 documentation
# update_cell method definition
def update_cell(
self,
*,
CellName: str,
Cells: Sequence[str],
) -> UpdateCellResponseTypeDef: # (1)
...
# update_cell method usage example with argument unpacking
kwargs: UpdateCellRequestRequestTypeDef = { # (1)
"CellName": ...,
"Cells": ...,
}
parent.update_cell(**kwargs)
update_readiness_check#
Updates a readiness check.
Type annotations and code completion for boto3.client("route53-recovery-readiness").update_readiness_check
method.
boto3 documentation
# update_readiness_check method definition
def update_readiness_check(
self,
*,
ReadinessCheckName: str,
ResourceSetName: str,
) -> UpdateReadinessCheckResponseTypeDef: # (1)
...
# update_readiness_check method usage example with argument unpacking
kwargs: UpdateReadinessCheckRequestRequestTypeDef = { # (1)
"ReadinessCheckName": ...,
"ResourceSetName": ...,
}
parent.update_readiness_check(**kwargs)
update_recovery_group#
Updates a recovery group.
Type annotations and code completion for boto3.client("route53-recovery-readiness").update_recovery_group
method.
boto3 documentation
# update_recovery_group method definition
def update_recovery_group(
self,
*,
Cells: Sequence[str],
RecoveryGroupName: str,
) -> UpdateRecoveryGroupResponseTypeDef: # (1)
...
# update_recovery_group method usage example with argument unpacking
kwargs: UpdateRecoveryGroupRequestRequestTypeDef = { # (1)
"Cells": ...,
"RecoveryGroupName": ...,
}
parent.update_recovery_group(**kwargs)
update_resource_set#
Updates a resource set.
Type annotations and code completion for boto3.client("route53-recovery-readiness").update_resource_set
method.
boto3 documentation
# update_resource_set method definition
def update_resource_set(
self,
*,
ResourceSetName: str,
ResourceSetType: str,
Resources: Sequence[ResourceTypeDef], # (1)
) -> UpdateResourceSetResponseTypeDef: # (2)
...
# update_resource_set method usage example with argument unpacking
kwargs: UpdateResourceSetRequestRequestTypeDef = { # (1)
"ResourceSetName": ...,
"ResourceSetType": ...,
"Resources": ...,
}
parent.update_resource_set(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("route53-recovery-readiness").get_paginator
method with overloads.
client.get_paginator("get_cell_readiness_summary")
-> GetCellReadinessSummaryPaginatorclient.get_paginator("get_readiness_check_resource_status")
-> GetReadinessCheckResourceStatusPaginatorclient.get_paginator("get_readiness_check_status")
-> GetReadinessCheckStatusPaginatorclient.get_paginator("get_recovery_group_readiness_summary")
-> GetRecoveryGroupReadinessSummaryPaginatorclient.get_paginator("list_cells")
-> ListCellsPaginatorclient.get_paginator("list_cross_account_authorizations")
-> ListCrossAccountAuthorizationsPaginatorclient.get_paginator("list_readiness_checks")
-> ListReadinessChecksPaginatorclient.get_paginator("list_recovery_groups")
-> ListRecoveryGroupsPaginatorclient.get_paginator("list_resource_sets")
-> ListResourceSetsPaginatorclient.get_paginator("list_rules")
-> ListRulesPaginator