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

# Route53RecoveryControlConfigClient 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.

# Exceptions.exceptions usage example

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

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions 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

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

# close 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

# create_cluster method definition

def create_cluster(
    self,
    *,
    ClusterName: str,
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateClusterResponseTypeDef:  # (1)
    ...
  1. See CreateClusterResponseTypeDef
# create_cluster method usage example with argument unpacking

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

# create_control_panel method definition

def create_control_panel(
    self,
    *,
    ClusterArn: str,
    ControlPanelName: str,
    ClientToken: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateControlPanelResponseTypeDef:  # (1)
    ...
  1. See CreateControlPanelResponseTypeDef
# create_control_panel method usage example with argument unpacking

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

# create_routing_control method definition

def create_routing_control(
    self,
    *,
    ClusterArn: str,
    RoutingControlName: str,
    ClientToken: str = ...,
    ControlPanelArn: str = ...,
) -> CreateRoutingControlResponseTypeDef:  # (1)
    ...
  1. See CreateRoutingControlResponseTypeDef
# create_routing_control method usage example with argument unpacking

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

# create_safety_rule 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
# create_safety_rule method usage example with argument unpacking

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

# delete_cluster method definition

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

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

# delete_control_panel method definition

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

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

# delete_routing_control method definition

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

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

# delete_safety_rule method definition

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

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

# describe_cluster method definition

def describe_cluster(
    self,
    *,
    ClusterArn: str,
) -> DescribeClusterResponseTypeDef:  # (1)
    ...
  1. See DescribeClusterResponseTypeDef
# describe_cluster method usage example with argument unpacking

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

# describe_control_panel method definition

def describe_control_panel(
    self,
    *,
    ControlPanelArn: str,
) -> DescribeControlPanelResponseTypeDef:  # (1)
    ...
  1. See DescribeControlPanelResponseTypeDef
# describe_control_panel method usage example with argument unpacking

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

# describe_routing_control method definition

def describe_routing_control(
    self,
    *,
    RoutingControlArn: str,
) -> DescribeRoutingControlResponseTypeDef:  # (1)
    ...
  1. See DescribeRoutingControlResponseTypeDef
# describe_routing_control method usage example with argument unpacking

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.