@Generated(value="software.amazon.awssdk:codegen") public interface CodeBuildClient extends SdkClient
builder()
method.
AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS 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 AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default BatchDeleteBuildsResponse |
batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
|
default BatchDeleteBuildsResponse |
batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest)
Deletes one or more builds.
|
default BatchGetBuildBatchesResponse |
batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
|
default BatchGetBuildBatchesResponse |
batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
|
default BatchGetBuildsResponse |
batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
|
default BatchGetBuildsResponse |
batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest)
Gets information about one or more builds.
|
default BatchGetProjectsResponse |
batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
|
default BatchGetProjectsResponse |
batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest)
Gets information about one or more build projects.
|
default BatchGetReportGroupsResponse |
batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
|
default BatchGetReportGroupsResponse |
batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest)
Returns an array of report groups.
|
default BatchGetReportsResponse |
batchGetReports(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
|
default BatchGetReportsResponse |
batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest)
Returns an array of reports.
|
static CodeBuildClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeBuildClient . |
static CodeBuildClient |
create()
Create a
CodeBuildClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateProjectResponse |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a build project.
|
default CreateProjectResponse |
createProject(CreateProjectRequest createProjectRequest)
Creates a build project.
|
default CreateReportGroupResponse |
createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest)
Creates a report group.
|
default CreateReportGroupResponse |
createReportGroup(CreateReportGroupRequest createReportGroupRequest)
Creates a report group.
|
default CreateWebhookResponse |
createWebhook(Consumer<CreateWebhookRequest.Builder> createWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
|
default CreateWebhookResponse |
createWebhook(CreateWebhookRequest createWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
|
default DeleteBuildBatchResponse |
deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest)
Deletes a batch build.
|
default DeleteBuildBatchResponse |
deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest)
Deletes a batch build.
|
default DeleteProjectResponse |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes a build project.
|
default DeleteProjectResponse |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes a build project.
|
default DeleteReportResponse |
deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest)
Deletes a report.
|
default DeleteReportResponse |
deleteReport(DeleteReportRequest deleteReportRequest)
Deletes a report.
|
default DeleteReportGroupResponse |
deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest)
Deletes a report group.
|
default DeleteReportGroupResponse |
deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest)
Deletes a report group.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
|
default DeleteSourceCredentialsResponse |
deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
default DeleteSourceCredentialsResponse |
deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
default DeleteWebhookResponse |
deleteWebhook(Consumer<DeleteWebhookRequest.Builder> deleteWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
|
default DeleteWebhookResponse |
deleteWebhook(DeleteWebhookRequest deleteWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
|
default DescribeCodeCoveragesResponse |
describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeCodeCoveragesResponse |
describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeCodeCoveragesIterable |
describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeCodeCoveragesIterable |
describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
|
default DescribeTestCasesResponse |
describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default DescribeTestCasesResponse |
describeTestCases(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default DescribeTestCasesIterable |
describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default DescribeTestCasesIterable |
describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
default GetReportGroupTrendResponse |
getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
|
default GetReportGroupTrendResponse |
getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
|
default GetResourcePolicyResponse |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
|
default GetResourcePolicyResponse |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
|
default ImportSourceCredentialsResponse |
importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
GitHub, GitHub Enterprise, or Bitbucket repository.
|
default ImportSourceCredentialsResponse |
importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
GitHub, GitHub Enterprise, or Bitbucket repository.
|
default InvalidateProjectCacheResponse |
invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest)
Resets the cache for a project.
|
default InvalidateProjectCacheResponse |
invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
|
default ListBuildBatchesResponse |
listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default ListBuildBatchesResponse |
listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default ListBuildBatchesForProjectResponse |
listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesForProjectResponse |
listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesForProjectIterable |
listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesForProjectIterable |
listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
|
default ListBuildBatchesIterable |
listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default ListBuildBatchesIterable |
listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
|
default ListBuildsResponse |
listBuilds()
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsResponse |
listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsResponse |
listBuilds(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default 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.
|
default ListBuildsForProjectResponse |
listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsForProjectIterable |
listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsForProjectIterable |
listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a
single build.
|
default ListBuildsIterable |
listBuildsPaginator()
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsIterable |
listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default ListBuildsIterable |
listBuildsPaginator(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
default ListCuratedEnvironmentImagesResponse |
listCuratedEnvironmentImages()
Gets information about Docker images that are managed by AWS CodeBuild.
|
default ListCuratedEnvironmentImagesResponse |
listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by AWS CodeBuild.
|
default ListCuratedEnvironmentImagesResponse |
listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by AWS CodeBuild.
|
default ListProjectsResponse |
listProjects()
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsResponse |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsResponse |
listProjects(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsIterable |
listProjectsPaginator()
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsIterable |
listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListProjectsIterable |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
default ListReportGroupsResponse |
listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
|
default ListReportGroupsResponse |
listReportGroups(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
|
default ListReportGroupsIterable |
listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
|
default ListReportGroupsIterable |
listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
|
default ListReportsResponse |
listReports(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
|
default ListReportsResponse |
listReports(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
|
default ListReportsForReportGroupResponse |
listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
default ListReportsForReportGroupResponse |
listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
default ListReportsForReportGroupIterable |
listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
default ListReportsForReportGroupIterable |
listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
default ListReportsIterable |
listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
|
default ListReportsIterable |
listReportsPaginator(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
|
default ListSharedProjectsResponse |
listSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
|
default ListSharedProjectsResponse |
listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
|
default ListSharedProjectsIterable |
listSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
|
default ListSharedProjectsIterable |
listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
|
default ListSharedReportGroupsResponse |
listSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
|
default ListSharedReportGroupsResponse |
listSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
|
default ListSharedReportGroupsIterable |
listSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
|
default ListSharedReportGroupsIterable |
listSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
|
default ListSourceCredentialsResponse |
listSourceCredentials()
Returns a list of
SourceCredentialsInfo objects. |
default ListSourceCredentialsResponse |
listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfo objects. |
default ListSourceCredentialsResponse |
listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfo objects. |
default PutResourcePolicyResponse |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
default PutResourcePolicyResponse |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
default RetryBuildResponse |
retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest)
Restarts a build.
|
default RetryBuildResponse |
retryBuild(RetryBuildRequest retryBuildRequest)
Restarts a build.
|
default RetryBuildBatchResponse |
retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest)
Restarts a failed batch build.
|
default RetryBuildBatchResponse |
retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest)
Restarts a failed batch build.
|
static ServiceMetadata |
serviceMetadata() |
default StartBuildResponse |
startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest)
Starts running a build.
|
default StartBuildResponse |
startBuild(StartBuildRequest startBuildRequest)
Starts running a build.
|
default StartBuildBatchResponse |
startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest)
Starts a batch build for a project.
|
default StartBuildBatchResponse |
startBuildBatch(StartBuildBatchRequest startBuildBatchRequest)
Starts a batch build for a project.
|
default StopBuildResponse |
stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest)
Attempts to stop running a build.
|
default StopBuildResponse |
stopBuild(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
|
default StopBuildBatchResponse |
stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest)
Stops a running batch build.
|
default StopBuildBatchResponse |
stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest)
Stops a running batch build.
|
default UpdateProjectResponse |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Changes the settings of a build project.
|
default UpdateProjectResponse |
updateProject(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
|
default UpdateReportGroupResponse |
updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest)
Updates a report group.
|
default UpdateReportGroupResponse |
updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
|
default UpdateWebhookResponse |
updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest)
Updates the webhook associated with an AWS CodeBuild build project.
|
default UpdateWebhookResponse |
updateWebhook(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an AWS CodeBuild build project.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static CodeBuildClient create()
CodeBuildClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static CodeBuildClientBuilder builder()
CodeBuildClient
.default BatchDeleteBuildsResponse batchDeleteBuilds(BatchDeleteBuildsRequest batchDeleteBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes one or more builds.
batchDeleteBuildsRequest
- 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.AwsServiceException
default BatchDeleteBuildsResponse batchDeleteBuilds(Consumer<BatchDeleteBuildsRequest.Builder> batchDeleteBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes one or more builds.
This is a convenience which creates an instance of the BatchDeleteBuildsRequest.Builder
avoiding the need
to create one manually via BatchDeleteBuildsRequest.builder()
batchDeleteBuildsRequest
- A Consumer
that will call methods on BatchDeleteBuildsInput.Builder
to create a request.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.AwsServiceException
default BatchGetBuildBatchesResponse batchGetBuildBatches(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves information about one or more batch builds.
batchGetBuildBatchesRequest
- 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.AwsServiceException
default BatchGetBuildBatchesResponse batchGetBuildBatches(Consumer<BatchGetBuildBatchesRequest.Builder> batchGetBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves information about one or more batch builds.
This is a convenience which creates an instance of the BatchGetBuildBatchesRequest.Builder
avoiding the
need to create one manually via BatchGetBuildBatchesRequest.builder()
batchGetBuildBatchesRequest
- A Consumer
that will call methods on BatchGetBuildBatchesInput.Builder
to create a
request.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.AwsServiceException
default BatchGetBuildsResponse batchGetBuilds(BatchGetBuildsRequest batchGetBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets information about one or more builds.
batchGetBuildsRequest
- 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.AwsServiceException
default BatchGetBuildsResponse batchGetBuilds(Consumer<BatchGetBuildsRequest.Builder> batchGetBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets information about one or more builds.
This is a convenience which creates an instance of the BatchGetBuildsRequest.Builder
avoiding the need to
create one manually via BatchGetBuildsRequest.builder()
batchGetBuildsRequest
- A Consumer
that will call methods on BatchGetBuildsInput.Builder
to create a request.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.AwsServiceException
default BatchGetProjectsResponse batchGetProjects(BatchGetProjectsRequest batchGetProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets information about one or more build projects.
batchGetProjectsRequest
- 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.AwsServiceException
default BatchGetProjectsResponse batchGetProjects(Consumer<BatchGetProjectsRequest.Builder> batchGetProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets information about one or more build projects.
This is a convenience which creates an instance of the BatchGetProjectsRequest.Builder
avoiding the need
to create one manually via BatchGetProjectsRequest.builder()
batchGetProjectsRequest
- A Consumer
that will call methods on BatchGetProjectsInput.Builder
to create a request.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.AwsServiceException
default BatchGetReportGroupsResponse batchGetReportGroups(BatchGetReportGroupsRequest batchGetReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns an array of report groups.
batchGetReportGroupsRequest
- 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.AwsServiceException
default BatchGetReportGroupsResponse batchGetReportGroups(Consumer<BatchGetReportGroupsRequest.Builder> batchGetReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns an array of report groups.
This is a convenience which creates an instance of the BatchGetReportGroupsRequest.Builder
avoiding the
need to create one manually via BatchGetReportGroupsRequest.builder()
batchGetReportGroupsRequest
- A Consumer
that will call methods on BatchGetReportGroupsInput.Builder
to create a
request.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.AwsServiceException
default BatchGetReportsResponse batchGetReports(BatchGetReportsRequest batchGetReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns an array of reports.
batchGetReportsRequest
- 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.AwsServiceException
default BatchGetReportsResponse batchGetReports(Consumer<BatchGetReportsRequest.Builder> batchGetReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns an array of reports.
This is a convenience which creates an instance of the BatchGetReportsRequest.Builder
avoiding the need
to create one manually via BatchGetReportsRequest.builder()
batchGetReportsRequest
- A Consumer
that will call methods on BatchGetReportsInput.Builder
to create a request.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.AwsServiceException
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Creates a build project.
createProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Creates a build project.
This is a convenience which creates an instance of the CreateProjectRequest.Builder
avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest
- A Consumer
that will call methods on CreateProjectInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default CreateReportGroupResponse createReportGroup(CreateReportGroupRequest createReportGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default CreateReportGroupResponse createReportGroup(Consumer<CreateReportGroupRequest.Builder> createReportGroupRequest) throws InvalidInputException, ResourceAlreadyExistsException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Creates a report group. A report group contains a collection of reports.
This is a convenience which creates an instance of the CreateReportGroupRequest.Builder
avoiding the need
to create one manually via CreateReportGroupRequest.builder()
createReportGroupRequest
- A Consumer
that will call methods on CreateReportGroupInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default CreateWebhookResponse createWebhook(CreateWebhookRequest createWebhookRequest) throws InvalidInputException, OAuthProviderException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest
- InvalidInputException
- The input value that was provided is not valid.OAuthProviderException
- There was a problem with the underlying OAuth provider.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default CreateWebhookResponse createWebhook(Consumer<CreateWebhookRequest.Builder> createWebhookRequest) throws InvalidInputException, OAuthProviderException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS 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.Builder
avoiding the need to
create one manually via CreateWebhookRequest.builder()
createWebhookRequest
- A Consumer
that will call methods on CreateWebhookInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.OAuthProviderException
- There was a problem with the underlying OAuth provider.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS resource with the same settings already
exists.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DeleteBuildBatchResponse deleteBuildBatch(DeleteBuildBatchRequest deleteBuildBatchRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a batch build.
deleteBuildBatchRequest
- 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.AwsServiceException
default DeleteBuildBatchResponse deleteBuildBatch(Consumer<DeleteBuildBatchRequest.Builder> deleteBuildBatchRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a batch build.
This is a convenience which creates an instance of the DeleteBuildBatchRequest.Builder
avoiding the need
to create one manually via DeleteBuildBatchRequest.builder()
deleteBuildBatchRequest
- A Consumer
that will call methods on DeleteBuildBatchInput.Builder
to create a request.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.AwsServiceException
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest
- 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.AwsServiceException
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest
- A Consumer
that will call methods on DeleteProjectInput.Builder
to create a request.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.AwsServiceException
default DeleteReportResponse deleteReport(DeleteReportRequest deleteReportRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a report.
deleteReportRequest
- 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.AwsServiceException
default DeleteReportResponse deleteReport(Consumer<DeleteReportRequest.Builder> deleteReportRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a report.
This is a convenience which creates an instance of the DeleteReportRequest.Builder
avoiding the need to
create one manually via DeleteReportRequest.builder()
deleteReportRequest
- A Consumer
that will call methods on DeleteReportInput.Builder
to create a request.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.AwsServiceException
default DeleteReportGroupResponse deleteReportGroup(DeleteReportGroupRequest deleteReportGroupRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupRequest
- 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.AwsServiceException
default DeleteReportGroupResponse deleteReportGroup(Consumer<DeleteReportGroupRequest.Builder> deleteReportGroupRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the need
to create one manually via DeleteReportGroupRequest.builder()
deleteReportGroupRequest
- A Consumer
that will call methods on DeleteReportGroupInput.Builder
to create a request.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.AwsServiceException
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest
- 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.AwsServiceException
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder
avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest
- A Consumer
that will call methods on DeleteResourcePolicyInput.Builder
to create a
request.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.AwsServiceException
default DeleteSourceCredentialsResponse deleteSourceCredentials(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DeleteSourceCredentialsResponse deleteSourceCredentials(Consumer<DeleteSourceCredentialsRequest.Builder> deleteSourceCredentialsRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
This is a convenience which creates an instance of the DeleteSourceCredentialsRequest.Builder
avoiding
the need to create one manually via DeleteSourceCredentialsRequest.builder()
deleteSourceCredentialsRequest
- A Consumer
that will call methods on DeleteSourceCredentialsInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DeleteWebhookResponse deleteWebhook(DeleteWebhookRequest deleteWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DeleteWebhookResponse deleteWebhook(Consumer<DeleteWebhookRequest.Builder> deleteWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS 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.Builder
avoiding the need to
create one manually via DeleteWebhookRequest.builder()
deleteWebhookRequest
- A Consumer
that will call methods on DeleteWebhookInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DescribeCodeCoveragesResponse describeCodeCoverages(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves one or more code coverage reports.
describeCodeCoveragesRequest
- 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.AwsServiceException
default DescribeCodeCoveragesResponse describeCodeCoverages(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves one or more code coverage reports.
This is a convenience which creates an instance of the DescribeCodeCoveragesRequest.Builder
avoiding the
need to create one manually via DescribeCodeCoveragesRequest.builder()
describeCodeCoveragesRequest
- A Consumer
that will call methods on DescribeCodeCoveragesInput.Builder
to create a
request.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.AwsServiceException
default DescribeCodeCoveragesIterable describeCodeCoveragesPaginator(DescribeCodeCoveragesRequest describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves one or more code coverage reports.
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client .describeCodeCoveragesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation.
describeCodeCoveragesRequest
- 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.AwsServiceException
default DescribeCodeCoveragesIterable describeCodeCoveragesPaginator(Consumer<DescribeCodeCoveragesRequest.Builder> describeCodeCoveragesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves one or more code coverage reports.
This is a variant of
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client .describeCodeCoveragesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.DescribeCodeCoveragesIterable responses = client.describeCodeCoveragesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCodeCoverages(software.amazon.awssdk.services.codebuild.model.DescribeCodeCoveragesRequest)
operation.
This is a convenience which creates an instance of the DescribeCodeCoveragesRequest.Builder
avoiding the
need to create one manually via DescribeCodeCoveragesRequest.builder()
describeCodeCoveragesRequest
- A Consumer
that will call methods on DescribeCodeCoveragesInput.Builder
to create a
request.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.AwsServiceException
default DescribeTestCasesResponse describeTestCases(DescribeTestCasesRequest describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of details about test cases for a report.
describeTestCasesRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DescribeTestCasesResponse describeTestCases(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of details about test cases for a report.
This is a convenience which creates an instance of the DescribeTestCasesRequest.Builder
avoiding the need
to create one manually via DescribeTestCasesRequest.builder()
describeTestCasesRequest
- A Consumer
that will call methods on DescribeTestCasesInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DescribeTestCasesIterable describeTestCasesPaginator(DescribeTestCasesRequest describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of details about test cases for a report.
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client .describeTestCasesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
describeTestCasesRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default DescribeTestCasesIterable describeTestCasesPaginator(Consumer<DescribeTestCasesRequest.Builder> describeTestCasesRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of details about test cases for a report.
This is a variant of
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client .describeTestCasesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.DescribeTestCasesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.DescribeTestCasesIterable responses = client.describeTestCasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTestCases(software.amazon.awssdk.services.codebuild.model.DescribeTestCasesRequest)
operation.
This is a convenience which creates an instance of the DescribeTestCasesRequest.Builder
avoiding the need
to create one manually via DescribeTestCasesRequest.builder()
describeTestCasesRequest
- A Consumer
that will call methods on DescribeTestCasesInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default GetReportGroupTrendResponse getReportGroupTrend(GetReportGroupTrendRequest getReportGroupTrendRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default GetReportGroupTrendResponse getReportGroupTrend(Consumer<GetReportGroupTrendRequest.Builder> getReportGroupTrendRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Analyzes and accumulates test report values for the specified test reports.
This is a convenience which creates an instance of the GetReportGroupTrendRequest.Builder
avoiding the
need to create one manually via GetReportGroupTrendRequest.builder()
getReportGroupTrendRequest
- A Consumer
that will call methods on GetReportGroupTrendInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest
- ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a resource policy that is identified by its resource ARN.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder
avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest
- A Consumer
that will call methods on GetResourcePolicyInput.Builder
to create a request.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ImportSourceCredentialsResponse importSourceCredentials(ImportSourceCredentialsRequest importSourceCredentialsRequest) throws InvalidInputException, AccountLimitExceededException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, CodeBuildException
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest
- InvalidInputException
- The input value that was provided is not valid.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS account.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS 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.AwsServiceException
default ImportSourceCredentialsResponse importSourceCredentials(Consumer<ImportSourceCredentialsRequest.Builder> importSourceCredentialsRequest) throws InvalidInputException, AccountLimitExceededException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, CodeBuildException
Imports the source repository credentials for an AWS 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.Builder
avoiding
the need to create one manually via ImportSourceCredentialsRequest.builder()
importSourceCredentialsRequest
- A Consumer
that will call methods on ImportSourceCredentialsInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS account.ResourceAlreadyExistsException
- The specified AWS resource cannot be created, because an AWS 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.AwsServiceException
default InvalidateProjectCacheResponse invalidateProjectCache(InvalidateProjectCacheRequest invalidateProjectCacheRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Resets the cache for a project.
invalidateProjectCacheRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default InvalidateProjectCacheResponse invalidateProjectCache(Consumer<InvalidateProjectCacheRequest.Builder> invalidateProjectCacheRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Resets the cache for a project.
This is a convenience which creates an instance of the InvalidateProjectCacheRequest.Builder
avoiding the
need to create one manually via InvalidateProjectCacheRequest.builder()
invalidateProjectCacheRequest
- A Consumer
that will call methods on InvalidateProjectCacheInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildBatchesResponse listBuildBatches(ListBuildBatchesRequest listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesRequest
- 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.AwsServiceException
default ListBuildBatchesResponse listBuildBatches(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of your build batches in the current region.
This is a convenience which creates an instance of the ListBuildBatchesRequest.Builder
avoiding the need
to create one manually via ListBuildBatchesRequest.builder()
listBuildBatchesRequest
- A Consumer
that will call methods on ListBuildBatchesInput.Builder
to create a request.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.AwsServiceException
default ListBuildBatchesIterable listBuildBatchesPaginator(ListBuildBatchesRequest listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of your build batches in the current region.
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client .listBuildBatchesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)
operation.
listBuildBatchesRequest
- 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.AwsServiceException
default ListBuildBatchesIterable listBuildBatchesPaginator(Consumer<ListBuildBatchesRequest.Builder> listBuildBatchesRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of your build batches in the current region.
This is a variant of
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client .listBuildBatchesPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesIterable responses = client.listBuildBatchesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatches(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesRequest)
operation.
This is a convenience which creates an instance of the ListBuildBatchesRequest.Builder
avoiding the need
to create one manually via ListBuildBatchesRequest.builder()
listBuildBatchesRequest
- A Consumer
that will call methods on ListBuildBatchesInput.Builder
to create a request.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.AwsServiceException
default ListBuildBatchesForProjectResponse listBuildBatchesForProject(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildBatchesForProjectResponse listBuildBatchesForProject(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of the build batches for a specific project.
This is a convenience which creates an instance of the ListBuildBatchesForProjectRequest.Builder
avoiding
the need to create one manually via ListBuildBatchesForProjectRequest.builder()
listBuildBatchesForProjectRequest
- A Consumer
that will call methods on ListBuildBatchesForProjectInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildBatchesForProjectIterable listBuildBatchesForProjectPaginator(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of the build batches for a specific project.
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client .listBuildBatchesForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation.
listBuildBatchesForProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildBatchesForProjectIterable listBuildBatchesForProjectPaginator(Consumer<ListBuildBatchesForProjectRequest.Builder> listBuildBatchesForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Retrieves the identifiers of the build batches for a specific project.
This is a variant of
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client .listBuildBatchesForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildBatchesForProjectIterable responses = client.listBuildBatchesForProjectPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuildBatchesForProject(software.amazon.awssdk.services.codebuild.model.ListBuildBatchesForProjectRequest)
operation.
This is a convenience which creates an instance of the ListBuildBatchesForProjectRequest.Builder
avoiding
the need to create one manually via ListBuildBatchesForProjectRequest.builder()
listBuildBatchesForProjectRequest
- A Consumer
that will call methods on ListBuildBatchesForProjectInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildsResponse listBuilds() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build IDs, with each build ID representing a single build.
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.AwsServiceException
listBuilds(ListBuildsRequest)
,
AWS API
Documentationdefault ListBuildsResponse listBuilds(ListBuildsRequest listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest
- 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.AwsServiceException
default ListBuildsResponse listBuilds(Consumer<ListBuildsRequest.Builder> listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the need to
create one manually via ListBuildsRequest.builder()
listBuildsRequest
- A Consumer
that will call methods on ListBuildsInput.Builder
to create a request.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.AwsServiceException
default ListBuildsIterable listBuildsPaginator() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
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.AwsServiceException
listBuildsPaginator(ListBuildsRequest)
,
AWS API
Documentationdefault ListBuildsIterable listBuildsPaginator(ListBuildsRequest listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listBuildsRequest
- 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.AwsServiceException
default ListBuildsIterable listBuildsPaginator(Consumer<ListBuildsRequest.Builder> listBuildsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build IDs, with each build ID representing a single build.
This is a variant of listBuilds(software.amazon.awssdk.services.codebuild.model.ListBuildsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildsIterable responses = client.listBuildsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to
create one manually via ListBuildsRequest.builder()
listBuildsRequest
- A Consumer
that will call methods on ListBuildsInput.Builder
to create a request.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.AwsServiceException
default ListBuildsForProjectResponse listBuildsForProject(ListBuildsForProjectRequest listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildsForProjectResponse listBuildsForProject(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the
need to create one manually via ListBuildsForProjectRequest.builder()
listBuildsForProjectRequest
- A Consumer
that will call methods on ListBuildsForProjectInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildsForProjectIterable listBuildsForProjectPaginator(ListBuildsForProjectRequest listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client .listBuildsForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listBuildsForProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListBuildsForProjectIterable listBuildsForProjectPaginator(Consumer<ListBuildsForProjectRequest.Builder> listBuildsForProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
This is a variant of
listBuildsForProject(software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client .listBuildsForProjectPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListBuildsForProjectResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListBuildsForProjectIterable responses = client.listBuildsForProjectPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder
avoiding the
need to create one manually via ListBuildsForProjectRequest.builder()
listBuildsForProjectRequest
- A Consumer
that will call methods on ListBuildsForProjectInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages() throws AwsServiceException, SdkClientException, CodeBuildException
Gets information about Docker images that are managed by AWS CodeBuild.
SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException
listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest)
,
AWS API Documentationdefault ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest) throws AwsServiceException, SdkClientException, CodeBuildException
Gets information about Docker images that are managed by AWS CodeBuild.
listCuratedEnvironmentImagesRequest
- SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException
default ListCuratedEnvironmentImagesResponse listCuratedEnvironmentImages(Consumer<ListCuratedEnvironmentImagesRequest.Builder> listCuratedEnvironmentImagesRequest) throws AwsServiceException, SdkClientException, CodeBuildException
Gets information about Docker images that are managed by AWS CodeBuild.
This is a convenience which creates an instance of the ListCuratedEnvironmentImagesRequest.Builder
avoiding the need to create one manually via ListCuratedEnvironmentImagesRequest.builder()
listCuratedEnvironmentImagesRequest
- A Consumer
that will call methods on ListCuratedEnvironmentImagesInput.Builder
to create a
request.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeBuildException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsResponse listProjects() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build project names, with each build project name representing a single build project.
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.AwsServiceException
listProjects(ListProjectsRequest)
,
AWS API
Documentationdefault ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest
- 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.AwsServiceException
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsInput.Builder
to create a request.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.AwsServiceException
default ListProjectsIterable listProjectsPaginator() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
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.AwsServiceException
listProjectsPaginator(ListProjectsRequest)
,
AWS API
Documentationdefault ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listProjectsRequest
- 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.AwsServiceException
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of build project names, with each build project name representing a single build project.
This is a variant of listProjects(software.amazon.awssdk.services.codebuild.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsInput.Builder
to create a request.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.AwsServiceException
default ListReportGroupsResponse listReportGroups(ListReportGroupsRequest listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list ARNs for the report groups in the current AWS account.
listReportGroupsRequest
- 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.AwsServiceException
default ListReportGroupsResponse listReportGroups(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list ARNs for the report groups in the current AWS account.
This is a convenience which creates an instance of the ListReportGroupsRequest.Builder
avoiding the need
to create one manually via ListReportGroupsRequest.builder()
listReportGroupsRequest
- A Consumer
that will call methods on ListReportGroupsInput.Builder
to create a request.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.AwsServiceException
default ListReportGroupsIterable listReportGroupsPaginator(ListReportGroupsRequest listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list ARNs for the report groups in the current AWS account.
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client .listReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)
operation.
listReportGroupsRequest
- 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.AwsServiceException
default ListReportGroupsIterable listReportGroupsPaginator(Consumer<ListReportGroupsRequest.Builder> listReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list ARNs for the report groups in the current AWS account.
This is a variant of
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client .listReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportGroupsIterable responses = client.listReportGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportGroups(software.amazon.awssdk.services.codebuild.model.ListReportGroupsRequest)
operation.
This is a convenience which creates an instance of the ListReportGroupsRequest.Builder
avoiding the need
to create one manually via ListReportGroupsRequest.builder()
listReportGroupsRequest
- A Consumer
that will call methods on ListReportGroupsInput.Builder
to create a request.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.AwsServiceException
default ListReportsResponse listReports(ListReportsRequest listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports in the current AWS account.
listReportsRequest
- 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.AwsServiceException
default ListReportsResponse listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports in the current AWS account.
This is a convenience which creates an instance of the ListReportsRequest.Builder
avoiding the need to
create one manually via ListReportsRequest.builder()
listReportsRequest
- A Consumer
that will call methods on ListReportsInput.Builder
to create a request.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.AwsServiceException
default ListReportsIterable listReportsPaginator(ListReportsRequest listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports in the current AWS account.
This is a variant of listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation.
listReportsRequest
- 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.AwsServiceException
default ListReportsIterable listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports in the current AWS account.
This is a variant of listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportsIterable responses = client.listReportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReports(software.amazon.awssdk.services.codebuild.model.ListReportsRequest)
operation.
This is a convenience which creates an instance of the ListReportsRequest.Builder
avoiding the need to
create one manually via ListReportsRequest.builder()
listReportsRequest
- A Consumer
that will call methods on ListReportsInput.Builder
to create a request.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.AwsServiceException
default ListReportsForReportGroupResponse listReportsForReportGroup(ListReportsForReportGroupRequest listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListReportsForReportGroupResponse listReportsForReportGroup(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports that belong to a ReportGroup
.
This is a convenience which creates an instance of the ListReportsForReportGroupRequest.Builder
avoiding
the need to create one manually via ListReportsForReportGroupRequest.builder()
listReportsForReportGroupRequest
- A Consumer
that will call methods on ListReportsForReportGroupInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListReportsForReportGroupIterable listReportsForReportGroupPaginator(ListReportsForReportGroupRequest listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports that belong to a ReportGroup
.
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client .listReportsForReportGroupPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation.
listReportsForReportGroupRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListReportsForReportGroupIterable listReportsForReportGroupPaginator(Consumer<ListReportsForReportGroupRequest.Builder> listReportsForReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of ARNs for the reports that belong to a ReportGroup
.
This is a variant of
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client .listReportsForReportGroupPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListReportsForReportGroupIterable responses = client.listReportsForReportGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReportsForReportGroup(software.amazon.awssdk.services.codebuild.model.ListReportsForReportGroupRequest)
operation.
This is a convenience which creates an instance of the ListReportsForReportGroupRequest.Builder
avoiding
the need to create one manually via ListReportsForReportGroupRequest.builder()
listReportsForReportGroupRequest
- A Consumer
that will call methods on ListReportsForReportGroupInput.Builder
to create a
request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default ListSharedProjectsResponse listSharedProjects(ListSharedProjectsRequest listSharedProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of projects that are shared with other AWS accounts or users.
listSharedProjectsRequest
- 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.AwsServiceException
default ListSharedProjectsResponse listSharedProjects(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of projects that are shared with other AWS accounts or users.
This is a convenience which creates an instance of the ListSharedProjectsRequest.Builder
avoiding the
need to create one manually via ListSharedProjectsRequest.builder()
listSharedProjectsRequest
- A Consumer
that will call methods on ListSharedProjectsInput.Builder
to create a request.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.AwsServiceException
default ListSharedProjectsIterable listSharedProjectsPaginator(ListSharedProjectsRequest listSharedProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of projects that are shared with other AWS accounts or users.
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client.listSharedProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client .listSharedProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client.listSharedProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
listSharedProjectsRequest
- 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.AwsServiceException
default ListSharedProjectsIterable listSharedProjectsPaginator(Consumer<ListSharedProjectsRequest.Builder> listSharedProjectsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of projects that are shared with other AWS accounts or users.
This is a variant of
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client.listSharedProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client .listSharedProjectsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListSharedProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListSharedProjectsIterable responses = client.listSharedProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedProjects(software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest)
operation.
This is a convenience which creates an instance of the ListSharedProjectsRequest.Builder
avoiding the
need to create one manually via ListSharedProjectsRequest.builder()
listSharedProjectsRequest
- A Consumer
that will call methods on ListSharedProjectsInput.Builder
to create a request.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.AwsServiceException
default ListSharedReportGroupsResponse listSharedReportGroups(ListSharedReportGroupsRequest listSharedReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of report groups that are shared with other AWS accounts or users.
listSharedReportGroupsRequest
- 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.AwsServiceException
default ListSharedReportGroupsResponse listSharedReportGroups(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of report groups that are shared with other AWS accounts or users.
This is a convenience which creates an instance of the ListSharedReportGroupsRequest.Builder
avoiding the
need to create one manually via ListSharedReportGroupsRequest.builder()
listSharedReportGroupsRequest
- A Consumer
that will call methods on ListSharedReportGroupsInput.Builder
to create a
request.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.AwsServiceException
default ListSharedReportGroupsIterable listSharedReportGroupsPaginator(ListSharedReportGroupsRequest listSharedReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of report groups that are shared with other AWS accounts or users.
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client.listSharedReportGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client .listSharedReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client.listSharedReportGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation.
listSharedReportGroupsRequest
- 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.AwsServiceException
default ListSharedReportGroupsIterable listSharedReportGroupsPaginator(Consumer<ListSharedReportGroupsRequest.Builder> listSharedReportGroupsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Gets a list of report groups that are shared with other AWS accounts or users.
This is a variant of
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client.listSharedReportGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client .listSharedReportGroupsPaginator(request); for (software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.codebuild.paginators.ListSharedReportGroupsIterable responses = client.listSharedReportGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSharedReportGroups(software.amazon.awssdk.services.codebuild.model.ListSharedReportGroupsRequest)
operation.
This is a convenience which creates an instance of the ListSharedReportGroupsRequest.Builder
avoiding the
need to create one manually via ListSharedReportGroupsRequest.builder()
listSharedReportGroupsRequest
- A Consumer
that will call methods on ListSharedReportGroupsInput.Builder
to create a
request.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.AwsServiceException
default ListSourceCredentialsResponse listSourceCredentials() throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of SourceCredentialsInfo
objects.
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.AwsServiceException
listSourceCredentials(ListSourceCredentialsRequest)
,
AWS API Documentationdefault ListSourceCredentialsResponse listSourceCredentials(ListSourceCredentialsRequest listSourceCredentialsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsRequest
- 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.AwsServiceException
default ListSourceCredentialsResponse listSourceCredentials(Consumer<ListSourceCredentialsRequest.Builder> listSourceCredentialsRequest) throws InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Returns a list of SourceCredentialsInfo
objects.
This is a convenience which creates an instance of the ListSourceCredentialsRequest.Builder
avoiding the
need to create one manually via ListSourceCredentialsRequest.builder()
listSourceCredentialsRequest
- A Consumer
that will call methods on ListSourceCredentialsInput.Builder
to create a
request.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.AwsServiceException
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyRequest
- ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ResourceNotFoundException, InvalidInputException, AwsServiceException, SdkClientException, CodeBuildException
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder
avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest
- A Consumer
that will call methods on PutResourcePolicyInput.Builder
to create a request.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default RetryBuildResponse retryBuild(RetryBuildRequest retryBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Restarts a build.
retryBuildRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS resource cannot be found.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default RetryBuildResponse retryBuild(Consumer<RetryBuildRequest.Builder> retryBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Restarts a build.
This is a convenience which creates an instance of the RetryBuildRequest.Builder
avoiding the need to
create one manually via RetryBuildRequest.builder()
retryBuildRequest
- A Consumer
that will call methods on RetryBuildInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS resource cannot be found.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default RetryBuildBatchResponse retryBuildBatch(RetryBuildBatchRequest retryBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default RetryBuildBatchResponse retryBuildBatch(Consumer<RetryBuildBatchRequest.Builder> retryBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
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.Builder
avoiding the need
to create one manually via RetryBuildBatchRequest.builder()
retryBuildBatchRequest
- A Consumer
that will call methods on RetryBuildBatchInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StartBuildResponse startBuild(StartBuildRequest startBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Starts running a build.
startBuildRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS resource cannot be found.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default StartBuildResponse startBuild(Consumer<StartBuildRequest.Builder> startBuildRequest) throws InvalidInputException, ResourceNotFoundException, AccountLimitExceededException, AwsServiceException, SdkClientException, CodeBuildException
Starts running a build.
This is a convenience which creates an instance of the StartBuildRequest.Builder
avoiding the need to
create one manually via StartBuildRequest.builder()
startBuildRequest
- A Consumer
that will call methods on StartBuildInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS resource cannot be found.AccountLimitExceededException
- An AWS service limit was exceeded for the calling AWS 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.AwsServiceException
default StartBuildBatchResponse startBuildBatch(StartBuildBatchRequest startBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Starts a batch build for a project.
startBuildBatchRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StartBuildBatchResponse startBuildBatch(Consumer<StartBuildBatchRequest.Builder> startBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Starts a batch build for a project.
This is a convenience which creates an instance of the StartBuildBatchRequest.Builder
avoiding the need
to create one manually via StartBuildBatchRequest.builder()
startBuildBatchRequest
- A Consumer
that will call methods on StartBuildBatchInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StopBuildResponse stopBuild(StopBuildRequest stopBuildRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Attempts to stop running a build.
stopBuildRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StopBuildResponse stopBuild(Consumer<StopBuildRequest.Builder> stopBuildRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Attempts to stop running a build.
This is a convenience which creates an instance of the StopBuildRequest.Builder
avoiding the need to
create one manually via StopBuildRequest.builder()
stopBuildRequest
- A Consumer
that will call methods on StopBuildInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StopBuildBatchResponse stopBuildBatch(StopBuildBatchRequest stopBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Stops a running batch build.
stopBuildBatchRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default StopBuildBatchResponse stopBuildBatch(Consumer<StopBuildBatchRequest.Builder> stopBuildBatchRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Stops a running batch build.
This is a convenience which creates an instance of the StopBuildBatchRequest.Builder
avoiding the need to
create one manually via StopBuildBatchRequest.builder()
stopBuildBatchRequest
- A Consumer
that will call methods on StopBuildBatchInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Changes the settings of a build project.
updateProjectRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Changes the settings of a build project.
This is a convenience which creates an instance of the UpdateProjectRequest.Builder
avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest
- A Consumer
that will call methods on UpdateProjectInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateReportGroupResponse updateReportGroup(UpdateReportGroupRequest updateReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Updates a report group.
updateReportGroupRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateReportGroupResponse updateReportGroup(Consumer<UpdateReportGroupRequest.Builder> updateReportGroupRequest) throws InvalidInputException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeBuildException
Updates a report group.
This is a convenience which creates an instance of the UpdateReportGroupRequest.Builder
avoiding the need
to create one manually via UpdateReportGroupRequest.builder()
updateReportGroupRequest
- A Consumer
that will call methods on UpdateReportGroupInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateWebhookResponse updateWebhook(UpdateWebhookRequest updateWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException
Updates the webhook associated with an AWS CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookRequest
- InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
default UpdateWebhookResponse updateWebhook(Consumer<UpdateWebhookRequest.Builder> updateWebhookRequest) throws InvalidInputException, ResourceNotFoundException, OAuthProviderException, AwsServiceException, SdkClientException, CodeBuildException
Updates the webhook associated with an AWS CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
This is a convenience which creates an instance of the UpdateWebhookRequest.Builder
avoiding the need to
create one manually via UpdateWebhookRequest.builder()
updateWebhookRequest
- A Consumer
that will call methods on UpdateWebhookInput.Builder
to create a request.InvalidInputException
- The input value that was provided is not valid.ResourceNotFoundException
- The specified AWS 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.AwsServiceException
static ServiceMetadata serviceMetadata()