AWS ARC - Zonal Shift

2024/07/12 - AWS ARC - Zonal Shift - 2 new api methods

Changes  Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region.

UpdateAutoshiftObserverNotificationStatus (new) Link ¶

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

client.update_autoshift_observer_notification_status(
    status='ENABLED'|'DISABLED'
)
type status

string

param status

[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.

rtype

dict

returns

Response Syntax

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

Response Structure

  • (dict) --

    • status (string) --

      The status for autoshift observer notification.

GetAutoshiftObserverNotificationStatus (new) Link ¶

Returns 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

client.get_autoshift_observer_notification_status()
rtype

dict

returns

Response Syntax

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

Response Structure

  • (dict) --

    • status (string) --

      The status of 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.