Interface CodeBuildAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface CodeBuildAsyncClient extends AwsClient
Service client for accessing AWS CodeBuild asynchronously. This can be created using the staticbuilder()method.CodeBuild CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the CodeBuild User Guide.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchDeleteBuilds
default CompletableFuture<BatchDeleteBuildsResponse> batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
- Parameters:
batchDeleteBuildsRequest-- Returns:
- A Java Future containing the result of the BatchDeleteBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchDeleteBuilds
default CompletableFuture<BatchDeleteBuildsResponse> batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest)
Deletes one or more builds.
This is a convenience which creates an instance of the
BatchDeleteBuildsRequest.Builderavoiding the need to create one manually viaBatchDeleteBuildsRequest.builder()- Parameters:
batchDeleteBuildsRequest- AConsumerthat will call methods onBatchDeleteBuildsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDeleteBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetBuildBatches
default CompletableFuture<BatchGetBuildBatchesResponse> batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
- Parameters:
batchGetBuildBatchesRequest-- Returns:
- A Java Future containing the result of the BatchGetBuildBatches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetBuildBatches
default CompletableFuture<BatchGetBuildBatchesResponse> batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
This is a convenience which creates an instance of the
BatchGetBuildBatchesRequest.Builderavoiding the need to create one manually viaBatchGetBuildBatchesRequest.builder()- Parameters:
batchGetBuildBatchesRequest- AConsumerthat will call methods onBatchGetBuildBatchesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetBuildBatches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetBuilds
default CompletableFuture<BatchGetBuildsResponse> batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
- Parameters:
batchGetBuildsRequest-- Returns:
- A Java Future containing the result of the BatchGetBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetBuilds
default CompletableFuture<BatchGetBuildsResponse> batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest)
Gets information about one or more builds.
This is a convenience which creates an instance of the
BatchGetBuildsRequest.Builderavoiding the need to create one manually viaBatchGetBuildsRequest.builder()- Parameters:
batchGetBuildsRequest- AConsumerthat will call methods onBatchGetBuildsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFleets
default CompletableFuture<BatchGetFleetsResponse> batchGetFleets(BatchGetFleetsRequest batchGetFleetsRequest)
Gets information about one or more compute fleets.
- Parameters:
batchGetFleetsRequest-- Returns:
- A Java Future containing the result of the BatchGetFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFleets
default CompletableFuture<BatchGetFleetsResponse> batchGetFleets(Consumer<BatchGetFleetsRequest.Builder> batchGetFleetsRequest)
Gets information about one or more compute fleets.
This is a convenience which creates an instance of the
BatchGetFleetsRequest.Builderavoiding the need to create one manually viaBatchGetFleetsRequest.builder()- Parameters:
batchGetFleetsRequest- AConsumerthat will call methods onBatchGetFleetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetProjects
default CompletableFuture<BatchGetProjectsResponse> batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
- Parameters:
batchGetProjectsRequest-- Returns:
- A Java Future containing the result of the BatchGetProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetProjects
default CompletableFuture<BatchGetProjectsResponse> batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest)
Gets information about one or more build projects.
This is a convenience which creates an instance of the
BatchGetProjectsRequest.Builderavoiding the need to create one manually viaBatchGetProjectsRequest.builder()- Parameters:
batchGetProjectsRequest- AConsumerthat will call methods onBatchGetProjectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetReportGroups
default CompletableFuture<BatchGetReportGroupsResponse> batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
- Parameters:
batchGetReportGroupsRequest-- Returns:
- A Java Future containing the result of the BatchGetReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetReportGroups
default CompletableFuture<BatchGetReportGroupsResponse> batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest)
Returns an array of report groups.
This is a convenience which creates an instance of the
BatchGetReportGroupsRequest.Builderavoiding the need to create one manually viaBatchGetReportGroupsRequest.builder()- Parameters:
batchGetReportGroupsRequest- AConsumerthat will call methods onBatchGetReportGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetReports
default CompletableFuture<BatchGetReportsResponse> batchGetReports(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
- Parameters:
batchGetReportsRequest-- Returns:
- A Java Future containing the result of the BatchGetReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetReports
default CompletableFuture<BatchGetReportsResponse> batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest)
Returns an array of reports.
This is a convenience which creates an instance of the
BatchGetReportsRequest.Builderavoiding the need to create one manually viaBatchGetReportsRequest.builder()- Parameters:
batchGetReportsRequest- AConsumerthat will call methods onBatchGetReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFleet
default CompletableFuture<CreateFleetResponse> createFleet(CreateFleetRequest createFleetRequest)
Creates a compute fleet.
- Parameters:
createFleetRequest-- Returns:
- A Java Future containing the result of the CreateFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFleet
default CompletableFuture<CreateFleetResponse> createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest)
Creates a compute fleet.
This is a convenience which creates an instance of the
CreateFleetRequest.Builderavoiding the need to create one manually viaCreateFleetRequest.builder()- Parameters:
createFleetRequest- AConsumerthat will call methods onCreateFleetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates a build project.
- Parameters:
createProjectRequest-- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a build project.
This is a convenience which creates an instance of the
CreateProjectRequest.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createReportGroup
default CompletableFuture<CreateReportGroupResponse> createReportGroup(CreateReportGroupRequest createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
- Parameters:
createReportGroupRequest-- Returns:
- A Java Future containing the result of the CreateReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createReportGroup
default CompletableFuture<CreateReportGroupResponse> createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
This is a convenience which creates an instance of the
CreateReportGroupRequest.Builderavoiding the need to create one manually viaCreateReportGroupRequest.builder()- Parameters:
createReportGroupRequest- AConsumerthat will call methods onCreateReportGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createWebhook
default CompletableFuture<CreateWebhookResponse> createWebhook(CreateWebhookRequest createWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
- Parameters:
createWebhookRequest-- Returns:
- A Java Future containing the result of the CreateWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createWebhook
default CompletableFuture<CreateWebhookResponse> createWebhook(Consumer<CreateWebhookRequest.Builder> createWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
This is a convenience which creates an instance of the
CreateWebhookRequest.Builderavoiding the need to create one manually viaCreateWebhookRequest.builder()- Parameters:
createWebhookRequest- AConsumerthat will call methods onCreateWebhookRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteBuildBatch
default CompletableFuture<DeleteBuildBatchResponse> deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest)
Deletes a batch build.
- Parameters:
deleteBuildBatchRequest-- Returns:
- A Java Future containing the result of the DeleteBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteBuildBatch
default CompletableFuture<DeleteBuildBatchResponse> deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest)
Deletes a batch build.
This is a convenience which creates an instance of the
DeleteBuildBatchRequest.Builderavoiding the need to create one manually viaDeleteBuildBatchRequest.builder()- Parameters:
deleteBuildBatchRequest- AConsumerthat will call methods onDeleteBuildBatchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteFleet
default CompletableFuture<DeleteFleetResponse> deleteFleet(DeleteFleetRequest deleteFleetRequest)
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
- Parameters:
deleteFleetRequest-- Returns:
- A Java Future containing the result of the DeleteFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteFleet
default CompletableFuture<DeleteFleetResponse> deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest)
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
This is a convenience which creates an instance of the
DeleteFleetRequest.Builderavoiding the need to create one manually viaDeleteFleetRequest.builder()- Parameters:
deleteFleetRequest- AConsumerthat will call methods onDeleteFleetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes a build project. When you delete a project, its builds are not deleted.
- Parameters:
deleteProjectRequest-- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes a build project. When you delete a project, its builds are not deleted.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteReport
default CompletableFuture<DeleteReportResponse> deleteReport(DeleteReportRequest deleteReportRequest)
Deletes a report.
- Parameters:
deleteReportRequest-- Returns:
- A Java Future containing the result of the DeleteReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteReport
default CompletableFuture<DeleteReportResponse> deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest)
Deletes a report.
This is a convenience which creates an instance of the
DeleteReportRequest.Builderavoiding the need to create one manually viaDeleteReportRequest.builder()- Parameters:
deleteReportRequest- AConsumerthat will call methods onDeleteReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteReportGroup
default CompletableFuture<DeleteReportGroupResponse> deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest)
Deletes a report group. Before you delete a report group, you must delete its reports.
- Parameters:
deleteReportGroupRequest-- Returns:
- A Java Future containing the result of the DeleteReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteReportGroup
default CompletableFuture<DeleteReportGroupResponse> deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest)
Deletes a report group. Before you delete a report group, you must delete its reports.
This is a convenience which creates an instance of the
DeleteReportGroupRequest.Builderavoiding the need to create one manually viaDeleteReportGroupRequest.builder()- Parameters:
deleteReportGroupRequest- AConsumerthat will call methods onDeleteReportGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSourceCredentials
default CompletableFuture<DeleteSourceCredentialsResponse> deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
- Parameters:
deleteSourceCredentialsRequest-- Returns:
- A Java Future containing the result of the DeleteSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSourceCredentials
default CompletableFuture<DeleteSourceCredentialsResponse> deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
This is a convenience which creates an instance of the
DeleteSourceCredentialsRequest.Builderavoiding the need to create one manually viaDeleteSourceCredentialsRequest.builder()- Parameters:
deleteSourceCredentialsRequest- AConsumerthat will call methods onDeleteSourceCredentialsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteWebhook
default CompletableFuture<DeleteWebhookResponse> deleteWebhook(DeleteWebhookRequest deleteWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
- Parameters:
deleteWebhookRequest-- Returns:
- A Java Future containing the result of the DeleteWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteWebhook
default CompletableFuture<DeleteWebhookResponse> deleteWebhook(Consumer<DeleteWebhookRequest.Builder> deleteWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
This is a convenience which creates an instance of the
DeleteWebhookRequest.Builderavoiding the need to create one manually viaDeleteWebhookRequest.builder()- Parameters:
deleteWebhookRequest- AConsumerthat will call methods onDeleteWebhookRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCodeCoverages
default CompletableFuture<DescribeCodeCoveragesResponse> describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
- Parameters:
describeCodeCoveragesRequest-- Returns:
- A Java Future containing the result of the DescribeCodeCoverages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCodeCoverages
default CompletableFuture<DescribeCodeCoveragesResponse> describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
This is a convenience which creates an instance of the
DescribeCodeCoveragesRequest.Builderavoiding the need to create one manually viaDescribeCodeCoveragesRequest.builder()- Parameters:
describeCodeCoveragesRequest- AConsumerthat will call methods onDescribeCodeCoveragesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCodeCoverages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCodeCoveragesPaginator
default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... }; });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
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.- Parameters:
describeCodeCoveragesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCodeCoveragesPaginator
default DescribeCodeCoveragesPublisher describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesPublisher publisher = client.describeCodeCoveragesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response) { //... }; });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
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)operation.
This is a convenience which creates an instance of the
DescribeCodeCoveragesRequest.Builderavoiding the need to create one manually viaDescribeCodeCoveragesRequest.builder()- Parameters:
describeCodeCoveragesRequest- AConsumerthat will call methods onDescribeCodeCoveragesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeTestCases
default CompletableFuture<DescribeTestCasesResponse> describeTestCases(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
- Parameters:
describeTestCasesRequest-- Returns:
- A Java Future containing the result of the DescribeTestCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeTestCases
default CompletableFuture<DescribeTestCasesResponse> describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
This is a convenience which creates an instance of the
DescribeTestCasesRequest.Builderavoiding the need to create one manually viaDescribeTestCasesRequest.builder()- Parameters:
describeTestCasesRequest- AConsumerthat will call methods onDescribeTestCasesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTestCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeTestCasesPaginator
default DescribeTestCasesPublisher describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest)
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... }; });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
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.- Parameters:
describeTestCasesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeTestCasesPaginator
default DescribeTestCasesPublisher describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesPublisher publisher = client.describeTestCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response) { //... }; });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
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)operation.
This is a convenience which creates an instance of the
DescribeTestCasesRequest.Builderavoiding the need to create one manually viaDescribeTestCasesRequest.builder()- Parameters:
describeTestCasesRequest- AConsumerthat will call methods onDescribeTestCasesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getReportGroupTrend
default CompletableFuture<GetReportGroupTrendResponse> getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
- Parameters:
getReportGroupTrendRequest-- Returns:
- A Java Future containing the result of the GetReportGroupTrend operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getReportGroupTrend
default CompletableFuture<GetReportGroupTrendResponse> getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
This is a convenience which creates an instance of the
GetReportGroupTrendRequest.Builderavoiding the need to create one manually viaGetReportGroupTrendRequest.builder()- Parameters:
getReportGroupTrendRequest- AConsumerthat will call methods onGetReportGroupTrendRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetReportGroupTrend operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
- Parameters:
getResourcePolicyRequest-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
importSourceCredentials
default CompletableFuture<ImportSourceCredentialsResponse> importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
- Parameters:
importSourceCredentialsRequest-- Returns:
- A Java Future containing the result of the ImportSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
importSourceCredentials
default CompletableFuture<ImportSourceCredentialsResponse> importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
This is a convenience which creates an instance of the
ImportSourceCredentialsRequest.Builderavoiding the need to create one manually viaImportSourceCredentialsRequest.builder()- Parameters:
importSourceCredentialsRequest- AConsumerthat will call methods onImportSourceCredentialsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
invalidateProjectCache
default CompletableFuture<InvalidateProjectCacheResponse> invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
- Parameters:
invalidateProjectCacheRequest-- Returns:
- A Java Future containing the result of the InvalidateProjectCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
invalidateProjectCache
default CompletableFuture<InvalidateProjectCacheResponse> invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest)
Resets the cache for a project.
This is a convenience which creates an instance of the
InvalidateProjectCacheRequest.Builderavoiding the need to create one manually viaInvalidateProjectCacheRequest.builder()- Parameters:
invalidateProjectCacheRequest- AConsumerthat will call methods onInvalidateProjectCacheRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the InvalidateProjectCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatches
default CompletableFuture<ListBuildBatchesResponse> listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
- Parameters:
listBuildBatchesRequest-- Returns:
- A Java Future containing the result of the ListBuildBatches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatches
default CompletableFuture<ListBuildBatchesResponse> listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
This is a convenience which creates an instance of the
ListBuildBatchesRequest.Builderavoiding the need to create one manually viaListBuildBatchesRequest.builder()- Parameters:
listBuildBatchesRequest- AConsumerthat will call methods onListBuildBatchesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBuildBatches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesForProject
default CompletableFuture<ListBuildBatchesForProjectResponse> listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
- Parameters:
listBuildBatchesForProjectRequest-- Returns:
- A Java Future containing the result of the ListBuildBatchesForProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesForProject
default CompletableFuture<ListBuildBatchesForProjectResponse> listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
This is a convenience which creates an instance of the
ListBuildBatchesForProjectRequest.Builderavoiding the need to create one manually viaListBuildBatchesForProjectRequest.builder()- Parameters:
listBuildBatchesForProjectRequest- AConsumerthat will call methods onListBuildBatchesForProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBuildBatchesForProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesForProjectPaginator
default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... }; });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
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.- Parameters:
listBuildBatchesForProjectRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesForProjectPaginator
default ListBuildBatchesForProjectPublisher listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectPublisher publisher = client.listBuildBatchesForProjectPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response) { //... }; });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
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)operation.
This is a convenience which creates an instance of the
ListBuildBatchesForProjectRequest.Builderavoiding the need to create one manually viaListBuildBatchesForProjectRequest.builder()- Parameters:
listBuildBatchesForProjectRequest- AConsumerthat will call methods onListBuildBatchesForProjectRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesPaginator
default ListBuildBatchesPublisher listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest)
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... }; });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
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.- Parameters:
listBuildBatchesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildBatchesPaginator
default ListBuildBatchesPublisher listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesPublisher publisher = client.listBuildBatchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response) { //... }; });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
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)operation.
This is a convenience which creates an instance of the
ListBuildBatchesRequest.Builderavoiding the need to create one manually viaListBuildBatchesRequest.builder()- Parameters:
listBuildBatchesRequest- AConsumerthat will call methods onListBuildBatchesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuilds
default CompletableFuture<ListBuildsResponse> listBuilds(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
- Parameters:
listBuildsRequest-- Returns:
- A Java Future containing the result of the ListBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuilds
default CompletableFuture<ListBuildsResponse> listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
This is a convenience which creates an instance of the
ListBuildsRequest.Builderavoiding the need to create one manually viaListBuildsRequest.builder()- Parameters:
listBuildsRequest- AConsumerthat will call methods onListBuildsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuilds
default CompletableFuture<ListBuildsResponse> listBuilds()
Gets a list of build IDs, with each build ID representing a single build.
- Returns:
- A Java Future containing the result of the ListBuilds operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsForProject
default CompletableFuture<ListBuildsForProjectResponse> listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
- Parameters:
listBuildsForProjectRequest-- Returns:
- A Java Future containing the result of the ListBuildsForProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsForProject
default CompletableFuture<ListBuildsForProjectResponse> listBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
This is a convenience which creates an instance of the
ListBuildsForProjectRequest.Builderavoiding the need to create one manually viaListBuildsForProjectRequest.builder()- Parameters:
listBuildsForProjectRequest- AConsumerthat will call methods onListBuildsForProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBuildsForProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsForProjectPaginator
default ListBuildsForProjectPublisher listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest)
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... }; });Please notice that the configuration of null 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
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.- Parameters:
listBuildsForProjectRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsForProjectPaginator
default ListBuildsForProjectPublisher listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectPublisher publisher = client.listBuildsForProjectPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response) { //... }; });Please notice that the configuration of null 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
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)operation.
This is a convenience which creates an instance of the
ListBuildsForProjectRequest.Builderavoiding the need to create one manually viaListBuildsForProjectRequest.builder()- Parameters:
listBuildsForProjectRequest- AConsumerthat will call methods onListBuildsForProjectRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsPaginator
default ListBuildsPublisher listBuildsPaginator()
This is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... }; });Please notice that the configuration of null 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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsPaginator
default ListBuildsPublisher listBuildsPaginator(ListBuildsRequest listBuildsRequest)
This is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... }; });Please notice that the configuration of null 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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.- Parameters:
listBuildsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listBuildsPaginator
default ListBuildsPublisher listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
This is a variant of
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListBuildsPublisher publisher = client.listBuildsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListBuildsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response) { //... }; });Please notice that the configuration of null 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
listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)operation.
This is a convenience which creates an instance of the
ListBuildsRequest.Builderavoiding the need to create one manually viaListBuildsRequest.builder()- Parameters:
listBuildsRequest- AConsumerthat will call methods onListBuildsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCuratedEnvironmentImages
default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
- Parameters:
listCuratedEnvironmentImagesRequest-- Returns:
- A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCuratedEnvironmentImages
default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
This is a convenience which creates an instance of the
ListCuratedEnvironmentImagesRequest.Builderavoiding the need to create one manually viaListCuratedEnvironmentImagesRequest.builder()- Parameters:
listCuratedEnvironmentImagesRequest- AConsumerthat will call methods onListCuratedEnvironmentImagesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCuratedEnvironmentImages
default CompletableFuture<ListCuratedEnvironmentImagesResponse> listCuratedEnvironmentImages()
Gets information about Docker images that are managed by CodeBuild.
- Returns:
- A Java Future containing the result of the ListCuratedEnvironmentImages operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFleets
default CompletableFuture<ListFleetsResponse> listFleets(ListFleetsRequest listFleetsRequest)
Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
- Parameters:
listFleetsRequest-- Returns:
- A Java Future containing the result of the ListFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFleets
default CompletableFuture<ListFleetsResponse> listFleets(Consumer<ListFleetsRequest.Builder> listFleetsRequest)
Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
This is a convenience which creates an instance of the
ListFleetsRequest.Builderavoiding the need to create one manually viaListFleetsRequest.builder()- Parameters:
listFleetsRequest- AConsumerthat will call methods onListFleetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFleetsPaginator
default ListFleetsPublisher listFleetsPaginator(ListFleetsRequest listFleetsRequest)
This is a variant of
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListFleetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListFleetsResponse response) { //... }; });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
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.- Parameters:
listFleetsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFleetsPaginator
default ListFleetsPublisher listFleetsPaginator(Consumer<ListFleetsRequest.Builder> listFleetsRequest)
This is a variant of
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListFleetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListFleetsResponse response) { //... }; });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
listFleets(software.amazon.awssdk.services.codebuild.model.ListFleetsRequest)operation.
This is a convenience which creates an instance of the
ListFleetsRequest.Builderavoiding the need to create one manually viaListFleetsRequest.builder()- Parameters:
listFleetsRequest- AConsumerthat will call methods onListFleetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
- Parameters:
listProjectsRequest-- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects()
Gets a list of build project names, with each build project name representing a single build project.
- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator()
This is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of null 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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)
This is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of null 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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
This is a variant of
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of null 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
listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)operation.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportGroups
default CompletableFuture<ListReportGroupsResponse> listReportGroups(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
- Parameters:
listReportGroupsRequest-- Returns:
- A Java Future containing the result of the ListReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportGroups
default CompletableFuture<ListReportGroupsResponse> listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListReportGroupsRequest.Builderavoiding the need to create one manually viaListReportGroupsRequest.builder()- Parameters:
listReportGroupsRequest- AConsumerthat will call methods onListReportGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportGroupsPaginator
default ListReportGroupsPublisher listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest)
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... }; });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
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.- Parameters:
listReportGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportGroupsPaginator
default ListReportGroupsPublisher listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsPublisher publisher = client.listReportGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response) { //... }; });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
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)operation.
This is a convenience which creates an instance of the
ListReportGroupsRequest.Builderavoiding the need to create one manually viaListReportGroupsRequest.builder()- Parameters:
listReportGroupsRequest- AConsumerthat will call methods onListReportGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReports
default CompletableFuture<ListReportsResponse> listReports(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
- Parameters:
listReportsRequest-- Returns:
- A Java Future containing the result of the ListReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReports
default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsForReportGroup
default CompletableFuture<ListReportsForReportGroupResponse> listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup.- Parameters:
listReportsForReportGroupRequest-- Returns:
- A Java Future containing the result of the ListReportsForReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsForReportGroup
default CompletableFuture<ListReportsForReportGroupResponse> listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup.
This is a convenience which creates an instance of the
ListReportsForReportGroupRequest.Builderavoiding the need to create one manually viaListReportsForReportGroupRequest.builder()- Parameters:
listReportsForReportGroupRequest- AConsumerthat will call methods onListReportsForReportGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReportsForReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsForReportGroupPaginator
default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... }; });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
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.- Parameters:
listReportsForReportGroupRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsForReportGroupPaginator
default ListReportsForReportGroupPublisher listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupPublisher publisher = client.listReportsForReportGroupPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response) { //... }; });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
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)operation.
This is a convenience which creates an instance of the
ListReportsForReportGroupRequest.Builderavoiding the need to create one manually viaListReportsForReportGroupRequest.builder()- Parameters:
listReportsForReportGroupRequest- AConsumerthat will call methods onListReportsForReportGroupRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsPaginator
default ListReportsPublisher listReportsPaginator(ListReportsRequest listReportsRequest)
This is a variant of
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... }; });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
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.- Parameters:
listReportsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listReportsPaginator
default ListReportsPublisher listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest)
This is a variant of
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListReportsResponse response) { //... }; });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
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)operation.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedProjects
default CompletableFuture<ListSharedProjectsResponse> listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
- Parameters:
listSharedProjectsRequest-- Returns:
- A Java Future containing the result of the ListSharedProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedProjects
default CompletableFuture<ListSharedProjectsResponse> listSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
This is a convenience which creates an instance of the
ListSharedProjectsRequest.Builderavoiding the need to create one manually viaListSharedProjectsRequest.builder()- Parameters:
listSharedProjectsRequest- AConsumerthat will call methods onListSharedProjectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSharedProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedProjectsPaginator
default ListSharedProjectsPublisher listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest)
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... }; });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
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation.- Parameters:
listSharedProjectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedProjectsPaginator
default ListSharedProjectsPublisher listSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsPublisher publisher = client.listSharedProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response) { //... }; });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
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)operation.
This is a convenience which creates an instance of the
ListSharedProjectsRequest.Builderavoiding the need to create one manually viaListSharedProjectsRequest.builder()- Parameters:
listSharedProjectsRequest- AConsumerthat will call methods onListSharedProjectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedReportGroups
default CompletableFuture<ListSharedReportGroupsResponse> listSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
- Parameters:
listSharedReportGroupsRequest-- Returns:
- A Java Future containing the result of the ListSharedReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedReportGroups
default CompletableFuture<ListSharedReportGroupsResponse> listSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
This is a convenience which creates an instance of the
ListSharedReportGroupsRequest.Builderavoiding the need to create one manually viaListSharedReportGroupsRequest.builder()- Parameters:
listSharedReportGroupsRequest- AConsumerthat will call methods onListSharedReportGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSharedReportGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedReportGroupsPaginator
default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... }; });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
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation.- Parameters:
listSharedReportGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSharedReportGroupsPaginator
default ListSharedReportGroupsPublisher listSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsPublisher publisher = client.listSharedReportGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response) { //... }; });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
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)operation.
This is a convenience which creates an instance of the
ListSharedReportGroupsRequest.Builderavoiding the need to create one manually viaListSharedReportGroupsRequest.builder()- Parameters:
listSharedReportGroupsRequest- AConsumerthat will call methods onListSharedReportGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSourceCredentials
default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfoobjects.- Parameters:
listSourceCredentialsRequest-- Returns:
- A Java Future containing the result of the ListSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSourceCredentials
default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfoobjects.
This is a convenience which creates an instance of the
ListSourceCredentialsRequest.Builderavoiding the need to create one manually viaListSourceCredentialsRequest.builder()- Parameters:
listSourceCredentialsRequest- AConsumerthat will call methods onListSourceCredentialsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSourceCredentials
default CompletableFuture<ListSourceCredentialsResponse> listSourceCredentials()
Returns a list of
SourceCredentialsInfoobjects.- Returns:
- A Java Future containing the result of the ListSourceCredentials operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a
ProjectorReportGroupobject.- Parameters:
putResourcePolicyRequest-- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Stores a resource policy for the ARN of a
ProjectorReportGroupobject.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- InvalidInputException The input value that was provided is not valid.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
retryBuild
default CompletableFuture<RetryBuildResponse> retryBuild(RetryBuildRequest retryBuildRequest)
Restarts a build.
- Parameters:
retryBuildRequest-- Returns:
- A Java Future containing the result of the RetryBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
retryBuild
default CompletableFuture<RetryBuildResponse> retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest)
Restarts a build.
This is a convenience which creates an instance of the
RetryBuildRequest.Builderavoiding the need to create one manually viaRetryBuildRequest.builder()- Parameters:
retryBuildRequest- AConsumerthat will call methods onRetryBuildRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RetryBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
retryBuildBatch
default CompletableFuture<RetryBuildBatchResponse> retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest)
Restarts a failed batch build. Only batch builds that have failed can be retried.
- Parameters:
retryBuildBatchRequest-- Returns:
- A Java Future containing the result of the RetryBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
retryBuildBatch
default CompletableFuture<RetryBuildBatchResponse> retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest)
Restarts a failed batch build. Only batch builds that have failed can be retried.
This is a convenience which creates an instance of the
RetryBuildBatchRequest.Builderavoiding the need to create one manually viaRetryBuildBatchRequest.builder()- Parameters:
retryBuildBatchRequest- AConsumerthat will call methods onRetryBuildBatchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RetryBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startBuild
default CompletableFuture<StartBuildResponse> startBuild(StartBuildRequest startBuildRequest)
Starts running a build.
- Parameters:
startBuildRequest-- Returns:
- A Java Future containing the result of the StartBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startBuild
default CompletableFuture<StartBuildResponse> startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest)
Starts running a build.
This is a convenience which creates an instance of the
StartBuildRequest.Builderavoiding the need to create one manually viaStartBuildRequest.builder()- Parameters:
startBuildRequest- AConsumerthat will call methods onStartBuildRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startBuildBatch
default CompletableFuture<StartBuildBatchResponse> startBuildBatch(StartBuildBatchRequest startBuildBatchRequest)
Starts a batch build for a project.
- Parameters:
startBuildBatchRequest-- Returns:
- A Java Future containing the result of the StartBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
startBuildBatch
default CompletableFuture<StartBuildBatchResponse> startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest)
Starts a batch build for a project.
This is a convenience which creates an instance of the
StartBuildBatchRequest.Builderavoiding the need to create one manually viaStartBuildBatchRequest.builder()- Parameters:
startBuildBatchRequest- AConsumerthat will call methods onStartBuildBatchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
stopBuild
default CompletableFuture<StopBuildResponse> stopBuild(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
- Parameters:
stopBuildRequest-- Returns:
- A Java Future containing the result of the StopBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
stopBuild
default CompletableFuture<StopBuildResponse> stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest)
Attempts to stop running a build.
This is a convenience which creates an instance of the
StopBuildRequest.Builderavoiding the need to create one manually viaStopBuildRequest.builder()- Parameters:
stopBuildRequest- AConsumerthat will call methods onStopBuildRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopBuild operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
stopBuildBatch
default CompletableFuture<StopBuildBatchResponse> stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest)
Stops a running batch build.
- Parameters:
stopBuildBatchRequest-- Returns:
- A Java Future containing the result of the StopBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
stopBuildBatch
default CompletableFuture<StopBuildBatchResponse> stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest)
Stops a running batch build.
This is a convenience which creates an instance of the
StopBuildBatchRequest.Builderavoiding the need to create one manually viaStopBuildBatchRequest.builder()- Parameters:
stopBuildBatchRequest- AConsumerthat will call methods onStopBuildBatchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopBuildBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateFleet
default CompletableFuture<UpdateFleetResponse> updateFleet(UpdateFleetRequest updateFleetRequest)
Updates a compute fleet.
- Parameters:
updateFleetRequest-- Returns:
- A Java Future containing the result of the UpdateFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateFleet
default CompletableFuture<UpdateFleetResponse> updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest)
Updates a compute fleet.
This is a convenience which creates an instance of the
UpdateFleetRequest.Builderavoiding the need to create one manually viaUpdateFleetRequest.builder()- Parameters:
updateFleetRequest- AConsumerthat will call methods onUpdateFleetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
- Parameters:
updateProjectRequest-- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Changes the settings of a build project.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateProjectVisibility
default CompletableFuture<UpdateProjectVisibilityResponse> updateProjectVisibility(UpdateProjectVisibilityRequest updateProjectVisibilityRequest)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
-
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
-
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
-
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
-
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
-
-
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
- Parameters:
updateProjectVisibilityRequest-- Returns:
- A Java Future containing the result of the UpdateProjectVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
updateProjectVisibility
default CompletableFuture<UpdateProjectVisibilityResponse> updateProjectVisibility(Consumer<UpdateProjectVisibilityRequest.Builder> updateProjectVisibilityRequest)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
-
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
-
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
-
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
-
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
-
-
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
This is a convenience which creates an instance of the
UpdateProjectVisibilityRequest.Builderavoiding the need to create one manually viaUpdateProjectVisibilityRequest.builder()- Parameters:
updateProjectVisibilityRequest- AConsumerthat will call methods onUpdateProjectVisibilityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateProjectVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
updateReportGroup
default CompletableFuture<UpdateReportGroupResponse> updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
- Parameters:
updateReportGroupRequest-- Returns:
- A Java Future containing the result of the UpdateReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateReportGroup
default CompletableFuture<UpdateReportGroupResponse> updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest)
Updates a report group.
This is a convenience which creates an instance of the
UpdateReportGroupRequest.Builderavoiding the need to create one manually viaUpdateReportGroupRequest.builder()- Parameters:
updateReportGroupRequest- AConsumerthat will call methods onUpdateReportGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReportGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateWebhook
default CompletableFuture<UpdateWebhookResponse> updateWebhook(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository,
rotateSecretis ignored.- Parameters:
updateWebhookRequest-- Returns:
- A Java Future containing the result of the UpdateWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateWebhook
default CompletableFuture<UpdateWebhookResponse> updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository,
rotateSecretis ignored.
This is a convenience which creates an instance of the
UpdateWebhookRequest.Builderavoiding the need to create one manually viaUpdateWebhookRequest.builder()- Parameters:
updateWebhookRequest- AConsumerthat will call methods onUpdateWebhookRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateWebhook operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidInputException The input value that was provided is not valid.
- ResourceNotFoundException The specified Amazon Web Services resource cannot be found.
- OAuthProviderException There was a problem with the underlying OAuth provider.
- 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.
- CodeBuildException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default CodeBuildServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static CodeBuildAsyncClient create()
Create aCodeBuildAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static CodeBuildAsyncClientBuilder builder()
Create a builder that can be used to configure and create aCodeBuildAsyncClient.
-
-