Skip to content

Type definitions#

Index > ARCRegionswitch > Type definitions

Auto-generated documentation for ARCRegionswitch type annotations stubs module mypy-boto3-arc-region-switch.

ParallelExecutionBlockConfigurationUnionTypeDef#

# ParallelExecutionBlockConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import ParallelExecutionBlockConfigurationUnionTypeDef


def get_value() -> ParallelExecutionBlockConfigurationUnionTypeDef:
    return ...


# ParallelExecutionBlockConfigurationUnionTypeDef definition

ParallelExecutionBlockConfigurationUnionTypeDef = Union[
    ParallelExecutionBlockConfigurationTypeDef,  # (1)
    ParallelExecutionBlockConfigurationOutputTypeDef,  # (2)
]
  1. See ParallelExecutionBlockConfigurationTypeDef
  2. See ParallelExecutionBlockConfigurationOutputTypeDef

ArcRoutingControlConfigurationUnionTypeDef#

# ArcRoutingControlConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import ArcRoutingControlConfigurationUnionTypeDef


def get_value() -> ArcRoutingControlConfigurationUnionTypeDef:
    return ...


# ArcRoutingControlConfigurationUnionTypeDef definition

ArcRoutingControlConfigurationUnionTypeDef = Union[
    ArcRoutingControlConfigurationTypeDef,  # (1)
    ArcRoutingControlConfigurationOutputTypeDef,  # (2)
]
  1. See ArcRoutingControlConfigurationTypeDef
  2. See ArcRoutingControlConfigurationOutputTypeDef

CustomActionLambdaConfigurationUnionTypeDef#

# CustomActionLambdaConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import CustomActionLambdaConfigurationUnionTypeDef


def get_value() -> CustomActionLambdaConfigurationUnionTypeDef:
    return ...


# CustomActionLambdaConfigurationUnionTypeDef definition

CustomActionLambdaConfigurationUnionTypeDef = Union[
    CustomActionLambdaConfigurationTypeDef,  # (1)
    CustomActionLambdaConfigurationOutputTypeDef,  # (2)
]
  1. See CustomActionLambdaConfigurationTypeDef
  2. See CustomActionLambdaConfigurationOutputTypeDef

DocumentDbConfigurationUnionTypeDef#

# DocumentDbConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import DocumentDbConfigurationUnionTypeDef


def get_value() -> DocumentDbConfigurationUnionTypeDef:
    return ...


# DocumentDbConfigurationUnionTypeDef definition

DocumentDbConfigurationUnionTypeDef = Union[
    DocumentDbConfigurationTypeDef,  # (1)
    DocumentDbConfigurationOutputTypeDef,  # (2)
]
  1. See DocumentDbConfigurationTypeDef
  2. See DocumentDbConfigurationOutputTypeDef

Ec2AsgCapacityIncreaseConfigurationUnionTypeDef#

# Ec2AsgCapacityIncreaseConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import Ec2AsgCapacityIncreaseConfigurationUnionTypeDef


def get_value() -> Ec2AsgCapacityIncreaseConfigurationUnionTypeDef:
    return ...


# Ec2AsgCapacityIncreaseConfigurationUnionTypeDef definition

Ec2AsgCapacityIncreaseConfigurationUnionTypeDef = Union[
    Ec2AsgCapacityIncreaseConfigurationTypeDef,  # (1)
    Ec2AsgCapacityIncreaseConfigurationOutputTypeDef,  # (2)
]
  1. See Ec2AsgCapacityIncreaseConfigurationTypeDef
  2. See Ec2AsgCapacityIncreaseConfigurationOutputTypeDef

EcsCapacityIncreaseConfigurationUnionTypeDef#

# EcsCapacityIncreaseConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import EcsCapacityIncreaseConfigurationUnionTypeDef


def get_value() -> EcsCapacityIncreaseConfigurationUnionTypeDef:
    return ...


# EcsCapacityIncreaseConfigurationUnionTypeDef definition

EcsCapacityIncreaseConfigurationUnionTypeDef = Union[
    EcsCapacityIncreaseConfigurationTypeDef,  # (1)
    EcsCapacityIncreaseConfigurationOutputTypeDef,  # (2)
]
  1. See EcsCapacityIncreaseConfigurationTypeDef
  2. See EcsCapacityIncreaseConfigurationOutputTypeDef

EksResourceScalingConfigurationUnionTypeDef#

# EksResourceScalingConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import EksResourceScalingConfigurationUnionTypeDef


def get_value() -> EksResourceScalingConfigurationUnionTypeDef:
    return ...


# EksResourceScalingConfigurationUnionTypeDef definition

EksResourceScalingConfigurationUnionTypeDef = Union[
    EksResourceScalingConfigurationTypeDef,  # (1)
    EksResourceScalingConfigurationOutputTypeDef,  # (2)
]
  1. See EksResourceScalingConfigurationTypeDef
  2. See EksResourceScalingConfigurationOutputTypeDef

GlobalAuroraConfigurationUnionTypeDef#

# GlobalAuroraConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import GlobalAuroraConfigurationUnionTypeDef


def get_value() -> GlobalAuroraConfigurationUnionTypeDef:
    return ...


# GlobalAuroraConfigurationUnionTypeDef definition

GlobalAuroraConfigurationUnionTypeDef = Union[
    GlobalAuroraConfigurationTypeDef,  # (1)
    GlobalAuroraConfigurationOutputTypeDef,  # (2)
]
  1. See GlobalAuroraConfigurationTypeDef
  2. See GlobalAuroraConfigurationOutputTypeDef

Route53HealthCheckConfigurationUnionTypeDef#

# Route53HealthCheckConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import Route53HealthCheckConfigurationUnionTypeDef


def get_value() -> Route53HealthCheckConfigurationUnionTypeDef:
    return ...


# Route53HealthCheckConfigurationUnionTypeDef definition

Route53HealthCheckConfigurationUnionTypeDef = Union[
    Route53HealthCheckConfigurationTypeDef,  # (1)
    Route53HealthCheckConfigurationOutputTypeDef,  # (2)
]
  1. See Route53HealthCheckConfigurationTypeDef
  2. See Route53HealthCheckConfigurationOutputTypeDef

TriggerUnionTypeDef#

# TriggerUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import TriggerUnionTypeDef


def get_value() -> TriggerUnionTypeDef:
    return ...


# TriggerUnionTypeDef definition

TriggerUnionTypeDef = Union[
    TriggerTypeDef,  # (1)
    TriggerOutputTypeDef,  # (2)
]
  1. See TriggerTypeDef
  2. See TriggerOutputTypeDef

ReportConfigurationUnionTypeDef#

# ReportConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import ReportConfigurationUnionTypeDef


def get_value() -> ReportConfigurationUnionTypeDef:
    return ...


# ReportConfigurationUnionTypeDef definition

ReportConfigurationUnionTypeDef = Union[
    ReportConfigurationTypeDef,  # (1)
    ReportConfigurationOutputTypeDef,  # (2)
]
  1. See ReportConfigurationTypeDef
  2. See ReportConfigurationOutputTypeDef

ExecutionBlockConfigurationUnionTypeDef#

# ExecutionBlockConfigurationUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionBlockConfigurationUnionTypeDef


def get_value() -> ExecutionBlockConfigurationUnionTypeDef:
    return ...


# ExecutionBlockConfigurationUnionTypeDef definition

ExecutionBlockConfigurationUnionTypeDef = Union[
    ExecutionBlockConfigurationTypeDef,  # (1)
    ExecutionBlockConfigurationOutputTypeDef,  # (2)
]
  1. See ExecutionBlockConfigurationTypeDef
  2. See ExecutionBlockConfigurationOutputTypeDef

StepUnionTypeDef#

# StepUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import StepUnionTypeDef


def get_value() -> StepUnionTypeDef:
    return ...


# StepUnionTypeDef definition

StepUnionTypeDef = Union[
    StepTypeDef,  # (1)
    StepOutputTypeDef,  # (2)
]
  1. See StepTypeDef
  2. See StepOutputTypeDef

WorkflowUnionTypeDef#

# WorkflowUnionTypeDef Union usage example

from mypy_boto3_arc_region_switch.type_defs import WorkflowUnionTypeDef


def get_value() -> WorkflowUnionTypeDef:
    return ...


# WorkflowUnionTypeDef definition

WorkflowUnionTypeDef = Union[
    WorkflowTypeDef,  # (1)
    WorkflowOutputTypeDef,  # (2)
]
  1. See WorkflowTypeDef
  2. See WorkflowOutputTypeDef

AbbreviatedExecutionTypeDef#

# AbbreviatedExecutionTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import AbbreviatedExecutionTypeDef


def get_value() -> AbbreviatedExecutionTypeDef:
    return {
        "planArn": ...,
    }


# AbbreviatedExecutionTypeDef definition

class AbbreviatedExecutionTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    startTime: datetime.datetime,
    mode: ExecutionModeType,  # (1)
    executionState: ExecutionStateType,  # (2)
    executionAction: ExecutionActionType,  # (3)
    executionRegion: str,
    version: NotRequired[str],
    updatedAt: NotRequired[datetime.datetime],
    comment: NotRequired[str],
    endTime: NotRequired[datetime.datetime],
    actualRecoveryTime: NotRequired[str],
  1. See ExecutionModeType
  2. See ExecutionStateType
  3. See ExecutionActionType

AbbreviatedPlanTypeDef#

# AbbreviatedPlanTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import AbbreviatedPlanTypeDef


def get_value() -> AbbreviatedPlanTypeDef:
    return {
        "arn": ...,
    }


# AbbreviatedPlanTypeDef definition

class AbbreviatedPlanTypeDef(TypedDict):
    arn: str,
    owner: str,
    name: str,
    regions: list[str],
    recoveryApproach: RecoveryApproachType,  # (1)
    primaryRegion: NotRequired[str],
    version: NotRequired[str],
    updatedAt: NotRequired[datetime.datetime],
    description: NotRequired[str],
    executionRole: NotRequired[str],
    activePlanExecution: NotRequired[str],
    recoveryTimeObjectiveMinutes: NotRequired[int],
  1. See RecoveryApproachType

ApprovePlanExecutionStepRequestTypeDef#

# ApprovePlanExecutionStepRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ApprovePlanExecutionStepRequestTypeDef


def get_value() -> ApprovePlanExecutionStepRequestTypeDef:
    return {
        "planArn": ...,
    }


# ApprovePlanExecutionStepRequestTypeDef definition

class ApprovePlanExecutionStepRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    stepName: str,
    approval: ApprovalType,  # (1)
    comment: NotRequired[str],
  1. See ApprovalType

ArcRoutingControlStateTypeDef#

# ArcRoutingControlStateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ArcRoutingControlStateTypeDef


def get_value() -> ArcRoutingControlStateTypeDef:
    return {
        "routingControlArn": ...,
    }


# ArcRoutingControlStateTypeDef definition

class ArcRoutingControlStateTypeDef(TypedDict):
    routingControlArn: str,
    state: RoutingControlStateChangeType,  # (1)
  1. See RoutingControlStateChangeType

AsgTypeDef#

# AsgTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import AsgTypeDef


def get_value() -> AsgTypeDef:
    return {
        "crossAccountRole": ...,
    }


# AsgTypeDef definition

class AsgTypeDef(TypedDict):
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    arn: NotRequired[str],

AssociatedAlarmTypeDef#

# AssociatedAlarmTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import AssociatedAlarmTypeDef


def get_value() -> AssociatedAlarmTypeDef:
    return {
        "crossAccountRole": ...,
    }


# AssociatedAlarmTypeDef definition

class AssociatedAlarmTypeDef(TypedDict):
    resourceIdentifier: str,
    alarmType: AlarmTypeType,  # (1)
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
  1. See AlarmTypeType

CancelPlanExecutionRequestTypeDef#

# CancelPlanExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import CancelPlanExecutionRequestTypeDef


def get_value() -> CancelPlanExecutionRequestTypeDef:
    return {
        "planArn": ...,
    }


# CancelPlanExecutionRequestTypeDef definition

class CancelPlanExecutionRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    comment: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

LambdaUngracefulTypeDef#

# LambdaUngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import LambdaUngracefulTypeDef


def get_value() -> LambdaUngracefulTypeDef:
    return {
        "behavior": ...,
    }


# LambdaUngracefulTypeDef definition

class LambdaUngracefulTypeDef(TypedDict):
    behavior: NotRequired[LambdaUngracefulBehaviorType],  # (1)
  1. See LambdaUngracefulBehaviorType

LambdasTypeDef#

# LambdasTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import LambdasTypeDef


def get_value() -> LambdasTypeDef:
    return {
        "crossAccountRole": ...,
    }


# LambdasTypeDef definition

class LambdasTypeDef(TypedDict):
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    arn: NotRequired[str],

DeletePlanRequestTypeDef#

# DeletePlanRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import DeletePlanRequestTypeDef


def get_value() -> DeletePlanRequestTypeDef:
    return {
        "arn": ...,
    }


# DeletePlanRequestTypeDef definition

class DeletePlanRequestTypeDef(TypedDict):
    arn: str,

DocumentDbUngracefulTypeDef#

# DocumentDbUngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import DocumentDbUngracefulTypeDef


def get_value() -> DocumentDbUngracefulTypeDef:
    return {
        "ungraceful": ...,
    }


# DocumentDbUngracefulTypeDef definition

class DocumentDbUngracefulTypeDef(TypedDict):
    ungraceful: NotRequired[DocumentDbUngracefulBehaviorType],  # (1)
  1. See DocumentDbUngracefulBehaviorType

Ec2UngracefulTypeDef#

# Ec2UngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Ec2UngracefulTypeDef


def get_value() -> Ec2UngracefulTypeDef:
    return {
        "minimumSuccessPercentage": ...,
    }


# Ec2UngracefulTypeDef definition

class Ec2UngracefulTypeDef(TypedDict):
    minimumSuccessPercentage: int,

EcsUngracefulTypeDef#

# EcsUngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EcsUngracefulTypeDef


def get_value() -> EcsUngracefulTypeDef:
    return {
        "minimumSuccessPercentage": ...,
    }


# EcsUngracefulTypeDef definition

class EcsUngracefulTypeDef(TypedDict):
    minimumSuccessPercentage: int,

ServiceTypeDef#

# ServiceTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ServiceTypeDef


def get_value() -> ServiceTypeDef:
    return {
        "crossAccountRole": ...,
    }


# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    clusterArn: NotRequired[str],
    serviceArn: NotRequired[str],

EksClusterTypeDef#

# EksClusterTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EksClusterTypeDef


def get_value() -> EksClusterTypeDef:
    return {
        "crossAccountRole": ...,
    }


# EksClusterTypeDef definition

class EksClusterTypeDef(TypedDict):
    clusterArn: str,
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],

EksResourceScalingUngracefulTypeDef#

# EksResourceScalingUngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EksResourceScalingUngracefulTypeDef


def get_value() -> EksResourceScalingUngracefulTypeDef:
    return {
        "minimumSuccessPercentage": ...,
    }


# EksResourceScalingUngracefulTypeDef definition

class EksResourceScalingUngracefulTypeDef(TypedDict):
    minimumSuccessPercentage: int,

KubernetesResourceTypeTypeDef#

# KubernetesResourceTypeTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import KubernetesResourceTypeTypeDef


def get_value() -> KubernetesResourceTypeTypeDef:
    return {
        "apiVersion": ...,
    }


# KubernetesResourceTypeTypeDef definition

class KubernetesResourceTypeTypeDef(TypedDict):
    apiVersion: str,
    kind: str,

KubernetesScalingResourceTypeDef#

# KubernetesScalingResourceTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import KubernetesScalingResourceTypeDef


def get_value() -> KubernetesScalingResourceTypeDef:
    return {
        "namespace": ...,
    }


# KubernetesScalingResourceTypeDef definition

class KubernetesScalingResourceTypeDef(TypedDict):
    namespace: str,
    name: str,
    hpaName: NotRequired[str],

ExecutionApprovalConfigurationTypeDef#

# ExecutionApprovalConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionApprovalConfigurationTypeDef


def get_value() -> ExecutionApprovalConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# ExecutionApprovalConfigurationTypeDef definition

class ExecutionApprovalConfigurationTypeDef(TypedDict):
    approvalRole: str,
    timeoutMinutes: NotRequired[int],

ParallelExecutionBlockConfigurationOutputTypeDef#

# ParallelExecutionBlockConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ParallelExecutionBlockConfigurationOutputTypeDef


def get_value() -> ParallelExecutionBlockConfigurationOutputTypeDef:
    return {
        "steps": ...,
    }


# ParallelExecutionBlockConfigurationOutputTypeDef definition

class ParallelExecutionBlockConfigurationOutputTypeDef(TypedDict):
    steps: list[dict[str, Any]],

RegionSwitchPlanConfigurationTypeDef#

# RegionSwitchPlanConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import RegionSwitchPlanConfigurationTypeDef


def get_value() -> RegionSwitchPlanConfigurationTypeDef:
    return {
        "crossAccountRole": ...,
    }


# RegionSwitchPlanConfigurationTypeDef definition

class RegionSwitchPlanConfigurationTypeDef(TypedDict):
    arn: str,
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],

ParallelExecutionBlockConfigurationPaginatorTypeDef#

# ParallelExecutionBlockConfigurationPaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ParallelExecutionBlockConfigurationPaginatorTypeDef


def get_value() -> ParallelExecutionBlockConfigurationPaginatorTypeDef:
    return {
        "steps": ...,
    }


# ParallelExecutionBlockConfigurationPaginatorTypeDef definition

class ParallelExecutionBlockConfigurationPaginatorTypeDef(TypedDict):
    steps: list[dict[str, Any]],

ExecutionEventTypeDef#

# ExecutionEventTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionEventTypeDef


def get_value() -> ExecutionEventTypeDef:
    return {
        "timestamp": ...,
    }


# ExecutionEventTypeDef definition

class ExecutionEventTypeDef(TypedDict):
    eventId: str,
    timestamp: NotRequired[datetime.datetime],
    type: NotRequired[ExecutionEventTypeType],  # (1)
    stepName: NotRequired[str],
    executionBlockType: NotRequired[ExecutionBlockTypeType],  # (2)
    resources: NotRequired[list[str]],
    error: NotRequired[str],
    description: NotRequired[str],
    previousEventId: NotRequired[str],
  1. See ExecutionEventTypeType
  2. See ExecutionBlockTypeType

FailedReportOutputTypeDef#

# FailedReportOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import FailedReportOutputTypeDef


def get_value() -> FailedReportOutputTypeDef:
    return {
        "errorCode": ...,
    }


# FailedReportOutputTypeDef definition

class FailedReportOutputTypeDef(TypedDict):
    errorCode: NotRequired[FailedReportErrorCodeType],  # (1)
    errorMessage: NotRequired[str],
  1. See FailedReportErrorCodeType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

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

GetPlanEvaluationStatusRequestTypeDef#

# GetPlanEvaluationStatusRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanEvaluationStatusRequestTypeDef


def get_value() -> GetPlanEvaluationStatusRequestTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanEvaluationStatusRequestTypeDef definition

class GetPlanEvaluationStatusRequestTypeDef(TypedDict):
    planArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import WaiterConfigTypeDef


def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }


# WaiterConfigTypeDef definition

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

GetPlanExecutionRequestTypeDef#

# GetPlanExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanExecutionRequestTypeDef


def get_value() -> GetPlanExecutionRequestTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanExecutionRequestTypeDef definition

class GetPlanExecutionRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

StepStateTypeDef#

# StepStateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StepStateTypeDef


def get_value() -> StepStateTypeDef:
    return {
        "name": ...,
    }


# StepStateTypeDef definition

class StepStateTypeDef(TypedDict):
    name: NotRequired[str],
    status: NotRequired[StepStatusType],  # (1)
    startTime: NotRequired[datetime.datetime],
    endTime: NotRequired[datetime.datetime],
    stepMode: NotRequired[ExecutionModeType],  # (2)
  1. See StepStatusType
  2. See ExecutionModeType

GetPlanInRegionRequestTypeDef#

# GetPlanInRegionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanInRegionRequestTypeDef


def get_value() -> GetPlanInRegionRequestTypeDef:
    return {
        "arn": ...,
    }


# GetPlanInRegionRequestTypeDef definition

class GetPlanInRegionRequestTypeDef(TypedDict):
    arn: str,

GetPlanRequestTypeDef#

# GetPlanRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanRequestTypeDef


def get_value() -> GetPlanRequestTypeDef:
    return {
        "arn": ...,
    }


# GetPlanRequestTypeDef definition

class GetPlanRequestTypeDef(TypedDict):
    arn: str,

GlobalAuroraUngracefulTypeDef#

# GlobalAuroraUngracefulTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GlobalAuroraUngracefulTypeDef


def get_value() -> GlobalAuroraUngracefulTypeDef:
    return {
        "ungraceful": ...,
    }


# GlobalAuroraUngracefulTypeDef definition

class GlobalAuroraUngracefulTypeDef(TypedDict):
    ungraceful: NotRequired[GlobalAuroraUngracefulBehaviorType],  # (1)
  1. See GlobalAuroraUngracefulBehaviorType

ListPlanExecutionEventsRequestTypeDef#

# ListPlanExecutionEventsRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionEventsRequestTypeDef


def get_value() -> ListPlanExecutionEventsRequestTypeDef:
    return {
        "planArn": ...,
    }


# ListPlanExecutionEventsRequestTypeDef definition

class ListPlanExecutionEventsRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    name: NotRequired[str],

ListPlanExecutionsRequestTypeDef#

# ListPlanExecutionsRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionsRequestTypeDef


def get_value() -> ListPlanExecutionsRequestTypeDef:
    return {
        "planArn": ...,
    }


# ListPlanExecutionsRequestTypeDef definition

class ListPlanExecutionsRequestTypeDef(TypedDict):
    planArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    state: NotRequired[ExecutionStateType],  # (1)
  1. See ExecutionStateType

ListPlansInRegionRequestTypeDef#

# ListPlansInRegionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansInRegionRequestTypeDef


def get_value() -> ListPlansInRegionRequestTypeDef:
    return {
        "maxResults": ...,
    }


# ListPlansInRegionRequestTypeDef definition

class ListPlansInRegionRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListPlansRequestTypeDef#

# ListPlansRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansRequestTypeDef


def get_value() -> ListPlansRequestTypeDef:
    return {
        "maxResults": ...,
    }


# ListPlansRequestTypeDef definition

class ListPlansRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListRoute53HealthChecksInRegionRequestTypeDef#

# ListRoute53HealthChecksInRegionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksInRegionRequestTypeDef


def get_value() -> ListRoute53HealthChecksInRegionRequestTypeDef:
    return {
        "arn": ...,
    }


# ListRoute53HealthChecksInRegionRequestTypeDef definition

class ListRoute53HealthChecksInRegionRequestTypeDef(TypedDict):
    arn: str,
    hostedZoneId: NotRequired[str],
    recordName: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

Route53HealthCheckTypeDef#

# Route53HealthCheckTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Route53HealthCheckTypeDef


def get_value() -> Route53HealthCheckTypeDef:
    return {
        "hostedZoneId": ...,
    }


# Route53HealthCheckTypeDef definition

class Route53HealthCheckTypeDef(TypedDict):
    hostedZoneId: str,
    recordName: str,
    region: str,
    healthCheckId: NotRequired[str],
    status: NotRequired[Route53HealthCheckStatusType],  # (1)
  1. See Route53HealthCheckStatusType

ListRoute53HealthChecksRequestTypeDef#

# ListRoute53HealthChecksRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksRequestTypeDef


def get_value() -> ListRoute53HealthChecksRequestTypeDef:
    return {
        "arn": ...,
    }


# ListRoute53HealthChecksRequestTypeDef definition

class ListRoute53HealthChecksRequestTypeDef(TypedDict):
    arn: str,
    hostedZoneId: NotRequired[str],
    recordName: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    arn: str,

MinimalWorkflowTypeDef#

# MinimalWorkflowTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import MinimalWorkflowTypeDef


def get_value() -> MinimalWorkflowTypeDef:
    return {
        "action": ...,
    }


# MinimalWorkflowTypeDef definition

class MinimalWorkflowTypeDef(TypedDict):
    action: NotRequired[ExecutionActionType],  # (1)
    name: NotRequired[str],
  1. See ExecutionActionType

ParallelExecutionBlockConfigurationTypeDef#

# ParallelExecutionBlockConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ParallelExecutionBlockConfigurationTypeDef


def get_value() -> ParallelExecutionBlockConfigurationTypeDef:
    return {
        "steps": ...,
    }


# ParallelExecutionBlockConfigurationTypeDef definition

class ParallelExecutionBlockConfigurationTypeDef(TypedDict):
    steps: Sequence[Mapping[str, Any]],

S3ReportOutputConfigurationTypeDef#

# S3ReportOutputConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import S3ReportOutputConfigurationTypeDef


def get_value() -> S3ReportOutputConfigurationTypeDef:
    return {
        "bucketPath": ...,
    }


# S3ReportOutputConfigurationTypeDef definition

class S3ReportOutputConfigurationTypeDef(TypedDict):
    bucketPath: NotRequired[str],
    bucketOwner: NotRequired[str],

S3ReportOutputTypeDef#

# S3ReportOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import S3ReportOutputTypeDef


def get_value() -> S3ReportOutputTypeDef:
    return {
        "s3ObjectKey": ...,
    }


# S3ReportOutputTypeDef definition

class S3ReportOutputTypeDef(TypedDict):
    s3ObjectKey: NotRequired[str],

Route53ResourceRecordSetTypeDef#

# Route53ResourceRecordSetTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Route53ResourceRecordSetTypeDef


def get_value() -> Route53ResourceRecordSetTypeDef:
    return {
        "recordSetIdentifier": ...,
    }


# Route53ResourceRecordSetTypeDef definition

class Route53ResourceRecordSetTypeDef(TypedDict):
    recordSetIdentifier: NotRequired[str],
    region: NotRequired[str],

StartPlanExecutionRequestTypeDef#

# StartPlanExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StartPlanExecutionRequestTypeDef


def get_value() -> StartPlanExecutionRequestTypeDef:
    return {
        "planArn": ...,
    }


# StartPlanExecutionRequestTypeDef definition

class StartPlanExecutionRequestTypeDef(TypedDict):
    planArn: str,
    targetRegion: str,
    action: ExecutionActionType,  # (1)
    mode: NotRequired[ExecutionModeType],  # (2)
    comment: NotRequired[str],
    latestVersion: NotRequired[str],
  1. See ExecutionActionType
  2. See ExecutionModeType

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    arn: str,
    tags: Mapping[str, str],

