create_control_panel
async
¶
create_control_panel(
*,
config_overrides: Optional[AsyncRoute53RecoveryControlConfigClientConfig] = None,
client_token: Optional[__stringMin1Max64PatternS] = None,
cluster_arn: Optional[__stringMin1Max256PatternAZaZ09] = None,
control_panel_name: Optional[__stringMin1Max64PatternS] = None,
tags: Optional[__mapOf__stringMin0Max256PatternS] = None,
) -> CreateControlPanelResponse
Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.
Parameters:
-
client_token(Optional[__stringMin1Max64PatternS], default:None) –A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.
-
cluster_arn(Optional[__stringMin1Max256PatternAZaZ09], default:None) –The Amazon Resource Name (ARN) of the cluster for the control panel.
-
control_panel_name(Optional[__stringMin1Max64PatternS], default:None) –The name of the control panel.
-
tags(Optional[__mapOf__stringMin0Max256PatternS], default:None) –The tags associated with the control panel.
Raises:
-
AccessDeniedException–403 response - You do not have sufficient access to perform this action.
-
ConflictException–409 response - ConflictException. You might be using a predefined variable.
-
InternalServerException–500 response - InternalServiceError. Temporary service error. Retry the request.
-
ResourceNotFoundException–404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
-
ServiceQuotaExceededException–402 response - You attempted to create more resources than the service allows based on service quotas.
-
ThrottlingException–429 response - LimitExceededException or TooManyRequestsException.
-
ValidationException–400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
-
UnknownServiceError–The service returned an error code this client does not model.