/* * Copyright 2018-2023 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.fis; import javax.annotation.Generated; import com.amazonaws.services.fis.model.*; /** * Interface for accessing FIS 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.fis.AbstractAWSFISAsync} instead. *
**
* Fault Injection Simulator is a managed service that enables you to perform fault injection experiments on your Amazon * Web Services workloads. For more information, see the Fault Injection Simulator User Guide. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSFISAsync extends AWSFIS { /** ** Creates an experiment template. *
** An experiment template includes the following components: *
** Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more * resources that match criteria that you specify, for example, resources that have specific tags. *
** Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each * action, and when to start each action during an experiment. *
** Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is * automatically stopped. You can define a stop condition as a CloudWatch alarm. *
** For more information, see Experiment templates in the * Fault Injection Simulator User Guide. *
* * @param createExperimentTemplateRequest * @return A Java Future containing the result of the CreateExperimentTemplate operation returned by the service. * @sample AWSFISAsync.CreateExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future* Creates an experiment template. *
** An experiment template includes the following components: *
** Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more * resources that match criteria that you specify, for example, resources that have specific tags. *
** Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each * action, and when to start each action during an experiment. *
** Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is * automatically stopped. You can define a stop condition as a CloudWatch alarm. *
** For more information, see Experiment templates in the * Fault Injection Simulator User Guide. *
* * @param createExperimentTemplateRequest * @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 CreateExperimentTemplate operation returned by the service. * @sample AWSFISAsyncHandler.CreateExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes the specified experiment template. *
* * @param deleteExperimentTemplateRequest * @return A Java Future containing the result of the DeleteExperimentTemplate operation returned by the service. * @sample AWSFISAsync.DeleteExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes the specified experiment template. *
* * @param deleteExperimentTemplateRequest * @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 DeleteExperimentTemplate operation returned by the service. * @sample AWSFISAsyncHandler.DeleteExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future* Gets information about the specified FIS action. *
* * @param getActionRequest * @return A Java Future containing the result of the GetAction operation returned by the service. * @sample AWSFISAsync.GetAction * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified FIS action. *
* * @param getActionRequest * @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 GetAction operation returned by the service. * @sample AWSFISAsyncHandler.GetAction * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified experiment. *
* * @param getExperimentRequest * @return A Java Future containing the result of the GetExperiment operation returned by the service. * @sample AWSFISAsync.GetExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified experiment. *
* * @param getExperimentRequest * @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 GetExperiment operation returned by the service. * @sample AWSFISAsyncHandler.GetExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified experiment template. *
* * @param getExperimentTemplateRequest * @return A Java Future containing the result of the GetExperimentTemplate operation returned by the service. * @sample AWSFISAsync.GetExperimentTemplate * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified experiment template. *
* * @param getExperimentTemplateRequest * @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 GetExperimentTemplate operation returned by the service. * @sample AWSFISAsyncHandler.GetExperimentTemplate * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified resource type. *
* * @param getTargetResourceTypeRequest * @return A Java Future containing the result of the GetTargetResourceType operation returned by the service. * @sample AWSFISAsync.GetTargetResourceType * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified resource type. *
* * @param getTargetResourceTypeRequest * @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 GetTargetResourceType operation returned by the service. * @sample AWSFISAsyncHandler.GetTargetResourceType * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the available FIS actions. *
* * @param listActionsRequest * @return A Java Future containing the result of the ListActions operation returned by the service. * @sample AWSFISAsync.ListActions * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the available FIS actions. *
* * @param listActionsRequest * @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 ListActions operation returned by the service. * @sample AWSFISAsyncHandler.ListActions * @see AWS API * Documentation */ java.util.concurrent.Future* Lists your experiment templates. *
* * @param listExperimentTemplatesRequest * @return A Java Future containing the result of the ListExperimentTemplates operation returned by the service. * @sample AWSFISAsync.ListExperimentTemplates * @see AWS * API Documentation */ java.util.concurrent.Future* Lists your experiment templates. *
* * @param listExperimentTemplatesRequest * @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 ListExperimentTemplates operation returned by the service. * @sample AWSFISAsyncHandler.ListExperimentTemplates * @see AWS * API Documentation */ java.util.concurrent.Future* Lists your experiments. *
* * @param listExperimentsRequest * @return A Java Future containing the result of the ListExperiments operation returned by the service. * @sample AWSFISAsync.ListExperiments * @see AWS API * Documentation */ java.util.concurrent.Future* Lists your experiments. *
* * @param listExperimentsRequest * @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 ListExperiments operation returned by the service. * @sample AWSFISAsyncHandler.ListExperiments * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSFISAsync.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @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 ListTagsForResource operation returned by the service. * @sample AWSFISAsyncHandler.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the target resource types. *
* * @param listTargetResourceTypesRequest * @return A Java Future containing the result of the ListTargetResourceTypes operation returned by the service. * @sample AWSFISAsync.ListTargetResourceTypes * @see AWS * API Documentation */ java.util.concurrent.Future* Lists the target resource types. *
* * @param listTargetResourceTypesRequest * @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 ListTargetResourceTypes operation returned by the service. * @sample AWSFISAsyncHandler.ListTargetResourceTypes * @see AWS * API Documentation */ java.util.concurrent.Future* Starts running an experiment from the specified experiment template. *
* * @param startExperimentRequest * @return A Java Future containing the result of the StartExperiment operation returned by the service. * @sample AWSFISAsync.StartExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Starts running an experiment from the specified experiment template. *
* * @param startExperimentRequest * @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 StartExperiment operation returned by the service. * @sample AWSFISAsyncHandler.StartExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Stops the specified experiment. *
* * @param stopExperimentRequest * @return A Java Future containing the result of the StopExperiment operation returned by the service. * @sample AWSFISAsync.StopExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Stops the specified experiment. *
* * @param stopExperimentRequest * @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 StopExperiment operation returned by the service. * @sample AWSFISAsyncHandler.StopExperiment * @see AWS API * Documentation */ java.util.concurrent.Future* Applies the specified tags to the specified resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSFISAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Applies the specified tags to the specified resource. *
* * @param tagResourceRequest * @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 TagResource operation returned by the service. * @sample AWSFISAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSFISAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes the specified tags from the specified resource. *
* * @param untagResourceRequest * @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 UntagResource operation returned by the service. * @sample AWSFISAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified experiment template. *
* * @param updateExperimentTemplateRequest * @return A Java Future containing the result of the UpdateExperimentTemplate operation returned by the service. * @sample AWSFISAsync.UpdateExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future* Updates the specified experiment template. *
* * @param updateExperimentTemplateRequest * @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 UpdateExperimentTemplate operation returned by the service. * @sample AWSFISAsyncHandler.UpdateExperimentTemplate * @see AWS * API Documentation */ java.util.concurrent.Future