All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.fis.FisClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Fis module holds the client classes that are used for communicating with Fis.

There is a newer version: 2.28.3
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.fis;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.fis.model.ConflictException;
import software.amazon.awssdk.services.fis.model.CreateExperimentTemplateRequest;
import software.amazon.awssdk.services.fis.model.CreateExperimentTemplateResponse;
import software.amazon.awssdk.services.fis.model.CreateTargetAccountConfigurationRequest;
import software.amazon.awssdk.services.fis.model.CreateTargetAccountConfigurationResponse;
import software.amazon.awssdk.services.fis.model.DeleteExperimentTemplateRequest;
import software.amazon.awssdk.services.fis.model.DeleteExperimentTemplateResponse;
import software.amazon.awssdk.services.fis.model.DeleteTargetAccountConfigurationRequest;
import software.amazon.awssdk.services.fis.model.DeleteTargetAccountConfigurationResponse;
import software.amazon.awssdk.services.fis.model.FisException;
import software.amazon.awssdk.services.fis.model.GetActionRequest;
import software.amazon.awssdk.services.fis.model.GetActionResponse;
import software.amazon.awssdk.services.fis.model.GetExperimentRequest;
import software.amazon.awssdk.services.fis.model.GetExperimentResponse;
import software.amazon.awssdk.services.fis.model.GetExperimentTargetAccountConfigurationRequest;
import software.amazon.awssdk.services.fis.model.GetExperimentTargetAccountConfigurationResponse;
import software.amazon.awssdk.services.fis.model.GetExperimentTemplateRequest;
import software.amazon.awssdk.services.fis.model.GetExperimentTemplateResponse;
import software.amazon.awssdk.services.fis.model.GetSafetyLeverRequest;
import software.amazon.awssdk.services.fis.model.GetSafetyLeverResponse;
import software.amazon.awssdk.services.fis.model.GetTargetAccountConfigurationRequest;
import software.amazon.awssdk.services.fis.model.GetTargetAccountConfigurationResponse;
import software.amazon.awssdk.services.fis.model.GetTargetResourceTypeRequest;
import software.amazon.awssdk.services.fis.model.GetTargetResourceTypeResponse;
import software.amazon.awssdk.services.fis.model.ListActionsRequest;
import software.amazon.awssdk.services.fis.model.ListActionsResponse;
import software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest;
import software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsResponse;
import software.amazon.awssdk.services.fis.model.ListExperimentTargetAccountConfigurationsRequest;
import software.amazon.awssdk.services.fis.model.ListExperimentTargetAccountConfigurationsResponse;
import software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest;
import software.amazon.awssdk.services.fis.model.ListExperimentTemplatesResponse;
import software.amazon.awssdk.services.fis.model.ListExperimentsRequest;
import software.amazon.awssdk.services.fis.model.ListExperimentsResponse;
import software.amazon.awssdk.services.fis.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.fis.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest;
import software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsResponse;
import software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest;
import software.amazon.awssdk.services.fis.model.ListTargetResourceTypesResponse;
import software.amazon.awssdk.services.fis.model.ResourceNotFoundException;
import software.amazon.awssdk.services.fis.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.fis.model.StartExperimentRequest;
import software.amazon.awssdk.services.fis.model.StartExperimentResponse;
import software.amazon.awssdk.services.fis.model.StopExperimentRequest;
import software.amazon.awssdk.services.fis.model.StopExperimentResponse;
import software.amazon.awssdk.services.fis.model.TagResourceRequest;
import software.amazon.awssdk.services.fis.model.TagResourceResponse;
import software.amazon.awssdk.services.fis.model.UntagResourceRequest;
import software.amazon.awssdk.services.fis.model.UntagResourceResponse;
import software.amazon.awssdk.services.fis.model.UpdateExperimentTemplateRequest;
import software.amazon.awssdk.services.fis.model.UpdateExperimentTemplateResponse;
import software.amazon.awssdk.services.fis.model.UpdateSafetyLeverStateRequest;
import software.amazon.awssdk.services.fis.model.UpdateSafetyLeverStateResponse;
import software.amazon.awssdk.services.fis.model.UpdateTargetAccountConfigurationRequest;
import software.amazon.awssdk.services.fis.model.UpdateTargetAccountConfigurationResponse;
import software.amazon.awssdk.services.fis.model.ValidationException;
import software.amazon.awssdk.services.fis.paginators.ListActionsIterable;
import software.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable;
import software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable;
import software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable;
import software.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable;
import software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable;

