Module Smaws_Client_Route53RecoveryCluster.Types

type nonrec validation_exception_reason =
  1. | OTHER
  2. | FIELD_VALIDATION_FAILED
  3. | CANNOT_PARSE
  4. | UNKNOWN_OPERATION

Reason the request failed validation

type nonrec string_ = string
type nonrec validation_exception_field = {
  1. message : string_;
    (*

    Information about the validation exception.

    *)
  2. name : string_;
    (*

    The field that had the validation exception.

    *)
}

There was a validation error on the request.

type nonrec validation_exception_field_list = validation_exception_field list
type nonrec validation_exception = {
  1. fields : validation_exception_field_list option;
  2. reason : validation_exception_reason option;
  3. message : string_;
}

There was a validation error on the request.

type nonrec update_routing_control_states_response = unit
type nonrec arn = string
type nonrec routing_control_state =
  1. | Off
  2. | On
type nonrec update_routing_control_state_entry = {
  1. routing_control_state : routing_control_state;
    (*

    The routing control state in a set of routing control state entries.

    *)
  2. routing_control_arn : arn;
    (*

    The Amazon Resource Name (ARN) for a routing control state entry.

    *)
}

A routing control state entry.

type nonrec update_routing_control_state_entries = update_routing_control_state_entry list
type nonrec arns = arn list
type nonrec update_routing_control_states_request = {
  1. safety_rules_to_override : arns option;
    (*

    The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing control states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.

    For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    *)
  2. update_routing_control_state_entries : update_routing_control_state_entries;
    (*

    A set of routing control entries that you want to update.

    *)
}
type nonrec retry_after_seconds = int
type nonrec throttling_exception = {
  1. retry_after_seconds : retry_after_seconds option;
  2. message : string_;
}

The request was denied because of request throttling.

type nonrec service_limit_exceeded_exception = {
  1. service_code : string_;
    (*

    The service code of the limit that was exceeded.

    *)
  2. limit_code : string_;
    (*

    The code of the limit that was exceeded.

    *)
  3. resource_type : string_ option;
    (*

    The resource type of the limit that was exceeded.

    *)
  4. resource_id : string_ option;
    (*

    The resource identifier of the limit that was exceeded.

    *)
  5. message : string_;
}

The request can't update that many routing control states at the same time. Try again with fewer routing control states.

type nonrec resource_not_found_exception = {
  1. resource_type : string_;
    (*

    Hypothetical resource type that was not found

    *)
  2. resource_id : string_;
    (*

    Hypothetical resource identifier that was not found

    *)
  3. message : string_;
}

The request references a routing control or control panel that was not found.

type nonrec internal_server_exception = {
  1. retry_after_seconds : retry_after_seconds option;
  2. message : string_;
}

There was an unexpected error during processing of the request.

type nonrec endpoint_temporarily_unavailable_exception = {
  1. message : string_;
}

The cluster endpoint isn't available. Try another cluster endpoint.

type nonrec conflict_exception = {
  1. resource_type : string_;
    (*

    Type of the resource in use

    *)
  2. resource_id : string_;
    (*

    Identifier of the resource in use

    *)
  3. message : string_;
    (*

    Description of the ConflictException error

    *)
}

There was a conflict with this request. Try again.

type nonrec access_denied_exception = {
  1. message : string_;
}

You don't have sufficient permissions to perform this action.

type nonrec update_routing_control_state_response = unit
type nonrec update_routing_control_state_request = {
  1. safety_rules_to_override : arns option;
    (*

    The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated by commas.

    For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    *)
  2. routing_control_state : routing_control_state;
    (*

    The state of the routing control. You can set the value to ON or OFF.

    *)
  3. routing_control_arn : arn;
    (*

    The Amazon Resource Name (ARN) for the routing control that you want to update the state for.

    *)
}
type nonrec control_panel_name = string
type nonrec routing_control_name = string
type nonrec owner = string
type nonrec routing_control = {
  1. owner : owner option;
    (*

    The Amazon Web Services account ID of the routing control owner.

    *)
  2. routing_control_state : routing_control_state option;
    (*

    The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

    *)
  3. routing_control_name : routing_control_name option;
    (*

    The name of the routing control.

    *)
  4. routing_control_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the routing control.

    *)
  5. control_panel_name : control_panel_name option;
    (*

    The name of the control panel where the routing control is located. Only ASCII characters are supported for control panel names.

    *)
  6. control_panel_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the control panel where the routing control is located.

    *)
}

A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

type nonrec routing_controls = routing_control list
type nonrec page_token = string
type nonrec list_routing_controls_response = {
  1. next_token : page_token option;
    (*

    The token for the next set of results. You receive this token from a previous call.

    *)
  2. routing_controls : routing_controls;
    (*

    The list of routing controls.

    *)
}
type nonrec max_results = int
type nonrec list_routing_controls_request = {
  1. max_results : max_results option;
    (*

    The number of routing controls objects that you want to return with this call. The default value is 500.

    *)
  2. next_token : page_token option;
    (*

    The token for the next set of results. You receive this token from a previous call.

    *)
  3. control_panel_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the control panel of the routing controls to list.

    *)
}
type nonrec get_routing_control_state_response = {
  1. routing_control_name : routing_control_name option;
    (*

    The routing control name.

    *)
  2. routing_control_state : routing_control_state;
    (*

    The state of the routing control.

    *)
  3. routing_control_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the response.

    *)
}
type nonrec get_routing_control_state_request = {
  1. routing_control_arn : arn;
    (*

    The Amazon Resource Name (ARN) for the routing control that you want to get the state for.

    *)
}