@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFISClient extends AmazonWebServiceClient implements AWSFIS
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSFISClientBuilder |
builder() |
CreateExperimentTemplateResult |
createExperimentTemplate(CreateExperimentTemplateRequest request)
Creates an experiment template.
|
DeleteExperimentTemplateResult |
deleteExperimentTemplate(DeleteExperimentTemplateRequest request)
Deletes the specified experiment template.
|
GetActionResult |
getAction(GetActionRequest request)
Gets information about the specified AWS FIS action.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetExperimentResult |
getExperiment(GetExperimentRequest request)
Gets information about the specified experiment.
|
GetExperimentTemplateResult |
getExperimentTemplate(GetExperimentTemplateRequest request)
Gets information about the specified experiment template.
|
ListActionsResult |
listActions(ListActionsRequest request)
Lists the available AWS FIS actions.
|
ListExperimentsResult |
listExperiments(ListExperimentsRequest request)
Lists your experiments.
|
ListExperimentTemplatesResult |
listExperimentTemplates(ListExperimentTemplatesRequest request)
Lists your experiment templates.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartExperimentResult |
startExperiment(StartExperimentRequest request)
Starts running an experiment from the specified experiment template.
|
StopExperimentResult |
stopExperiment(StopExperimentRequest request)
Stops the specified experiment.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Applies the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
|
UpdateExperimentTemplateResult |
updateExperimentTemplate(UpdateExperimentTemplateRequest request)
Updates the specified experiment template.
|
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
public static AWSFISClientBuilder builder()
public CreateExperimentTemplateResult createExperimentTemplate(CreateExperimentTemplateRequest request)
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.
createExperimentTemplate
in interface AWSFIS
createExperimentTemplateRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ConflictException
- The request could not be processed because of a conflict.ResourceNotFoundException
- The specified resource cannot be found.ServiceQuotaExceededException
- You have exceeded your service quota.public DeleteExperimentTemplateResult deleteExperimentTemplate(DeleteExperimentTemplateRequest request)
Deletes the specified experiment template.
deleteExperimentTemplate
in interface AWSFIS
deleteExperimentTemplateRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.public GetActionResult getAction(GetActionRequest request)
Gets information about the specified AWS FIS action.
getAction
in interface AWSFIS
getActionRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.public GetExperimentResult getExperiment(GetExperimentRequest request)
Gets information about the specified experiment.
getExperiment
in interface AWSFIS
getExperimentRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.public GetExperimentTemplateResult getExperimentTemplate(GetExperimentTemplateRequest request)
Gets information about the specified experiment template.
getExperimentTemplate
in interface AWSFIS
getExperimentTemplateRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.public ListActionsResult listActions(ListActionsRequest request)
Lists the available AWS FIS actions.
listActions
in interface AWSFIS
listActionsRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.public ListExperimentTemplatesResult listExperimentTemplates(ListExperimentTemplatesRequest request)
Lists your experiment templates.
listExperimentTemplates
in interface AWSFIS
listExperimentTemplatesRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.public ListExperimentsResult listExperiments(ListExperimentsRequest request)
Lists your experiments.
listExperiments
in interface AWSFIS
listExperimentsRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource
in interface AWSFIS
listTagsForResourceRequest
- public StartExperimentResult startExperiment(StartExperimentRequest request)
Starts running an experiment from the specified experiment template.
startExperiment
in interface AWSFIS
startExperimentRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ConflictException
- The request could not be processed because of a conflict.ResourceNotFoundException
- The specified resource cannot be found.ServiceQuotaExceededException
- You have exceeded your service quota.public StopExperimentResult stopExperiment(StopExperimentRequest request)
Stops the specified experiment.
stopExperiment
in interface AWSFIS
stopExperimentRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.public TagResourceResult tagResource(TagResourceRequest request)
Applies the specified tags to the specified resource.
tagResource
in interface AWSFIS
tagResourceRequest
- public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource
in interface AWSFIS
untagResourceRequest
- public UpdateExperimentTemplateResult updateExperimentTemplate(UpdateExperimentTemplateRequest request)
Updates the specified experiment template.
updateExperimentTemplate
in interface AWSFIS
updateExperimentTemplateRequest
- ValidationException
- The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException
- The specified resource cannot be found.ServiceQuotaExceededException
- You have exceeded your service quota.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSFIS
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSFIS
shutdown
in class AmazonWebServiceClient