@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFISAsyncClient extends AWSFISClient implements AWSFISAsync
AsyncHandler can be used to receive notification when an
asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createExperimentTemplate, deleteExperimentTemplate, getAction, getCachedResponseMetadata, getExperiment, getExperimentTemplate, getTargetResourceType, listActions, listExperiments, listExperimentTemplates, listTagsForResource, listTargetResourceTypes, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplateaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateExperimentTemplate, deleteExperimentTemplate, getAction, getCachedResponseMetadata, getExperiment, getExperimentTemplate, getTargetResourceType, listActions, listExperiments, listExperimentTemplates, listTagsForResource, listTargetResourceTypes, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplatepublic static AWSFISAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest request)
AWSFISAsyncCreates 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.
createExperimentTemplateAsync in interface AWSFISAsyncpublic Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest request, AsyncHandler<CreateExperimentTemplateRequest,CreateExperimentTemplateResult> asyncHandler)
AWSFISAsyncCreates 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.
createExperimentTemplateAsync in interface AWSFISAsyncasyncHandler - 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.public Future<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest request)
AWSFISAsyncDeletes the specified experiment template.
deleteExperimentTemplateAsync in interface AWSFISAsyncpublic Future<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest request, AsyncHandler<DeleteExperimentTemplateRequest,DeleteExperimentTemplateResult> asyncHandler)
AWSFISAsyncDeletes the specified experiment template.
deleteExperimentTemplateAsync in interface AWSFISAsyncasyncHandler - 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.public Future<GetActionResult> getActionAsync(GetActionRequest request)
AWSFISAsyncGets information about the specified FIS action.
getActionAsync in interface AWSFISAsyncpublic Future<GetActionResult> getActionAsync(GetActionRequest request, AsyncHandler<GetActionRequest,GetActionResult> asyncHandler)
AWSFISAsyncGets information about the specified FIS action.
getActionAsync in interface AWSFISAsyncasyncHandler - 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.public Future<GetExperimentResult> getExperimentAsync(GetExperimentRequest request)
AWSFISAsyncGets information about the specified experiment.
getExperimentAsync in interface AWSFISAsyncpublic Future<GetExperimentResult> getExperimentAsync(GetExperimentRequest request, AsyncHandler<GetExperimentRequest,GetExperimentResult> asyncHandler)
AWSFISAsyncGets information about the specified experiment.
getExperimentAsync in interface AWSFISAsyncasyncHandler - 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.public Future<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest request)
AWSFISAsyncGets information about the specified experiment template.
getExperimentTemplateAsync in interface AWSFISAsyncpublic Future<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest request, AsyncHandler<GetExperimentTemplateRequest,GetExperimentTemplateResult> asyncHandler)
AWSFISAsyncGets information about the specified experiment template.
getExperimentTemplateAsync in interface AWSFISAsyncasyncHandler - 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.public Future<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest request)
AWSFISAsyncGets information about the specified resource type.
getTargetResourceTypeAsync in interface AWSFISAsyncpublic Future<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest request, AsyncHandler<GetTargetResourceTypeRequest,GetTargetResourceTypeResult> asyncHandler)
AWSFISAsyncGets information about the specified resource type.
getTargetResourceTypeAsync in interface AWSFISAsyncasyncHandler - 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.public Future<ListActionsResult> listActionsAsync(ListActionsRequest request)
AWSFISAsyncLists the available FIS actions.
listActionsAsync in interface AWSFISAsyncpublic Future<ListActionsResult> listActionsAsync(ListActionsRequest request, AsyncHandler<ListActionsRequest,ListActionsResult> asyncHandler)
AWSFISAsyncLists the available FIS actions.
listActionsAsync in interface AWSFISAsyncasyncHandler - 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.public Future<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest request)
AWSFISAsyncLists your experiment templates.
listExperimentTemplatesAsync in interface AWSFISAsyncpublic Future<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest request, AsyncHandler<ListExperimentTemplatesRequest,ListExperimentTemplatesResult> asyncHandler)
AWSFISAsyncLists your experiment templates.
listExperimentTemplatesAsync in interface AWSFISAsyncasyncHandler - 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.public Future<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest request)
AWSFISAsyncLists your experiments.
listExperimentsAsync in interface AWSFISAsyncpublic Future<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest request, AsyncHandler<ListExperimentsRequest,ListExperimentsResult> asyncHandler)
AWSFISAsyncLists your experiments.
listExperimentsAsync in interface AWSFISAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSFISAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSFISAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSFISAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSFISAsyncasyncHandler - 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.public Future<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest request)
AWSFISAsyncLists the target resource types.
listTargetResourceTypesAsync in interface AWSFISAsyncpublic Future<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest request, AsyncHandler<ListTargetResourceTypesRequest,ListTargetResourceTypesResult> asyncHandler)
AWSFISAsyncLists the target resource types.
listTargetResourceTypesAsync in interface AWSFISAsyncasyncHandler - 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.public Future<StartExperimentResult> startExperimentAsync(StartExperimentRequest request)
AWSFISAsyncStarts running an experiment from the specified experiment template.
startExperimentAsync in interface AWSFISAsyncpublic Future<StartExperimentResult> startExperimentAsync(StartExperimentRequest request, AsyncHandler<StartExperimentRequest,StartExperimentResult> asyncHandler)
AWSFISAsyncStarts running an experiment from the specified experiment template.
startExperimentAsync in interface AWSFISAsyncasyncHandler - 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.public Future<StopExperimentResult> stopExperimentAsync(StopExperimentRequest request)
AWSFISAsyncStops the specified experiment.
stopExperimentAsync in interface AWSFISAsyncpublic Future<StopExperimentResult> stopExperimentAsync(StopExperimentRequest request, AsyncHandler<StopExperimentRequest,StopExperimentResult> asyncHandler)
AWSFISAsyncStops the specified experiment.
stopExperimentAsync in interface AWSFISAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSFISAsyncApplies the specified tags to the specified resource.
tagResourceAsync in interface AWSFISAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSFISAsyncApplies the specified tags to the specified resource.
tagResourceAsync in interface AWSFISAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSFISAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AWSFISAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSFISAsyncRemoves the specified tags from the specified resource.
untagResourceAsync in interface AWSFISAsyncasyncHandler - 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.public Future<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest request)
AWSFISAsyncUpdates the specified experiment template.
updateExperimentTemplateAsync in interface AWSFISAsyncpublic Future<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest request, AsyncHandler<UpdateExperimentTemplateRequest,UpdateExperimentTemplateResult> asyncHandler)
AWSFISAsyncUpdates the specified experiment template.
updateExperimentTemplateAsync in interface AWSFISAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSFISshutdown in class AWSFISClient