Skip to content

Type definitions#

Index > Route53RecoveryControlConfig > Type definitions

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

RuleConfigTypeDef#

# RuleConfigTypeDef definition

class RuleConfigTypeDef(TypedDict):
    Inverted: bool,
    Threshold: int,
    Type: RuleTypeType,  # (1)
  1. See RuleTypeType

AssertionRuleUpdateTypeDef#

# AssertionRuleUpdateTypeDef definition

class AssertionRuleUpdateTypeDef(TypedDict):
    Name: str,
    SafetyRuleArn: str,
    WaitPeriodMs: int,

ClusterEndpointTypeDef#

# ClusterEndpointTypeDef definition

class ClusterEndpointTypeDef(TypedDict):
    Endpoint: NotRequired[str],
    Region: NotRequired[str],

ControlPanelTypeDef#

# ControlPanelTypeDef definition

class ControlPanelTypeDef(TypedDict):
    ClusterArn: NotRequired[str],
    ControlPanelArn: NotRequired[str],
    DefaultControlPanel: NotRequired[bool],
    Name: NotRequired[str],
    RoutingControlCount: NotRequired[int],
    Status: NotRequired[StatusType],  # (1)
    Owner: NotRequired[str],
  1. See StatusType

CreateClusterRequestRequestTypeDef#

# CreateClusterRequestRequestTypeDef definition

class CreateClusterRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    ClientToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateControlPanelRequestRequestTypeDef#

# CreateControlPanelRequestRequestTypeDef definition

class CreateControlPanelRequestRequestTypeDef(TypedDict):
    ClusterArn: str,
    ControlPanelName: str,
    ClientToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

CreateRoutingControlRequestRequestTypeDef#

# CreateRoutingControlRequestRequestTypeDef definition

class CreateRoutingControlRequestRequestTypeDef(TypedDict):
    ClusterArn: str,
    RoutingControlName: str,
    ClientToken: NotRequired[str],
    ControlPanelArn: NotRequired[str],

RoutingControlTypeDef#

# RoutingControlTypeDef definition

class RoutingControlTypeDef(TypedDict):
    ControlPanelArn: NotRequired[str],
    Name: NotRequired[str],
    RoutingControlArn: NotRequired[str],
    Status: NotRequired[StatusType],  # (1)
    Owner: NotRequired[str],
  1. See StatusType

DeleteClusterRequestRequestTypeDef#

# DeleteClusterRequestRequestTypeDef definition

class DeleteClusterRequestRequestTypeDef(TypedDict):
    ClusterArn: str,

DeleteControlPanelRequestRequestTypeDef#

# DeleteControlPanelRequestRequestTypeDef definition

class DeleteControlPanelRequestRequestTypeDef(TypedDict):
    ControlPanelArn: str,

DeleteRoutingControlRequestRequestTypeDef#

# DeleteRoutingControlRequestRequestTypeDef definition

class DeleteRoutingControlRequestRequestTypeDef(TypedDict):
    RoutingControlArn: str,

DeleteSafetyRuleRequestRequestTypeDef#

# DeleteSafetyRuleRequestRequestTypeDef definition

class DeleteSafetyRuleRequestRequestTypeDef(TypedDict):
    SafetyRuleArn: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeClusterRequestRequestTypeDef#

# DescribeClusterRequestRequestTypeDef definition

class DescribeClusterRequestRequestTypeDef(TypedDict):
    ClusterArn: str,

DescribeControlPanelRequestRequestTypeDef#

# DescribeControlPanelRequestRequestTypeDef definition

class DescribeControlPanelRequestRequestTypeDef(TypedDict):
    ControlPanelArn: str,

DescribeRoutingControlRequestRequestTypeDef#

# DescribeRoutingControlRequestRequestTypeDef definition

class DescribeRoutingControlRequestRequestTypeDef(TypedDict):
    RoutingControlArn: str,

DescribeSafetyRuleRequestRequestTypeDef#

# DescribeSafetyRuleRequestRequestTypeDef definition

class DescribeSafetyRuleRequestRequestTypeDef(TypedDict):
    SafetyRuleArn: str,

GatingRuleUpdateTypeDef#

# GatingRuleUpdateTypeDef definition

class GatingRuleUpdateTypeDef(TypedDict):
    Name: str,
    SafetyRuleArn: str,
    WaitPeriodMs: int,

GetResourcePolicyRequestRequestTypeDef#

# GetResourcePolicyRequestRequestTypeDef definition

class GetResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAssociatedRoute53HealthChecksRequestRequestTypeDef#

# ListAssociatedRoute53HealthChecksRequestRequestTypeDef definition

class ListAssociatedRoute53HealthChecksRequestRequestTypeDef(TypedDict):
    RoutingControlArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListClustersRequestRequestTypeDef#

# ListClustersRequestRequestTypeDef definition

class ListClustersRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListControlPanelsRequestRequestTypeDef#

# ListControlPanelsRequestRequestTypeDef definition

class ListControlPanelsRequestRequestTypeDef(TypedDict):
    ClusterArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListRoutingControlsRequestRequestTypeDef#

# ListRoutingControlsRequestRequestTypeDef definition

