Skip to content

Route53RecoveryControlConfigClient

Index > Route53RecoveryControlConfig > Route53RecoveryControlConfigClient

Auto-generated documentation for Route53RecoveryControlConfig type annotations stubs module mypy-boto3-route53-recovery-control-config.

Route53RecoveryControlConfigClient

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

Usage example
from boto3.session import Session
from mypy_boto3_route53_recovery_control_config.client import Route53RecoveryControlConfigClient

def get_route53-recovery-control-config_client() -> Route53RecoveryControlConfigClient:
    return Session().client("route53-recovery-control-config")

Exceptions

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

Usage example
client = boto3.client("route53-recovery-control-config")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_route53_recovery_control_config.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-control-config").can_paginate method. boto3 documentation

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-control-config").close method. boto3 documentation

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

create_cluster

Create a new cluster.

Type annotations and code completion for boto3.client("route53-recovery-control-config").create_cluster method. boto3 documentation

Method definition
def create_cluster(
    self,
    *,
    ClusterName: str,
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateClusterResponseTypeDef:  # (1)
    ...
  1. See CreateClusterResponseTypeDef
Usage example with kwargs
kwargs: CreateClusterRequestRequestTypeDef = {  # (1)
    "ClusterName": ...,
}

parent.create_cluster(**kwargs)
  1. See CreateClusterRequestRequestTypeDef

create_control_panel

Creates a new control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").create_control_panel method. boto3 documentation

Method definition
def create_control_panel(
    self,
    *,
    ClusterArn: str,
    ControlPanelName: str,
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateControlPanelResponseTypeDef:  # (1)
    ...
  1. See CreateControlPanelResponseTypeDef
Usage example with kwargs
kwargs: CreateControlPanelRequestRequestTypeDef = {  # (1)
    "ClusterArn": ...,
    "ControlPanelName": ...,
}

parent.create_control_panel(**kwargs)
  1. See CreateControlPanelRequestRequestTypeDef

create_routing_control

Creates a new routing control.

Type annotations and code completion for boto3.client("route53-recovery-control-config").create_routing_control method. boto3 documentation

Method definition
def create_routing_control(
    self,
    *,
    ClusterArn: str,
    RoutingControlName: str,
    ClientToken: str = ...,
    ControlPanelArn: str = ...,
) -> CreateRoutingControlResponseTypeDef:  # (1)
    ...
  1. See CreateRoutingControlResponseTypeDef
Usage example with kwargs
kwargs: CreateRoutingControlRequestRequestTypeDef = {  # (1)
    "ClusterArn": ...,
    "RoutingControlName": ...,
}

parent.create_routing_control(**kwargs)
  1. See CreateRoutingControlRequestRequestTypeDef

create_safety_rule

Creates a safety rule in a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").create_safety_rule method. boto3 documentation

Method definition
def create_safety_rule(
    self,
    *,
    AssertionRule: NewAssertionRuleTypeDef = ...,  # (1)
    ClientToken: str = ...,
    GatingRule: NewGatingRuleTypeDef = ...,  # (2)
    Tags: Mapping[str, str] = ...,
) -> CreateSafetyRuleResponseTypeDef:  # (3)
    ...
  1. See NewAssertionRuleTypeDef
  2. See NewGatingRuleTypeDef
  3. See CreateSafetyRuleResponseTypeDef
Usage example with kwargs
kwargs: CreateSafetyRuleRequestRequestTypeDef = {  # (1)
    "AssertionRule": ...,
}

parent.create_safety_rule(**kwargs)
  1. See CreateSafetyRuleRequestRequestTypeDef

delete_cluster

Delete a cluster.

Type annotations and code completion for boto3.client("route53-recovery-control-config").delete_cluster method. boto3 documentation

Method definition
def delete_cluster(
    self,
    *,
    ClusterArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteClusterRequestRequestTypeDef = {  # (1)
    "ClusterArn": ...,
}

parent.delete_cluster(**kwargs)
  1. See DeleteClusterRequestRequestTypeDef

delete_control_panel

Deletes a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").delete_control_panel method. boto3 documentation

Method definition
def delete_control_panel(
    self,
    *,
    ControlPanelArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteControlPanelRequestRequestTypeDef = {  # (1)
    "ControlPanelArn": ...,
}

parent.delete_control_panel(**kwargs)
  1. See DeleteControlPanelRequestRequestTypeDef

delete_routing_control

Deletes a routing control.

Type annotations and code completion for boto3.client("route53-recovery-control-config").delete_routing_control method. boto3 documentation

Method definition
def delete_routing_control(
    self,
    *,
    RoutingControlArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteRoutingControlRequestRequestTypeDef = {  # (1)
    "RoutingControlArn": ...,
}

parent.delete_routing_control(**kwargs)
  1. See DeleteRoutingControlRequestRequestTypeDef

delete_safety_rule

Deletes a safety rule.

Type annotations and code completion for boto3.client("route53-recovery-control-config").delete_safety_rule method. boto3 documentation

Method definition
def delete_safety_rule(
    self,
    *,
    SafetyRuleArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteSafetyRuleRequestRequestTypeDef = {  # (1)
    "SafetyRuleArn": ...,
}

parent.delete_safety_rule(**kwargs)
  1. See DeleteSafetyRuleRequestRequestTypeDef

describe_cluster

Display the details about a cluster.

Type annotations and code completion for boto3.client("route53-recovery-control-config").describe_cluster method. boto3 documentation

Method definition
def describe_cluster(
    self,
    *,
    ClusterArn: str,
) -> DescribeClusterResponseTypeDef:  # (1)
    ...
  1. See DescribeClusterResponseTypeDef
Usage example with kwargs
kwargs: DescribeClusterRequestRequestTypeDef = {  # (1)
    "ClusterArn": ...,
}

parent.describe_cluster(**kwargs)
  1. See DescribeClusterRequestRequestTypeDef

describe_control_panel

Displays details about a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").describe_control_panel method. boto3 documentation

Method definition
def describe_control_panel(
    self,
    *,
    ControlPanelArn: str,
) -> DescribeControlPanelResponseTypeDef:  # (1)
    ...
  1. See DescribeControlPanelResponseTypeDef
Usage example with kwargs
kwargs: DescribeControlPanelRequestRequestTypeDef = {  # (1)
    "ControlPanelArn": ...,
}

parent.describe_control_panel(**kwargs)
  1. See DescribeControlPanelRequestRequestTypeDef

describe_routing_control

Displays details about a routing control.

Type annotations and code completion for boto3.client("route53-recovery-control-config").describe_routing_control method. boto3 documentation

Method definition
def describe_routing_control(
    self,
    *,
    RoutingControlArn: str,
) -> DescribeRoutingControlResponseTypeDef:  # (1)
    ...
  1. See DescribeRoutingControlResponseTypeDef
Usage example with kwargs
kwargs: DescribeRoutingControlRequestRequestTypeDef = {  # (1)
    "RoutingControlArn": ...,
}

parent.describe_routing_control(**kwargs)
  1. See DescribeRoutingControlRequestRequestTypeDef

describe_safety_rule

Returns information about a safety rule.

Type annotations and code completion for boto3.client("route53-recovery-control-config").describe_safety_rule method. boto3 documentation

Method definition
def describe_safety_rule(
    self,
    *,
    SafetyRuleArn: str,
) -> DescribeSafetyRuleResponseTypeDef:  # (1)
    ...
  1. See DescribeSafetyRuleResponseTypeDef
Usage example with kwargs
kwargs: DescribeSafetyRuleRequestRequestTypeDef = {  # (1)
    "SafetyRuleArn": ...,
}

parent.describe_safety_rule(**kwargs)
  1. See DescribeSafetyRuleRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("route53-recovery-control-config").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_associated_route53_health_checks

Returns an array of all Amazon Route 53 health checks associated with a specific routing control.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_associated_route53_health_checks method. boto3 documentation

Method definition
def list_associated_route53_health_checks(
    self,
    *,
    RoutingControlArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListAssociatedRoute53HealthChecksResponseTypeDef:  # (1)
    ...
  1. See ListAssociatedRoute53HealthChecksResponseTypeDef
Usage example with kwargs
kwargs: ListAssociatedRoute53HealthChecksRequestRequestTypeDef = {  # (1)
    "RoutingControlArn": ...,
}

parent.list_associated_route53_health_checks(**kwargs)
  1. See ListAssociatedRoute53HealthChecksRequestRequestTypeDef

list_clusters

Returns an array of all the clusters in an account.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_clusters method. boto3 documentation

Method definition
def list_clusters(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListClustersResponseTypeDef:  # (1)
    ...
  1. See ListClustersResponseTypeDef
Usage example with kwargs
kwargs: ListClustersRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_clusters(**kwargs)
  1. See ListClustersRequestRequestTypeDef

list_control_panels

Returns an array of control panels in an account or in a cluster.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_control_panels method. boto3 documentation

Method definition
def list_control_panels(
    self,
    *,
    ClusterArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListControlPanelsResponseTypeDef:  # (1)
    ...
  1. See ListControlPanelsResponseTypeDef
Usage example with kwargs
kwargs: ListControlPanelsRequestRequestTypeDef = {  # (1)
    "ClusterArn": ...,
}

parent.list_control_panels(**kwargs)
  1. See ListControlPanelsRequestRequestTypeDef

list_routing_controls

Returns an array of routing controls for a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_routing_controls method. boto3 documentation

Method definition
def list_routing_controls(
    self,
    *,
    ControlPanelArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListRoutingControlsResponseTypeDef:  # (1)
    ...
  1. See ListRoutingControlsResponseTypeDef
Usage example with kwargs
kwargs: ListRoutingControlsRequestRequestTypeDef = {  # (1)
    "ControlPanelArn": ...,
}

parent.list_routing_controls(**kwargs)
  1. See ListRoutingControlsRequestRequestTypeDef

list_safety_rules

List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_safety_rules method. boto3 documentation

Method definition
def list_safety_rules(
    self,
    *,
    ControlPanelArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListSafetyRulesResponseTypeDef:  # (1)
    ...
  1. See ListSafetyRulesResponseTypeDef
Usage example with kwargs
kwargs: ListSafetyRulesRequestRequestTypeDef = {  # (1)
    "ControlPanelArn": ...,
}

parent.list_safety_rules(**kwargs)
  1. See ListSafetyRulesRequestRequestTypeDef

list_tags_for_resource

Lists the tags for a resource.

Type annotations and code completion for boto3.client("route53-recovery-control-config").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

tag_resource

Adds a tag to a resource.

Type annotations and code completion for boto3.client("route53-recovery-control-config").tag_resource method. boto3 documentation

Method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Removes a tag from a resource.

Type annotations and code completion for boto3.client("route53-recovery-control-config").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_control_panel

Updates a control panel.

Type annotations and code completion for boto3.client("route53-recovery-control-config").update_control_panel method. boto3 documentation

Method definition
def update_control_panel(
    self,
    *,
    ControlPanelArn: str,
    ControlPanelName: str,
) -> UpdateControlPanelResponseTypeDef:  # (1)
    ...
  1. See UpdateControlPanelResponseTypeDef
Usage example with kwargs
kwargs: UpdateControlPanelRequestRequestTypeDef = {  # (1)
    "ControlPanelArn": ...,
    "ControlPanelName": ...,
}

parent.update_control_panel(**kwargs)
  1. See UpdateControlPanelRequestRequestTypeDef

update_routing_control

Updates a routing control.

Type annotations and code completion for boto3.client("route53-recovery-control-config").update_routing_control method. boto3 documentation

Method definition
def update_routing_control(
    self,
    *,
    RoutingControlArn: str,
    RoutingControlName: str,
) -> UpdateRoutingControlResponseTypeDef:  # (1)
    ...
  1. See UpdateRoutingControlResponseTypeDef
Usage example with kwargs
kwargs: UpdateRoutingControlRequestRequestTypeDef = {  # (1)
    "RoutingControlArn": ...,
    "RoutingControlName": ...,
}

parent.update_routing_control(**kwargs)
  1. See UpdateRoutingControlRequestRequestTypeDef

update_safety_rule

Update a safety rule (an assertion rule or gating rule).

Type annotations and code completion for boto3.client("route53-recovery-control-config").update_safety_rule method. boto3 documentation

Method definition
def update_safety_rule(
    self,
    *,
    AssertionRuleUpdate: AssertionRuleUpdateTypeDef = ...,  # (1)
    GatingRuleUpdate: GatingRuleUpdateTypeDef = ...,  # (2)
) -> UpdateSafetyRuleResponseTypeDef:  # (3)
    ...
  1. See AssertionRuleUpdateTypeDef
  2. See GatingRuleUpdateTypeDef
  3. See UpdateSafetyRuleResponseTypeDef
Usage example with kwargs
kwargs: UpdateSafetyRuleRequestRequestTypeDef = {  # (1)
    "AssertionRuleUpdate": ...,
}

parent.update_safety_rule(**kwargs)
  1. See UpdateSafetyRuleRequestRequestTypeDef

get_waiter

Type annotations and code completion for boto3.client("route53-recovery-control-config").get_waiter method with overloads.