@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface FisClient extends SdkClient
builder() method.
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 |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static FisClientBuilder |
builder()
Create a builder that can be used to configure and create a
FisClient. |
static FisClient |
create()
Create a
FisClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateExperimentTemplateResponse |
createExperimentTemplate(Consumer<CreateExperimentTemplateRequest.Builder> createExperimentTemplateRequest)
Creates an experiment template.
|
default CreateExperimentTemplateResponse |
createExperimentTemplate(CreateExperimentTemplateRequest createExperimentTemplateRequest)
Creates an experiment template.
|
default DeleteExperimentTemplateResponse |
deleteExperimentTemplate(Consumer<DeleteExperimentTemplateRequest.Builder> deleteExperimentTemplateRequest)
Deletes the specified experiment template.
|
default DeleteExperimentTemplateResponse |
deleteExperimentTemplate(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest)
Deletes the specified experiment template.
|
default GetActionResponse |
getAction(Consumer<GetActionRequest.Builder> getActionRequest)
Gets information about the specified FIS action.
|
default GetActionResponse |
getAction(GetActionRequest getActionRequest)
Gets information about the specified FIS action.
|
default GetExperimentResponse |
getExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest)
Gets information about the specified experiment.
|
default GetExperimentResponse |
getExperiment(GetExperimentRequest getExperimentRequest)
Gets information about the specified experiment.
|
default GetExperimentTemplateResponse |
getExperimentTemplate(Consumer<GetExperimentTemplateRequest.Builder> getExperimentTemplateRequest)
Gets information about the specified experiment template.
|
default GetExperimentTemplateResponse |
getExperimentTemplate(GetExperimentTemplateRequest getExperimentTemplateRequest)
Gets information about the specified experiment template.
|
default GetTargetResourceTypeResponse |
getTargetResourceType(Consumer<GetTargetResourceTypeRequest.Builder> getTargetResourceTypeRequest)
Gets information about the specified resource type.
|
default GetTargetResourceTypeResponse |
getTargetResourceType(GetTargetResourceTypeRequest getTargetResourceTypeRequest)
Gets information about the specified resource type.
|
default ListActionsResponse |
listActions(Consumer<ListActionsRequest.Builder> listActionsRequest)
Lists the available FIS actions.
|
default ListActionsResponse |
listActions(ListActionsRequest listActionsRequest)
Lists the available FIS actions.
|
default ListActionsIterable |
listActionsPaginator(Consumer<ListActionsRequest.Builder> listActionsRequest)
Lists the available FIS actions.
|
default ListActionsIterable |
listActionsPaginator(ListActionsRequest listActionsRequest)
Lists the available FIS actions.
|
default ListExperimentsResponse |
listExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest)
Lists your experiments.
|
default ListExperimentsResponse |
listExperiments(ListExperimentsRequest listExperimentsRequest)
Lists your experiments.
|
default ListExperimentsIterable |
listExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest)
Lists your experiments.
|
default ListExperimentsIterable |
listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest)
Lists your experiments.
|
default ListExperimentTemplatesResponse |
listExperimentTemplates(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest)
Lists your experiment templates.
|
default ListExperimentTemplatesResponse |
listExperimentTemplates(ListExperimentTemplatesRequest listExperimentTemplatesRequest)
Lists your experiment templates.
|
default ListExperimentTemplatesIterable |
listExperimentTemplatesPaginator(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest)
Lists your experiment templates.
|
default ListExperimentTemplatesIterable |
listExperimentTemplatesPaginator(ListExperimentTemplatesRequest listExperimentTemplatesRequest)
Lists your experiment templates.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTargetResourceTypesResponse |
listTargetResourceTypes(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest)
Lists the target resource types.
|
default ListTargetResourceTypesResponse |
listTargetResourceTypes(ListTargetResourceTypesRequest listTargetResourceTypesRequest)
Lists the target resource types.
|
default ListTargetResourceTypesIterable |
listTargetResourceTypesPaginator(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest)
Lists the target resource types.
|
default ListTargetResourceTypesIterable |
listTargetResourceTypesPaginator(ListTargetResourceTypesRequest listTargetResourceTypesRequest)
Lists the target resource types.
|
static ServiceMetadata |
serviceMetadata() |
default StartExperimentResponse |
startExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest)
Starts running an experiment from the specified experiment template.
|
default StartExperimentResponse |
startExperiment(StartExperimentRequest startExperimentRequest)
Starts running an experiment from the specified experiment template.
|
default StopExperimentResponse |
stopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest)
Stops the specified experiment.
|
default StopExperimentResponse |
stopExperiment(StopExperimentRequest stopExperimentRequest)
Stops the specified experiment.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Applies the specified tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Applies the specified tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
default UpdateExperimentTemplateResponse |
updateExperimentTemplate(Consumer<UpdateExperimentTemplateRequest.Builder> updateExperimentTemplateRequest)
Updates the specified experiment template.
|
default UpdateExperimentTemplateResponse |
updateExperimentTemplate(UpdateExperimentTemplateRequest updateExperimentTemplateRequest)
Updates the specified experiment template.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static FisClient create()
FisClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static FisClientBuilder builder()
FisClient.default CreateExperimentTemplateResponse createExperimentTemplate(CreateExperimentTemplateRequest createExperimentTemplateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateExperimentTemplateResponse createExperimentTemplate(Consumer<CreateExperimentTemplateRequest.Builder> createExperimentTemplateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
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.
This is a convenience which creates an instance of the CreateExperimentTemplateRequest.Builder avoiding
the need to create one manually via CreateExperimentTemplateRequest.builder()
createExperimentTemplateRequest - A Consumer that will call methods on CreateExperimentTemplateRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteExperimentTemplateResponse deleteExperimentTemplate(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Deletes the specified experiment template.
deleteExperimentTemplateRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteExperimentTemplateResponse deleteExperimentTemplate(Consumer<DeleteExperimentTemplateRequest.Builder> deleteExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Deletes the specified experiment template.
This is a convenience which creates an instance of the DeleteExperimentTemplateRequest.Builder avoiding
the need to create one manually via DeleteExperimentTemplateRequest.builder()
deleteExperimentTemplateRequest - A Consumer that will call methods on DeleteExperimentTemplateRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetActionResponse getAction(GetActionRequest getActionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified FIS action.
getActionRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetActionResponse getAction(Consumer<GetActionRequest.Builder> getActionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified FIS action.
This is a convenience which creates an instance of the GetActionRequest.Builder avoiding the need to
create one manually via GetActionRequest.builder()
getActionRequest - A Consumer that will call methods on GetActionRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExperimentResponse getExperiment(GetExperimentRequest getExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment.
getExperimentRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExperimentResponse getExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment.
This is a convenience which creates an instance of the GetExperimentRequest.Builder avoiding the need to
create one manually via GetExperimentRequest.builder()
getExperimentRequest - A Consumer that will call methods on GetExperimentRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExperimentTemplateResponse getExperimentTemplate(GetExperimentTemplateRequest getExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment template.
getExperimentTemplateRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetExperimentTemplateResponse getExperimentTemplate(Consumer<GetExperimentTemplateRequest.Builder> getExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment template.
This is a convenience which creates an instance of the GetExperimentTemplateRequest.Builder avoiding the
need to create one manually via GetExperimentTemplateRequest.builder()
getExperimentTemplateRequest - A Consumer that will call methods on GetExperimentTemplateRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTargetResourceTypeResponse getTargetResourceType(GetTargetResourceTypeRequest getTargetResourceTypeRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified resource type.
getTargetResourceTypeRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTargetResourceTypeResponse getTargetResourceType(Consumer<GetTargetResourceTypeRequest.Builder> getTargetResourceTypeRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified resource type.
This is a convenience which creates an instance of the GetTargetResourceTypeRequest.Builder avoiding the
need to create one manually via GetTargetResourceTypeRequest.builder()
getTargetResourceTypeRequest - A Consumer that will call methods on GetTargetResourceTypeRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListActionsResponse listActions(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the available FIS actions.
listActionsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListActionsResponse listActions(Consumer<ListActionsRequest.Builder> listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the available FIS actions.
This is a convenience which creates an instance of the ListActionsRequest.Builder avoiding the need to
create one manually via ListActionsRequest.builder()
listActionsRequest - A Consumer that will call methods on ListActionsRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListActionsIterable listActionsPaginator(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the available FIS actions.
This is a variant of listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest) operation.
listActionsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListActionsIterable listActionsPaginator(Consumer<ListActionsRequest.Builder> listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the available FIS actions.
This is a variant of listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest) operation.
This is a convenience which creates an instance of the ListActionsRequest.Builder avoiding the need to
create one manually via ListActionsRequest.builder()
listActionsRequest - A Consumer that will call methods on ListActionsRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentTemplatesResponse listExperimentTemplates(ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiment templates.
listExperimentTemplatesRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentTemplatesResponse listExperimentTemplates(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiment templates.
This is a convenience which creates an instance of the ListExperimentTemplatesRequest.Builder avoiding
the need to create one manually via ListExperimentTemplatesRequest.builder()
listExperimentTemplatesRequest - A Consumer that will call methods on ListExperimentTemplatesRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentTemplatesIterable listExperimentTemplatesPaginator(ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiment templates.
This is a variant of
listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client
.listExperimentTemplatesPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListExperimentTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)
operation.
listExperimentTemplatesRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentTemplatesIterable listExperimentTemplatesPaginator(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiment templates.
This is a variant of
listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client
.listExperimentTemplatesPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListExperimentTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListExperimentTemplatesRequest.Builder avoiding
the need to create one manually via ListExperimentTemplatesRequest.builder()
listExperimentTemplatesRequest - A Consumer that will call methods on ListExperimentTemplatesRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentsResponse listExperiments(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiments.
listExperimentsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentsResponse listExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiments.
This is a convenience which creates an instance of the ListExperimentsRequest.Builder avoiding the need
to create one manually via ListExperimentsRequest.builder()
listExperimentsRequest - A Consumer that will call methods on ListExperimentsRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentsIterable listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiments.
This is a variant of listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListExperimentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest) operation.
listExperimentsRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExperimentsIterable listExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiments.
This is a variant of listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListExperimentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest) operation.
This is a convenience which creates an instance of the ListExperimentsRequest.Builder avoiding the need
to create one manually via ListExperimentsRequest.builder()
listExperimentsRequest - A Consumer that will call methods on ListExperimentsRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, FisException
Lists the tags for the specified resource.
listTagsForResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, FisException
Lists the tags for the specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetResourceTypesResponse listTargetResourceTypes(ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the target resource types.
listTargetResourceTypesRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetResourceTypesResponse listTargetResourceTypes(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the target resource types.
This is a convenience which creates an instance of the ListTargetResourceTypesRequest.Builder avoiding
the need to create one manually via ListTargetResourceTypesRequest.builder()
listTargetResourceTypesRequest - A Consumer that will call methods on ListTargetResourceTypesRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetResourceTypesIterable listTargetResourceTypesPaginator(ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the target resource types.
This is a variant of
listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client
.listTargetResourceTypesPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListTargetResourceTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)
operation.
listTargetResourceTypesRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTargetResourceTypesIterable listTargetResourceTypesPaginator(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the target resource types.
This is a variant of
listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client
.listTargetResourceTypesPaginator(request);
for (software.amazon.awssdk.services.fis.model.ListTargetResourceTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)
operation.
This is a convenience which creates an instance of the ListTargetResourceTypesRequest.Builder avoiding
the need to create one manually via ListTargetResourceTypesRequest.builder()
listTargetResourceTypesRequest - A Consumer that will call methods on ListTargetResourceTypesRequest.Builder to create a
request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartExperimentResponse startExperiment(StartExperimentRequest startExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Starts running an experiment from the specified experiment template.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartExperimentResponse startExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Starts running an experiment from the specified experiment template.
This is a convenience which creates an instance of the StartExperimentRequest.Builder avoiding the need
to create one manually via StartExperimentRequest.builder()
startExperimentRequest - A Consumer that will call methods on StartExperimentRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopExperimentResponse stopExperiment(StopExperimentRequest stopExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Stops the specified experiment.
stopExperimentRequest - ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopExperimentResponse stopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Stops the specified experiment.
This is a convenience which creates an instance of the StopExperimentRequest.Builder avoiding the need to
create one manually via StopExperimentRequest.builder()
stopExperimentRequest - A Consumer that will call methods on StopExperimentRequest.Builder to create a request.ValidationException - The specified input is not valid, or fails to satisfy the constraints for the request.ResourceNotFoundException - The specified resource cannot be found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Applies the specified tags to the specified resource.
tagResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Applies the specified tags to the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Removes the specified tags from the specified resource.
untagResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateExperimentTemplateResponse updateExperimentTemplate(UpdateExperimentTemplateRequest updateExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Updates the specified experiment template.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateExperimentTemplateResponse updateExperimentTemplate(Consumer<UpdateExperimentTemplateRequest.Builder> updateExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Updates the specified experiment template.
This is a convenience which creates an instance of the UpdateExperimentTemplateRequest.Builder avoiding
the need to create one manually via UpdateExperimentTemplateRequest.builder()
updateExperimentTemplateRequest - A Consumer that will call methods on UpdateExperimentTemplateRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.FisException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.