ARCZonalShift / Client / update_zonal_autoshift_configuration

update_zonal_autoshift_configuration#

ARCZonalShift.Client.update_zonal_autoshift_configuration(**kwargs)#

You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts away resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there’s an issue in the Availability Zone that could potentially affect customers.

See also: AWS API Documentation

Request Syntax

response = client.update_zonal_autoshift_configuration(
    resourceIdentifier='string',
    zonalAutoshiftStatus='ENABLED'|'DISABLED'
)
Parameters:
  • resourceIdentifier (string) –

    [REQUIRED]

    The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

  • zonalAutoshiftStatus (string) –

    [REQUIRED]

    The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.

Return type:

dict

Returns:

Response Syntax

{
    'resourceIdentifier': 'string',
    'zonalAutoshiftStatus': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) –

    • resourceIdentifier (string) –

      The identifier for the resource that you updated the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

    • zonalAutoshiftStatus (string) –

      The zonal autoshift status for the resource that you updated the zonal autoshift configuration for.

Exceptions