@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.
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.
ENDPOINT_PREFIX
createExperimentTemplate, createTargetAccountConfiguration, deleteExperimentTemplate, deleteTargetAccountConfiguration, getAction, getCachedResponseMetadata, getExperiment, getExperimentTargetAccountConfiguration, getExperimentTemplate, getTargetAccountConfiguration, getTargetResourceType, listActions, listExperimentResolvedTargets, listExperiments, listExperimentTargetAccountConfigurations, listExperimentTemplates, listTagsForResource, listTargetAccountConfigurations, listTargetResourceTypes, shutdown, startExperiment, stopExperiment, tagResource, untagResource, updateExperimentTemplate, updateTargetAccountConfiguration
Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest createExperimentTemplateRequest)
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.
createExperimentTemplateRequest
- Future<CreateExperimentTemplateResult> createExperimentTemplateAsync(CreateExperimentTemplateRequest createExperimentTemplateRequest, AsyncHandler<CreateExperimentTemplateRequest,CreateExperimentTemplateResult> asyncHandler)
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.
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<CreateTargetAccountConfigurationResult> createTargetAccountConfigurationAsync(CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest)
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.
createTargetAccountConfigurationRequest
- Future<CreateTargetAccountConfigurationResult> createTargetAccountConfigurationAsync(CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest, AsyncHandler<CreateTargetAccountConfigurationRequest,CreateTargetAccountConfigurationResult> asyncHandler)
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.
createTargetAccountConfigurationRequest
- 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<DeleteTargetAccountConfigurationResult> deleteTargetAccountConfigurationAsync(DeleteTargetAccountConfigurationRequest deleteTargetAccountConfigurationRequest)
Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfigurationRequest
- Future<DeleteTargetAccountConfigurationResult> deleteTargetAccountConfigurationAsync(DeleteTargetAccountConfigurationRequest deleteTargetAccountConfigurationRequest, AsyncHandler<DeleteTargetAccountConfigurationRequest,DeleteTargetAccountConfigurationResult> asyncHandler)
Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfigurationRequest
- 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 FIS action.
getActionRequest
- Future<GetActionResult> getActionAsync(GetActionRequest getActionRequest, AsyncHandler<GetActionRequest,GetActionResult> asyncHandler)
Gets information about the specified 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<GetExperimentTargetAccountConfigurationResult> getExperimentTargetAccountConfigurationAsync(GetExperimentTargetAccountConfigurationRequest getExperimentTargetAccountConfigurationRequest)
Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfigurationRequest
- Future<GetExperimentTargetAccountConfigurationResult> getExperimentTargetAccountConfigurationAsync(GetExperimentTargetAccountConfigurationRequest getExperimentTargetAccountConfigurationRequest, AsyncHandler<GetExperimentTargetAccountConfigurationRequest,GetExperimentTargetAccountConfigurationResult> asyncHandler)
Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfigurationRequest
- 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<GetTargetAccountConfigurationResult> getTargetAccountConfigurationAsync(GetTargetAccountConfigurationRequest getTargetAccountConfigurationRequest)
Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfigurationRequest
- Future<GetTargetAccountConfigurationResult> getTargetAccountConfigurationAsync(GetTargetAccountConfigurationRequest getTargetAccountConfigurationRequest, AsyncHandler<GetTargetAccountConfigurationRequest,GetTargetAccountConfigurationResult> asyncHandler)
Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfigurationRequest
- 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<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest getTargetResourceTypeRequest)
Gets information about the specified resource type.
getTargetResourceTypeRequest
- Future<GetTargetResourceTypeResult> getTargetResourceTypeAsync(GetTargetResourceTypeRequest getTargetResourceTypeRequest, AsyncHandler<GetTargetResourceTypeRequest,GetTargetResourceTypeResult> asyncHandler)
Gets information about the specified resource type.
getTargetResourceTypeRequest
- 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 FIS actions.
listActionsRequest
- Future<ListActionsResult> listActionsAsync(ListActionsRequest listActionsRequest, AsyncHandler<ListActionsRequest,ListActionsResult> asyncHandler)
Lists the available 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<ListExperimentResolvedTargetsResult> listExperimentResolvedTargetsAsync(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest)
Lists the resolved targets information of the specified experiment.
listExperimentResolvedTargetsRequest
- Future<ListExperimentResolvedTargetsResult> listExperimentResolvedTargetsAsync(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest, AsyncHandler<ListExperimentResolvedTargetsRequest,ListExperimentResolvedTargetsResult> asyncHandler)
Lists the resolved targets information of the specified experiment.
listExperimentResolvedTargetsRequest
- 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<ListExperimentTargetAccountConfigurationsResult> listExperimentTargetAccountConfigurationsAsync(ListExperimentTargetAccountConfigurationsRequest listExperimentTargetAccountConfigurationsRequest)
Lists the target account configurations of the specified experiment.
listExperimentTargetAccountConfigurationsRequest
- Future<ListExperimentTargetAccountConfigurationsResult> listExperimentTargetAccountConfigurationsAsync(ListExperimentTargetAccountConfigurationsRequest listExperimentTargetAccountConfigurationsRequest, AsyncHandler<ListExperimentTargetAccountConfigurationsRequest,ListExperimentTargetAccountConfigurationsResult> asyncHandler)
Lists the target account configurations of the specified experiment.
listExperimentTargetAccountConfigurationsRequest
- 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<ListTargetAccountConfigurationsResult> listTargetAccountConfigurationsAsync(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest)
Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurationsRequest
- Future<ListTargetAccountConfigurationsResult> listTargetAccountConfigurationsAsync(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest, AsyncHandler<ListTargetAccountConfigurationsRequest,ListTargetAccountConfigurationsResult> asyncHandler)
Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurationsRequest
- 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<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest listTargetResourceTypesRequest)
Lists the target resource types.
listTargetResourceTypesRequest
- Future<ListTargetResourceTypesResult> listTargetResourceTypesAsync(ListTargetResourceTypesRequest listTargetResourceTypesRequest, AsyncHandler<ListTargetResourceTypesRequest,ListTargetResourceTypesResult> asyncHandler)
Lists the target resource types.
listTargetResourceTypesRequest
- 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.Future<UpdateTargetAccountConfigurationResult> updateTargetAccountConfigurationAsync(UpdateTargetAccountConfigurationRequest updateTargetAccountConfigurationRequest)
Updates the target account configuration for the specified experiment template.
updateTargetAccountConfigurationRequest
- Future<UpdateTargetAccountConfigurationResult> updateTargetAccountConfigurationAsync(UpdateTargetAccountConfigurationRequest updateTargetAccountConfigurationRequest, AsyncHandler<UpdateTargetAccountConfigurationRequest,UpdateTargetAccountConfigurationResult> asyncHandler)
Updates the target account configuration for the specified experiment template.
updateTargetAccountConfigurationRequest
- 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.