@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSARCZonalShiftAsync extends AWSARCZonalShift
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSARCZonalShiftAsync
instead.
Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 Application Recovery Controller (Route 53 ARC).
You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.
You can also configure zonal autoshift for a load balancer resource. Zonal autoshift is a capability in Route 53 ARC where Amazon Web Services shifts away application resource traffic from an Availability Zone, on your behalf, to help reduce your time to recovery during events. Amazon Web Services shifts away traffic for resources that are enabled for zonal autoshift whenever Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.
To ensure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource out of an Availability Zone. Practice runs make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.
You must prescale resource capacity in all Availability Zones in the Region where your application is deployed, before you configure practice runs or enable zonal autoshift for a resource. You should not rely on scaling on demand when an autoshift or practice run starts.
For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CancelZonalShiftResult> |
cancelZonalShiftAsync(CancelZonalShiftRequest cancelZonalShiftRequest)
Cancel a zonal shift in Amazon Route 53 Application Recovery Controller.
|
Future<CancelZonalShiftResult> |
cancelZonalShiftAsync(CancelZonalShiftRequest cancelZonalShiftRequest,
AsyncHandler<CancelZonalShiftRequest,CancelZonalShiftResult> asyncHandler)
Cancel a zonal shift in Amazon Route 53 Application Recovery Controller.
|
Future<CreatePracticeRunConfigurationResult> |
createPracticeRunConfigurationAsync(CreatePracticeRunConfigurationRequest createPracticeRunConfigurationRequest)
A practice run configuration for zonal autoshift is required when you enable zonal autoshift.
|
Future<CreatePracticeRunConfigurationResult> |
createPracticeRunConfigurationAsync(CreatePracticeRunConfigurationRequest createPracticeRunConfigurationRequest,
AsyncHandler<CreatePracticeRunConfigurationRequest,CreatePracticeRunConfigurationResult> asyncHandler)
A practice run configuration for zonal autoshift is required when you enable zonal autoshift.
|
Future<DeletePracticeRunConfigurationResult> |
deletePracticeRunConfigurationAsync(DeletePracticeRunConfigurationRequest deletePracticeRunConfigurationRequest)
Deletes the practice run configuration for a resource.
|
Future<DeletePracticeRunConfigurationResult> |
deletePracticeRunConfigurationAsync(DeletePracticeRunConfigurationRequest deletePracticeRunConfigurationRequest,
AsyncHandler<DeletePracticeRunConfigurationRequest,DeletePracticeRunConfigurationResult> asyncHandler)
Deletes the practice run configuration for a resource.
|
Future<GetManagedResourceResult> |
getManagedResourceAsync(GetManagedResourceRequest getManagedResourceRequest)
Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application
Recovery Controller in this Amazon Web Services Region.
|
Future<GetManagedResourceResult> |
getManagedResourceAsync(GetManagedResourceRequest getManagedResourceRequest,
AsyncHandler<GetManagedResourceRequest,GetManagedResourceResult> asyncHandler)
Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application
Recovery Controller in this Amazon Web Services Region.
|
Future<ListAutoshiftsResult> |
listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest)
Returns the active autoshifts for a specified resource.
|
Future<ListAutoshiftsResult> |
listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest,
AsyncHandler<ListAutoshiftsRequest,ListAutoshiftsResult> asyncHandler)
Returns the active autoshifts for a specified resource.
|
Future<ListManagedResourcesResult> |
listManagedResourcesAsync(ListManagedResourcesRequest listManagedResourcesRequest)
Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed
for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them.
|
Future<ListManagedResourcesResult> |
listManagedResourcesAsync(ListManagedResourcesRequest listManagedResourcesRequest,
AsyncHandler<ListManagedResourcesRequest,ListManagedResourcesResult> asyncHandler)
Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed
for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them.
|
Future<ListZonalShiftsResult> |
listZonalShiftsAsync(ListZonalShiftsRequest listZonalShiftsRequest)
Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web
Services account in this Amazon Web Services Region.
|
Future<ListZonalShiftsResult> |
listZonalShiftsAsync(ListZonalShiftsRequest listZonalShiftsRequest,
AsyncHandler<ListZonalShiftsRequest,ListZonalShiftsResult> asyncHandler)
Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web
Services account in this Amazon Web Services Region.
|
Future<StartZonalShiftResult> |
startZonalShiftAsync(StartZonalShiftRequest startZonalShiftRequest)
You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web
Services Region, to help your application recover immediately, for example, from a developer's bad code
deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.
|
Future<StartZonalShiftResult> |
startZonalShiftAsync(StartZonalShiftRequest startZonalShiftRequest,
AsyncHandler<StartZonalShiftRequest,StartZonalShiftResult> asyncHandler)
You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web
Services Region, to help your application recover immediately, for example, from a developer's bad code
deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.
|
Future<UpdatePracticeRunConfigurationResult> |
updatePracticeRunConfigurationAsync(UpdatePracticeRunConfigurationRequest updatePracticeRunConfigurationRequest)
Update a practice run configuration to change one or more of the following: add, change, or remove the blocking
alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.
|
Future<UpdatePracticeRunConfigurationResult> |
updatePracticeRunConfigurationAsync(UpdatePracticeRunConfigurationRequest updatePracticeRunConfigurationRequest,
AsyncHandler<UpdatePracticeRunConfigurationRequest,UpdatePracticeRunConfigurationResult> asyncHandler)
Update a practice run configuration to change one or more of the following: add, change, or remove the blocking
alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.
|
Future<UpdateZonalAutoshiftConfigurationResult> |
updateZonalAutoshiftConfigurationAsync(UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest)
You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift.
|
Future<UpdateZonalAutoshiftConfigurationResult> |
updateZonalAutoshiftConfigurationAsync(UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest,
AsyncHandler<UpdateZonalAutoshiftConfigurationRequest,UpdateZonalAutoshiftConfigurationResult> asyncHandler)
You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift.
|
Future<UpdateZonalShiftResult> |
updateZonalShiftAsync(UpdateZonalShiftRequest updateZonalShiftRequest)
Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services
account.
|
Future<UpdateZonalShiftResult> |
updateZonalShiftAsync(UpdateZonalShiftRequest updateZonalShiftRequest,
AsyncHandler<UpdateZonalShiftRequest,UpdateZonalShiftResult> asyncHandler)
Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services
account.
|
cancelZonalShift, createPracticeRunConfiguration, deletePracticeRunConfiguration, getCachedResponseMetadata, getManagedResource, listAutoshifts, listManagedResources, listZonalShifts, shutdown, startZonalShift, updatePracticeRunConfiguration, updateZonalAutoshiftConfiguration, updateZonalShift
Future<CancelZonalShiftResult> cancelZonalShiftAsync(CancelZonalShiftRequest cancelZonalShiftRequest)
Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.
A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift.
cancelZonalShiftRequest
- Future<CancelZonalShiftResult> cancelZonalShiftAsync(CancelZonalShiftRequest cancelZonalShiftRequest, AsyncHandler<CancelZonalShiftRequest,CancelZonalShiftResult> asyncHandler)
Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.
A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift.
cancelZonalShiftRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreatePracticeRunConfigurationResult> createPracticeRunConfigurationAsync(CreatePracticeRunConfigurationRequest createPracticeRunConfigurationRequest)
A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
createPracticeRunConfigurationRequest
- Future<CreatePracticeRunConfigurationResult> createPracticeRunConfigurationAsync(CreatePracticeRunConfigurationRequest createPracticeRunConfigurationRequest, AsyncHandler<CreatePracticeRunConfigurationRequest,CreatePracticeRunConfigurationResult> asyncHandler)
A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.
For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
createPracticeRunConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeletePracticeRunConfigurationResult> deletePracticeRunConfigurationAsync(DeletePracticeRunConfigurationRequest deletePracticeRunConfigurationRequest)
Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.
deletePracticeRunConfigurationRequest
- Future<DeletePracticeRunConfigurationResult> deletePracticeRunConfigurationAsync(DeletePracticeRunConfigurationRequest deletePracticeRunConfigurationRequest, AsyncHandler<DeletePracticeRunConfigurationRequest,DeletePracticeRunConfigurationResult> asyncHandler)
Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.
deletePracticeRunConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetManagedResourceResult> getManagedResourceAsync(GetManagedResourceRequest getManagedResourceRequest)
Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources.
At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
getManagedResourceRequest
- Future<GetManagedResourceResult> getManagedResourceAsync(GetManagedResourceRequest getManagedResourceRequest, AsyncHandler<GetManagedResourceRequest,GetManagedResourceResult> asyncHandler)
Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources.
At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
getManagedResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListAutoshiftsResult> listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest)
Returns the active autoshifts for a specified resource.
listAutoshiftsRequest
- Future<ListAutoshiftsResult> listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest, AsyncHandler<ListAutoshiftsRequest,ListAutoshiftsResult> asyncHandler)
Returns the active autoshifts for a specified resource.
listAutoshiftsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListManagedResourcesResult> listManagedResourcesAsync(ListManagedResourcesRequest listManagedResourcesRequest)
Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.
listManagedResourcesRequest
- Future<ListManagedResourcesResult> listManagedResourcesAsync(ListManagedResourcesRequest listManagedResourcesRequest, AsyncHandler<ListManagedResourcesRequest,ListManagedResourcesResult> asyncHandler)
Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.
listManagedResourcesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListZonalShiftsResult> listZonalShiftsAsync(ListZonalShiftsRequest listZonalShiftsRequest)
Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web
Services account in this Amazon Web Services Region. ListZonalShifts
returns customer-started zonal
shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.
The ListZonalShifts
operation does not list autoshifts. For more information about listing
autoshifts, see ">ListAutoshifts.
listZonalShiftsRequest
- Future<ListZonalShiftsResult> listZonalShiftsAsync(ListZonalShiftsRequest listZonalShiftsRequest, AsyncHandler<ListZonalShiftsRequest,ListZonalShiftsResult> asyncHandler)
Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web
Services account in this Amazon Web Services Region. ListZonalShifts
returns customer-started zonal
shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.
The ListZonalShifts
operation does not list autoshifts. For more information about listing
autoshifts, see ">ListAutoshifts.
listZonalShiftsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartZonalShiftResult> startZonalShiftAsync(StartZonalShiftRequest startZonalShiftRequest)
You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.
For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
startZonalShiftRequest
- Future<StartZonalShiftResult> startZonalShiftAsync(StartZonalShiftRequest startZonalShiftRequest, AsyncHandler<StartZonalShiftRequest,StartZonalShiftResult> asyncHandler)
You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services.
At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.
For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
startZonalShiftRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdatePracticeRunConfigurationResult> updatePracticeRunConfigurationAsync(UpdatePracticeRunConfigurationRequest updatePracticeRunConfigurationRequest)
Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.
updatePracticeRunConfigurationRequest
- Future<UpdatePracticeRunConfigurationResult> updatePracticeRunConfigurationAsync(UpdatePracticeRunConfigurationRequest updatePracticeRunConfigurationRequest, AsyncHandler<UpdatePracticeRunConfigurationRequest,UpdatePracticeRunConfigurationResult> asyncHandler)
Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.
updatePracticeRunConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateZonalAutoshiftConfigurationResult> updateZonalAutoshiftConfigurationAsync(UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest)
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.
updateZonalAutoshiftConfigurationRequest
- Future<UpdateZonalAutoshiftConfigurationResult> updateZonalAutoshiftConfigurationAsync(UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest, AsyncHandler<UpdateZonalAutoshiftConfigurationRequest,UpdateZonalAutoshiftConfigurationResult> asyncHandler)
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.
updateZonalAutoshiftConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateZonalShiftResult> updateZonalShiftAsync(UpdateZonalShiftRequest updateZonalShiftRequest)
Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
updateZonalShiftRequest
- Future<UpdateZonalShiftResult> updateZonalShiftAsync(UpdateZonalShiftRequest updateZonalShiftRequest, AsyncHandler<UpdateZonalShiftRequest,UpdateZonalShiftResult> asyncHandler)
Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
updateZonalShiftRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.