com.amazonaws.services.arczonalshift.AWSARCZonalShiftAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-arczonalshift Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.arczonalshift;
import javax.annotation.Generated;
import com.amazonaws.services.arczonalshift.model.*;
/**
* Interface for accessing AWS ARC - Zonal Shift asynchronously. Each asynchronous method will return a Java Future
* object representing the asynchronous operation; overloads which accept an {@code 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
* {@link com.amazonaws.services.arczonalshift.AbstractAWSARCZonalShiftAsync} instead.
*
*
*
* Welcome to the API Reference Guide for zonal shift and zonal autoshift in 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 supported load balancer resources. Zonal autoshift is a capability in
* Route 53 ARC where you authorize Amazon Web Services to shift away application resource traffic from an Availability
* Zone during events, on your behalf, to help reduce your time to recovery. Amazon Web Services starts an autoshift
* when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact
* customers.
*
*
* To help make sure 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 away from an Availability Zone. Practice runs help you to 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.
*
*
*
* Before you configure practice runs or enable zonal autoshift, we strongly recommend that you prescale your
* application resource capacity in all Availability Zones in the Region where your application resources are deployed.
* You should not rely on scaling on demand when an autoshift or practice run starts. Zonal autoshift, including
* practice runs, works independently, and does not wait for auto scaling actions to complete. Relying on auto scaling,
* instead of pre-scaling, can result in loss of availability.
*
*
* If you use auto scaling to handle regular cycles of traffic, we strongly recommend that you configure the minimum
* capacity of your auto scaling to continue operating normally with the loss of an Availability Zone.
*
*
*
* Be aware that Route 53 ARC does not inspect the health of individual resources. Amazon Web Services only starts an
* autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could
* potentially impact customers. In some cases, resources might be shifted away that are not experiencing impact.
*
*
* For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application
* Recovery Controller Developer Guide.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSARCZonalShiftAsync extends AWSARCZonalShift {
/**
*
* 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.
*
*
* @param cancelZonalShiftRequest
* @return A Java Future containing the result of the CancelZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsync.CancelZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param cancelZonalShiftRequest
* @param 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.
* @return A Java Future containing the result of the CancelZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.CancelZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelZonalShiftAsync(CancelZonalShiftRequest cancelZonalShiftRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* When a resource has a practice run configuration, Route 53 ARC starts zonal shifts for the resource weekly, to
* shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability
* Zone during an autoshift is safe for your application.
*
*
* For more information, see Considerations
* when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
*
*
* @param createPracticeRunConfigurationRequest
* @return A Java Future containing the result of the CreatePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsync.CreatePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* When a resource has a practice run configuration, Route 53 ARC starts zonal shifts for the resource weekly, to
* shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability
* Zone during an autoshift is safe for your application.
*
*
* For more information, see Considerations
* when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
*
*
* @param createPracticeRunConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the CreatePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsyncHandler.CreatePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createPracticeRunConfigurationAsync(
CreatePracticeRunConfigurationRequest createPracticeRunConfigurationRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param deletePracticeRunConfigurationRequest
* @return A Java Future containing the result of the DeletePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsync.DeletePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param deletePracticeRunConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DeletePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsyncHandler.DeletePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deletePracticeRunConfigurationAsync(
DeletePracticeRunConfigurationRequest deletePracticeRunConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getAutoshiftObserverNotificationStatusRequest
* @return A Java Future containing the result of the GetAutoshiftObserverNotificationStatus operation returned by
* the service.
* @sample AWSARCZonalShiftAsync.GetAutoshiftObserverNotificationStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getAutoshiftObserverNotificationStatusAsync(
GetAutoshiftObserverNotificationStatusRequest getAutoshiftObserverNotificationStatusRequest);
/**
*
* 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.
*
*
* @param getAutoshiftObserverNotificationStatusRequest
* @param 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.
* @return A Java Future containing the result of the GetAutoshiftObserverNotificationStatus operation returned by
* the service.
* @sample AWSARCZonalShiftAsyncHandler.GetAutoshiftObserverNotificationStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future getAutoshiftObserverNotificationStatusAsync(
GetAutoshiftObserverNotificationStatusRequest getAutoshiftObserverNotificationStatusRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param getManagedResourceRequest
* @return A Java Future containing the result of the GetManagedResource operation returned by the service.
* @sample AWSARCZonalShiftAsync.GetManagedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param getManagedResourceRequest
* @param 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.
* @return A Java Future containing the result of the GetManagedResource operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.GetManagedResource
* @see AWS API Documentation
*/
java.util.concurrent.Future getManagedResourceAsync(GetManagedResourceRequest getManagedResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only
* ACTIVE
autoshifts. Optionally, you can specify the status
parameter to return
* COMPLETED
autoshifts.
*
*
* @param listAutoshiftsRequest
* @return A Java Future containing the result of the ListAutoshifts operation returned by the service.
* @sample AWSARCZonalShiftAsync.ListAutoshifts
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest);
/**
*
* Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only
* ACTIVE
autoshifts. Optionally, you can specify the status
parameter to return
* COMPLETED
autoshifts.
*
*
* @param listAutoshiftsRequest
* @param 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.
* @return A Java Future containing the result of the ListAutoshifts operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.ListAutoshifts
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listAutoshiftsAsync(ListAutoshiftsRequest listAutoshiftsRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param listManagedResourcesRequest
* @return A Java Future containing the result of the ListManagedResources operation returned by the service.
* @sample AWSARCZonalShiftAsync.ListManagedResources
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param listManagedResourcesRequest
* @param 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.
* @return A Java Future containing the result of the ListManagedResources operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.ListManagedResources
* @see AWS API Documentation
*/
java.util.concurrent.Future listManagedResourcesAsync(ListManagedResourcesRequest listManagedResourcesRequest,
com.amazonaws.handlers.AsyncHandler 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-initiated
* 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.
*
*
* @param listZonalShiftsRequest
* @return A Java Future containing the result of the ListZonalShifts operation returned by the service.
* @sample AWSARCZonalShiftAsync.ListZonalShifts
* @see AWS API Documentation
*/
java.util.concurrent.Future 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-initiated
* 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.
*
*
* @param listZonalShiftsRequest
* @param 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.
* @return A Java Future containing the result of the ListZonalShifts operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.ListZonalShifts
* @see AWS API Documentation
*/
java.util.concurrent.Future listZonalShiftsAsync(ListZonalShiftsRequest listZonalShiftsRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param startZonalShiftRequest
* @return A Java Future containing the result of the StartZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsync.StartZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param startZonalShiftRequest
* @param 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.
* @return A Java Future containing the result of the StartZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.StartZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future startZonalShiftAsync(StartZonalShiftRequest startZonalShiftRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param updateAutoshiftObserverNotificationStatusRequest
* @return A Java Future containing the result of the UpdateAutoshiftObserverNotificationStatus operation returned
* by the service.
* @sample AWSARCZonalShiftAsync.UpdateAutoshiftObserverNotificationStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAutoshiftObserverNotificationStatusAsync(
UpdateAutoshiftObserverNotificationStatusRequest updateAutoshiftObserverNotificationStatusRequest);
/**
*
* 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.
*
*
* @param updateAutoshiftObserverNotificationStatusRequest
* @param 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.
* @return A Java Future containing the result of the UpdateAutoshiftObserverNotificationStatus operation returned
* by the service.
* @sample AWSARCZonalShiftAsyncHandler.UpdateAutoshiftObserverNotificationStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future updateAutoshiftObserverNotificationStatusAsync(
UpdateAutoshiftObserverNotificationStatusRequest updateAutoshiftObserverNotificationStatusRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param updatePracticeRunConfigurationRequest
* @return A Java Future containing the result of the UpdatePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsync.UpdatePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param updatePracticeRunConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdatePracticeRunConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsyncHandler.UpdatePracticeRunConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updatePracticeRunConfigurationAsync(
UpdatePracticeRunConfigurationRequest updatePracticeRunConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for
* running autoshifts, zonal autoshift status. When a resource has a practice run configuation, Route 53 ARC starts
* weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help
* you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
*
*
* You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is
* ENABLED
, you authorize Amazon Web Services to shift away resource traffic for an application from an
* Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away
* for the required weekly practice runs.
*
*
* @param updateZonalAutoshiftConfigurationRequest
* @return A Java Future containing the result of the UpdateZonalAutoshiftConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsync.UpdateZonalAutoshiftConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateZonalAutoshiftConfigurationAsync(
UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest);
/**
*
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for
* running autoshifts, zonal autoshift status. When a resource has a practice run configuation, Route 53 ARC starts
* weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help
* you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
*
*
* You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is
* ENABLED
, you authorize Amazon Web Services to shift away resource traffic for an application from an
* Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away
* for the required weekly practice runs.
*
*
* @param updateZonalAutoshiftConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateZonalAutoshiftConfiguration operation returned by the
* service.
* @sample AWSARCZonalShiftAsyncHandler.UpdateZonalAutoshiftConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateZonalAutoshiftConfigurationAsync(
UpdateZonalAutoshiftConfigurationRequest updateZonalAutoshiftConfigurationRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param updateZonalShiftRequest
* @return A Java Future containing the result of the UpdateZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsync.UpdateZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* @param updateZonalShiftRequest
* @param 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.
* @return A Java Future containing the result of the UpdateZonalShift operation returned by the service.
* @sample AWSARCZonalShiftAsyncHandler.UpdateZonalShift
* @see AWS API Documentation
*/
java.util.concurrent.Future updateZonalShiftAsync(UpdateZonalShiftRequest updateZonalShiftRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}