@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSFISClient extends AmazonWebServiceClient implements AWSFIS
Fault Injection Simulator 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 Simulator User Guide.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_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 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.
|
GetTargetResourceTypeResult |
getTargetResourceType(GetTargetResourceTypeRequest request)
Gets information about the specified resource type.
|
ListActionsResult |
listActions(ListActionsRequest request)
Lists the available 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.
|
ListTargetResourceTypesResult |
listTargetResourceTypes(ListTargetResourceTypesRequest request)
Lists the target resource types.
|
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, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
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 Simulator 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 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 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 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 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 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 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 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()
AWSFISshutdown in interface AWSFISshutdown in class AmazonWebServiceClientCopyright © 2022. All rights reserved.