class ListRoutingControlsRequestRequestTypeDef(TypedDict):
    ControlPanelArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListSafetyRulesRequestRequestTypeDef#

# ListSafetyRulesRequestRequestTypeDef definition

class ListSafetyRulesRequestRequestTypeDef(TypedDict):
    ControlPanelArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateControlPanelRequestRequestTypeDef#

# UpdateControlPanelRequestRequestTypeDef definition

class UpdateControlPanelRequestRequestTypeDef(TypedDict):
    ControlPanelArn: str,
    ControlPanelName: str,

UpdateRoutingControlRequestRequestTypeDef#

# UpdateRoutingControlRequestRequestTypeDef definition

class UpdateRoutingControlRequestRequestTypeDef(TypedDict):
    RoutingControlArn: str,
    RoutingControlName: str,

AssertionRuleTypeDef#

# AssertionRuleTypeDef definition

class AssertionRuleTypeDef(TypedDict):
    AssertedControls: List[str],
    ControlPanelArn: str,
    Name: str,
    RuleConfig: RuleConfigTypeDef,  # (1)
    SafetyRuleArn: str,
    Status: StatusType,  # (2)
    WaitPeriodMs: int,
    Owner: NotRequired[str],
  1. See RuleConfigTypeDef
  2. See StatusType

GatingRuleTypeDef#

# GatingRuleTypeDef definition

class GatingRuleTypeDef(TypedDict):
    ControlPanelArn: str,
    GatingControls: List[str],
    Name: str,
    RuleConfig: RuleConfigTypeDef,  # (1)
    SafetyRuleArn: str,
    Status: StatusType,  # (2)
    TargetControls: List[str],
    WaitPeriodMs: int,
    Owner: NotRequired[str],
  1. See RuleConfigTypeDef
  2. See StatusType

NewAssertionRuleTypeDef#

# NewAssertionRuleTypeDef definition

class NewAssertionRuleTypeDef(TypedDict):
    AssertedControls: Sequence[str],
    ControlPanelArn: str,
    Name: str,
    RuleConfig: RuleConfigTypeDef,  # (1)
    WaitPeriodMs: int,
  1. See RuleConfigTypeDef

NewGatingRuleTypeDef#

# NewGatingRuleTypeDef definition

class NewGatingRuleTypeDef(TypedDict):
    ControlPanelArn: str,
    GatingControls: Sequence[str],
    Name: str,
    RuleConfig: RuleConfigTypeDef,  # (1)
    TargetControls: Sequence[str],
    WaitPeriodMs: int,
  1. See RuleConfigTypeDef

ClusterTypeDef#

# ClusterTypeDef definition

class ClusterTypeDef(TypedDict):
    ClusterArn: NotRequired[str],
    ClusterEndpoints: NotRequired[List[ClusterEndpointTypeDef]],  # (1)
    Name: NotRequired[str],
    Status: NotRequired[StatusType],  # (2)
    Owner: NotRequired[str],
  1. See ClusterEndpointTypeDef
  2. See StatusType

CreateControlPanelResponseTypeDef#

# CreateControlPanelResponseTypeDef definition

class CreateControlPanelResponseTypeDef(TypedDict):
    ControlPanel: ControlPanelTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ControlPanelTypeDef
  2. See ResponseMetadataTypeDef

DescribeControlPanelResponseTypeDef#

# DescribeControlPanelResponseTypeDef definition

class DescribeControlPanelResponseTypeDef(TypedDict):
    ControlPanel: ControlPanelTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ControlPanelTypeDef
  2. See ResponseMetadataTypeDef

GetResourcePolicyResponseTypeDef#

# GetResourcePolicyResponseTypeDef definition

class GetResourcePolicyResponseTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAssociatedRoute53HealthChecksResponseTypeDef#

# ListAssociatedRoute53HealthChecksResponseTypeDef definition

class ListAssociatedRoute53HealthChecksResponseTypeDef(TypedDict):
    HealthCheckIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListControlPanelsResponseTypeDef#

# ListControlPanelsResponseTypeDef definition