TriggerConditionTypeDef#

# TriggerConditionTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import TriggerConditionTypeDef


def get_value() -> TriggerConditionTypeDef:
    return {
        "associatedAlarmName": ...,
    }


# TriggerConditionTypeDef definition

class TriggerConditionTypeDef(TypedDict):
    associatedAlarmName: str,
    condition: AlarmConditionType,  # (1)
  1. See AlarmConditionType

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# UntagResourceRequestTypeDef definition

class UntagResourceRequestTypeDef(TypedDict):
    arn: str,
    resourceTagKeys: Sequence[str],

UpdatePlanExecutionRequestTypeDef#

# UpdatePlanExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import UpdatePlanExecutionRequestTypeDef


def get_value() -> UpdatePlanExecutionRequestTypeDef:
    return {
        "planArn": ...,
    }


# UpdatePlanExecutionRequestTypeDef definition

class UpdatePlanExecutionRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    action: UpdatePlanExecutionActionType,  # (1)
    comment: NotRequired[str],
  1. See UpdatePlanExecutionActionType

UpdatePlanExecutionStepRequestTypeDef#

# UpdatePlanExecutionStepRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import UpdatePlanExecutionStepRequestTypeDef


def get_value() -> UpdatePlanExecutionStepRequestTypeDef:
    return {
        "planArn": ...,
    }


# UpdatePlanExecutionStepRequestTypeDef definition

class UpdatePlanExecutionStepRequestTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    comment: str,
    stepName: str,
    actionToTake: UpdatePlanExecutionStepActionType,  # (1)
  1. See UpdatePlanExecutionStepActionType

ArcRoutingControlConfigurationOutputTypeDef#

# ArcRoutingControlConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ArcRoutingControlConfigurationOutputTypeDef


def get_value() -> ArcRoutingControlConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# ArcRoutingControlConfigurationOutputTypeDef definition

class ArcRoutingControlConfigurationOutputTypeDef(TypedDict):
    regionAndRoutingControls: dict[str, list[ArcRoutingControlStateTypeDef]],  # (1)
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
  1. See dict[str, list[ArcRoutingControlStateTypeDef]]

ArcRoutingControlConfigurationTypeDef#

# ArcRoutingControlConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ArcRoutingControlConfigurationTypeDef


def get_value() -> ArcRoutingControlConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# ArcRoutingControlConfigurationTypeDef definition

class ArcRoutingControlConfigurationTypeDef(TypedDict):
    regionAndRoutingControls: Mapping[str, Sequence[ArcRoutingControlStateTypeDef]],  # (1)
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
  1. See Mapping[str, Sequence[ArcRoutingControlStateTypeDef]]

ListPlanExecutionsResponseTypeDef#

# ListPlanExecutionsResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionsResponseTypeDef


def get_value() -> ListPlanExecutionsResponseTypeDef:
    return {
        "items": ...,
    }


# ListPlanExecutionsResponseTypeDef definition

