@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 Service 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 Service User Guide.
LOGGING_AWS_REQUEST_METRIC ENDPOINT_PREFIX builder, createExperimentTemplate, createTargetAccountConfiguration, deleteExperimentTemplate, deleteTargetAccountConfiguration, getAction, getCachedResponseMetadata, getExperiment, getExperimentTargetAccountConfiguration, getExperimentTemplate, getTargetAccountConfiguration, getTargetResourceType, listActions, listExperimentResolvedTargets, listExperiments, listExperimentTargetAccountConfigurations, listExperimentTemplates, listTagsForResource, listTargetAccountConfigurations, listTargetResourceTypes, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplate, updateTargetAccountConfiguration addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait createExperimentTemplate, createTargetAccountConfiguration, deleteExperimentTemplate, deleteTargetAccountConfiguration, getAction, getCachedResponseMetadata, getExperiment, getExperimentTargetAccountConfiguration, getExperimentTemplate, getTargetAccountConfiguration, getTargetResourceType, listActions, listExperimentResolvedTargets, listExperiments, listExperimentTargetAccountConfigurations, listExperimentTemplates, listTagsForResource, listTargetAccountConfigurations, listTargetResourceTypes, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplate, updateTargetAccountConfiguration public static AWSFISAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest request)
AWSFISAsync 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 Service User Guide.
createExperimentTemplateAsync in interface AWSFISAsync public Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest request, AsyncHandler<CreateExperimentTemplateRequest,CreateExperimentTemplateResult> asyncHandler)
AWSFISAsync 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 Service User Guide.
createExperimentTemplateAsync in interface AWSFISAsync 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.public Future<CreateTargetAccountConfigurationResult> createTargetAccountConfigurationAsync(CreateTargetAccountConfigurationRequest request)
AWSFISAsync
Creates a target account configuration for the experiment template. A target account configuration is required
when accountTargeting of experimentOptions is set to multi-account. For
more information, see experiment options in the
Fault Injection Service User Guide.
createTargetAccountConfigurationAsync in interface AWSFISAsync public Future<CreateTargetAccountConfigurationResult> createTargetAccountConfigurationAsync(CreateTargetAccountConfigurationRequest request, AsyncHandler<CreateTargetAccountConfigurationRequest,CreateTargetAccountConfigurationResult> asyncHandler)
AWSFISAsync
Creates a target account configuration for the experiment template. A target account configuration is required
when accountTargeting of experimentOptions is set to multi-account. For
more information, see experiment options in the
Fault Injection Service User Guide.
createTargetAccountConfigurationAsync in interface AWSFISAsync 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.public Future<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest request)
AWSFISAsync Deletes the specified experiment template.
deleteExperimentTemplateAsync in interface AWSFISAsync public Future<DeleteExperimentTemplateResult> deleteExperimentTemplateAsync(DeleteExperimentTemplateRequest request, AsyncHandler<DeleteExperimentTemplateRequest,DeleteExperimentTemplateResult> asyncHandler)
AWSFISAsync Deletes the specified experiment template.
deleteExperimentTemplateAsync in interface AWSFISAsync 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.public Future<DeleteTargetAccountConfigurationResult> deleteTargetAccountConfigurationAsync(DeleteTargetAccountConfigurationRequest request)
AWSFISAsync Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfigurationAsync in interface AWSFISAsync public Future<DeleteTargetAccountConfigurationResult> deleteTargetAccountConfigurationAsync(DeleteTargetAccountConfigurationRequest request, AsyncHandler<DeleteTargetAccountConfigurationRequest,DeleteTargetAccountConfigurationResult> asyncHandler)
AWSFISAsync Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfigurationAsync in interface AWSFISAsync 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.public Future<GetActionResult> getActionAsync(GetActionRequest request)
AWSFISAsync Gets information about the specified FIS action.
getActionAsync in interface AWSFISAsync public Future<GetActionResult> getActionAsync(GetActionRequest request, AsyncHandler<GetActionRequest,GetActionResult> asyncHandler)
AWSFISAsync Gets information about the specified FIS action.
getActionAsync in interface AWSFISAsync 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.public Future<GetExperimentResult> getExperimentAsync(GetExperimentRequest request)
AWSFISAsync Gets information about the specified experiment.
getExperimentAsync in interface AWSFISAsync public Future<GetExperimentResult> getExperimentAsync(GetExperimentRequest request, AsyncHandler<GetExperimentRequest,GetExperimentResult> asyncHandler)
AWSFISAsync Gets information about the specified experiment.
getExperimentAsync in interface AWSFISAsync 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.public Future<GetExperimentTargetAccountConfigurationResult> getExperimentTargetAccountConfigurationAsync(GetExperimentTargetAccountConfigurationRequest request)
AWSFISAsync Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfigurationAsync in interface AWSFISAsync public Future<GetExperimentTargetAccountConfigurationResult> getExperimentTargetAccountConfigurationAsync(GetExperimentTargetAccountConfigurationRequest request, AsyncHandler<GetExperimentTargetAccountConfigurationRequest,GetExperimentTargetAccountConfigurationResult> asyncHandler)
AWSFISAsync Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfigurationAsync in interface AWSFISAsync 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.public Future<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest request)
AWSFISAsync Gets information about the specified experiment template.
getExperimentTemplateAsync in interface AWSFISAsync public Future<GetExperimentTemplateResult> getExperimentTemplateAsync(GetExperimentTemplateRequest request, AsyncHandler<GetExperimentTemplateRequest,GetExperimentTemplateResult> asyncHandler)
AWSFISAsync Gets information about the specified experiment template.
getExperimentTemplateAsync in interface AWSFISAsync 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.public Future<GetTargetAccountConfigurationResult> getTargetAccountConfigurationAsync(GetTargetAccountConfigurationRequest request)
AWSFISAsync Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfigurationAsync in interface AWSFISAsync public Future<GetTargetAccountConfigurationResult> getTargetAccountConfigurationAsync(GetTargetAccountConfigurationRequest request, AsyncHandler<GetTargetAccountConfigurationRequest,GetTargetAccountConfigurationResult> asyncHandler)
AWSFISAsync Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfigurationAsync in interface AWSFISAsync 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.public Future<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest request)
AWSFISAsync Gets information about the specified resource type.
getTargetResourceTypeAsync in interface AWSFISAsync public Future<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest request, AsyncHandler<GetTargetResourceTypeRequest,GetTargetResourceTypeResult> asyncHandler)
AWSFISAsync Gets information about the specified resource type.
getTargetResourceTypeAsync in interface AWSFISAsync 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.public Future<ListActionsResult> listActionsAsync(ListActionsRequest request)
AWSFISAsync Lists the available FIS actions.
listActionsAsync in interface AWSFISAsync public Future<ListActionsResult> listActionsAsync(ListActionsRequest request, AsyncHandler<ListActionsRequest,ListActionsResult> asyncHandler)
AWSFISAsync Lists the available FIS actions.
listActionsAsync in interface AWSFISAsync 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.public Future<ListExperimentResolvedTargetsResult> listExperimentResolvedTargetsAsync(ListExperimentResolvedTargetsRequest request)
AWSFISAsync Lists the resolved targets information of the specified experiment.
listExperimentResolvedTargetsAsync in interface AWSFISAsync public Future<ListExperimentResolvedTargetsResult> listExperimentResolvedTargetsAsync(ListExperimentResolvedTargetsRequest request, AsyncHandler<ListExperimentResolvedTargetsRequest,ListExperimentResolvedTargetsResult> asyncHandler)
AWSFISAsync Lists the resolved targets information of the specified experiment.
listExperimentResolvedTargetsAsync in interface AWSFISAsync 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.public Future<ListExperimentTargetAccountConfigurationsResult> listExperimentTargetAccountConfigurationsAsync(ListExperimentTargetAccountConfigurationsRequest request)
AWSFISAsync Lists the target account configurations of the specified experiment.
listExperimentTargetAccountConfigurationsAsync in interface AWSFISAsync public Future<ListExperimentTargetAccountConfigurationsResult> listExperimentTargetAccountConfigurationsAsync(ListExperimentTargetAccountConfigurationsRequest request, AsyncHandler<ListExperimentTargetAccountConfigurationsRequest,ListExperimentTargetAccountConfigurationsResult> asyncHandler)
AWSFISAsync Lists the target account configurations of the specified experiment.
listExperimentTargetAccountConfigurationsAsync in interface AWSFISAsync 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.public Future<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest request)
AWSFISAsync Lists your experiment templates.
listExperimentTemplatesAsync in interface AWSFISAsync public Future<ListExperimentTemplatesResult> listExperimentTemplatesAsync(ListExperimentTemplatesRequest request, AsyncHandler<ListExperimentTemplatesRequest,ListExperimentTemplatesResult> asyncHandler)
AWSFISAsync Lists your experiment templates.
listExperimentTemplatesAsync in interface AWSFISAsync 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.public Future<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest request)
AWSFISAsync Lists your experiments.
listExperimentsAsync in interface AWSFISAsync public Future<ListExperimentsResult> listExperimentsAsync(ListExperimentsRequest request, AsyncHandler<ListExperimentsRequest,ListExperimentsResult> asyncHandler)
AWSFISAsync Lists your experiments.
listExperimentsAsync in interface AWSFISAsync 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSFISAsync Lists the tags for the specified resource.
listTagsForResourceAsync in interface AWSFISAsync public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSFISAsync Lists the tags for the specified resource.
listTagsForResourceAsync in interface AWSFISAsync 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.public Future<ListTargetAccountConfigurationsResult> listTargetAccountConfigurationsAsync(ListTargetAccountConfigurationsRequest request)
AWSFISAsync Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurationsAsync in interface AWSFISAsync public Future<ListTargetAccountConfigurationsResult> listTargetAccountConfigurationsAsync(ListTargetAccountConfigurationsRequest request, AsyncHandler<ListTargetAccountConfigurationsRequest,ListTargetAccountConfigurationsResult> asyncHandler)
AWSFISAsync Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurationsAsync in interface AWSFISAsync 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.public Future<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest request)
AWSFISAsync Lists the target resource types.
listTargetResourceTypesAsync in interface AWSFISAsync public Future<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest request, AsyncHandler<ListTargetResourceTypesRequest,ListTargetResourceTypesResult> asyncHandler)
AWSFISAsync Lists the target resource types.
listTargetResourceTypesAsync in interface AWSFISAsync 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.public Future<StartExperimentResult> startExperimentAsync(StartExperimentRequest request)
AWSFISAsync Starts running an experiment from the specified experiment template.
startExperimentAsync in interface AWSFISAsync public Future<StartExperimentResult> startExperimentAsync(StartExperimentRequest request, AsyncHandler<StartExperimentRequest,StartExperimentResult> asyncHandler)
AWSFISAsync Starts running an experiment from the specified experiment template.
startExperimentAsync in interface AWSFISAsync 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.public Future<StopExperimentResult> stopExperimentAsync(StopExperimentRequest request)
AWSFISAsync Stops the specified experiment.
stopExperimentAsync in interface AWSFISAsync public Future<StopExperimentResult> stopExperimentAsync(StopExperimentRequest request, AsyncHandler<StopExperimentRequest,StopExperimentResult> asyncHandler)
AWSFISAsync Stops the specified experiment.
stopExperimentAsync in interface AWSFISAsync 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSFISAsync Applies the specified tags to the specified resource.
tagResourceAsync in interface AWSFISAsync public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSFISAsync Applies the specified tags to the specified resource.
tagResourceAsync in interface AWSFISAsync 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSFISAsync Removes the specified tags from the specified resource.
untagResourceAsync in interface AWSFISAsync public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSFISAsync Removes the specified tags from the specified resource.
untagResourceAsync in interface AWSFISAsync 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.public Future<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest request)
AWSFISAsync Updates the specified experiment template.
updateExperimentTemplateAsync in interface AWSFISAsync public Future<UpdateExperimentTemplateResult> updateExperimentTemplateAsync(UpdateExperimentTemplateRequest request, AsyncHandler<UpdateExperimentTemplateRequest,UpdateExperimentTemplateResult> asyncHandler)
AWSFISAsync Updates the specified experiment template.
updateExperimentTemplateAsync in interface AWSFISAsync 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.public Future<UpdateTargetAccountConfigurationResult> updateTargetAccountConfigurationAsync(UpdateTargetAccountConfigurationRequest request)
AWSFISAsync Updates the target account configuration for the specified experiment template.
updateTargetAccountConfigurationAsync in interface AWSFISAsync public Future<UpdateTargetAccountConfigurationResult> updateTargetAccountConfigurationAsync(UpdateTargetAccountConfigurationRequest request, AsyncHandler<UpdateTargetAccountConfigurationRequest,UpdateTargetAccountConfigurationResult> asyncHandler)
AWSFISAsync Updates the target account configuration for the specified experiment template.
updateTargetAccountConfigurationAsync in interface AWSFISAsync 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSFIS shutdown in class AWSFISClient