class ListControlPanelsResponseTypeDef(TypedDict):
    ControlPanels: List[ControlPanelTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ControlPanelTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateControlPanelResponseTypeDef#

# UpdateControlPanelResponseTypeDef definition

class UpdateControlPanelResponseTypeDef(TypedDict):
    ControlPanel: ControlPanelTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ControlPanelTypeDef
  2. See ResponseMetadataTypeDef

CreateRoutingControlResponseTypeDef#

# CreateRoutingControlResponseTypeDef definition

class CreateRoutingControlResponseTypeDef(TypedDict):
    RoutingControl: RoutingControlTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutingControlTypeDef
  2. See ResponseMetadataTypeDef

DescribeRoutingControlResponseTypeDef#

# DescribeRoutingControlResponseTypeDef definition

class DescribeRoutingControlResponseTypeDef(TypedDict):
    RoutingControl: RoutingControlTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutingControlTypeDef
  2. See ResponseMetadataTypeDef

ListRoutingControlsResponseTypeDef#

# ListRoutingControlsResponseTypeDef definition

class ListRoutingControlsResponseTypeDef(TypedDict):
    NextToken: str,
    RoutingControls: List[RoutingControlTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutingControlTypeDef
  2. See ResponseMetadataTypeDef

UpdateRoutingControlResponseTypeDef#

# UpdateRoutingControlResponseTypeDef definition

class UpdateRoutingControlResponseTypeDef(TypedDict):
    RoutingControl: RoutingControlTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutingControlTypeDef
  2. See ResponseMetadataTypeDef

DescribeClusterRequestClusterCreatedWaitTypeDef#

# DescribeClusterRequestClusterCreatedWaitTypeDef definition

class DescribeClusterRequestClusterCreatedWaitTypeDef(TypedDict):
    ClusterArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeClusterRequestClusterDeletedWaitTypeDef#

# DescribeClusterRequestClusterDeletedWaitTypeDef definition

class DescribeClusterRequestClusterDeletedWaitTypeDef(TypedDict):
    ClusterArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeControlPanelRequestControlPanelCreatedWaitTypeDef#

# DescribeControlPanelRequestControlPanelCreatedWaitTypeDef definition

class DescribeControlPanelRequestControlPanelCreatedWaitTypeDef(TypedDict):
    ControlPanelArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeControlPanelRequestControlPanelDeletedWaitTypeDef#

# DescribeControlPanelRequestControlPanelDeletedWaitTypeDef definition

class DescribeControlPanelRequestControlPanelDeletedWaitTypeDef(TypedDict):
    ControlPanelArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeRoutingControlRequestRoutingControlCreatedWaitTypeDef#

# DescribeRoutingControlRequestRoutingControlCreatedWaitTypeDef definition

class DescribeRoutingControlRequestRoutingControlCreatedWaitTypeDef(TypedDict):
    RoutingControlArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeRoutingControlRequestRoutingControlDeletedWaitTypeDef#

# DescribeRoutingControlRequestRoutingControlDeletedWaitTypeDef definition

class DescribeRoutingControlRequestRoutingControlDeletedWaitTypeDef(TypedDict):
    RoutingControlArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

UpdateSafetyRuleRequestRequestTypeDef#

# UpdateSafetyRuleRequestRequestTypeDef definition

class UpdateSafetyRuleRequestRequestTypeDef(TypedDict):
    AssertionRuleUpdate: NotRequired[AssertionRuleUpdateTypeDef],  # (1)
    GatingRuleUpdate: NotRequired[GatingRuleUpdateTypeDef],  # (2)
  1. See AssertionRuleUpdateTypeDef
  2. See GatingRuleUpdateTypeDef

ListAssociatedRoute53HealthChecksRequestListAssociatedRoute53HealthChecksPaginateTypeDef#

# ListAssociatedRoute53HealthChecksRequestListAssociatedRoute53HealthChecksPaginateTypeDef definition

class ListAssociatedRoute53HealthChecksRequestListAssociatedRoute53HealthChecksPaginateTypeDef(TypedDict):
    RoutingControlArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListClustersRequestListClustersPaginateTypeDef#

# ListClustersRequestListClustersPaginateTypeDef definition

class ListClustersRequestListClustersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListControlPanelsRequestListControlPanelsPaginateTypeDef#

# ListControlPanelsRequestListControlPanelsPaginateTypeDef definition

class ListControlPanelsRequestListControlPanelsPaginateTypeDef(TypedDict):
    ClusterArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRoutingControlsRequestListRoutingControlsPaginateTypeDef#

# ListRoutingControlsRequestListRoutingControlsPaginateTypeDef definition

class ListRoutingControlsRequestListRoutingControlsPaginateTypeDef(TypedDict):
    ControlPanelArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSafetyRulesRequestListSafetyRulesPaginateTypeDef#

# ListSafetyRulesRequestListSafetyRulesPaginateTypeDef definition

class ListSafetyRulesRequestListSafetyRulesPaginateTypeDef(TypedDict):
    ControlPanelArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

CreateSafetyRuleResponseTypeDef#

# CreateSafetyRuleResponseTypeDef definition

class CreateSafetyRuleResponseTypeDef(TypedDict):
    AssertionRule: AssertionRuleTypeDef,  # (1)
    GatingRule: GatingRuleTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssertionRuleTypeDef
  2. See GatingRuleTypeDef
  3. See ResponseMetadataTypeDef

DescribeSafetyRuleResponseTypeDef#

# DescribeSafetyRuleResponseTypeDef definition

class DescribeSafetyRuleResponseTypeDef(TypedDict):
    AssertionRule: AssertionRuleTypeDef,  # (1)
    GatingRule: GatingRuleTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssertionRuleTypeDef
  2. See GatingRuleTypeDef
  3. See ResponseMetadataTypeDef

RuleTypeDef#

# RuleTypeDef definition

class RuleTypeDef(TypedDict):
    ASSERTION: NotRequired[AssertionRuleTypeDef],  # (1)
    GATING: NotRequired[GatingRuleTypeDef],  # (2)
  1. See AssertionRuleTypeDef
  2. See GatingRuleTypeDef

UpdateSafetyRuleResponseTypeDef