ARCZonalShift / Client / update_autoshift_observer_notification_status

update_autoshift_observer_notification_status#

ARCZonalShift.Client.update_autoshift_observer_notification_status(**kwargs)#

Update the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.

If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

For more information, see Notifications for practice runs and autoshifts in the Amazon Route 53 Application Recovery Controller Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.update_autoshift_observer_notification_status(
    status='ENABLED'|'DISABLED'
)
Parameters:

status (string) –

[REQUIRED]

The status to set for autoshift observer notification. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) –

    • status (string) –

      The status for autoshift observer notification.

Exceptions

  • ARCZonalShift.Client.exceptions.InternalServerException

  • ARCZonalShift.Client.exceptions.ThrottlingException

  • ARCZonalShift.Client.exceptions.ValidationException

  • ARCZonalShift.Client.exceptions.AccessDeniedException