class ListPlanExecutionsResponseTypeDef(TypedDict):
    items: list[AbbreviatedExecutionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[AbbreviatedExecutionTypeDef]
  2. See ResponseMetadataTypeDef

ListPlansInRegionResponseTypeDef#

# ListPlansInRegionResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansInRegionResponseTypeDef


def get_value() -> ListPlansInRegionResponseTypeDef:
    return {
        "plans": ...,
    }


# ListPlansInRegionResponseTypeDef definition

class ListPlansInRegionResponseTypeDef(TypedDict):
    plans: list[AbbreviatedPlanTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[AbbreviatedPlanTypeDef]
  2. See ResponseMetadataTypeDef

ListPlansResponseTypeDef#

# ListPlansResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansResponseTypeDef


def get_value() -> ListPlansResponseTypeDef:
    return {
        "plans": ...,
    }


# ListPlansResponseTypeDef definition

class ListPlansResponseTypeDef(TypedDict):
    plans: list[AbbreviatedPlanTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[AbbreviatedPlanTypeDef]
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "resourceTags": ...,
    }


# ListTagsForResourceResponseTypeDef definition

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

StartPlanExecutionResponseTypeDef#

# StartPlanExecutionResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StartPlanExecutionResponseTypeDef


def get_value() -> StartPlanExecutionResponseTypeDef:
    return {
        "executionId": ...,
    }


# StartPlanExecutionResponseTypeDef definition

class StartPlanExecutionResponseTypeDef(TypedDict):
    executionId: str,
    plan: str,
    planVersion: str,
    activateRegion: str,
    deactivateRegion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CustomActionLambdaConfigurationOutputTypeDef#

# CustomActionLambdaConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import CustomActionLambdaConfigurationOutputTypeDef


def get_value() -> CustomActionLambdaConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# CustomActionLambdaConfigurationOutputTypeDef definition

class CustomActionLambdaConfigurationOutputTypeDef(TypedDict):
    lambdas: list[LambdasTypeDef],  # (1)
    retryIntervalMinutes: float,
    regionToRun: RegionToRunInType,  # (2)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[LambdaUngracefulTypeDef],  # (3)
  1. See list[LambdasTypeDef]
  2. See RegionToRunInType
  3. See LambdaUngracefulTypeDef

CustomActionLambdaConfigurationTypeDef#

# CustomActionLambdaConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import CustomActionLambdaConfigurationTypeDef


def get_value() -> CustomActionLambdaConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# CustomActionLambdaConfigurationTypeDef definition

class CustomActionLambdaConfigurationTypeDef(TypedDict):
    lambdas: Sequence[LambdasTypeDef],  # (1)
    retryIntervalMinutes: float,
    regionToRun: RegionToRunInType,  # (2)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[LambdaUngracefulTypeDef],  # (3)
  1. See Sequence[LambdasTypeDef]
  2. See RegionToRunInType
  3. See LambdaUngracefulTypeDef

DocumentDbConfigurationOutputTypeDef#

# DocumentDbConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import DocumentDbConfigurationOutputTypeDef


def get_value() -> DocumentDbConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# DocumentDbConfigurationOutputTypeDef definition

class DocumentDbConfigurationOutputTypeDef(TypedDict):
    behavior: DocumentDbDefaultBehaviorType,  # (1)
    globalClusterIdentifier: str,
    databaseClusterArns: list[str],
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    ungraceful: NotRequired[DocumentDbUngracefulTypeDef],  # (2)
  1. See DocumentDbDefaultBehaviorType
  2. See DocumentDbUngracefulTypeDef

DocumentDbConfigurationTypeDef#

# DocumentDbConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import DocumentDbConfigurationTypeDef


def get_value() -> DocumentDbConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# DocumentDbConfigurationTypeDef definition

class DocumentDbConfigurationTypeDef(TypedDict):
    behavior: DocumentDbDefaultBehaviorType,  # (1)
    globalClusterIdentifier: str,
    databaseClusterArns: Sequence[str],
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    ungraceful: NotRequired[DocumentDbUngracefulTypeDef],  # (2)
  1. See DocumentDbDefaultBehaviorType
  2. See DocumentDbUngracefulTypeDef

Ec2AsgCapacityIncreaseConfigurationOutputTypeDef#

# Ec2AsgCapacityIncreaseConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Ec2AsgCapacityIncreaseConfigurationOutputTypeDef


def get_value() -> Ec2AsgCapacityIncreaseConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# Ec2AsgCapacityIncreaseConfigurationOutputTypeDef definition

class Ec2AsgCapacityIncreaseConfigurationOutputTypeDef(TypedDict):
    asgs: list[AsgTypeDef],  # (1)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[Ec2UngracefulTypeDef],  # (2)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[Ec2AsgCapacityMonitoringApproachType],  # (3)
  1. See list[AsgTypeDef]
  2. See Ec2UngracefulTypeDef
  3. See Ec2AsgCapacityMonitoringApproachType

Ec2AsgCapacityIncreaseConfigurationTypeDef#

# Ec2AsgCapacityIncreaseConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Ec2AsgCapacityIncreaseConfigurationTypeDef


def get_value() -> Ec2AsgCapacityIncreaseConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# Ec2AsgCapacityIncreaseConfigurationTypeDef definition

class Ec2AsgCapacityIncreaseConfigurationTypeDef(TypedDict):
    asgs: Sequence[AsgTypeDef],  # (1)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[Ec2UngracefulTypeDef],  # (2)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[Ec2AsgCapacityMonitoringApproachType],  # (3)
  1. See Sequence[AsgTypeDef]
  2. See Ec2UngracefulTypeDef
  3. See Ec2AsgCapacityMonitoringApproachType

EcsCapacityIncreaseConfigurationOutputTypeDef#

# EcsCapacityIncreaseConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EcsCapacityIncreaseConfigurationOutputTypeDef


def get_value() -> EcsCapacityIncreaseConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# EcsCapacityIncreaseConfigurationOutputTypeDef definition

class EcsCapacityIncreaseConfigurationOutputTypeDef(TypedDict):
    services: list[ServiceTypeDef],  # (1)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[EcsUngracefulTypeDef],  # (2)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[EcsCapacityMonitoringApproachType],  # (3)
  1. See list[ServiceTypeDef]
  2. See EcsUngracefulTypeDef
  3. See EcsCapacityMonitoringApproachType

EcsCapacityIncreaseConfigurationTypeDef#

# EcsCapacityIncreaseConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EcsCapacityIncreaseConfigurationTypeDef


def get_value() -> EcsCapacityIncreaseConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# EcsCapacityIncreaseConfigurationTypeDef definition

class EcsCapacityIncreaseConfigurationTypeDef(TypedDict):
    services: Sequence[ServiceTypeDef],  # (1)
    timeoutMinutes: NotRequired[int],
    ungraceful: NotRequired[EcsUngracefulTypeDef],  # (2)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[EcsCapacityMonitoringApproachType],  # (3)
  1. See Sequence[ServiceTypeDef]
  2. See EcsUngracefulTypeDef
  3. See EcsCapacityMonitoringApproachType

EksResourceScalingConfigurationOutputTypeDef#

# EksResourceScalingConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EksResourceScalingConfigurationOutputTypeDef


def get_value() -> EksResourceScalingConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# EksResourceScalingConfigurationOutputTypeDef definition

class EksResourceScalingConfigurationOutputTypeDef(TypedDict):
    kubernetesResourceType: KubernetesResourceTypeTypeDef,  # (1)
    timeoutMinutes: NotRequired[int],
    scalingResources: NotRequired[list[dict[str, dict[str, KubernetesScalingResourceTypeDef]]]],  # (2)
    eksClusters: NotRequired[list[EksClusterTypeDef]],  # (3)
    ungraceful: NotRequired[EksResourceScalingUngracefulTypeDef],  # (4)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[EksCapacityMonitoringApproachType],  # (5)
  1. See KubernetesResourceTypeTypeDef
  2. See list[dict[str, dict[str, KubernetesScalingResourceTypeDef]]]
  3. See list[EksClusterTypeDef]
  4. See EksResourceScalingUngracefulTypeDef
  5. See EksCapacityMonitoringApproachType

EksResourceScalingConfigurationTypeDef#

# EksResourceScalingConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import EksResourceScalingConfigurationTypeDef


def get_value() -> EksResourceScalingConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# EksResourceScalingConfigurationTypeDef definition

class EksResourceScalingConfigurationTypeDef(TypedDict):
    kubernetesResourceType: KubernetesResourceTypeTypeDef,  # (1)
    timeoutMinutes: NotRequired[int],
    scalingResources: NotRequired[Sequence[Mapping[str, Mapping[str, KubernetesScalingResourceTypeDef]]]],  # (2)
    eksClusters: NotRequired[Sequence[EksClusterTypeDef]],  # (3)
    ungraceful: NotRequired[EksResourceScalingUngracefulTypeDef],  # (4)
    targetPercent: NotRequired[int],
    capacityMonitoringApproach: NotRequired[EksCapacityMonitoringApproachType],  # (5)
  1. See KubernetesResourceTypeTypeDef
  2. See Sequence[Mapping[str, Mapping[str, KubernetesScalingResourceTypeDef]]]
  3. See Sequence[EksClusterTypeDef]
  4. See EksResourceScalingUngracefulTypeDef
  5. See EksCapacityMonitoringApproachType

ListPlanExecutionEventsResponseTypeDef#

# ListPlanExecutionEventsResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionEventsResponseTypeDef


def get_value() -> ListPlanExecutionEventsResponseTypeDef:
    return {
        "items": ...,
    }


# ListPlanExecutionEventsResponseTypeDef definition

class ListPlanExecutionEventsResponseTypeDef(TypedDict):
    items: list[ExecutionEventTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[ExecutionEventTypeDef]
  2. See ResponseMetadataTypeDef

GetPlanEvaluationStatusRequestPaginateTypeDef#

# GetPlanEvaluationStatusRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanEvaluationStatusRequestPaginateTypeDef


def get_value() -> GetPlanEvaluationStatusRequestPaginateTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanEvaluationStatusRequestPaginateTypeDef definition

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

GetPlanExecutionRequestPaginateTypeDef#

# GetPlanExecutionRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanExecutionRequestPaginateTypeDef


def get_value() -> GetPlanExecutionRequestPaginateTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanExecutionRequestPaginateTypeDef definition

class GetPlanExecutionRequestPaginateTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPlanExecutionEventsRequestPaginateTypeDef#

# ListPlanExecutionEventsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionEventsRequestPaginateTypeDef


def get_value() -> ListPlanExecutionEventsRequestPaginateTypeDef:
    return {
        "planArn": ...,
    }


# ListPlanExecutionEventsRequestPaginateTypeDef definition

class ListPlanExecutionEventsRequestPaginateTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    name: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPlanExecutionsRequestPaginateTypeDef#

# ListPlanExecutionsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlanExecutionsRequestPaginateTypeDef


def get_value() -> ListPlanExecutionsRequestPaginateTypeDef:
    return {
        "planArn": ...,
    }


# ListPlanExecutionsRequestPaginateTypeDef definition

class ListPlanExecutionsRequestPaginateTypeDef(TypedDict):
    planArn: str,
    state: NotRequired[ExecutionStateType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ExecutionStateType
  2. See PaginatorConfigTypeDef

ListPlansInRegionRequestPaginateTypeDef#

# ListPlansInRegionRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansInRegionRequestPaginateTypeDef


def get_value() -> ListPlansInRegionRequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListPlansInRegionRequestPaginateTypeDef definition

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

ListPlansRequestPaginateTypeDef#

# ListPlansRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListPlansRequestPaginateTypeDef


def get_value() -> ListPlansRequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListPlansRequestPaginateTypeDef definition

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

ListRoute53HealthChecksInRegionRequestPaginateTypeDef#

# ListRoute53HealthChecksInRegionRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksInRegionRequestPaginateTypeDef


def get_value() -> ListRoute53HealthChecksInRegionRequestPaginateTypeDef:
    return {
        "arn": ...,
    }


# ListRoute53HealthChecksInRegionRequestPaginateTypeDef definition

class ListRoute53HealthChecksInRegionRequestPaginateTypeDef(TypedDict):
    arn: str,
    hostedZoneId: NotRequired[str],
    recordName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRoute53HealthChecksRequestPaginateTypeDef#

# ListRoute53HealthChecksRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksRequestPaginateTypeDef


def get_value() -> ListRoute53HealthChecksRequestPaginateTypeDef:
    return {
        "arn": ...,
    }


# ListRoute53HealthChecksRequestPaginateTypeDef definition

class ListRoute53HealthChecksRequestPaginateTypeDef(TypedDict):
    arn: str,
    hostedZoneId: NotRequired[str],
    recordName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetPlanEvaluationStatusRequestWaitTypeDef#

# GetPlanEvaluationStatusRequestWaitTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanEvaluationStatusRequestWaitTypeDef


def get_value() -> GetPlanEvaluationStatusRequestWaitTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanEvaluationStatusRequestWaitTypeDef definition

class GetPlanEvaluationStatusRequestWaitTypeDef(TypedDict):
    planArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetPlanExecutionRequestWaitTypeDef#

# GetPlanExecutionRequestWaitTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanExecutionRequestWaitTypeDef


def get_value() -> GetPlanExecutionRequestWaitTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanExecutionRequestWaitTypeDef definition

class GetPlanExecutionRequestWaitTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GlobalAuroraConfigurationOutputTypeDef#

# GlobalAuroraConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GlobalAuroraConfigurationOutputTypeDef


def get_value() -> GlobalAuroraConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# GlobalAuroraConfigurationOutputTypeDef definition

class GlobalAuroraConfigurationOutputTypeDef(TypedDict):
    behavior: GlobalAuroraDefaultBehaviorType,  # (1)
    globalClusterIdentifier: str,
    databaseClusterArns: list[str],
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    ungraceful: NotRequired[GlobalAuroraUngracefulTypeDef],  # (2)
  1. See GlobalAuroraDefaultBehaviorType
  2. See GlobalAuroraUngracefulTypeDef

GlobalAuroraConfigurationTypeDef#

# GlobalAuroraConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GlobalAuroraConfigurationTypeDef


def get_value() -> GlobalAuroraConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# GlobalAuroraConfigurationTypeDef definition

class GlobalAuroraConfigurationTypeDef(TypedDict):
    behavior: GlobalAuroraDefaultBehaviorType,  # (1)
    globalClusterIdentifier: str,
    databaseClusterArns: Sequence[str],
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    ungraceful: NotRequired[GlobalAuroraUngracefulTypeDef],  # (2)
  1. See GlobalAuroraDefaultBehaviorType
  2. See GlobalAuroraUngracefulTypeDef

ListRoute53HealthChecksInRegionResponseTypeDef#

# ListRoute53HealthChecksInRegionResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksInRegionResponseTypeDef


def get_value() -> ListRoute53HealthChecksInRegionResponseTypeDef:
    return {
        "healthChecks": ...,
    }


# ListRoute53HealthChecksInRegionResponseTypeDef definition

class ListRoute53HealthChecksInRegionResponseTypeDef(TypedDict):
    healthChecks: list[Route53HealthCheckTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[Route53HealthCheckTypeDef]
  2. See ResponseMetadataTypeDef

ListRoute53HealthChecksResponseTypeDef#

# ListRoute53HealthChecksResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ListRoute53HealthChecksResponseTypeDef


def get_value() -> ListRoute53HealthChecksResponseTypeDef:
    return {
        "healthChecks": ...,
    }


# ListRoute53HealthChecksResponseTypeDef definition

class ListRoute53HealthChecksResponseTypeDef(TypedDict):
    healthChecks: list[Route53HealthCheckTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See list[Route53HealthCheckTypeDef]
  2. See ResponseMetadataTypeDef

ResourceWarningTypeDef#

# ResourceWarningTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ResourceWarningTypeDef


def get_value() -> ResourceWarningTypeDef:
    return {
        "workflow": ...,
    }


# ResourceWarningTypeDef definition

class ResourceWarningTypeDef(TypedDict):
    version: str,
    warningStatus: ResourceWarningStatusType,  # (2)
    warningUpdatedTime: datetime.datetime,
    warningMessage: str,
    workflow: NotRequired[MinimalWorkflowTypeDef],  # (1)
    stepName: NotRequired[str],
    resourceArn: NotRequired[str],
  1. See MinimalWorkflowTypeDef
  2. See ResourceWarningStatusType

ReportOutputConfigurationTypeDef#

# ReportOutputConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ReportOutputConfigurationTypeDef


def get_value() -> ReportOutputConfigurationTypeDef:
    return {
        "s3Configuration": ...,
    }


# ReportOutputConfigurationTypeDef definition

class ReportOutputConfigurationTypeDef(TypedDict):
    s3Configuration: NotRequired[S3ReportOutputConfigurationTypeDef],  # (1)
  1. See S3ReportOutputConfigurationTypeDef

ReportOutputTypeDef#

# ReportOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ReportOutputTypeDef


def get_value() -> ReportOutputTypeDef:
    return {
        "s3ReportOutput": ...,
    }


# ReportOutputTypeDef definition

class ReportOutputTypeDef(TypedDict):
    s3ReportOutput: NotRequired[S3ReportOutputTypeDef],  # (1)
    failedReportOutput: NotRequired[FailedReportOutputTypeDef],  # (2)
  1. See S3ReportOutputTypeDef
  2. See FailedReportOutputTypeDef

Route53HealthCheckConfigurationOutputTypeDef#

# Route53HealthCheckConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Route53HealthCheckConfigurationOutputTypeDef


def get_value() -> Route53HealthCheckConfigurationOutputTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# Route53HealthCheckConfigurationOutputTypeDef definition

class Route53HealthCheckConfigurationOutputTypeDef(TypedDict):
    hostedZoneId: str,
    recordName: str,
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    recordSets: NotRequired[list[Route53ResourceRecordSetTypeDef]],  # (1)
  1. See list[Route53ResourceRecordSetTypeDef]

Route53HealthCheckConfigurationTypeDef#

# Route53HealthCheckConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import Route53HealthCheckConfigurationTypeDef


def get_value() -> Route53HealthCheckConfigurationTypeDef:
    return {
        "timeoutMinutes": ...,
    }


# Route53HealthCheckConfigurationTypeDef definition

class Route53HealthCheckConfigurationTypeDef(TypedDict):
    hostedZoneId: str,
    recordName: str,
    timeoutMinutes: NotRequired[int],
    crossAccountRole: NotRequired[str],
    externalId: NotRequired[str],
    recordSets: NotRequired[Sequence[Route53ResourceRecordSetTypeDef]],  # (1)
  1. See Sequence[Route53ResourceRecordSetTypeDef]

TriggerOutputTypeDef#

# TriggerOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import TriggerOutputTypeDef


def get_value() -> TriggerOutputTypeDef:
    return {
        "description": ...,
    }


# TriggerOutputTypeDef definition

class TriggerOutputTypeDef(TypedDict):
    targetRegion: str,
    action: WorkflowTargetActionType,  # (1)
    conditions: list[TriggerConditionTypeDef],  # (2)
    minDelayMinutesBetweenExecutions: int,
    description: NotRequired[str],
  1. See WorkflowTargetActionType
  2. See list[TriggerConditionTypeDef]

TriggerTypeDef#

# TriggerTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import TriggerTypeDef


def get_value() -> TriggerTypeDef:
    return {
        "description": ...,
    }


# TriggerTypeDef definition

class TriggerTypeDef(TypedDict):
    targetRegion: str,
    action: WorkflowTargetActionType,  # (1)
    conditions: Sequence[TriggerConditionTypeDef],  # (2)
    minDelayMinutesBetweenExecutions: int,
    description: NotRequired[str],
  1. See WorkflowTargetActionType
  2. See Sequence[TriggerConditionTypeDef]

GetPlanEvaluationStatusResponseTypeDef#

# GetPlanEvaluationStatusResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanEvaluationStatusResponseTypeDef


def get_value() -> GetPlanEvaluationStatusResponseTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanEvaluationStatusResponseTypeDef definition

class GetPlanEvaluationStatusResponseTypeDef(TypedDict):
    planArn: str,
    lastEvaluationTime: datetime.datetime,
    lastEvaluatedVersion: str,
    region: str,
    evaluationState: EvaluationStatusType,  # (1)
    warnings: list[ResourceWarningTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See EvaluationStatusType
  2. See list[ResourceWarningTypeDef]
  3. See ResponseMetadataTypeDef

ReportConfigurationOutputTypeDef#

# ReportConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ReportConfigurationOutputTypeDef


def get_value() -> ReportConfigurationOutputTypeDef:
    return {
        "reportOutput": ...,
    }


# ReportConfigurationOutputTypeDef definition

class ReportConfigurationOutputTypeDef(TypedDict):
    reportOutput: NotRequired[list[ReportOutputConfigurationTypeDef]],  # (1)
  1. See list[ReportOutputConfigurationTypeDef]

ReportConfigurationTypeDef#

# ReportConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ReportConfigurationTypeDef


def get_value() -> ReportConfigurationTypeDef:
    return {
        "reportOutput": ...,
    }


# ReportConfigurationTypeDef definition

class ReportConfigurationTypeDef(TypedDict):
    reportOutput: NotRequired[Sequence[ReportOutputConfigurationTypeDef]],  # (1)
  1. See Sequence[ReportOutputConfigurationTypeDef]

GeneratedReportTypeDef#

# GeneratedReportTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GeneratedReportTypeDef


def get_value() -> GeneratedReportTypeDef:
    return {
        "reportGenerationTime": ...,
    }


# GeneratedReportTypeDef definition

class GeneratedReportTypeDef(TypedDict):
    reportGenerationTime: NotRequired[datetime.datetime],
    reportOutput: NotRequired[ReportOutputTypeDef],  # (1)
  1. See ReportOutputTypeDef

ExecutionBlockConfigurationOutputTypeDef#

# ExecutionBlockConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionBlockConfigurationOutputTypeDef


def get_value() -> ExecutionBlockConfigurationOutputTypeDef:
    return {
        "customActionLambdaConfig": ...,
    }


# ExecutionBlockConfigurationOutputTypeDef definition

class ExecutionBlockConfigurationOutputTypeDef(TypedDict):
    customActionLambdaConfig: NotRequired[CustomActionLambdaConfigurationOutputTypeDef],  # (1)
    ec2AsgCapacityIncreaseConfig: NotRequired[Ec2AsgCapacityIncreaseConfigurationOutputTypeDef],  # (2)
    executionApprovalConfig: NotRequired[ExecutionApprovalConfigurationTypeDef],  # (3)
    arcRoutingControlConfig: NotRequired[ArcRoutingControlConfigurationOutputTypeDef],  # (4)
    globalAuroraConfig: NotRequired[GlobalAuroraConfigurationOutputTypeDef],  # (5)
    parallelConfig: NotRequired[ParallelExecutionBlockConfigurationOutputTypeDef],  # (6)
    regionSwitchPlanConfig: NotRequired[RegionSwitchPlanConfigurationTypeDef],  # (7)
    ecsCapacityIncreaseConfig: NotRequired[EcsCapacityIncreaseConfigurationOutputTypeDef],  # (8)
    eksResourceScalingConfig: NotRequired[EksResourceScalingConfigurationOutputTypeDef],  # (9)
    route53HealthCheckConfig: NotRequired[Route53HealthCheckConfigurationOutputTypeDef],  # (10)
    documentDbConfig: NotRequired[DocumentDbConfigurationOutputTypeDef],  # (11)
  1. See CustomActionLambdaConfigurationOutputTypeDef
  2. See Ec2AsgCapacityIncreaseConfigurationOutputTypeDef
  3. See ExecutionApprovalConfigurationTypeDef
  4. See ArcRoutingControlConfigurationOutputTypeDef
  5. See GlobalAuroraConfigurationOutputTypeDef
  6. See ParallelExecutionBlockConfigurationOutputTypeDef
  7. See RegionSwitchPlanConfigurationTypeDef
  8. See EcsCapacityIncreaseConfigurationOutputTypeDef
  9. See EksResourceScalingConfigurationOutputTypeDef
  10. See Route53HealthCheckConfigurationOutputTypeDef
  11. See DocumentDbConfigurationOutputTypeDef

ExecutionBlockConfigurationPaginatorTypeDef#

# ExecutionBlockConfigurationPaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionBlockConfigurationPaginatorTypeDef


def get_value() -> ExecutionBlockConfigurationPaginatorTypeDef:
    return {
        "customActionLambdaConfig": ...,
    }


# ExecutionBlockConfigurationPaginatorTypeDef definition

class ExecutionBlockConfigurationPaginatorTypeDef(TypedDict):
    customActionLambdaConfig: NotRequired[CustomActionLambdaConfigurationOutputTypeDef],  # (1)
    ec2AsgCapacityIncreaseConfig: NotRequired[Ec2AsgCapacityIncreaseConfigurationOutputTypeDef],  # (2)
    executionApprovalConfig: NotRequired[ExecutionApprovalConfigurationTypeDef],  # (3)
    arcRoutingControlConfig: NotRequired[ArcRoutingControlConfigurationOutputTypeDef],  # (4)
    globalAuroraConfig: NotRequired[GlobalAuroraConfigurationOutputTypeDef],  # (5)
    parallelConfig: NotRequired[ParallelExecutionBlockConfigurationPaginatorTypeDef],  # (6)
    regionSwitchPlanConfig: NotRequired[RegionSwitchPlanConfigurationTypeDef],  # (7)
    ecsCapacityIncreaseConfig: NotRequired[EcsCapacityIncreaseConfigurationOutputTypeDef],  # (8)
    eksResourceScalingConfig: NotRequired[EksResourceScalingConfigurationOutputTypeDef],  # (9)
    route53HealthCheckConfig: NotRequired[Route53HealthCheckConfigurationOutputTypeDef],  # (10)
    documentDbConfig: NotRequired[DocumentDbConfigurationOutputTypeDef],  # (11)
  1. See CustomActionLambdaConfigurationOutputTypeDef
  2. See Ec2AsgCapacityIncreaseConfigurationOutputTypeDef
  3. See ExecutionApprovalConfigurationTypeDef
  4. See ArcRoutingControlConfigurationOutputTypeDef
  5. See GlobalAuroraConfigurationOutputTypeDef
  6. See ParallelExecutionBlockConfigurationPaginatorTypeDef
  7. See RegionSwitchPlanConfigurationTypeDef
  8. See EcsCapacityIncreaseConfigurationOutputTypeDef
  9. See EksResourceScalingConfigurationOutputTypeDef
  10. See Route53HealthCheckConfigurationOutputTypeDef
  11. See DocumentDbConfigurationOutputTypeDef

StepOutputTypeDef#

# StepOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StepOutputTypeDef


def get_value() -> StepOutputTypeDef:
    return {
        "name": ...,
    }


# StepOutputTypeDef definition

class StepOutputTypeDef(TypedDict):
    name: str,
    executionBlockConfiguration: ExecutionBlockConfigurationOutputTypeDef,  # (1)
    executionBlockType: ExecutionBlockTypeType,  # (2)
    description: NotRequired[str],
  1. See ExecutionBlockConfigurationOutputTypeDef
  2. See ExecutionBlockTypeType

StepPaginatorTypeDef#

# StepPaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StepPaginatorTypeDef


def get_value() -> StepPaginatorTypeDef:
    return {
        "name": ...,
    }


# StepPaginatorTypeDef definition

class StepPaginatorTypeDef(TypedDict):
    name: str,
    executionBlockConfiguration: ExecutionBlockConfigurationPaginatorTypeDef,  # (1)
    executionBlockType: ExecutionBlockTypeType,  # (2)
    description: NotRequired[str],
  1. See ExecutionBlockConfigurationPaginatorTypeDef
  2. See ExecutionBlockTypeType

ExecutionBlockConfigurationTypeDef#

# ExecutionBlockConfigurationTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import ExecutionBlockConfigurationTypeDef


def get_value() -> ExecutionBlockConfigurationTypeDef:
    return {
        "customActionLambdaConfig": ...,
    }


# ExecutionBlockConfigurationTypeDef definition

class ExecutionBlockConfigurationTypeDef(TypedDict):
    customActionLambdaConfig: NotRequired[CustomActionLambdaConfigurationUnionTypeDef],  # (1)
    ec2AsgCapacityIncreaseConfig: NotRequired[Ec2AsgCapacityIncreaseConfigurationUnionTypeDef],  # (2)
    executionApprovalConfig: NotRequired[ExecutionApprovalConfigurationTypeDef],  # (3)
    arcRoutingControlConfig: NotRequired[ArcRoutingControlConfigurationUnionTypeDef],  # (4)
    globalAuroraConfig: NotRequired[GlobalAuroraConfigurationUnionTypeDef],  # (5)
    parallelConfig: NotRequired[ParallelExecutionBlockConfigurationUnionTypeDef],  # (6)
    regionSwitchPlanConfig: NotRequired[RegionSwitchPlanConfigurationTypeDef],  # (7)
    ecsCapacityIncreaseConfig: NotRequired[EcsCapacityIncreaseConfigurationUnionTypeDef],  # (8)
    eksResourceScalingConfig: NotRequired[EksResourceScalingConfigurationUnionTypeDef],  # (9)
    route53HealthCheckConfig: NotRequired[Route53HealthCheckConfigurationUnionTypeDef],  # (10)
    documentDbConfig: NotRequired[DocumentDbConfigurationUnionTypeDef],  # (11)
  1. See CustomActionLambdaConfigurationUnionTypeDef
  2. See Ec2AsgCapacityIncreaseConfigurationUnionTypeDef
  3. See ExecutionApprovalConfigurationTypeDef
  4. See ArcRoutingControlConfigurationUnionTypeDef
  5. See GlobalAuroraConfigurationUnionTypeDef
  6. See ParallelExecutionBlockConfigurationUnionTypeDef
  7. See RegionSwitchPlanConfigurationTypeDef
  8. See EcsCapacityIncreaseConfigurationUnionTypeDef
  9. See EksResourceScalingConfigurationUnionTypeDef
  10. See Route53HealthCheckConfigurationUnionTypeDef
  11. See DocumentDbConfigurationUnionTypeDef

WorkflowOutputTypeDef#

# WorkflowOutputTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import WorkflowOutputTypeDef


def get_value() -> WorkflowOutputTypeDef:
    return {
        "steps": ...,
    }


# WorkflowOutputTypeDef definition

class WorkflowOutputTypeDef(TypedDict):
    workflowTargetAction: WorkflowTargetActionType,  # (2)
    steps: NotRequired[list[StepOutputTypeDef]],  # (1)
    workflowTargetRegion: NotRequired[str],
    workflowDescription: NotRequired[str],
  1. See list[StepOutputTypeDef]
  2. See WorkflowTargetActionType

WorkflowPaginatorTypeDef#

# WorkflowPaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import WorkflowPaginatorTypeDef


def get_value() -> WorkflowPaginatorTypeDef:
    return {
        "steps": ...,
    }


# WorkflowPaginatorTypeDef definition

class WorkflowPaginatorTypeDef(TypedDict):
    workflowTargetAction: WorkflowTargetActionType,  # (2)
    steps: NotRequired[list[StepPaginatorTypeDef]],  # (1)
    workflowTargetRegion: NotRequired[str],
    workflowDescription: NotRequired[str],
  1. See list[StepPaginatorTypeDef]
  2. See WorkflowTargetActionType

PlanTypeDef#

# PlanTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import PlanTypeDef


def get_value() -> PlanTypeDef:
    return {
        "arn": ...,
    }


# PlanTypeDef definition

class PlanTypeDef(TypedDict):
    arn: str,
    workflows: list[WorkflowOutputTypeDef],  # (1)
    executionRole: str,
    name: str,
    regions: list[str],
    recoveryApproach: RecoveryApproachType,  # (5)
    owner: str,
    description: NotRequired[str],
    recoveryTimeObjectiveMinutes: NotRequired[int],
    associatedAlarms: NotRequired[dict[str, AssociatedAlarmTypeDef]],  # (2)
    triggers: NotRequired[list[TriggerOutputTypeDef]],  # (3)
    reportConfiguration: NotRequired[ReportConfigurationOutputTypeDef],  # (4)
    primaryRegion: NotRequired[str],
    version: NotRequired[str],
    updatedAt: NotRequired[datetime.datetime],
  1. See list[WorkflowOutputTypeDef]
  2. See dict[str, AssociatedAlarmTypeDef]
  3. See list[TriggerOutputTypeDef]
  4. See ReportConfigurationOutputTypeDef
  5. See RecoveryApproachType

PlanPaginatorTypeDef#

# PlanPaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import PlanPaginatorTypeDef


def get_value() -> PlanPaginatorTypeDef:
    return {
        "arn": ...,
    }


# PlanPaginatorTypeDef definition

class PlanPaginatorTypeDef(TypedDict):
    arn: str,
    workflows: list[WorkflowPaginatorTypeDef],  # (1)
    executionRole: str,
    name: str,
    regions: list[str],
    recoveryApproach: RecoveryApproachType,  # (5)
    owner: str,
    description: NotRequired[str],
    recoveryTimeObjectiveMinutes: NotRequired[int],
    associatedAlarms: NotRequired[dict[str, AssociatedAlarmTypeDef]],  # (2)
    triggers: NotRequired[list[TriggerOutputTypeDef]],  # (3)
    reportConfiguration: NotRequired[ReportConfigurationOutputTypeDef],  # (4)
    primaryRegion: NotRequired[str],
    version: NotRequired[str],
    updatedAt: NotRequired[datetime.datetime],
  1. See list[WorkflowPaginatorTypeDef]
  2. See dict[str, AssociatedAlarmTypeDef]
  3. See list[TriggerOutputTypeDef]
  4. See ReportConfigurationOutputTypeDef
  5. See RecoveryApproachType

StepTypeDef#

# StepTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import StepTypeDef


def get_value() -> StepTypeDef:
    return {
        "name": ...,
    }


# StepTypeDef definition

class StepTypeDef(TypedDict):
    name: str,
    executionBlockConfiguration: ExecutionBlockConfigurationUnionTypeDef,  # (1)
    executionBlockType: ExecutionBlockTypeType,  # (2)
    description: NotRequired[str],
  1. See ExecutionBlockConfigurationUnionTypeDef
  2. See ExecutionBlockTypeType

CreatePlanResponseTypeDef#

# CreatePlanResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import CreatePlanResponseTypeDef


def get_value() -> CreatePlanResponseTypeDef:
    return {
        "plan": ...,
    }


# CreatePlanResponseTypeDef definition

class CreatePlanResponseTypeDef(TypedDict):
    plan: PlanTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlanTypeDef
  2. See ResponseMetadataTypeDef

GetPlanExecutionResponseTypeDef#

# GetPlanExecutionResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanExecutionResponseTypeDef


def get_value() -> GetPlanExecutionResponseTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanExecutionResponseTypeDef definition

class GetPlanExecutionResponseTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    version: str,
    updatedAt: datetime.datetime,
    comment: str,
    startTime: datetime.datetime,
    endTime: datetime.datetime,
    mode: ExecutionModeType,  # (1)
    executionState: ExecutionStateType,  # (2)
    executionAction: ExecutionActionType,  # (3)
    executionRegion: str,
    stepStates: list[StepStateTypeDef],  # (4)
    plan: PlanTypeDef,  # (5)
    actualRecoveryTime: str,
    generatedReportDetails: list[GeneratedReportTypeDef],  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
    nextToken: NotRequired[str],
  1. See ExecutionModeType
  2. See ExecutionStateType
  3. See ExecutionActionType
  4. See list[StepStateTypeDef]
  5. See PlanTypeDef
  6. See list[GeneratedReportTypeDef]
  7. See ResponseMetadataTypeDef

GetPlanInRegionResponseTypeDef#

# GetPlanInRegionResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanInRegionResponseTypeDef


def get_value() -> GetPlanInRegionResponseTypeDef:
    return {
        "plan": ...,
    }


# GetPlanInRegionResponseTypeDef definition

class GetPlanInRegionResponseTypeDef(TypedDict):
    plan: PlanTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlanTypeDef
  2. See ResponseMetadataTypeDef

GetPlanResponseTypeDef#

# GetPlanResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanResponseTypeDef


def get_value() -> GetPlanResponseTypeDef:
    return {
        "plan": ...,
    }


# GetPlanResponseTypeDef definition

class GetPlanResponseTypeDef(TypedDict):
    plan: PlanTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlanTypeDef
  2. See ResponseMetadataTypeDef

UpdatePlanResponseTypeDef#

# UpdatePlanResponseTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import UpdatePlanResponseTypeDef


def get_value() -> UpdatePlanResponseTypeDef:
    return {
        "plan": ...,
    }


# UpdatePlanResponseTypeDef definition

class UpdatePlanResponseTypeDef(TypedDict):
    plan: PlanTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlanTypeDef
  2. See ResponseMetadataTypeDef

GetPlanExecutionResponsePaginatorTypeDef#

# GetPlanExecutionResponsePaginatorTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import GetPlanExecutionResponsePaginatorTypeDef


def get_value() -> GetPlanExecutionResponsePaginatorTypeDef:
    return {
        "planArn": ...,
    }


# GetPlanExecutionResponsePaginatorTypeDef definition

class GetPlanExecutionResponsePaginatorTypeDef(TypedDict):
    planArn: str,
    executionId: str,
    version: str,
    updatedAt: datetime.datetime,
    comment: str,
    startTime: datetime.datetime,
    endTime: datetime.datetime,
    mode: ExecutionModeType,  # (1)
    executionState: ExecutionStateType,  # (2)
    executionAction: ExecutionActionType,  # (3)
    executionRegion: str,
    stepStates: list[StepStateTypeDef],  # (4)
    plan: PlanPaginatorTypeDef,  # (5)
    actualRecoveryTime: str,
    generatedReportDetails: list[GeneratedReportTypeDef],  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
    nextToken: NotRequired[str],
  1. See ExecutionModeType
  2. See ExecutionStateType
  3. See ExecutionActionType
  4. See list[StepStateTypeDef]
  5. See PlanPaginatorTypeDef
  6. See list[GeneratedReportTypeDef]
  7. See ResponseMetadataTypeDef

WorkflowTypeDef#

# WorkflowTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import WorkflowTypeDef


def get_value() -> WorkflowTypeDef:
    return {
        "steps": ...,
    }


# WorkflowTypeDef definition

class WorkflowTypeDef(TypedDict):
    workflowTargetAction: WorkflowTargetActionType,  # (2)
    steps: NotRequired[Sequence[StepUnionTypeDef]],  # (1)
    workflowTargetRegion: NotRequired[str],
    workflowDescription: NotRequired[str],
  1. See Sequence[StepUnionTypeDef]
  2. See WorkflowTargetActionType

CreatePlanRequestTypeDef#

# CreatePlanRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import CreatePlanRequestTypeDef


def get_value() -> CreatePlanRequestTypeDef:
    return {
        "workflows": ...,
    }


# CreatePlanRequestTypeDef definition

class CreatePlanRequestTypeDef(TypedDict):
    workflows: Sequence[WorkflowUnionTypeDef],  # (1)
    executionRole: str,
    name: str,
    regions: Sequence[str],
    recoveryApproach: RecoveryApproachType,  # (2)
    description: NotRequired[str],
    recoveryTimeObjectiveMinutes: NotRequired[int],
    associatedAlarms: NotRequired[Mapping[str, AssociatedAlarmTypeDef]],  # (3)
    triggers: NotRequired[Sequence[TriggerUnionTypeDef]],  # (4)
    reportConfiguration: NotRequired[ReportConfigurationUnionTypeDef],  # (5)
    primaryRegion: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See Sequence[WorkflowUnionTypeDef]
  2. See RecoveryApproachType
  3. See Mapping[str, AssociatedAlarmTypeDef]
  4. See Sequence[TriggerUnionTypeDef]
  5. See ReportConfigurationUnionTypeDef

UpdatePlanRequestTypeDef#

# UpdatePlanRequestTypeDef TypedDict usage example

from mypy_boto3_arc_region_switch.type_defs import UpdatePlanRequestTypeDef


def get_value() -> UpdatePlanRequestTypeDef:
    return {
        "arn": ...,
    }


# UpdatePlanRequestTypeDef definition

class UpdatePlanRequestTypeDef(TypedDict):
    arn: str,
    workflows: Sequence[WorkflowUnionTypeDef],  # (1)
    executionRole: str,
    description: NotRequired[str],
    recoveryTimeObjectiveMinutes: NotRequired[int],
    associatedAlarms: NotRequired[Mapping[str, AssociatedAlarmTypeDef]],  # (2)
    triggers: NotRequired[Sequence[TriggerUnionTypeDef]],  # (3)
    reportConfiguration: NotRequired[ReportConfigurationUnionTypeDef],  # (4)
  1. See Sequence[WorkflowUnionTypeDef]
  2. See Mapping[str, AssociatedAlarmTypeDef]
  3. See Sequence[TriggerUnionTypeDef]
  4. See ReportConfigurationUnionTypeDef