<?php
// This file was auto-generated from sdk-root/src/data/arc-region-switch/2022-07-26/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2022-07-26', 'auth' => [ 'aws.auth#sigv4', ], 'endpointPrefix' => 'arc-region-switch', 'jsonVersion' => '1.0', 'protocol' => 'smithy-rpc-v2-cbor', 'protocols' => [ 'smithy-rpc-v2-cbor', 'json', ], 'serviceFullName' => 'ARC - Region switch', 'serviceId' => 'ARC Region switch', 'signatureVersion' => 'v4', 'signingName' => 'arc-region-switch', 'targetPrefix' => 'ArcRegionSwitch', 'uid' => 'arc-region-switch-2022-07-26', ], 'operations' => [ 'ApprovePlanExecutionStep' => [ 'name' => 'ApprovePlanExecutionStep', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ApprovePlanExecutionStepRequest', ], 'output' => [ 'shape' => 'ApprovePlanExecutionStepResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'CancelPlanExecution' => [ 'name' => 'CancelPlanExecution', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CancelPlanExecutionRequest', ], 'output' => [ 'shape' => 'CancelPlanExecutionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'CreatePlan' => [ 'name' => 'CreatePlan', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CreatePlanRequest', ], 'output' => [ 'shape' => 'CreatePlanResponse', ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'DeletePlan' => [ 'name' => 'DeletePlan', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DeletePlanRequest', ], 'output' => [ 'shape' => 'DeletePlanResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'IllegalStateException', ], ], 'idempotent' => true, 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'GetPlan' => [ 'name' => 'GetPlan', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'GetPlanRequest', ], 'output' => [ 'shape' => 'GetPlanResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'GetPlanEvaluationStatus' => [ 'name' => 'GetPlanEvaluationStatus', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'GetPlanEvaluationStatusRequest', ], 'output' => [ 'shape' => 'GetPlanEvaluationStatusResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'GetPlanExecution' => [ 'name' => 'GetPlanExecution', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'GetPlanExecutionRequest', ], 'output' => [ 'shape' => 'GetPlanExecutionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'GetPlanInRegion' => [ 'name' => 'GetPlanInRegion', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'GetPlanInRegionRequest', ], 'output' => [ 'shape' => 'GetPlanInRegionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListPlanExecutionEvents' => [ 'name' => 'ListPlanExecutionEvents', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListPlanExecutionEventsRequest', ], 'output' => [ 'shape' => 'ListPlanExecutionEventsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListPlanExecutions' => [ 'name' => 'ListPlanExecutions', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListPlanExecutionsRequest', ], 'output' => [ 'shape' => 'ListPlanExecutionsResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListPlans' => [ 'name' => 'ListPlans', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListPlansRequest', ], 'output' => [ 'shape' => 'ListPlansResponse', ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'ListPlansInRegion' => [ 'name' => 'ListPlansInRegion', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListPlansInRegionRequest', ], 'output' => [ 'shape' => 'ListPlansInRegionResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], ], ], 'ListRoute53HealthChecks' => [ 'name' => 'ListRoute53HealthChecks', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListRoute53HealthChecksRequest', ], 'output' => [ 'shape' => 'ListRoute53HealthChecksResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'ListTagsForResource' => [ 'name' => 'ListTagsForResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'ListTagsForResourceRequest', ], 'output' => [ 'shape' => 'ListTagsForResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'StartPlanExecution' => [ 'name' => 'StartPlanExecution', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'StartPlanExecutionRequest', ], 'output' => [ 'shape' => 'StartPlanExecutionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'IllegalStateException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'IllegalArgumentException', ], ], ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'TagResourceRequest', ], 'output' => [ 'shape' => 'TagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UntagResourceRequest', ], 'output' => [ 'shape' => 'UntagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'UpdatePlan' => [ 'name' => 'UpdatePlan', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdatePlanRequest', ], 'output' => [ 'shape' => 'UpdatePlanResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], ], 'staticContextParams' => [ 'UseControlPlaneEndpoint' => [ 'value' => true, ], ], ], 'UpdatePlanExecution' => [ 'name' => 'UpdatePlanExecution', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdatePlanExecutionRequest', ], 'output' => [ 'shape' => 'UpdatePlanExecutionResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'IllegalStateException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'UpdatePlanExecutionStep' => [ 'name' => 'UpdatePlanExecutionStep', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'UpdatePlanExecutionStepRequest', ], 'output' => [ 'shape' => 'UpdatePlanExecutionStepResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'AccessDeniedException', ], ], ], ], 'shapes' => [ 'AbbreviatedExecution' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', 'startTime', 'mode', 'executionState', 'executionAction', 'executionRegion', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'version' => [ 'shape' => 'String', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'comment' => [ 'shape' => 'String', ], 'startTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'mode' => [ 'shape' => 'ExecutionMode', ], 'executionState' => [ 'shape' => 'ExecutionState', ], 'executionAction' => [ 'shape' => 'ExecutionAction', ], 'executionRegion' => [ 'shape' => 'String', ], 'actualRecoveryTime' => [ 'shape' => 'Duration', ], ], ], 'AbbreviatedExecutionsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AbbreviatedExecution', ], ], 'AbbreviatedPlan' => [ 'type' => 'structure', 'required' => [ 'arn', 'owner', 'name', 'regions', 'recoveryApproach', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'owner' => [ 'shape' => 'AccountId', ], 'name' => [ 'shape' => 'PlanName', ], 'regions' => [ 'shape' => 'RegionList', ], 'recoveryApproach' => [ 'shape' => 'RecoveryApproach', ], 'primaryRegion' => [ 'shape' => 'Region', ], 'version' => [ 'shape' => 'String', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'description' => [ 'shape' => 'String', ], 'executionRole' => [ 'shape' => 'String', ], 'activePlanExecution' => [ 'shape' => 'ExecutionId', ], 'recoveryTimeObjectiveMinutes' => [ 'shape' => 'AbbreviatedPlanRecoveryTimeObjectiveMinutesInteger', ], ], ], 'AbbreviatedPlanRecoveryTimeObjectiveMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 10080, 'min' => 1, ], 'AccessDeniedException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 403, 'senderFault' => true, ], 'exception' => true, ], 'AccountId' => [ 'type' => 'string', 'pattern' => '\\d{12}', ], 'AlarmCondition' => [ 'type' => 'string', 'enum' => [ 'red', 'green', ], ], 'AlarmType' => [ 'type' => 'string', 'enum' => [ 'applicationHealth', 'trigger', ], ], 'Approval' => [ 'type' => 'string', 'enum' => [ 'approve', 'decline', ], ], 'ApprovePlanExecutionStepRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', 'stepName', 'approval', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'stepName' => [ 'shape' => 'StepName', ], 'approval' => [ 'shape' => 'Approval', ], 'comment' => [ 'shape' => 'ExecutionComment', ], ], ], 'ApprovePlanExecutionStepResponse' => [ 'type' => 'structure', 'members' => [], ], 'ArcRoutingControlConfiguration' => [ 'type' => 'structure', 'required' => [ 'regionAndRoutingControls', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'ArcRoutingControlConfigurationTimeoutMinutesInteger', ], 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'regionAndRoutingControls' => [ 'shape' => 'RegionAndRoutingControls', ], ], ], 'ArcRoutingControlConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'ArcRoutingControlState' => [ 'type' => 'structure', 'required' => [ 'routingControlArn', 'state', ], 'members' => [ 'routingControlArn' => [ 'shape' => 'RoutingControlArn', ], 'state' => [ 'shape' => 'RoutingControlStateChange', ], ], ], 'ArcRoutingControlStates' => [ 'type' => 'list', 'member' => [ 'shape' => 'ArcRoutingControlState', ], ], 'Asg' => [ 'type' => 'structure', 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'arn' => [ 'shape' => 'AsgArn', ], ], ], 'AsgArn' => [ 'type' => 'string', 'pattern' => 'arn:aws:autoscaling:[a-z0-9-]+:\\d{12}:autoScalingGroup:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}:autoScalingGroupName/[\\S\\s]{1,255}', ], 'AsgList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Asg', ], 'max' => 2, 'min' => 2, ], 'AssociatedAlarm' => [ 'type' => 'structure', 'required' => [ 'resourceIdentifier', 'alarmType', ], 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'resourceIdentifier' => [ 'shape' => 'String', ], 'alarmType' => [ 'shape' => 'AlarmType', ], ], ], 'AssociatedAlarmMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'AssociatedAlarm', ], ], 'AuroraClusterArn' => [ 'type' => 'string', ], 'AuroraClusterArns' => [ 'type' => 'list', 'member' => [ 'shape' => 'AuroraClusterArn', ], ], 'CancelPlanExecutionRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'comment' => [ 'shape' => 'ExecutionComment', ], ], ], 'CancelPlanExecutionResponse' => [ 'type' => 'structure', 'members' => [], ], 'CreatePlanRequest' => [ 'type' => 'structure', 'required' => [ 'workflows', 'executionRole', 'name', 'regions', 'recoveryApproach', ], 'members' => [ 'description' => [ 'shape' => 'String', ], 'workflows' => [ 'shape' => 'WorkflowList', ], 'executionRole' => [ 'shape' => 'IamRoleArn', ], 'recoveryTimeObjectiveMinutes' => [ 'shape' => 'CreatePlanRequestRecoveryTimeObjectiveMinutesInteger', ], 'associatedAlarms' => [ 'shape' => 'AssociatedAlarmMap', ], 'triggers' => [ 'shape' => 'TriggerList', ], 'name' => [ 'shape' => 'PlanName', ], 'regions' => [ 'shape' => 'RegionList', ], 'recoveryApproach' => [ 'shape' => 'RecoveryApproach', ], 'primaryRegion' => [ 'shape' => 'Region', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreatePlanRequestRecoveryTimeObjectiveMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 10080, 'min' => 1, ], 'CreatePlanResponse' => [ 'type' => 'structure', 'members' => [ 'plan' => [ 'shape' => 'Plan', ], ], ], 'CustomActionLambdaConfiguration' => [ 'type' => 'structure', 'required' => [ 'lambdas', 'retryIntervalMinutes', 'regionToRun', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'CustomActionLambdaConfigurationTimeoutMinutesInteger', ], 'lambdas' => [ 'shape' => 'LambdaList', ], 'retryIntervalMinutes' => [ 'shape' => 'Float', ], 'regionToRun' => [ 'shape' => 'RegionToRunIn', ], 'ungraceful' => [ 'shape' => 'LambdaUngraceful', ], ], ], 'CustomActionLambdaConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'DeletePlanRequest' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], ], ], 'DeletePlanResponse' => [ 'type' => 'structure', 'members' => [], ], 'Duration' => [ 'type' => 'string', 'pattern' => 'P(?!$)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?', ], 'Ec2AsgCapacityIncreaseConfiguration' => [ 'type' => 'structure', 'required' => [ 'asgs', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'Ec2AsgCapacityIncreaseConfigurationTimeoutMinutesInteger', ], 'asgs' => [ 'shape' => 'AsgList', ], 'ungraceful' => [ 'shape' => 'Ec2Ungraceful', ], 'targetPercent' => [ 'shape' => 'Integer', ], 'capacityMonitoringApproach' => [ 'shape' => 'Ec2AsgCapacityMonitoringApproach', ], ], ], 'Ec2AsgCapacityIncreaseConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'Ec2AsgCapacityMonitoringApproach' => [ 'type' => 'string', 'enum' => [ 'sampledMaxInLast24Hours', 'autoscalingMaxInLast24Hours', ], ], 'Ec2Ungraceful' => [ 'type' => 'structure', 'required' => [ 'minimumSuccessPercentage', ], 'members' => [ 'minimumSuccessPercentage' => [ 'shape' => 'Ec2UngracefulMinimumSuccessPercentageInteger', ], ], ], 'Ec2UngracefulMinimumSuccessPercentageInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 99, 'min' => 0, ], 'EcsCapacityIncreaseConfiguration' => [ 'type' => 'structure', 'required' => [ 'services', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'EcsCapacityIncreaseConfigurationTimeoutMinutesInteger', ], 'services' => [ 'shape' => 'ServiceList', ], 'ungraceful' => [ 'shape' => 'EcsUngraceful', ], 'targetPercent' => [ 'shape' => 'Integer', ], 'capacityMonitoringApproach' => [ 'shape' => 'EcsCapacityMonitoringApproach', ], ], ], 'EcsCapacityIncreaseConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'EcsCapacityMonitoringApproach' => [ 'type' => 'string', 'enum' => [ 'sampledMaxInLast24Hours', 'containerInsightsMaxInLast24Hours', ], ], 'EcsClusterArn' => [ 'type' => 'string', 'pattern' => 'arn:aws:ecs:[a-z0-9-]+:\\d{12}:cluster/[a-zA-Z0-9_-]{1,255}', ], 'EcsServiceArn' => [ 'type' => 'string', 'pattern' => 'arn:aws:ecs:[a-z0-9-]+:\\d{12}:service/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]{1,255}', ], 'EcsUngraceful' => [ 'type' => 'structure', 'required' => [ 'minimumSuccessPercentage', ], 'members' => [ 'minimumSuccessPercentage' => [ 'shape' => 'EcsUngracefulMinimumSuccessPercentageInteger', ], ], ], 'EcsUngracefulMinimumSuccessPercentageInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 99, 'min' => 0, ], 'EksCapacityMonitoringApproach' => [ 'type' => 'string', 'enum' => [ 'sampledMaxInLast24Hours', ], ], 'EksCluster' => [ 'type' => 'structure', 'required' => [ 'clusterArn', ], 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'clusterArn' => [ 'shape' => 'EksClusterArn', ], ], ], 'EksClusterArn' => [ 'type' => 'string', 'pattern' => 'arn:aws[a-zA-Z-]*:eks:[a-z0-9-]+:\\d{12}:cluster/[a-zA-Z0-9][a-zA-Z0-9-_]{0,99}', ], 'EksClusters' => [ 'type' => 'list', 'member' => [ 'shape' => 'EksCluster', ], 'min' => 2, ], 'EksResourceScalingConfiguration' => [ 'type' => 'structure', 'required' => [ 'kubernetesResourceType', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'EksResourceScalingConfigurationTimeoutMinutesInteger', ], 'kubernetesResourceType' => [ 'shape' => 'KubernetesResourceType', ], 'scalingResources' => [ 'shape' => 'KubernetesScalingApps', ], 'eksClusters' => [ 'shape' => 'EksClusters', ], 'ungraceful' => [ 'shape' => 'EksResourceScalingUngraceful', ], 'targetPercent' => [ 'shape' => 'EksResourceScalingConfigurationTargetPercentInteger', ], 'capacityMonitoringApproach' => [ 'shape' => 'EksCapacityMonitoringApproach', ], ], ], 'EksResourceScalingConfigurationTargetPercentInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'EksResourceScalingConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'EksResourceScalingUngraceful' => [ 'type' => 'structure', 'required' => [ 'minimumSuccessPercentage', ], 'members' => [ 'minimumSuccessPercentage' => [ 'shape' => 'EksResourceScalingUngracefulMinimumSuccessPercentageInteger', ], ], ], 'EksResourceScalingUngracefulMinimumSuccessPercentageInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 99, 'min' => 0, ], 'EvaluationStatus' => [ 'type' => 'string', 'enum' => [ 'passed', 'actionRequired', 'pendingEvaluation', 'unknown', ], ], 'ExecutionAction' => [ 'type' => 'string', 'enum' => [ 'activate', 'deactivate', ], ], 'ExecutionApprovalConfiguration' => [ 'type' => 'structure', 'required' => [ 'approvalRole', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'ExecutionApprovalConfigurationTimeoutMinutesInteger', ], 'approvalRole' => [ 'shape' => 'RoleArn', ], ], ], 'ExecutionApprovalConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'ExecutionBlockConfiguration' => [ 'type' => 'structure', 'members' => [ 'customActionLambdaConfig' => [ 'shape' => 'CustomActionLambdaConfiguration', ], 'ec2AsgCapacityIncreaseConfig' => [ 'shape' => 'Ec2AsgCapacityIncreaseConfiguration', ], 'executionApprovalConfig' => [ 'shape' => 'ExecutionApprovalConfiguration', ], 'arcRoutingControlConfig' => [ 'shape' => 'ArcRoutingControlConfiguration', ], 'globalAuroraConfig' => [ 'shape' => 'GlobalAuroraConfiguration', ], 'parallelConfig' => [ 'shape' => 'ParallelExecutionBlockConfiguration', ], 'regionSwitchPlanConfig' => [ 'shape' => 'RegionSwitchPlanConfiguration', ], 'ecsCapacityIncreaseConfig' => [ 'shape' => 'EcsCapacityIncreaseConfiguration', ], 'eksResourceScalingConfig' => [ 'shape' => 'EksResourceScalingConfiguration', ], 'route53HealthCheckConfig' => [ 'shape' => 'Route53HealthCheckConfiguration', ], ], 'union' => true, ], 'ExecutionBlockType' => [ 'type' => 'string', 'enum' => [ 'CustomActionLambda', 'ManualApproval', 'AuroraGlobalDatabase', 'EC2AutoScaling', 'ARCRoutingControl', 'ARCRegionSwitchPlan', 'Parallel', 'ECSServiceScaling', 'EKSResourceScaling', 'Route53HealthCheck', ], ], 'ExecutionComment' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'ExecutionEvent' => [ 'type' => 'structure', 'required' => [ 'eventId', ], 'members' => [ 'timestamp' => [ 'shape' => 'Timestamp', ], 'type' => [ 'shape' => 'ExecutionEventType', ], 'stepName' => [ 'shape' => 'StepName', ], 'executionBlockType' => [ 'shape' => 'ExecutionBlockType', ], 'resources' => [ 'shape' => 'Resources', ], 'error' => [ 'shape' => 'String', ], 'description' => [ 'shape' => 'String', ], 'eventId' => [ 'shape' => 'String', ], 'previousEventId' => [ 'shape' => 'String', ], ], ], 'ExecutionEventList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ExecutionEvent', ], ], 'ExecutionEventType' => [ 'type' => 'string', 'enum' => [ 'unknown', 'executionPending', 'executionStarted', 'executionSucceeded', 'executionFailed', 'executionPausing', 'executionPaused', 'executionCanceling', 'executionCanceled', 'executionPendingApproval', 'executionBehaviorChangedToUngraceful', 'executionBehaviorChangedToGraceful', 'executionPendingChildPlanManualApproval', 'executionSuccessMonitoringApplicationHealth', 'stepStarted', 'stepUpdate', 'stepSucceeded', 'stepFailed', 'stepSkipped', 'stepPausedByError', 'stepPausedByOperator', 'stepCanceled', 'stepPendingApproval', 'stepExecutionBehaviorChangedToUngraceful', 'stepPendingApplicationHealthMonitor', ], ], 'ExecutionId' => [ 'type' => 'string', ], 'ExecutionMode' => [ 'type' => 'string', 'enum' => [ 'graceful', 'ungraceful', ], ], 'ExecutionState' => [ 'type' => 'string', 'enum' => [ 'inProgress', 'pausedByFailedStep', 'pausedByOperator', 'completed', 'completedWithExceptions', 'canceled', 'planExecutionTimedOut', 'pendingManualApproval', 'failed', 'pending', 'completedMonitoringApplicationHealth', ], ], 'Float' => [ 'type' => 'float', 'box' => true, ], 'GetPlanEvaluationStatusRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'GetPlanEvaluationStatusResponse' => [ 'type' => 'structure', 'required' => [ 'planArn', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'lastEvaluationTime' => [ 'shape' => 'Timestamp', ], 'lastEvaluatedVersion' => [ 'shape' => 'String', ], 'region' => [ 'shape' => 'Region', ], 'evaluationState' => [ 'shape' => 'EvaluationStatus', ], 'warnings' => [ 'shape' => 'PlanWarnings', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'GetPlanExecutionRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'maxResults' => [ 'shape' => 'GetPlanExecutionStepStatesMaxResults', ], 'nextToken' => [ 'shape' => 'String', ], ], ], 'GetPlanExecutionResponse' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', 'startTime', 'mode', 'executionState', 'executionAction', 'executionRegion', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'version' => [ 'shape' => 'String', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], 'comment' => [ 'shape' => 'String', ], 'startTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'mode' => [ 'shape' => 'ExecutionMode', ], 'executionState' => [ 'shape' => 'ExecutionState', ], 'executionAction' => [ 'shape' => 'ExecutionAction', ], 'executionRegion' => [ 'shape' => 'String', ], 'stepStates' => [ 'shape' => 'StepStates', ], 'plan' => [ 'shape' => 'Plan', ], 'actualRecoveryTime' => [ 'shape' => 'Duration', ], 'nextToken' => [ 'shape' => 'String', ], ], ], 'GetPlanExecutionStepStatesMaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'GetPlanInRegionRequest' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], ], ], 'GetPlanInRegionResponse' => [ 'type' => 'structure', 'members' => [ 'plan' => [ 'shape' => 'Plan', ], ], ], 'GetPlanRequest' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], ], ], 'GetPlanResponse' => [ 'type' => 'structure', 'members' => [ 'plan' => [ 'shape' => 'Plan', ], ], ], 'GlobalAuroraConfiguration' => [ 'type' => 'structure', 'required' => [ 'behavior', 'globalClusterIdentifier', 'databaseClusterArns', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'GlobalAuroraConfigurationTimeoutMinutesInteger', ], 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'behavior' => [ 'shape' => 'GlobalAuroraDefaultBehavior', ], 'ungraceful' => [ 'shape' => 'GlobalAuroraUngraceful', ], 'globalClusterIdentifier' => [ 'shape' => 'GlobalClusterIdentifier', ], 'databaseClusterArns' => [ 'shape' => 'AuroraClusterArns', ], ], ], 'GlobalAuroraConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'GlobalAuroraDefaultBehavior' => [ 'type' => 'string', 'enum' => [ 'switchoverOnly', 'failover', ], ], 'GlobalAuroraUngraceful' => [ 'type' => 'structure', 'members' => [ 'ungraceful' => [ 'shape' => 'GlobalAuroraUngracefulBehavior', ], ], ], 'GlobalAuroraUngracefulBehavior' => [ 'type' => 'string', 'enum' => [ 'failover', ], ], 'GlobalClusterIdentifier' => [ 'type' => 'string', ], 'IamRoleArn' => [ 'type' => 'string', 'pattern' => 'arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+', ], 'IllegalArgumentException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'IllegalStateException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'InternalServerException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'KubernetesNamespace' => [ 'type' => 'string', 'pattern' => '[a-z0-9][a-z0-9-]{0,61}[a-z0-9]', ], 'KubernetesResourceType' => [ 'type' => 'structure', 'required' => [ 'apiVersion', 'kind', ], 'members' => [ 'apiVersion' => [ 'shape' => 'String', ], 'kind' => [ 'shape' => 'String', ], ], ], 'KubernetesScalingApplication' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'RegionalScalingResource', ], ], 'KubernetesScalingApps' => [ 'type' => 'list', 'member' => [ 'shape' => 'KubernetesScalingApplication', ], 'min' => 1, ], 'KubernetesScalingResource' => [ 'type' => 'structure', 'required' => [ 'namespace', 'name', ], 'members' => [ 'namespace' => [ 'shape' => 'KubernetesNamespace', ], 'name' => [ 'shape' => 'String', ], 'hpaName' => [ 'shape' => 'String', ], ], ], 'LambdaArn' => [ 'type' => 'string', ], 'LambdaList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Lambdas', ], 'max' => 2, 'min' => 1, ], 'LambdaUngraceful' => [ 'type' => 'structure', 'members' => [ 'behavior' => [ 'shape' => 'LambdaUngracefulBehavior', ], ], ], 'LambdaUngracefulBehavior' => [ 'type' => 'string', 'enum' => [ 'skip', ], ], 'Lambdas' => [ 'type' => 'structure', 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'arn' => [ 'shape' => 'LambdaArn', ], ], ], 'ListExecutionEventsMaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'ListExecutionsMaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'ListPlanExecutionEventsRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'maxResults' => [ 'shape' => 'ListExecutionEventsMaxResults', ], 'nextToken' => [ 'shape' => 'String', ], 'name' => [ 'shape' => 'StepName', ], ], ], 'ListPlanExecutionEventsResponse' => [ 'type' => 'structure', 'members' => [ 'items' => [ 'shape' => 'ExecutionEventList', ], 'nextToken' => [ 'shape' => 'String', ], ], ], 'ListPlanExecutionsRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'maxResults' => [ 'shape' => 'ListExecutionsMaxResults', ], 'nextToken' => [ 'shape' => 'String', ], 'state' => [ 'shape' => 'ExecutionState', ], ], ], 'ListPlanExecutionsResponse' => [ 'type' => 'structure', 'members' => [ 'items' => [ 'shape' => 'AbbreviatedExecutionsList', ], 'nextToken' => [ 'shape' => 'String', ], ], ], 'ListPlansInRegionRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListPlansInRegionResponse' => [ 'type' => 'structure', 'members' => [ 'plans' => [ 'shape' => 'PlanList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListPlansRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListPlansResponse' => [ 'type' => 'structure', 'members' => [ 'plans' => [ 'shape' => 'PlanList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListRoute53HealthChecksRequest' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'hostedZoneId' => [ 'shape' => 'Route53HostedZoneId', ], 'recordName' => [ 'shape' => 'Route53RecordName', ], 'maxResults' => [ 'shape' => 'ListRoute53HealthChecksRequestMaxResultsInteger', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListRoute53HealthChecksRequestMaxResultsInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 10, ], 'ListRoute53HealthChecksResponse' => [ 'type' => 'structure', 'members' => [ 'healthChecks' => [ 'shape' => 'Route53HealthCheckList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListTagsForResourceRequest' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], ], ], 'ListTagsForResourceResponse' => [ 'type' => 'structure', 'members' => [ 'resourceTags' => [ 'shape' => 'Tags', ], ], ], 'MaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'MinimalWorkflow' => [ 'type' => 'structure', 'members' => [ 'action' => [ 'shape' => 'ExecutionAction', ], 'name' => [ 'shape' => 'String', ], ], ], 'NextToken' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'ParallelExecutionBlockConfiguration' => [ 'type' => 'structure', 'required' => [ 'steps', ], 'members' => [ 'steps' => [ 'shape' => 'Steps', ], ], ], 'Plan' => [ 'type' => 'structure', 'required' => [ 'arn', 'workflows', 'executionRole', 'name', 'regions', 'recoveryApproach', 'owner', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'description' => [ 'shape' => 'String', ], 'workflows' => [ 'shape' => 'WorkflowList', ], 'executionRole' => [ 'shape' => 'IamRoleArn', ], 'recoveryTimeObjectiveMinutes' => [ 'shape' => 'PlanRecoveryTimeObjectiveMinutesInteger', ], 'associatedAlarms' => [ 'shape' => 'AssociatedAlarmMap', ], 'triggers' => [ 'shape' => 'TriggerList', ], 'name' => [ 'shape' => 'PlanName', ], 'regions' => [ 'shape' => 'RegionList', ], 'recoveryApproach' => [ 'shape' => 'RecoveryApproach', ], 'primaryRegion' => [ 'shape' => 'Region', ], 'owner' => [ 'shape' => 'AccountId', ], 'version' => [ 'shape' => 'String', ], 'updatedAt' => [ 'shape' => 'Timestamp', ], ], ], 'PlanArn' => [ 'type' => 'string', 'pattern' => 'arn:aws[a-zA-Z-]*:arc-region-switch::[0-9]{12}:plan/([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?):([a-z0-9]{6})', ], 'PlanList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AbbreviatedPlan', ], ], 'PlanName' => [ 'type' => 'string', 'max' => 32, 'min' => 1, 'pattern' => '[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?', ], 'PlanRecoveryTimeObjectiveMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 10080, 'min' => 1, ], 'PlanWarnings' => [ 'type' => 'list', 'member' => [ 'shape' => 'ResourceWarning', ], ], 'RecoveryApproach' => [ 'type' => 'string', 'enum' => [ 'activeActive', 'activePassive', ], ], 'Region' => [ 'type' => 'string', 'pattern' => '[a-z]{2}-[a-z-]+-\\d+', ], 'RegionAndRoutingControls' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'ArcRoutingControlStates', ], ], 'RegionList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Region', ], 'max' => 2, 'min' => 2, ], 'RegionSwitchPlanConfiguration' => [ 'type' => 'structure', 'required' => [ 'arn', ], 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'arn' => [ 'shape' => 'PlanArn', ], ], ], 'RegionToRunIn' => [ 'type' => 'string', 'enum' => [ 'activatingRegion', 'deactivatingRegion', ], ], 'RegionalScalingResource' => [ 'type' => 'map', 'key' => [ 'shape' => 'Region', ], 'value' => [ 'shape' => 'KubernetesScalingResource', ], ], 'ResourceArn' => [ 'type' => 'string', ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ResourceWarning' => [ 'type' => 'structure', 'required' => [ 'version', 'warningStatus', 'warningUpdatedTime', 'warningMessage', ], 'members' => [ 'workflow' => [ 'shape' => 'MinimalWorkflow', ], 'version' => [ 'shape' => 'String', ], 'stepName' => [ 'shape' => 'StepName', ], 'resourceArn' => [ 'shape' => 'ResourceArn', ], 'warningStatus' => [ 'shape' => 'ResourceWarningStatus', ], 'warningUpdatedTime' => [ 'shape' => 'Timestamp', ], 'warningMessage' => [ 'shape' => 'String', ], ], ], 'ResourceWarningStatus' => [ 'type' => 'string', 'enum' => [ 'active', 'resolved', ], ], 'Resources' => [ 'type' => 'list', 'member' => [ 'shape' => 'String', ], ], 'RoleArn' => [ 'type' => 'string', ], 'Route53HealthCheck' => [ 'type' => 'structure', 'required' => [ 'hostedZoneId', 'recordName', 'region', ], 'members' => [ 'hostedZoneId' => [ 'shape' => 'Route53HostedZoneId', ], 'recordName' => [ 'shape' => 'Route53RecordName', ], 'healthCheckId' => [ 'shape' => 'Route53HealthCheckId', ], 'region' => [ 'shape' => 'Region', ], ], ], 'Route53HealthCheckConfiguration' => [ 'type' => 'structure', 'required' => [ 'hostedZoneId', 'recordName', ], 'members' => [ 'timeoutMinutes' => [ 'shape' => 'Route53HealthCheckConfigurationTimeoutMinutesInteger', ], 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'hostedZoneId' => [ 'shape' => 'Route53HostedZoneId', ], 'recordName' => [ 'shape' => 'Route53RecordName', ], 'recordSets' => [ 'shape' => 'Route53ResourceRecordSetList', ], ], ], 'Route53HealthCheckConfigurationTimeoutMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'Route53HealthCheckId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, ], 'Route53HealthCheckList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Route53HealthCheck', ], ], 'Route53HostedZoneId' => [ 'type' => 'string', 'max' => 32, 'min' => 1, ], 'Route53RecordName' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'Route53ResourceRecordSet' => [ 'type' => 'structure', 'members' => [ 'recordSetIdentifier' => [ 'shape' => 'Route53ResourceRecordSetIdentifier', ], 'region' => [ 'shape' => 'Region', ], ], ], 'Route53ResourceRecordSetIdentifier' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'Route53ResourceRecordSetList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Route53ResourceRecordSet', ], ], 'RoutingControlArn' => [ 'type' => 'string', ], 'RoutingControlStateChange' => [ 'type' => 'string', 'enum' => [ 'On', 'Off', ], ], 'Service' => [ 'type' => 'structure', 'members' => [ 'crossAccountRole' => [ 'shape' => 'IamRoleArn', ], 'externalId' => [ 'shape' => 'String', ], 'clusterArn' => [ 'shape' => 'EcsClusterArn', ], 'serviceArn' => [ 'shape' => 'EcsServiceArn', ], ], ], 'ServiceList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Service', ], 'max' => 2, 'min' => 2, ], 'StartPlanExecutionRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'targetRegion', 'action', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'targetRegion' => [ 'shape' => 'String', ], 'action' => [ 'shape' => 'ExecutionAction', ], 'mode' => [ 'shape' => 'ExecutionMode', ], 'comment' => [ 'shape' => 'ExecutionComment', ], 'latestVersion' => [ 'shape' => 'String', ], ], ], 'StartPlanExecutionResponse' => [ 'type' => 'structure', 'members' => [ 'executionId' => [ 'shape' => 'ExecutionId', ], 'plan' => [ 'shape' => 'PlanArn', ], 'planVersion' => [ 'shape' => 'String', ], 'activateRegion' => [ 'shape' => 'String', ], 'deactivateRegion' => [ 'shape' => 'String', ], ], ], 'Step' => [ 'type' => 'structure', 'required' => [ 'name', 'executionBlockConfiguration', 'executionBlockType', ], 'members' => [ 'name' => [ 'shape' => 'StepName', ], 'description' => [ 'shape' => 'String', ], 'executionBlockConfiguration' => [ 'shape' => 'ExecutionBlockConfiguration', ], 'executionBlockType' => [ 'shape' => 'ExecutionBlockType', ], ], ], 'StepName' => [ 'type' => 'string', ], 'StepState' => [ 'type' => 'structure', 'members' => [ 'name' => [ 'shape' => 'StepName', ], 'status' => [ 'shape' => 'StepStatus', ], 'startTime' => [ 'shape' => 'Timestamp', ], 'endTime' => [ 'shape' => 'Timestamp', ], 'stepMode' => [ 'shape' => 'ExecutionMode', ], ], ], 'StepStates' => [ 'type' => 'list', 'member' => [ 'shape' => 'StepState', ], ], 'StepStatus' => [ 'type' => 'string', 'enum' => [ 'notStarted', 'running', 'failed', 'completed', 'canceled', 'skipped', 'pendingApproval', ], ], 'Steps' => [ 'type' => 'list', 'member' => [ 'shape' => 'Step', ], ], 'String' => [ 'type' => 'string', ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, ], 'TagKeys' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 200, 'min' => 0, ], 'TagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'arn', 'tags', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'TagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 0, ], 'Tags' => [ 'type' => 'map', 'key' => [ 'shape' => 'TagKey', ], 'value' => [ 'shape' => 'TagValue', ], 'max' => 200, 'min' => 0, ], 'Timestamp' => [ 'type' => 'timestamp', ], 'Trigger' => [ 'type' => 'structure', 'required' => [ 'targetRegion', 'action', 'conditions', 'minDelayMinutesBetweenExecutions', ], 'members' => [ 'description' => [ 'shape' => 'String', ], 'targetRegion' => [ 'shape' => 'Region', ], 'action' => [ 'shape' => 'WorkflowTargetAction', ], 'conditions' => [ 'shape' => 'TriggerConditionList', ], 'minDelayMinutesBetweenExecutions' => [ 'shape' => 'Integer', ], ], ], 'TriggerCondition' => [ 'type' => 'structure', 'required' => [ 'associatedAlarmName', 'condition', ], 'members' => [ 'associatedAlarmName' => [ 'shape' => 'String', ], 'condition' => [ 'shape' => 'AlarmCondition', ], ], ], 'TriggerConditionList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TriggerCondition', ], 'max' => 10, 'min' => 1, ], 'TriggerList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Trigger', ], ], 'UntagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'arn', 'resourceTagKeys', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'resourceTagKeys' => [ 'shape' => 'TagKeys', ], ], ], 'UntagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdatePlanExecutionAction' => [ 'type' => 'string', 'enum' => [ 'switchToGraceful', 'switchToUngraceful', 'pause', 'resume', ], ], 'UpdatePlanExecutionRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', 'action', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'action' => [ 'shape' => 'UpdatePlanExecutionAction', ], 'comment' => [ 'shape' => 'ExecutionComment', ], ], ], 'UpdatePlanExecutionResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdatePlanExecutionStepAction' => [ 'type' => 'string', 'enum' => [ 'switchToUngraceful', 'skip', ], ], 'UpdatePlanExecutionStepRequest' => [ 'type' => 'structure', 'required' => [ 'planArn', 'executionId', 'comment', 'stepName', 'actionToTake', ], 'members' => [ 'planArn' => [ 'shape' => 'PlanArn', ], 'executionId' => [ 'shape' => 'ExecutionId', ], 'comment' => [ 'shape' => 'ExecutionComment', ], 'stepName' => [ 'shape' => 'String', ], 'actionToTake' => [ 'shape' => 'UpdatePlanExecutionStepAction', ], ], ], 'UpdatePlanExecutionStepResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdatePlanRequest' => [ 'type' => 'structure', 'required' => [ 'arn', 'workflows', 'executionRole', ], 'members' => [ 'arn' => [ 'shape' => 'PlanArn', ], 'description' => [ 'shape' => 'String', ], 'workflows' => [ 'shape' => 'WorkflowList', ], 'executionRole' => [ 'shape' => 'IamRoleArn', ], 'recoveryTimeObjectiveMinutes' => [ 'shape' => 'UpdatePlanRequestRecoveryTimeObjectiveMinutesInteger', ], 'associatedAlarms' => [ 'shape' => 'AssociatedAlarmMap', ], 'triggers' => [ 'shape' => 'TriggerList', ], ], ], 'UpdatePlanRequestRecoveryTimeObjectiveMinutesInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 10080, 'min' => 1, ], 'UpdatePlanResponse' => [ 'type' => 'structure', 'members' => [ 'plan' => [ 'shape' => 'Plan', ], ], ], 'Workflow' => [ 'type' => 'structure', 'required' => [ 'workflowTargetAction', ], 'members' => [ 'steps' => [ 'shape' => 'Steps', ], 'workflowTargetAction' => [ 'shape' => 'WorkflowTargetAction', ], 'workflowTargetRegion' => [ 'shape' => 'Region', ], 'workflowDescription' => [ 'shape' => 'String', ], ], ], 'WorkflowList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Workflow', ], ], 'WorkflowTargetAction' => [ 'type' => 'string', 'enum' => [ 'activate', 'deactivate', ], ], ],];