/**
 * Service client for accessing FIS. This can be created using the static {@link #builder()} 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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface FisClient extends AwsClient { String SERVICE_NAME = "fis"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "fis"; /** *

* 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. *

* * @param createExperimentTemplateRequest * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.CreateExperimentTemplate * @see AWS * API Documentation */ default CreateExperimentTemplateResponse createExperimentTemplate( CreateExperimentTemplateRequest createExperimentTemplateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateExperimentTemplateRequest.Builder} avoiding * the need to create one manually via {@link CreateExperimentTemplateRequest#builder()} *

* * @param createExperimentTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.CreateExperimentTemplateRequest.Builder} to create a * request. * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.CreateExperimentTemplate * @see AWS * API Documentation */ default CreateExperimentTemplateResponse createExperimentTemplate( Consumer createExperimentTemplateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { return createExperimentTemplate(CreateExperimentTemplateRequest.builder().applyMutation(createExperimentTemplateRequest) .build()); } /** *

* Creates a target account configuration for the experiment template. A target account configuration is required * when accountTargeting of experimentOptions is set to multi-account. For * more information, see experiment options in the * Fault Injection Service User Guide. *

* * @param createTargetAccountConfigurationRequest * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.CreateTargetAccountConfiguration * @see AWS API Documentation */ default CreateTargetAccountConfigurationResponse createTargetAccountConfiguration( CreateTargetAccountConfigurationRequest createTargetAccountConfigurationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Creates a target account configuration for the experiment template. A target account configuration is required * when accountTargeting of experimentOptions is set to multi-account. For * more information, see experiment options in the * Fault Injection Service User Guide. *

*
*

* This is a convenience which creates an instance of the {@link CreateTargetAccountConfigurationRequest.Builder} * avoiding the need to create one manually via {@link CreateTargetAccountConfigurationRequest#builder()} *

* * @param createTargetAccountConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.CreateTargetAccountConfigurationRequest.Builder} to * create a request. * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.CreateTargetAccountConfiguration * @see AWS API Documentation */ default CreateTargetAccountConfigurationResponse createTargetAccountConfiguration( Consumer createTargetAccountConfigurationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { return createTargetAccountConfiguration(CreateTargetAccountConfigurationRequest.builder() .applyMutation(createTargetAccountConfigurationRequest).build()); } /** *

* Deletes the specified experiment template. *

* * @param deleteExperimentTemplateRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.DeleteExperimentTemplate * @see AWS * API Documentation */ default DeleteExperimentTemplateResponse deleteExperimentTemplate( DeleteExperimentTemplateRequest deleteExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Deletes the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link DeleteExperimentTemplateRequest.Builder} avoiding * the need to create one manually via {@link DeleteExperimentTemplateRequest#builder()} *

* * @param deleteExperimentTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.DeleteExperimentTemplateRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.DeleteExperimentTemplate * @see AWS * API Documentation */ default DeleteExperimentTemplateResponse deleteExperimentTemplate( Consumer deleteExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return deleteExperimentTemplate(DeleteExperimentTemplateRequest.builder().applyMutation(deleteExperimentTemplateRequest) .build()); } /** *

* Deletes the specified target account configuration of the experiment template. *

* * @param deleteTargetAccountConfigurationRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.DeleteTargetAccountConfiguration * @see AWS API Documentation */ default DeleteTargetAccountConfigurationResponse deleteTargetAccountConfiguration( DeleteTargetAccountConfigurationRequest deleteTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Deletes the specified target account configuration of the experiment template. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTargetAccountConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteTargetAccountConfigurationRequest#builder()} *

* * @param deleteTargetAccountConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.DeleteTargetAccountConfigurationRequest.Builder} to * create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.DeleteTargetAccountConfiguration * @see AWS API Documentation */ default DeleteTargetAccountConfigurationResponse deleteTargetAccountConfiguration( Consumer deleteTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return deleteTargetAccountConfiguration(DeleteTargetAccountConfigurationRequest.builder() .applyMutation(deleteTargetAccountConfigurationRequest).build()); } /** *

* Gets information about the specified FIS action. *

* * @param getActionRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetAction * @see AWS API * Documentation */ default GetActionResponse getAction(GetActionRequest getActionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified FIS action. *

*
*

* This is a convenience which creates an instance of the {@link GetActionRequest.Builder} avoiding the need to * create one manually via {@link GetActionRequest#builder()} *

* * @param getActionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetActionRequest.Builder} to create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetAction * @see AWS API * Documentation */ default GetActionResponse getAction(Consumer getActionRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return getAction(GetActionRequest.builder().applyMutation(getActionRequest).build()); } /** *

* Gets information about the specified experiment. *

* * @param getExperimentRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperiment * @see AWS API * Documentation */ default GetExperimentResponse getExperiment(GetExperimentRequest getExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified experiment. *

*
*

* This is a convenience which creates an instance of the {@link GetExperimentRequest.Builder} avoiding the need to * create one manually via {@link GetExperimentRequest#builder()} *

* * @param getExperimentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetExperimentRequest.Builder} to create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperiment * @see AWS API * Documentation */ default GetExperimentResponse getExperiment(Consumer getExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return getExperiment(GetExperimentRequest.builder().applyMutation(getExperimentRequest).build()); } /** *

* Gets information about the specified target account configuration of the experiment. *

* * @param getExperimentTargetAccountConfigurationRequest * @return Result of the GetExperimentTargetAccountConfiguration operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ValidationException * The specified input is not valid, or fails to satisfy the constraints for the request. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperimentTargetAccountConfiguration * @see AWS API Documentation */ default GetExperimentTargetAccountConfigurationResponse getExperimentTargetAccountConfiguration( GetExperimentTargetAccountConfigurationRequest getExperimentTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified target account configuration of the experiment. *

*
*

* This is a convenience which creates an instance of the * {@link GetExperimentTargetAccountConfigurationRequest.Builder} avoiding the need to create one manually via * {@link GetExperimentTargetAccountConfigurationRequest#builder()} *

* * @param getExperimentTargetAccountConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetExperimentTargetAccountConfigurationRequest.Builder} * to create a request. * @return Result of the GetExperimentTargetAccountConfiguration operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ValidationException * The specified input is not valid, or fails to satisfy the constraints for the request. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperimentTargetAccountConfiguration * @see AWS API Documentation */ default GetExperimentTargetAccountConfigurationResponse getExperimentTargetAccountConfiguration( Consumer getExperimentTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException { return getExperimentTargetAccountConfiguration(GetExperimentTargetAccountConfigurationRequest.builder() .applyMutation(getExperimentTargetAccountConfigurationRequest).build()); } /** *

* Gets information about the specified experiment template. *

* * @param getExperimentTemplateRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperimentTemplate * @see AWS API * Documentation */ default GetExperimentTemplateResponse getExperimentTemplate(GetExperimentTemplateRequest getExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link GetExperimentTemplateRequest.Builder} avoiding the * need to create one manually via {@link GetExperimentTemplateRequest#builder()} *

* * @param getExperimentTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetExperimentTemplateRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetExperimentTemplate * @see AWS API * Documentation */ default GetExperimentTemplateResponse getExperimentTemplate( Consumer getExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return getExperimentTemplate(GetExperimentTemplateRequest.builder().applyMutation(getExperimentTemplateRequest).build()); } /** *

* Gets information about the specified safety lever. *

* * @param getSafetyLeverRequest * @return Result of the GetSafetyLever operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetSafetyLever * @see AWS API * Documentation */ default GetSafetyLeverResponse getSafetyLever(GetSafetyLeverRequest getSafetyLeverRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified safety lever. *

*
*

* This is a convenience which creates an instance of the {@link GetSafetyLeverRequest.Builder} avoiding the need to * create one manually via {@link GetSafetyLeverRequest#builder()} *

* * @param getSafetyLeverRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetSafetyLeverRequest.Builder} to create a request. * @return Result of the GetSafetyLever operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetSafetyLever * @see AWS API * Documentation */ default GetSafetyLeverResponse getSafetyLever(Consumer getSafetyLeverRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return getSafetyLever(GetSafetyLeverRequest.builder().applyMutation(getSafetyLeverRequest).build()); } /** *

* Gets information about the specified target account configuration of the experiment template. *

* * @param getTargetAccountConfigurationRequest * @return Result of the GetTargetAccountConfiguration operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ValidationException * The specified input is not valid, or fails to satisfy the constraints for the request. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetTargetAccountConfiguration * @see AWS API Documentation */ default GetTargetAccountConfigurationResponse getTargetAccountConfiguration( GetTargetAccountConfigurationRequest getTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified target account configuration of the experiment template. *

*
*

* This is a convenience which creates an instance of the {@link GetTargetAccountConfigurationRequest.Builder} * avoiding the need to create one manually via {@link GetTargetAccountConfigurationRequest#builder()} *

* * @param getTargetAccountConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetTargetAccountConfigurationRequest.Builder} to create a * request. * @return Result of the GetTargetAccountConfiguration operation returned by the service. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ValidationException * The specified input is not valid, or fails to satisfy the constraints for the request. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetTargetAccountConfiguration * @see AWS API Documentation */ default GetTargetAccountConfigurationResponse getTargetAccountConfiguration( Consumer getTargetAccountConfigurationRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, FisException { return getTargetAccountConfiguration(GetTargetAccountConfigurationRequest.builder() .applyMutation(getTargetAccountConfigurationRequest).build()); } /** *

* Gets information about the specified resource type. *

* * @param getTargetResourceTypeRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetTargetResourceType * @see AWS API * Documentation */ default GetTargetResourceTypeResponse getTargetResourceType(GetTargetResourceTypeRequest getTargetResourceTypeRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified resource type. *

*
*

* This is a convenience which creates an instance of the {@link GetTargetResourceTypeRequest.Builder} avoiding the * need to create one manually via {@link GetTargetResourceTypeRequest#builder()} *

* * @param getTargetResourceTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.GetTargetResourceTypeRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.GetTargetResourceType * @see AWS API * Documentation */ default GetTargetResourceTypeResponse getTargetResourceType( Consumer getTargetResourceTypeRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return getTargetResourceType(GetTargetResourceTypeRequest.builder().applyMutation(getTargetResourceTypeRequest).build()); } /** *

* Lists the available FIS actions. *

* * @param listActionsRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListActions * @see AWS API * Documentation */ default ListActionsResponse listActions(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the available FIS actions. *

*
*

* This is a convenience which creates an instance of the {@link ListActionsRequest.Builder} avoiding the need to * create one manually via {@link ListActionsRequest#builder()} *

* * @param listActionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListActionsRequest.Builder} to create a request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListActions * @see AWS API * Documentation */ default ListActionsResponse listActions(Consumer listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listActions(ListActionsRequest.builder().applyMutation(listActionsRequest).build()); } /** *

* This is a variant of {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListActionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest)} operation. *

* * @param listActionsRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListActions * @see AWS API * Documentation */ default ListActionsIterable listActionsPaginator(ListActionsRequest listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return new ListActionsIterable(this, listActionsRequest); } /** *

* This is a variant of {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListActionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListActionsIterable responses = client.listActionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listActions(software.amazon.awssdk.services.fis.model.ListActionsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListActionsRequest.Builder} avoiding the need to * create one manually via {@link ListActionsRequest#builder()} *

* * @param listActionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListActionsRequest.Builder} to create a request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListActions * @see AWS API * Documentation */ default ListActionsIterable listActionsPaginator(Consumer listActionsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listActionsPaginator(ListActionsRequest.builder().applyMutation(listActionsRequest).build()); } /** *

* Lists the resolved targets information of the specified experiment. *

* * @param listExperimentResolvedTargetsRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentResolvedTargets * @see AWS API Documentation */ default ListExperimentResolvedTargetsResponse listExperimentResolvedTargets( ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the resolved targets information of the specified experiment. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentResolvedTargetsRequest.Builder} * avoiding the need to create one manually via {@link ListExperimentResolvedTargetsRequest#builder()} *

* * @param listExperimentResolvedTargetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentResolvedTargets * @see AWS API Documentation */ default ListExperimentResolvedTargetsResponse listExperimentResolvedTargets( Consumer listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return listExperimentResolvedTargets(ListExperimentResolvedTargetsRequest.builder() .applyMutation(listExperimentResolvedTargetsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)} * operation. *

* * @param listExperimentResolvedTargetsRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentResolvedTargets * @see AWS API Documentation */ default ListExperimentResolvedTargetsIterable listExperimentResolvedTargetsPaginator( ListExperimentResolvedTargetsRequest listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return new ListExperimentResolvedTargetsIterable(this, listExperimentResolvedTargetsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentResolvedTargetsIterable responses = client.listExperimentResolvedTargetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listExperimentResolvedTargets(software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentResolvedTargetsRequest.Builder} * avoiding the need to create one manually via {@link ListExperimentResolvedTargetsRequest#builder()} *

* * @param listExperimentResolvedTargetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentResolvedTargetsRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentResolvedTargets * @see AWS API Documentation */ default ListExperimentResolvedTargetsIterable listExperimentResolvedTargetsPaginator( Consumer listExperimentResolvedTargetsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return listExperimentResolvedTargetsPaginator(ListExperimentResolvedTargetsRequest.builder() .applyMutation(listExperimentResolvedTargetsRequest).build()); } /** *

* Lists the target account configurations of the specified experiment. *

* * @param listExperimentTargetAccountConfigurationsRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTargetAccountConfigurations * @see AWS API Documentation */ default ListExperimentTargetAccountConfigurationsResponse listExperimentTargetAccountConfigurations( ListExperimentTargetAccountConfigurationsRequest listExperimentTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the target account configurations of the specified experiment. *

*
*

* This is a convenience which creates an instance of the * {@link ListExperimentTargetAccountConfigurationsRequest.Builder} avoiding the need to create one manually via * {@link ListExperimentTargetAccountConfigurationsRequest#builder()} *

* * @param listExperimentTargetAccountConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentTargetAccountConfigurationsRequest.Builder} * to create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTargetAccountConfigurations * @see AWS API Documentation */ default ListExperimentTargetAccountConfigurationsResponse listExperimentTargetAccountConfigurations( Consumer listExperimentTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return listExperimentTargetAccountConfigurations(ListExperimentTargetAccountConfigurationsRequest.builder() .applyMutation(listExperimentTargetAccountConfigurationsRequest).build()); } /** *

* Lists your experiment templates. *

* * @param listExperimentTemplatesRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTemplates * @see AWS * API Documentation */ default ListExperimentTemplatesResponse listExperimentTemplates(ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists your experiment templates. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListExperimentTemplatesRequest#builder()} *

* * @param listExperimentTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest.Builder} to create a * request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTemplates * @see AWS * API Documentation */ default ListExperimentTemplatesResponse listExperimentTemplates( Consumer listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listExperimentTemplates(ListExperimentTemplatesRequest.builder().applyMutation(listExperimentTemplatesRequest) .build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client
     *             .listExperimentTemplatesPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListExperimentTemplatesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)} * operation. *

* * @param listExperimentTemplatesRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTemplates * @see AWS * API Documentation */ default ListExperimentTemplatesIterable listExperimentTemplatesPaginator( ListExperimentTemplatesRequest listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return new ListExperimentTemplatesIterable(this, listExperimentTemplatesRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client
     *             .listExperimentTemplatesPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListExperimentTemplatesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentTemplatesIterable responses = client.listExperimentTemplatesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExperimentTemplates(software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListExperimentTemplatesRequest#builder()} *

* * @param listExperimentTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentTemplatesRequest.Builder} to create a * request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperimentTemplates * @see AWS * API Documentation */ default ListExperimentTemplatesIterable listExperimentTemplatesPaginator( Consumer listExperimentTemplatesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listExperimentTemplatesPaginator(ListExperimentTemplatesRequest.builder() .applyMutation(listExperimentTemplatesRequest).build()); } /** *

* Lists your experiments. *

* * @param listExperimentsRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperiments * @see AWS API * Documentation */ default ListExperimentsResponse listExperiments(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists your experiments. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentsRequest.Builder} avoiding the need * to create one manually via {@link ListExperimentsRequest#builder()} *

* * @param listExperimentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentsRequest.Builder} to create a request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperiments * @see AWS API * Documentation */ default ListExperimentsResponse listExperiments(Consumer listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listExperiments(ListExperimentsRequest.builder().applyMutation(listExperimentsRequest).build()); } /** *

* This is a variant of {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListExperimentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest)} operation. *

* * @param listExperimentsRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperiments * @see AWS API * Documentation */ default ListExperimentsIterable listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return new ListExperimentsIterable(this, listExperimentsRequest); } /** *

* This is a variant of {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListExperimentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExperiments(software.amazon.awssdk.services.fis.model.ListExperimentsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListExperimentsRequest.Builder} avoiding the need * to create one manually via {@link ListExperimentsRequest#builder()} *

* * @param listExperimentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListExperimentsRequest.Builder} to create a request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListExperiments * @see AWS API * Documentation */ default ListExperimentsIterable listExperimentsPaginator(Consumer listExperimentsRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listExperimentsPaginator(ListExperimentsRequest.builder().applyMutation(listExperimentsRequest).build()); } /** *

* Lists the tags for the specified resource. *

* * @param listTagsForResourceRequest * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTagsForResource * @see AWS API * Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the tags for the specified resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListTagsForResourceRequest.Builder} to create a request. * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTagsForResource * @see AWS API * Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws AwsServiceException, SdkClientException, FisException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists the target account configurations of the specified experiment template. *

* * @param listTargetAccountConfigurationsRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetAccountConfigurations * @see AWS API Documentation */ default ListTargetAccountConfigurationsResponse listTargetAccountConfigurations( ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the target account configurations of the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetAccountConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListTargetAccountConfigurationsRequest#builder()} *

* * @param listTargetAccountConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest.Builder} to create * a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetAccountConfigurations * @see AWS API Documentation */ default ListTargetAccountConfigurationsResponse listTargetAccountConfigurations( Consumer listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return listTargetAccountConfigurations(ListTargetAccountConfigurationsRequest.builder() .applyMutation(listTargetAccountConfigurationsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)} * operation. *

* * @param listTargetAccountConfigurationsRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetAccountConfigurations * @see AWS API Documentation */ default ListTargetAccountConfigurationsIterable listTargetAccountConfigurationsPaginator( ListTargetAccountConfigurationsRequest listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return new ListTargetAccountConfigurationsIterable(this, listTargetAccountConfigurationsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetAccountConfigurationsIterable responses = client.listTargetAccountConfigurationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listTargetAccountConfigurations(software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetAccountConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListTargetAccountConfigurationsRequest#builder()} *

* * @param listTargetAccountConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListTargetAccountConfigurationsRequest.Builder} to create * a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetAccountConfigurations * @see AWS API Documentation */ default ListTargetAccountConfigurationsIterable listTargetAccountConfigurationsPaginator( Consumer listTargetAccountConfigurationsRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return listTargetAccountConfigurationsPaginator(ListTargetAccountConfigurationsRequest.builder() .applyMutation(listTargetAccountConfigurationsRequest).build()); } /** *

* Lists the target resource types. *

* * @param listTargetResourceTypesRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetResourceTypes * @see AWS * API Documentation */ default ListTargetResourceTypesResponse listTargetResourceTypes(ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Lists the target resource types. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetResourceTypesRequest.Builder} avoiding * the need to create one manually via {@link ListTargetResourceTypesRequest#builder()} *

* * @param listTargetResourceTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest.Builder} to create a * request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetResourceTypes * @see AWS * API Documentation */ default ListTargetResourceTypesResponse listTargetResourceTypes( Consumer listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listTargetResourceTypes(ListTargetResourceTypesRequest.builder().applyMutation(listTargetResourceTypesRequest) .build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client
     *             .listTargetResourceTypesPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListTargetResourceTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)} * operation. *

* * @param listTargetResourceTypesRequest * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetResourceTypes * @see AWS * API Documentation */ default ListTargetResourceTypesIterable listTargetResourceTypesPaginator( ListTargetResourceTypesRequest listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return new ListTargetResourceTypesIterable(this, listTargetResourceTypesRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client
     *             .listTargetResourceTypesPaginator(request);
     *     for (software.amazon.awssdk.services.fis.model.ListTargetResourceTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.fis.paginators.ListTargetResourceTypesIterable responses = client.listTargetResourceTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTargetResourceTypes(software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetResourceTypesRequest.Builder} avoiding * the need to create one manually via {@link ListTargetResourceTypesRequest#builder()} *

* * @param listTargetResourceTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.ListTargetResourceTypesRequest.Builder} to create a * request. * @return 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. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.ListTargetResourceTypes * @see AWS * API Documentation */ default ListTargetResourceTypesIterable listTargetResourceTypesPaginator( Consumer listTargetResourceTypesRequest) throws ValidationException, AwsServiceException, SdkClientException, FisException { return listTargetResourceTypesPaginator(ListTargetResourceTypesRequest.builder() .applyMutation(listTargetResourceTypesRequest).build()); } /** *

* Starts running an experiment from the specified experiment template. *

* * @param startExperimentRequest * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.StartExperiment * @see AWS API * Documentation */ default StartExperimentResponse startExperiment(StartExperimentRequest startExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Starts running an experiment from the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link StartExperimentRequest.Builder} avoiding the need * to create one manually via {@link StartExperimentRequest#builder()} *

* * @param startExperimentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.StartExperimentRequest.Builder} to create a request. * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.StartExperiment * @see AWS API * Documentation */ default StartExperimentResponse startExperiment(Consumer startExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { return startExperiment(StartExperimentRequest.builder().applyMutation(startExperimentRequest).build()); } /** *

* Stops the specified experiment. *

* * @param stopExperimentRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.StopExperiment * @see AWS API * Documentation */ default StopExperimentResponse stopExperiment(StopExperimentRequest stopExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Stops the specified experiment. *

*
*

* This is a convenience which creates an instance of the {@link StopExperimentRequest.Builder} avoiding the need to * create one manually via {@link StopExperimentRequest#builder()} *

* * @param stopExperimentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.StopExperimentRequest.Builder} to create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.StopExperiment * @see AWS API * Documentation */ default StopExperimentResponse stopExperiment(Consumer stopExperimentRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return stopExperiment(StopExperimentRequest.builder().applyMutation(stopExperimentRequest).build()); } /** *

* Applies the specified tags to the specified resource. *

* * @param tagResourceRequest * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Applies the specified tags to the specified resource. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.TagResourceRequest.Builder} to create a request. * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws AwsServiceException, SdkClientException, FisException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Removes the specified tags from the specified resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.UntagResourceRequest.Builder} to create a request. * @return 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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws AwsServiceException, SdkClientException, FisException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the specified experiment template. *

* * @param updateExperimentTemplateRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateExperimentTemplate * @see AWS * API Documentation */ default UpdateExperimentTemplateResponse updateExperimentTemplate( UpdateExperimentTemplateRequest updateExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Updates the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link UpdateExperimentTemplateRequest.Builder} avoiding * the need to create one manually via {@link UpdateExperimentTemplateRequest#builder()} *

* * @param updateExperimentTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.UpdateExperimentTemplateRequest.Builder} to create a * request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @throws ServiceQuotaExceededException * You have exceeded your service quota. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateExperimentTemplate * @see AWS * API Documentation */ default UpdateExperimentTemplateResponse updateExperimentTemplate( Consumer updateExperimentTemplateRequest) throws ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, FisException { return updateExperimentTemplate(UpdateExperimentTemplateRequest.builder().applyMutation(updateExperimentTemplateRequest) .build()); } /** *

* Updates the specified safety lever state. *

* * @param updateSafetyLeverStateRequest * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateSafetyLeverState * @see AWS * API Documentation */ default UpdateSafetyLeverStateResponse updateSafetyLeverState(UpdateSafetyLeverStateRequest updateSafetyLeverStateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Updates the specified safety lever state. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSafetyLeverStateRequest.Builder} avoiding the * need to create one manually via {@link UpdateSafetyLeverStateRequest#builder()} *

* * @param updateSafetyLeverStateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.UpdateSafetyLeverStateRequest.Builder} to create a * request. * @return 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. * @throws ConflictException * The request could not be processed because of a conflict. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateSafetyLeverState * @see AWS * API Documentation */ default UpdateSafetyLeverStateResponse updateSafetyLeverState( Consumer updateSafetyLeverStateRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return updateSafetyLeverState(UpdateSafetyLeverStateRequest.builder().applyMutation(updateSafetyLeverStateRequest) .build()); } /** *

* Updates the target account configuration for the specified experiment template. *

* * @param updateTargetAccountConfigurationRequest * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateTargetAccountConfiguration * @see AWS API Documentation */ default UpdateTargetAccountConfigurationResponse updateTargetAccountConfiguration( UpdateTargetAccountConfigurationRequest updateTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { throw new UnsupportedOperationException(); } /** *

* Updates the target account configuration for the specified experiment template. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTargetAccountConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateTargetAccountConfigurationRequest#builder()} *

* * @param updateTargetAccountConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.fis.model.UpdateTargetAccountConfigurationRequest.Builder} to * create a request. * @return 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. * @throws ResourceNotFoundException * The specified resource cannot be found. * @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. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws FisException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample FisClient.UpdateTargetAccountConfiguration * @see AWS API Documentation */ default UpdateTargetAccountConfigurationResponse updateTargetAccountConfiguration( Consumer updateTargetAccountConfigurationRequest) throws ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, FisException { return updateTargetAccountConfiguration(UpdateTargetAccountConfigurationRequest.builder() .applyMutation(updateTargetAccountConfigurationRequest).build()); } /** * Create a {@link FisClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static FisClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link FisClient}. */ static FisClientBuilder builder() { return new DefaultFisClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default FisServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy