Interface FisClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface FisClient extends AwsClient
Service client for accessing FIS. This can be created using the staticbuilder()method.Amazon Web Services 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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createExperimentTemplate
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 Service User Guide.
- Parameters:
createExperimentTemplateRequest-- Returns:
- Result of the CreateExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createExperimentTemplate
default 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 Service User Guide.
This is a convenience which creates an instance of the
CreateExperimentTemplateRequest.Builderavoiding the need to create one manually viaCreateExperimentTemplateRequest.builder()- Parameters:
createExperimentTemplateRequest- AConsumerthat will call methods onCreateExperimentTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createTargetAccountConfiguration
default CreateTargetAccountConfigurationResponse createTargetAccountConfiguration(CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Creates a target account configuration for the experiment template. A target account configuration is required when
accountTargetingofexperimentOptionsis set tomulti-account. For more information, see experiment options in the Fault Injection Service User Guide.- Parameters:
createTargetAccountConfigurationRequest-- Returns:
- Result of the CreateTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createTargetAccountConfiguration
default CreateTargetAccountConfigurationResponse createTargetAccountConfiguration(Consumer<CreateTargetAccountConfigurationRequest.Builder> createTargetAccountConfigurationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Creates a target account configuration for the experiment template. A target account configuration is required when
accountTargetingofexperimentOptionsis set tomulti-account. For more information, see experiment options in the Fault Injection Service User Guide.
This is a convenience which creates an instance of the
CreateTargetAccountConfigurationRequest.Builderavoiding the need to create one manually viaCreateTargetAccountConfigurationRequest.builder()- Parameters:
createTargetAccountConfigurationRequest- AConsumerthat will call methods onCreateTargetAccountConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExperimentTemplate
default DeleteExperimentTemplateResponse deleteExperimentTemplate(DeleteExperimentTemplateRequest deleteExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Deletes the specified experiment template.
- Parameters:
deleteExperimentTemplateRequest-- Returns:
- Result of the DeleteExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExperimentTemplate
default 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.Builderavoiding the need to create one manually viaDeleteExperimentTemplateRequest.builder()- Parameters:
deleteExperimentTemplateRequest- AConsumerthat will call methods onDeleteExperimentTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTargetAccountConfiguration
default DeleteTargetAccountConfigurationResponse deleteTargetAccountConfiguration(DeleteTargetAccountConfigurationRequest deleteTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Deletes the specified target account configuration of the experiment template.
- Parameters:
deleteTargetAccountConfigurationRequest-- Returns:
- Result of the DeleteTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTargetAccountConfiguration
default DeleteTargetAccountConfigurationResponse deleteTargetAccountConfiguration(Consumer<DeleteTargetAccountConfigurationRequest.Builder> deleteTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Deletes the specified target account configuration of the experiment template.
This is a convenience which creates an instance of the
DeleteTargetAccountConfigurationRequest.Builderavoiding the need to create one manually viaDeleteTargetAccountConfigurationRequest.builder()- Parameters:
deleteTargetAccountConfigurationRequest- AConsumerthat will call methods onDeleteTargetAccountConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAction
default GetActionResponse getAction(GetActionRequest getActionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified FIS action.
- Parameters:
getActionRequest-- Returns:
- Result of the GetAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAction
default 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.Builderavoiding the need to create one manually viaGetActionRequest.builder()- Parameters:
getActionRequest- AConsumerthat will call methods onGetActionRequest.Builderto create a request.- Returns:
- Result of the GetAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperiment
default GetExperimentResponse getExperiment(GetExperimentRequest getExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment.
- Parameters:
getExperimentRequest-- Returns:
- Result of the GetExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperiment
default 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.Builderavoiding the need to create one manually viaGetExperimentRequest.builder()- Parameters:
getExperimentRequest- AConsumerthat will call methods onGetExperimentRequest.Builderto create a request.- Returns:
- Result of the GetExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperimentTargetAccountConfiguration
default GetExperimentTargetAccountConfigurationResponse getExperimentTargetAccountConfiguration(GetExperimentTargetAccountConfigurationRequest getExperimentTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException
Gets information about the specified target account configuration of the experiment.
- Parameters:
getExperimentTargetAccountConfigurationRequest-- Returns:
- Result of the GetExperimentTargetAccountConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource cannot be found.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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperimentTargetAccountConfiguration
default GetExperimentTargetAccountConfigurationResponse getExperimentTargetAccountConfiguration(Consumer<GetExperimentTargetAccountConfigurationRequest.Builder> getExperimentTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException
Gets information about the specified target account configuration of the experiment.
This is a convenience which creates an instance of the
GetExperimentTargetAccountConfigurationRequest.Builderavoiding the need to create one manually viaGetExperimentTargetAccountConfigurationRequest.builder()- Parameters:
getExperimentTargetAccountConfigurationRequest- AConsumerthat will call methods onGetExperimentTargetAccountConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetExperimentTargetAccountConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource cannot be found.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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperimentTemplate
default GetExperimentTemplateResponse getExperimentTemplate(GetExperimentTemplateRequest getExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified experiment template.
- Parameters:
getExperimentTemplateRequest-- Returns:
- Result of the GetExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExperimentTemplate
default 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.Builderavoiding the need to create one manually viaGetExperimentTemplateRequest.builder()- Parameters:
getExperimentTemplateRequest- AConsumerthat will call methods onGetExperimentTemplateRequest.Builderto create a request.- Returns:
- Result of the GetExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSafetyLever
default GetSafetyLeverResponse getSafetyLever(GetSafetyLeverRequest getSafetyLeverRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified safety lever.
- Parameters:
getSafetyLeverRequest-- Returns:
- Result of the GetSafetyLever operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSafetyLever
default GetSafetyLeverResponse getSafetyLever(Consumer<GetSafetyLeverRequest.Builder> getSafetyLeverRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified safety lever.
This is a convenience which creates an instance of the
GetSafetyLeverRequest.Builderavoiding the need to create one manually viaGetSafetyLeverRequest.builder()- Parameters:
getSafetyLeverRequest- AConsumerthat will call methods onGetSafetyLeverRequest.Builderto create a request.- Returns:
- Result of the GetSafetyLever operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTargetAccountConfiguration
default GetTargetAccountConfigurationResponse getTargetAccountConfiguration(GetTargetAccountConfigurationRequest getTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException
Gets information about the specified target account configuration of the experiment template.
- Parameters:
getTargetAccountConfigurationRequest-- Returns:
- Result of the GetTargetAccountConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource cannot be found.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.AwsServiceException- See Also:
- AWS API Documentation
-
getTargetAccountConfiguration
default GetTargetAccountConfigurationResponse getTargetAccountConfiguration(Consumer<GetTargetAccountConfigurationRequest.Builder> getTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException
Gets information about the specified target account configuration of the experiment template.
This is a convenience which creates an instance of the
GetTargetAccountConfigurationRequest.Builderavoiding the need to create one manually viaGetTargetAccountConfigurationRequest.builder()- Parameters:
getTargetAccountConfigurationRequest- AConsumerthat will call methods onGetTargetAccountConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetTargetAccountConfiguration operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource cannot be found.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.AwsServiceException- See Also:
- AWS API Documentation
-
getTargetResourceType
default GetTargetResourceTypeResponse getTargetResourceType(GetTargetResourceTypeRequest getTargetResourceTypeRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Gets information about the specified resource type.
- Parameters:
getTargetResourceTypeRequest-- Returns:
- Result of the GetTargetResourceType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTargetResourceType
default 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.Builderavoiding the need to create one manually viaGetTargetResourceTypeRequest.builder()- Parameters:
getTargetResourceTypeRequest- AConsumerthat will call methods onGetTargetResourceTypeRequest.Builderto create a request.- Returns:
- Result of the GetTargetResourceType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listActions
default ListActionsResponse listActions(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the available FIS actions.
- Parameters:
listActionsRequest-- Returns:
- Result of the ListActions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listActions
default 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.Builderavoiding the need to create one manually viaListActionsRequest.builder()- Parameters:
listActionsRequest- AConsumerthat will call methods onListActionsRequest.Builderto create a request.- Returns:
- Result of the ListActions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listActionsPaginator
default ListActionsIterable listActionsPaginator(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listActionsPaginator
default ListActionsIterable listActionsPaginator(Consumer<ListActionsRequest.Builder> listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListActionsRequest.builder()- Parameters:
listActionsRequest- AConsumerthat will call methods onListActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentResolvedTargets
default ListExperimentResolvedTargetsResponse listExperimentResolvedTargets(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the resolved targets information of the specified experiment.
- Parameters:
listExperimentResolvedTargetsRequest-- Returns:
- Result of the ListExperimentResolvedTargets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentResolvedTargets
default ListExperimentResolvedTargetsResponse listExperimentResolvedTargets(Consumer<ListExperimentResolvedTargetsRequest.Builder> listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the resolved targets information of the specified experiment.
This is a convenience which creates an instance of the
ListExperimentResolvedTargetsRequest.Builderavoiding the need to create one manually viaListExperimentResolvedTargetsRequest.builder()- Parameters:
listExperimentResolvedTargetsRequest- AConsumerthat will call methods onListExperimentResolvedTargetsRequest.Builderto create a request.- Returns:
- Result of the ListExperimentResolvedTargets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentResolvedTargetsPaginator
default ListExperimentResolvedTargetsIterable listExperimentResolvedTargetsPaginator(ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
This is a variant of
listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client .listExperimentResolvedTargetsPaginator(request); for (software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(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
listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)operation.- Parameters:
listExperimentResolvedTargetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentResolvedTargetsPaginator
default ListExperimentResolvedTargetsIterable listExperimentResolvedTargetsPaginator(Consumer<ListExperimentResolvedTargetsRequest.Builder> listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
This is a variant of
listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client .listExperimentResolvedTargetsPaginator(request); for (software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(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
listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)operation.
This is a convenience which creates an instance of the
ListExperimentResolvedTargetsRequest.Builderavoiding the need to create one manually viaListExperimentResolvedTargetsRequest.builder()- Parameters:
listExperimentResolvedTargetsRequest- AConsumerthat will call methods onListExperimentResolvedTargetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTargetAccountConfigurations
default ListExperimentTargetAccountConfigurationsResponse listExperimentTargetAccountConfigurations(ListExperimentTargetAccountConfigurationsRequest listExperimentTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the target account configurations of the specified experiment.
- Parameters:
listExperimentTargetAccountConfigurationsRequest-- Returns:
- Result of the ListExperimentTargetAccountConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTargetAccountConfigurations
default ListExperimentTargetAccountConfigurationsResponse listExperimentTargetAccountConfigurations(Consumer<ListExperimentTargetAccountConfigurationsRequest.Builder> listExperimentTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the target account configurations of the specified experiment.
This is a convenience which creates an instance of the
ListExperimentTargetAccountConfigurationsRequest.Builderavoiding the need to create one manually viaListExperimentTargetAccountConfigurationsRequest.builder()- Parameters:
listExperimentTargetAccountConfigurationsRequest- AConsumerthat will call methods onListExperimentTargetAccountConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListExperimentTargetAccountConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTemplates
default ListExperimentTemplatesResponse listExperimentTemplates(ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiment templates.
- Parameters:
listExperimentTemplatesRequest-- Returns:
- Result of the ListExperimentTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTemplates
default 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.Builderavoiding the need to create one manually viaListExperimentTemplatesRequest.builder()- Parameters:
listExperimentTemplatesRequest- AConsumerthat will call methods onListExperimentTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListExperimentTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTemplatesPaginator
default ListExperimentTemplatesIterable listExperimentTemplatesPaginator(ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listExperimentTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentTemplatesPaginator
default ListExperimentTemplatesIterable listExperimentTemplatesPaginator(Consumer<ListExperimentTemplatesRequest.Builder> listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListExperimentTemplatesRequest.builder()- Parameters:
listExperimentTemplatesRequest- AConsumerthat will call methods onListExperimentTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperiments
default ListExperimentsResponse listExperiments(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists your experiments.
- Parameters:
listExperimentsRequest-- Returns:
- Result of the ListExperiments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperiments
default 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.Builderavoiding the need to create one manually viaListExperimentsRequest.builder()- Parameters:
listExperimentsRequest- AConsumerthat will call methods onListExperimentsRequest.Builderto create a request.- Returns:
- Result of the ListExperiments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentsPaginator
default ListExperimentsIterable listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listExperimentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExperimentsPaginator
default ListExperimentsIterable listExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListExperimentsRequest.builder()- Parameters:
listExperimentsRequest- AConsumerthat will call methods onListExperimentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, FisException
Lists the tags for the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetAccountConfigurations
default ListTargetAccountConfigurationsResponse listTargetAccountConfigurations(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the target account configurations of the specified experiment template.
- Parameters:
listTargetAccountConfigurationsRequest-- Returns:
- Result of the ListTargetAccountConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetAccountConfigurations
default ListTargetAccountConfigurationsResponse listTargetAccountConfigurations(Consumer<ListTargetAccountConfigurationsRequest.Builder> listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Lists the target account configurations of the specified experiment template.
This is a convenience which creates an instance of the
ListTargetAccountConfigurationsRequest.Builderavoiding the need to create one manually viaListTargetAccountConfigurationsRequest.builder()- Parameters:
listTargetAccountConfigurationsRequest- AConsumerthat will call methods onListTargetAccountConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListTargetAccountConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetAccountConfigurationsPaginator
default ListTargetAccountConfigurationsIterable listTargetAccountConfigurationsPaginator(ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
This is a variant of
listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client .listTargetAccountConfigurationsPaginator(request); for (software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(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
listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)operation.- Parameters:
listTargetAccountConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetAccountConfigurationsPaginator
default ListTargetAccountConfigurationsIterable listTargetAccountConfigurationsPaginator(Consumer<ListTargetAccountConfigurationsRequest.Builder> listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
This is a variant of
listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client .listTargetAccountConfigurationsPaginator(request); for (software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(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
listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListTargetAccountConfigurationsRequest.Builderavoiding the need to create one manually viaListTargetAccountConfigurationsRequest.builder()- Parameters:
listTargetAccountConfigurationsRequest- AConsumerthat will call methods onListTargetAccountConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetResourceTypes
default ListTargetResourceTypesResponse listTargetResourceTypes(ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
Lists the target resource types.
- Parameters:
listTargetResourceTypesRequest-- Returns:
- Result of the ListTargetResourceTypes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetResourceTypes
default 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.Builderavoiding the need to create one manually viaListTargetResourceTypesRequest.builder()- Parameters:
listTargetResourceTypesRequest- AConsumerthat will call methods onListTargetResourceTypesRequest.Builderto create a request.- Returns:
- Result of the ListTargetResourceTypes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetResourceTypesPaginator
default ListTargetResourceTypesIterable listTargetResourceTypesPaginator(ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listTargetResourceTypesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTargetResourceTypesPaginator
default ListTargetResourceTypesIterable listTargetResourceTypesPaginator(Consumer<ListTargetResourceTypesRequest.Builder> listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException
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
2) Using For loopsoftware.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListTargetResourceTypesRequest.builder()- Parameters:
listTargetResourceTypesRequest- AConsumerthat will call methods onListTargetResourceTypesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startExperiment
default StartExperimentResponse startExperiment(StartExperimentRequest startExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Starts running an experiment from the specified experiment template.
- Parameters:
startExperimentRequest-- Returns:
- Result of the StartExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startExperiment
default 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.Builderavoiding the need to create one manually viaStartExperimentRequest.builder()- Parameters:
startExperimentRequest- AConsumerthat will call methods onStartExperimentRequest.Builderto create a request.- Returns:
- Result of the StartExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopExperiment
default StopExperimentResponse stopExperiment(StopExperimentRequest stopExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Stops the specified experiment.
- Parameters:
stopExperimentRequest-- Returns:
- Result of the StopExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopExperiment
default 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.Builderavoiding the need to create one manually viaStopExperimentRequest.builder()- Parameters:
stopExperimentRequest- AConsumerthat will call methods onStopExperimentRequest.Builderto create a request.- Returns:
- Result of the StopExperiment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Applies the specified tags to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, FisException
Removes the specified tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExperimentTemplate
default UpdateExperimentTemplateResponse updateExperimentTemplate(UpdateExperimentTemplateRequest updateExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException
Updates the specified experiment template.
- Parameters:
updateExperimentTemplateRequest-- Returns:
- Result of the UpdateExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExperimentTemplate
default 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.Builderavoiding the need to create one manually viaUpdateExperimentTemplateRequest.builder()- Parameters:
updateExperimentTemplateRequest- AConsumerthat will call methods onUpdateExperimentTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateExperimentTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSafetyLeverState
default UpdateSafetyLeverStateResponse updateSafetyLeverState(UpdateSafetyLeverStateRequest updateSafetyLeverStateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Updates the specified safety lever state.
- Parameters:
updateSafetyLeverStateRequest-- Returns:
- Result of the UpdateSafetyLeverState operation returned by the service.
- Throws:
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.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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSafetyLeverState
default UpdateSafetyLeverStateResponse updateSafetyLeverState(Consumer<UpdateSafetyLeverStateRequest.Builder> updateSafetyLeverStateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Updates the specified safety lever state.
This is a convenience which creates an instance of the
UpdateSafetyLeverStateRequest.Builderavoiding the need to create one manually viaUpdateSafetyLeverStateRequest.builder()- Parameters:
updateSafetyLeverStateRequest- AConsumerthat will call methods onUpdateSafetyLeverStateRequest.Builderto create a request.- Returns:
- Result of the UpdateSafetyLeverState operation returned by the service.
- Throws:
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.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.AwsServiceException- See Also:
- AWS API Documentation
-
updateTargetAccountConfiguration
default UpdateTargetAccountConfigurationResponse updateTargetAccountConfiguration(UpdateTargetAccountConfigurationRequest updateTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Updates the target account configuration for the specified experiment template.
- Parameters:
updateTargetAccountConfigurationRequest-- Returns:
- Result of the UpdateTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateTargetAccountConfiguration
default UpdateTargetAccountConfigurationResponse updateTargetAccountConfiguration(Consumer<UpdateTargetAccountConfigurationRequest.Builder> updateTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException
Updates the target account configuration for the specified experiment template.
This is a convenience which creates an instance of the
UpdateTargetAccountConfigurationRequest.Builderavoiding the need to create one manually viaUpdateTargetAccountConfigurationRequest.builder()- Parameters:
updateTargetAccountConfigurationRequest- AConsumerthat will call methods onUpdateTargetAccountConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateTargetAccountConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static FisClient create()
Create aFisClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static FisClientBuilder builder()
Create a builder that can be used to configure and create aFisClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default FisServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-