All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.fis.AWSFISAsync Maven / Gradle / Ivy

/*
 * Copyright 2016-2021 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. *

*

*

* AWS Fault Injection Simulator is a managed service that enables you to perform fault injection experiments on your * AWS workloads. For more information, see the AWS Fault * Injection Simulator User Guide. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSFISAsync extends AWSFIS { /** *

* Creates an experiment template. *

*

* To create a template, specify the following information: *

*
    *
  • *

    * Targets: A target can be a specific resource in your AWS 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 the AWS 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 createExperimentTemplateAsync(CreateExperimentTemplateRequest createExperimentTemplateRequest); /** *

* Creates an experiment template. *

*

* To create a template, specify the following information: *

*
    *
  • *

    * Targets: A target can be a specific resource in your AWS 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 the AWS 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 createExperimentTemplateAsync(CreateExperimentTemplateRequest createExperimentTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest); /** *

* 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 deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about the specified AWS 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 getActionAsync(GetActionRequest getActionRequest); /** *

* Gets information about the specified AWS 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 getActionAsync(GetActionRequest getActionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 getExperimentAsync(GetExperimentRequest getExperimentRequest); /** *

* 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 getExperimentAsync(GetExperimentRequest getExperimentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 getExperimentTemplateAsync(GetExperimentTemplateRequest getExperimentTemplateRequest); /** *

* 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 getExperimentTemplateAsync(GetExperimentTemplateRequest getExperimentTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the available AWS 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 listActionsAsync(ListActionsRequest listActionsRequest); /** *

* Lists the available AWS 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 listActionsAsync(ListActionsRequest listActionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 listExperimentTemplatesAsync(ListExperimentTemplatesRequest listExperimentTemplatesRequest); /** *

* 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 listExperimentTemplatesAsync(ListExperimentTemplatesRequest listExperimentTemplatesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 listExperimentsAsync(ListExperimentsRequest listExperimentsRequest); /** *

* 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 listExperimentsAsync(ListExperimentsRequest listExperimentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* 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 listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 startExperimentAsync(StartExperimentRequest startExperimentRequest); /** *

* 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 startExperimentAsync(StartExperimentRequest startExperimentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 stopExperimentAsync(StopExperimentRequest stopExperimentRequest); /** *

* 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 stopExperimentAsync(StopExperimentRequest stopExperimentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* 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 tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* 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 untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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 updateExperimentTemplateAsync(UpdateExperimentTemplateRequest updateExperimentTemplateRequest); /** *

* 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 updateExperimentTemplateAsync(UpdateExperimentTemplateRequest updateExperimentTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy