Interface AppTestClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AppTestClient extends AwsClient
Service client for accessing AWS Mainframe Modernization Application Testing. This can be created using the staticbuilder()method.AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createTestCase
default CreateTestCaseResponse createTestCase(CreateTestCaseRequest createTestCaseRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test case.
- Parameters:
createTestCaseRequest-- Returns:
- Result of the CreateTestCase operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTestCase
default CreateTestCaseResponse createTestCase(Consumer<CreateTestCaseRequest.Builder> createTestCaseRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test case.
This is a convenience which creates an instance of the
CreateTestCaseRequest.Builderavoiding the need to create one manually viaCreateTestCaseRequest.builder()- Parameters:
createTestCaseRequest- AConsumerthat will call methods onCreateTestCaseRequest.Builderto create a request.- Returns:
- Result of the CreateTestCase operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTestConfiguration
default CreateTestConfigurationResponse createTestConfiguration(CreateTestConfigurationRequest createTestConfigurationRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test configuration.
- Parameters:
createTestConfigurationRequest-- Returns:
- Result of the CreateTestConfiguration operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTestConfiguration
default CreateTestConfigurationResponse createTestConfiguration(Consumer<CreateTestConfigurationRequest.Builder> createTestConfigurationRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test configuration.
This is a convenience which creates an instance of the
CreateTestConfigurationRequest.Builderavoiding the need to create one manually viaCreateTestConfigurationRequest.builder()- Parameters:
createTestConfigurationRequest- AConsumerthat will call methods onCreateTestConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateTestConfiguration operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTestSuite
default CreateTestSuiteResponse createTestSuite(CreateTestSuiteRequest createTestSuiteRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test suite.
- Parameters:
createTestSuiteRequest-- Returns:
- Result of the CreateTestSuite operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createTestSuite
default CreateTestSuiteResponse createTestSuite(Consumer<CreateTestSuiteRequest.Builder> createTestSuiteRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Creates a test suite.
This is a convenience which creates an instance of the
CreateTestSuiteRequest.Builderavoiding the need to create one manually viaCreateTestSuiteRequest.builder()- Parameters:
createTestSuiteRequest- AConsumerthat will call methods onCreateTestSuiteRequest.Builderto create a request.- Returns:
- Result of the CreateTestSuite operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestCase
default DeleteTestCaseResponse deleteTestCase(DeleteTestCaseRequest deleteTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test case.
- Parameters:
deleteTestCaseRequest-- Returns:
- Result of the DeleteTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestCase
default DeleteTestCaseResponse deleteTestCase(Consumer<DeleteTestCaseRequest.Builder> deleteTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test case.
This is a convenience which creates an instance of the
DeleteTestCaseRequest.Builderavoiding the need to create one manually viaDeleteTestCaseRequest.builder()- Parameters:
deleteTestCaseRequest- AConsumerthat will call methods onDeleteTestCaseRequest.Builderto create a request.- Returns:
- Result of the DeleteTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestConfiguration
default DeleteTestConfigurationResponse deleteTestConfiguration(DeleteTestConfigurationRequest deleteTestConfigurationRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test configuration.
- Parameters:
deleteTestConfigurationRequest-- Returns:
- Result of the DeleteTestConfiguration operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestConfiguration
default DeleteTestConfigurationResponse deleteTestConfiguration(Consumer<DeleteTestConfigurationRequest.Builder> deleteTestConfigurationRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test configuration.
This is a convenience which creates an instance of the
DeleteTestConfigurationRequest.Builderavoiding the need to create one manually viaDeleteTestConfigurationRequest.builder()- Parameters:
deleteTestConfigurationRequest- AConsumerthat will call methods onDeleteTestConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteTestConfiguration operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestRun
default DeleteTestRunResponse deleteTestRun(DeleteTestRunRequest deleteTestRunRequest) throws ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test run.
- Parameters:
deleteTestRunRequest-- Returns:
- Result of the DeleteTestRun operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestRun
default DeleteTestRunResponse deleteTestRun(Consumer<DeleteTestRunRequest.Builder> deleteTestRunRequest) throws ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test run.
This is a convenience which creates an instance of the
DeleteTestRunRequest.Builderavoiding the need to create one manually viaDeleteTestRunRequest.builder()- Parameters:
deleteTestRunRequest- AConsumerthat will call methods onDeleteTestRunRequest.Builderto create a request.- Returns:
- Result of the DeleteTestRun operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestSuite
default DeleteTestSuiteResponse deleteTestSuite(DeleteTestSuiteRequest deleteTestSuiteRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test suite.
- Parameters:
deleteTestSuiteRequest-- Returns:
- Result of the DeleteTestSuite operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTestSuite
default DeleteTestSuiteResponse deleteTestSuite(Consumer<DeleteTestSuiteRequest.Builder> deleteTestSuiteRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Deletes a test suite.
This is a convenience which creates an instance of the
DeleteTestSuiteRequest.Builderavoiding the need to create one manually viaDeleteTestSuiteRequest.builder()- Parameters:
deleteTestSuiteRequest- AConsumerthat will call methods onDeleteTestSuiteRequest.Builderto create a request.- Returns:
- Result of the DeleteTestSuite operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestCase
default GetTestCaseResponse getTestCase(GetTestCaseRequest getTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test case.
- Parameters:
getTestCaseRequest-- Returns:
- Result of the GetTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestCase
default GetTestCaseResponse getTestCase(Consumer<GetTestCaseRequest.Builder> getTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test case.
This is a convenience which creates an instance of the
GetTestCaseRequest.Builderavoiding the need to create one manually viaGetTestCaseRequest.builder()- Parameters:
getTestCaseRequest- AConsumerthat will call methods onGetTestCaseRequest.Builderto create a request.- Returns:
- Result of the GetTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestConfiguration
default GetTestConfigurationResponse getTestConfiguration(GetTestConfigurationRequest getTestConfigurationRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test configuration.
- Parameters:
getTestConfigurationRequest-- Returns:
- Result of the GetTestConfiguration operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestConfiguration
default GetTestConfigurationResponse getTestConfiguration(Consumer<GetTestConfigurationRequest.Builder> getTestConfigurationRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test configuration.
This is a convenience which creates an instance of the
GetTestConfigurationRequest.Builderavoiding the need to create one manually viaGetTestConfigurationRequest.builder()- Parameters:
getTestConfigurationRequest- AConsumerthat will call methods onGetTestConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetTestConfiguration operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestRunStep
default GetTestRunStepResponse getTestRunStep(GetTestRunStepRequest getTestRunStepRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test run step.
- Parameters:
getTestRunStepRequest-- Returns:
- Result of the GetTestRunStep operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestRunStep
default GetTestRunStepResponse getTestRunStep(Consumer<GetTestRunStepRequest.Builder> getTestRunStepRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test run step.
This is a convenience which creates an instance of the
GetTestRunStepRequest.Builderavoiding the need to create one manually viaGetTestRunStepRequest.builder()- Parameters:
getTestRunStepRequest- AConsumerthat will call methods onGetTestRunStepRequest.Builderto create a request.- Returns:
- Result of the GetTestRunStep operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestSuite
default GetTestSuiteResponse getTestSuite(GetTestSuiteRequest getTestSuiteRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test suite.
- Parameters:
getTestSuiteRequest-- Returns:
- Result of the GetTestSuite operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestSuite
default GetTestSuiteResponse getTestSuite(Consumer<GetTestSuiteRequest.Builder> getTestSuiteRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Gets a test suite.
This is a convenience which creates an instance of the
GetTestSuiteRequest.Builderavoiding the need to create one manually viaGetTestSuiteRequest.builder()- Parameters:
getTestSuiteRequest- AConsumerthat will call methods onGetTestSuiteRequest.Builderto create a request.- Returns:
- Result of the GetTestSuite operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestCases
default ListTestCasesResponse listTestCases(ListTestCasesRequest listTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test cases.
- Parameters:
listTestCasesRequest-- Returns:
- Result of the ListTestCases operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestCases
default ListTestCasesResponse listTestCases(Consumer<ListTestCasesRequest.Builder> listTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test cases.
This is a convenience which creates an instance of the
ListTestCasesRequest.Builderavoiding the need to create one manually viaListTestCasesRequest.builder()- Parameters:
listTestCasesRequest- AConsumerthat will call methods onListTestCasesRequest.Builderto create a request.- Returns:
- Result of the ListTestCases operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestCasesPaginator
default ListTestCasesIterable listTestCasesPaginator(ListTestCasesRequest listTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestCases(software.amazon.awssdk.services.apptest.model.ListTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(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
listTestCases(software.amazon.awssdk.services.apptest.model.ListTestCasesRequest)operation.- Parameters:
listTestCasesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestCasesPaginator
default ListTestCasesIterable listTestCasesPaginator(Consumer<ListTestCasesRequest.Builder> listTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestCases(software.amazon.awssdk.services.apptest.model.ListTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestCasesIterable responses = client.listTestCasesPaginator(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
listTestCases(software.amazon.awssdk.services.apptest.model.ListTestCasesRequest)operation.
This is a convenience which creates an instance of the
ListTestCasesRequest.Builderavoiding the need to create one manually viaListTestCasesRequest.builder()- Parameters:
listTestCasesRequest- AConsumerthat will call methods onListTestCasesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestConfigurations
default ListTestConfigurationsResponse listTestConfigurations(ListTestConfigurationsRequest listTestConfigurationsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test configurations.
- Parameters:
listTestConfigurationsRequest-- Returns:
- Result of the ListTestConfigurations operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestConfigurations
default ListTestConfigurationsResponse listTestConfigurations(Consumer<ListTestConfigurationsRequest.Builder> listTestConfigurationsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test configurations.
This is a convenience which creates an instance of the
ListTestConfigurationsRequest.Builderavoiding the need to create one manually viaListTestConfigurationsRequest.builder()- Parameters:
listTestConfigurationsRequest- AConsumerthat will call methods onListTestConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListTestConfigurations operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestConfigurationsPaginator
default ListTestConfigurationsIterable listTestConfigurationsPaginator(ListTestConfigurationsRequest listTestConfigurationsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestConfigurations(software.amazon.awssdk.services.apptest.model.ListTestConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client.listTestConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client .listTestConfigurationsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client.listTestConfigurationsPaginator(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
listTestConfigurations(software.amazon.awssdk.services.apptest.model.ListTestConfigurationsRequest)operation.- Parameters:
listTestConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestConfigurationsPaginator
default ListTestConfigurationsIterable listTestConfigurationsPaginator(Consumer<ListTestConfigurationsRequest.Builder> listTestConfigurationsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestConfigurations(software.amazon.awssdk.services.apptest.model.ListTestConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client.listTestConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client .listTestConfigurationsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestConfigurationsIterable responses = client.listTestConfigurationsPaginator(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
listTestConfigurations(software.amazon.awssdk.services.apptest.model.ListTestConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListTestConfigurationsRequest.Builderavoiding the need to create one manually viaListTestConfigurationsRequest.builder()- Parameters:
listTestConfigurationsRequest- AConsumerthat will call methods onListTestConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunSteps
default ListTestRunStepsResponse listTestRunSteps(ListTestRunStepsRequest listTestRunStepsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test run steps.
- Parameters:
listTestRunStepsRequest-- Returns:
- Result of the ListTestRunSteps operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunSteps
default ListTestRunStepsResponse listTestRunSteps(Consumer<ListTestRunStepsRequest.Builder> listTestRunStepsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test run steps.
This is a convenience which creates an instance of the
ListTestRunStepsRequest.Builderavoiding the need to create one manually viaListTestRunStepsRequest.builder()- Parameters:
listTestRunStepsRequest- AConsumerthat will call methods onListTestRunStepsRequest.Builderto create a request.- Returns:
- Result of the ListTestRunSteps operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunStepsPaginator
default ListTestRunStepsIterable listTestRunStepsPaginator(ListTestRunStepsRequest listTestRunStepsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRunSteps(software.amazon.awssdk.services.apptest.model.ListTestRunStepsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client.listTestRunStepsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client .listTestRunStepsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunStepsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client.listTestRunStepsPaginator(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
listTestRunSteps(software.amazon.awssdk.services.apptest.model.ListTestRunStepsRequest)operation.- Parameters:
listTestRunStepsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunStepsPaginator
default ListTestRunStepsIterable listTestRunStepsPaginator(Consumer<ListTestRunStepsRequest.Builder> listTestRunStepsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRunSteps(software.amazon.awssdk.services.apptest.model.ListTestRunStepsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client.listTestRunStepsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client .listTestRunStepsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunStepsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunStepsIterable responses = client.listTestRunStepsPaginator(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
listTestRunSteps(software.amazon.awssdk.services.apptest.model.ListTestRunStepsRequest)operation.
This is a convenience which creates an instance of the
ListTestRunStepsRequest.Builderavoiding the need to create one manually viaListTestRunStepsRequest.builder()- Parameters:
listTestRunStepsRequest- AConsumerthat will call methods onListTestRunStepsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunTestCases
default ListTestRunTestCasesResponse listTestRunTestCases(ListTestRunTestCasesRequest listTestRunTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test run test cases.
- Parameters:
listTestRunTestCasesRequest-- Returns:
- Result of the ListTestRunTestCases operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunTestCases
default ListTestRunTestCasesResponse listTestRunTestCases(Consumer<ListTestRunTestCasesRequest.Builder> listTestRunTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test run test cases.
This is a convenience which creates an instance of the
ListTestRunTestCasesRequest.Builderavoiding the need to create one manually viaListTestRunTestCasesRequest.builder()- Parameters:
listTestRunTestCasesRequest- AConsumerthat will call methods onListTestRunTestCasesRequest.Builderto create a request.- Returns:
- Result of the ListTestRunTestCases operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunTestCasesPaginator
default ListTestRunTestCasesIterable listTestRunTestCasesPaginator(ListTestRunTestCasesRequest listTestRunTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRunTestCases(software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client.listTestRunTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client .listTestRunTestCasesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client.listTestRunTestCasesPaginator(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
listTestRunTestCases(software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesRequest)operation.- Parameters:
listTestRunTestCasesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunTestCasesPaginator
default ListTestRunTestCasesIterable listTestRunTestCasesPaginator(Consumer<ListTestRunTestCasesRequest.Builder> listTestRunTestCasesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRunTestCases(software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client.listTestRunTestCasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client .listTestRunTestCasesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunTestCasesIterable responses = client.listTestRunTestCasesPaginator(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
listTestRunTestCases(software.amazon.awssdk.services.apptest.model.ListTestRunTestCasesRequest)operation.
This is a convenience which creates an instance of the
ListTestRunTestCasesRequest.Builderavoiding the need to create one manually viaListTestRunTestCasesRequest.builder()- Parameters:
listTestRunTestCasesRequest- AConsumerthat will call methods onListTestRunTestCasesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRuns
default ListTestRunsResponse listTestRuns(ListTestRunsRequest listTestRunsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test runs.
- Parameters:
listTestRunsRequest-- Returns:
- Result of the ListTestRuns operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRuns
default ListTestRunsResponse listTestRuns(Consumer<ListTestRunsRequest.Builder> listTestRunsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test runs.
This is a convenience which creates an instance of the
ListTestRunsRequest.Builderavoiding the need to create one manually viaListTestRunsRequest.builder()- Parameters:
listTestRunsRequest- AConsumerthat will call methods onListTestRunsRequest.Builderto create a request.- Returns:
- Result of the ListTestRuns operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunsPaginator
default ListTestRunsIterable listTestRunsPaginator(ListTestRunsRequest listTestRunsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRuns(software.amazon.awssdk.services.apptest.model.ListTestRunsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(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
listTestRuns(software.amazon.awssdk.services.apptest.model.ListTestRunsRequest)operation.- Parameters:
listTestRunsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRunsPaginator
default ListTestRunsIterable listTestRunsPaginator(Consumer<ListTestRunsRequest.Builder> listTestRunsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestRuns(software.amazon.awssdk.services.apptest.model.ListTestRunsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestRunsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestRunsIterable responses = client.listTestRunsPaginator(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
listTestRuns(software.amazon.awssdk.services.apptest.model.ListTestRunsRequest)operation.
This is a convenience which creates an instance of the
ListTestRunsRequest.Builderavoiding the need to create one manually viaListTestRunsRequest.builder()- Parameters:
listTestRunsRequest- AConsumerthat will call methods onListTestRunsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestSuites
default ListTestSuitesResponse listTestSuites(ListTestSuitesRequest listTestSuitesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test suites.
- Parameters:
listTestSuitesRequest-- Returns:
- Result of the ListTestSuites operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestSuites
default ListTestSuitesResponse listTestSuites(Consumer<ListTestSuitesRequest.Builder> listTestSuitesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Lists test suites.
This is a convenience which creates an instance of the
ListTestSuitesRequest.Builderavoiding the need to create one manually viaListTestSuitesRequest.builder()- Parameters:
listTestSuitesRequest- AConsumerthat will call methods onListTestSuitesRequest.Builderto create a request.- Returns:
- Result of the ListTestSuites operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestSuitesPaginator
default ListTestSuitesIterable listTestSuitesPaginator(ListTestSuitesRequest listTestSuitesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestSuites(software.amazon.awssdk.services.apptest.model.ListTestSuitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestSuitesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(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
listTestSuites(software.amazon.awssdk.services.apptest.model.ListTestSuitesRequest)operation.- Parameters:
listTestSuitesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestSuitesPaginator
default ListTestSuitesIterable listTestSuitesPaginator(Consumer<ListTestSuitesRequest.Builder> listTestSuitesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
This is a variant of
listTestSuites(software.amazon.awssdk.services.apptest.model.ListTestSuitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(request); for (software.amazon.awssdk.services.apptest.model.ListTestSuitesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.apptest.paginators.ListTestSuitesIterable responses = client.listTestSuitesPaginator(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
listTestSuites(software.amazon.awssdk.services.apptest.model.ListTestSuitesRequest)operation.
This is a convenience which creates an instance of the
ListTestSuitesRequest.Builderavoiding the need to create one manually viaListTestSuitesRequest.builder()- Parameters:
listTestSuitesRequest- AConsumerthat will call methods onListTestSuitesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startTestRun
default StartTestRunResponse startTestRun(StartTestRunRequest startTestRunRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Starts a test run.
- Parameters:
startTestRunRequest-- Returns:
- Result of the StartTestRun operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startTestRun
default StartTestRunResponse startTestRun(Consumer<StartTestRunRequest.Builder> startTestRunRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Starts a test run.
This is a convenience which creates an instance of the
StartTestRunRequest.Builderavoiding the need to create one manually viaStartTestRunRequest.builder()- Parameters:
startTestRunRequest- AConsumerthat will call methods onStartTestRunRequest.Builderto create a request.- Returns:
- Result of the StartTestRun operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Specifies tags of a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Specifies tags of a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ServiceQuotaExceededException- One or more quotas for AWS Application Testing exceeds the limit.ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Untags a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Untags a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestCase
default UpdateTestCaseResponse updateTestCase(UpdateTestCaseRequest updateTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test case.
- Parameters:
updateTestCaseRequest-- Returns:
- Result of the UpdateTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestCase
default UpdateTestCaseResponse updateTestCase(Consumer<UpdateTestCaseRequest.Builder> updateTestCaseRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test case.
This is a convenience which creates an instance of the
UpdateTestCaseRequest.Builderavoiding the need to create one manually viaUpdateTestCaseRequest.builder()- Parameters:
updateTestCaseRequest- AConsumerthat will call methods onUpdateTestCaseRequest.Builderto create a request.- Returns:
- Result of the UpdateTestCase operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestConfiguration
default UpdateTestConfigurationResponse updateTestConfiguration(UpdateTestConfigurationRequest updateTestConfigurationRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test configuration.
- Parameters:
updateTestConfigurationRequest-- Returns:
- Result of the UpdateTestConfiguration operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestConfiguration
default UpdateTestConfigurationResponse updateTestConfiguration(Consumer<UpdateTestConfigurationRequest.Builder> updateTestConfigurationRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test configuration.
This is a convenience which creates an instance of the
UpdateTestConfigurationRequest.Builderavoiding the need to create one manually viaUpdateTestConfigurationRequest.builder()- Parameters:
updateTestConfigurationRequest- AConsumerthat will call methods onUpdateTestConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateTestConfiguration operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestSuite
default UpdateTestSuiteResponse updateTestSuite(UpdateTestSuiteRequest updateTestSuiteRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test suite.
- Parameters:
updateTestSuiteRequest-- Returns:
- Result of the UpdateTestSuite operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateTestSuite
default UpdateTestSuiteResponse updateTestSuite(Consumer<UpdateTestSuiteRequest.Builder> updateTestSuiteRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppTestException
Updates a test suite.
This is a convenience which creates an instance of the
UpdateTestSuiteRequest.Builderavoiding the need to create one manually viaUpdateTestSuiteRequest.builder()- Parameters:
updateTestSuiteRequest- AConsumerthat will call methods onUpdateTestSuiteRequest.Builderto create a request.- Returns:
- Result of the UpdateTestSuite operation returned by the service.
- Throws:
ThrottlingException- The number of requests made exceeds the limit.ResourceNotFoundException- The specified resource was not found.AccessDeniedException- The account or role doesn't have the right permissions to make the request.ValidationException- One or more parameter provided in the request is not valid.ConflictException- The parameters provided in the request conflict with existing resources.InternalServerException- An unexpected error occurred during the processing of the request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppTestException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static AppTestClient create()
Create aAppTestClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AppTestClientBuilder builder()
Create a builder that can be used to configure and create aAppTestClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AppTestServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-