@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSFISAsync extends AWSFIS
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
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.
ENDPOINT_PREFIX
createExperimentTemplate, deleteExperimentTemplate, getAction, getCachedResponseMetadata, getExperiment, getExperimentTemplate, listActions, listExperiments, listExperimentTemplates, listTagsForResource, shutdown, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplate
Future<CreateExperimentTemplateResult> 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.
createExperimentTemplateRequest
- Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest createExperimentTemplateRequest, AsyncHandler<CreateExperimentTemplateRequest,CreateExperimentTemplateResult> asyncHandler)
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.
createExperimentTemplateRequest
- 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<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest)
Deletes the specified experiment template.
deleteExperimentTemplateRequest
- Future<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest, AsyncHandler<DeleteExperimentTemplateRequest,DeleteExperimentTemplateResult> asyncHandler)
Deletes the specified experiment template.
deleteExperimentTemplateRequest
- 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<GetActionResult> getActionAsync(GetActionRequest getActionRequest)
Gets information about the specified AWS FIS action.
getActionRequest
- Future<GetActionResult> getActionAsync(GetActionRequest getActionRequest, AsyncHandler<GetActionRequest,GetActionResult> asyncHandler)
Gets information about the specified AWS FIS action.
getActionRequest
- 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<GetExperimentResult> getExperimentAsync(GetExperimentRequest getExperimentRequest)
Gets information about the specified experiment.
getExperimentRequest
- Future<GetExperimentResult> getExperimentAsync(GetExperimentRequest getExperimentRequest, AsyncHandler<GetExperimentRequest,GetExperimentResult> asyncHandler)
Gets information about the specified experiment.
getExperimentRequest
- 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<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest getExperimentTemplateRequest)
Gets information about the specified experiment template.
getExperimentTemplateRequest
- Future<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest getExperimentTemplateRequest, AsyncHandler<GetExperimentTemplateRequest,GetExperimentTemplateResult> asyncHandler)
Gets information about the specified experiment template.
getExperimentTemplateRequest
- 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<ListActionsResult> listActionsAsync(ListActionsRequest listActionsRequest)
Lists the available AWS FIS actions.
listActionsRequest
- Future<ListActionsResult> listActionsAsync(ListActionsRequest listActionsRequest, AsyncHandler<ListActionsRequest,ListActionsResult> asyncHandler)
Lists the available AWS FIS actions.
listActionsRequest
- 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<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest listExperimentTemplatesRequest)
Lists your experiment templates.
listExperimentTemplatesRequest
- Future<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest listExperimentTemplatesRequest, AsyncHandler<ListExperimentTemplatesRequest,ListExperimentTemplatesResult> asyncHandler)
Lists your experiment templates.
listExperimentTemplatesRequest
- 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<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest listExperimentsRequest)
Lists your experiments.
listExperimentsRequest
- Future<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest listExperimentsRequest, AsyncHandler<ListExperimentsRequest,ListExperimentsResult> asyncHandler)
Lists your experiments.
listExperimentsRequest
- 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags for the specified resource.
listTagsForResourceRequest
- 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<StartExperimentResult> startExperimentAsync(StartExperimentRequest startExperimentRequest)
Starts running an experiment from the specified experiment template.
startExperimentRequest
- Future<StartExperimentResult> startExperimentAsync(StartExperimentRequest startExperimentRequest, AsyncHandler<StartExperimentRequest,StartExperimentResult> asyncHandler)
Starts running an experiment from the specified experiment template.
startExperimentRequest
- 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<StopExperimentResult> stopExperimentAsync(StopExperimentRequest stopExperimentRequest)
Stops the specified experiment.
stopExperimentRequest
- Future<StopExperimentResult> stopExperimentAsync(StopExperimentRequest stopExperimentRequest, AsyncHandler<StopExperimentRequest,StopExperimentResult> asyncHandler)
Stops the specified experiment.
stopExperimentRequest
- 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<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Applies the specified tags to the specified resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Applies the specified tags to the specified resource.
tagResourceRequest
- 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the specified tags from the specified resource.
untagResourceRequest
- 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<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest updateExperimentTemplateRequest)
Updates the specified experiment template.
updateExperimentTemplateRequest
- Future<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest updateExperimentTemplateRequest, AsyncHandler<UpdateExperimentTemplateRequest,UpdateExperimentTemplateResult> asyncHandler)
Updates the specified experiment template.
updateExperimentTemplateRequest
- 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.