@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFISClient extends AmazonWebServiceClient implements AWSFIS
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_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSFISClientBuilder builder()
public CreateExperimentTemplateResult createExperimentTemplate(CreateExperimentTemplateRequest request)
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.
createExperimentTemplate in interface AWSFIScreateExperimentTemplateRequest - 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 CreateTargetAccountConfigurationResult createTargetAccountConfiguration(CreateTargetAccountConfigurationRequest request)
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.
createTargetAccountConfiguration in interface AWSFIScreateTargetAccountConfigurationRequest - 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 AWSFISdeleteExperimentTemplateRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public DeleteTargetAccountConfigurationResult deleteTargetAccountConfiguration(DeleteTargetAccountConfigurationRequest request)
Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfiguration in interface AWSFISdeleteTargetAccountConfigurationRequest - 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 FIS action.
getAction in interface AWSFISgetActionRequest - 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 AWSFISgetExperimentRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public GetExperimentTargetAccountConfigurationResult getExperimentTargetAccountConfiguration(GetExperimentTargetAccountConfigurationRequest request)
Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfiguration in interface AWSFISgetExperimentTargetAccountConfigurationRequest - ResourceNotFoundException - The specified resource cannot be found.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.public GetExperimentTemplateResult getExperimentTemplate(GetExperimentTemplateRequest request)
Gets information about the specified experiment template.
getExperimentTemplate in interface AWSFISgetExperimentTemplateRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public GetTargetAccountConfigurationResult getTargetAccountConfiguration(GetTargetAccountConfigurationRequest request)
Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfiguration in interface AWSFISgetTargetAccountConfigurationRequest - ResourceNotFoundException - The specified resource cannot be found.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.public GetTargetResourceTypeResult getTargetResourceType(GetTargetResourceTypeRequest request)
Gets information about the specified resource type.
getTargetResourceType in interface AWSFISgetTargetResourceTypeRequest - 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 FIS actions.
listActions in interface AWSFISlistActionsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.public ListExperimentResolvedTargetsResult listExperimentResolvedTargets(ListExperimentResolvedTargetsRequest request)
Lists the resolved targets information of the specified experiment.
listExperimentResolvedTargets in interface AWSFISlistExperimentResolvedTargetsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public ListExperimentTargetAccountConfigurationsResult listExperimentTargetAccountConfigurations(ListExperimentTargetAccountConfigurationsRequest request)
Lists the target account configurations of the specified experiment.
listExperimentTargetAccountConfigurations in interface AWSFISlistExperimentTargetAccountConfigurationsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public ListExperimentTemplatesResult listExperimentTemplates(ListExperimentTemplatesRequest request)
Lists your experiment templates.
listExperimentTemplates in interface AWSFISlistExperimentTemplatesRequest - 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 AWSFISlistExperimentsRequest - 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 AWSFISlistTagsForResourceRequest - public ListTargetAccountConfigurationsResult listTargetAccountConfigurations(ListTargetAccountConfigurationsRequest request)
Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurations in interface AWSFISlistTargetAccountConfigurationsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.public ListTargetResourceTypesResult listTargetResourceTypes(ListTargetResourceTypesRequest request)
Lists the target resource types.
listTargetResourceTypes in interface AWSFISlistTargetResourceTypesRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.public StartExperimentResult startExperiment(StartExperimentRequest request)
Starts running an experiment from the specified experiment template.
startExperiment in interface AWSFISstartExperimentRequest - 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 AWSFISstopExperimentRequest - 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 AWSFIStagResourceRequest - public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource in interface AWSFISuntagResourceRequest - public UpdateExperimentTemplateResult updateExperimentTemplate(UpdateExperimentTemplateRequest request)
Updates the specified experiment template.
updateExperimentTemplate in interface AWSFISupdateExperimentTemplateRequest - 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 UpdateTargetAccountConfigurationResult updateTargetAccountConfiguration(UpdateTargetAccountConfigurationRequest request)
Updates the target account configuration for the specified experiment template.
updateTargetAccountConfiguration in interface AWSFISupdateTargetAccountConfigurationRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.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 AWSFISrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSFISshutdown in class AmazonWebServiceClient