@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_METRIC ENDPOINT_PREFIX 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.
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 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 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 AWSFIS createTargetAccountConfigurationRequest - 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 DeleteTargetAccountConfigurationResult deleteTargetAccountConfiguration(DeleteTargetAccountConfigurationRequest request)
Deletes the specified target account configuration of the experiment template.
deleteTargetAccountConfiguration in interface AWSFIS deleteTargetAccountConfigurationRequest - 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 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 GetExperimentTargetAccountConfigurationResult getExperimentTargetAccountConfiguration(GetExperimentTargetAccountConfigurationRequest request)
Gets information about the specified target account configuration of the experiment.
getExperimentTargetAccountConfiguration in interface AWSFIS getExperimentTargetAccountConfigurationRequest - 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 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 GetTargetAccountConfigurationResult getTargetAccountConfiguration(GetTargetAccountConfigurationRequest request)
Gets information about the specified target account configuration of the experiment template.
getTargetAccountConfiguration in interface AWSFIS getTargetAccountConfigurationRequest - 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 AWSFIS getTargetResourceTypeRequest - 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 AWSFIS listActionsRequest - 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 AWSFIS listExperimentResolvedTargetsRequest - 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 AWSFIS listExperimentTargetAccountConfigurationsRequest - 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 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 ListTargetAccountConfigurationsResult listTargetAccountConfigurations(ListTargetAccountConfigurationsRequest request)
Lists the target account configurations of the specified experiment template.
listTargetAccountConfigurations in interface AWSFIS listTargetAccountConfigurationsRequest - 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 AWSFIS listTargetResourceTypesRequest - 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 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 UpdateTargetAccountConfigurationResult updateTargetAccountConfiguration(UpdateTargetAccountConfigurationRequest request)
Updates the target account configuration for the specified experiment template.
updateTargetAccountConfiguration in interface AWSFIS updateTargetAccountConfigurationRequest - 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 AWSFIS request - The originally executed requestpublic void shutdown()
AmazonWebServiceClient shutdown in interface AWSFIS shutdown in class AmazonWebServiceClient