update_routing_control

update_routing_control(**kwargs)

Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

See also: AWS API Documentation

Request Syntax

response = client.update_routing_control(
    RoutingControlArn='string',
    RoutingControlName='string'
)
Parameters
  • RoutingControlArn (string) --

    [REQUIRED]

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

  • RoutingControlName (string) --

    [REQUIRED]

    The name of the routing control.

Return type

dict

Returns

Response Syntax

{
    'RoutingControl': {
        'ControlPanelArn': 'string',
        'Name': 'string',
        'RoutingControlArn': 'string',
        'Status': 'PENDING'|'DEPLOYED'|'PENDING_DELETION'
    }
}

Response Structure

  • (dict) --

    200 response - Success.

    • RoutingControl (dict) --

      The routing control that was updated.

      • ControlPanelArn (string) --

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

      • Name (string) --

        The name of the routing control.

      • RoutingControlArn (string) --

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

      • Status (string) --

        The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

Exceptions

  • Route53RecoveryControlConfig.Client.exceptions.ValidationException
  • Route53RecoveryControlConfig.Client.exceptions.InternalServerException
  • Route53RecoveryControlConfig.Client.exceptions.AccessDeniedException
  • Route53RecoveryControlConfig.Client.exceptions.ResourceNotFoundException
  • Route53RecoveryControlConfig.Client.exceptions.ThrottlingException
  • Route53RecoveryControlConfig.Client.exceptions.ConflictException