@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSCodeBuildAsync extends AWSCodeBuild
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSCodeBuildAsync
instead.
CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the CodeBuild User Guide.
ENDPOINT_PREFIX
batchDeleteBuilds, batchGetBuildBatches, batchGetBuilds, batchGetProjects, batchGetReportGroups, batchGetReports, createProject, createReportGroup, createWebhook, deleteBuildBatch, deleteProject, deleteReport, deleteReportGroup, deleteResourcePolicy, deleteSourceCredentials, deleteWebhook, describeCodeCoverages, describeTestCases, getCachedResponseMetadata, getReportGroupTrend, getResourcePolicy, importSourceCredentials, invalidateProjectCache, listBuildBatches, listBuildBatchesForProject, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listProjects, listReportGroups, listReports, listReportsForReportGroup, listSharedProjects, listSharedReportGroups, listSourceCredentials, putResourcePolicy, retryBuild, retryBuildBatch, setEndpoint, setRegion, shutdown, startBuild, startBuildBatch, stopBuild, stopBuildBatch, updateProject, updateProjectVisibility, updateReportGroup, updateWebhook
Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
batchDeleteBuildsRequest
- Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest, AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
Deletes one or more builds.
batchDeleteBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest)
Retrieves information about one or more batch builds.
batchGetBuildBatchesRequest
- Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest batchGetBuildBatchesRequest, AsyncHandler<BatchGetBuildBatchesRequest,BatchGetBuildBatchesResult> asyncHandler)
Retrieves information about one or more batch builds.
batchGetBuildBatchesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
batchGetBuildsRequest
- Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest, AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
Gets information about one or more builds.
batchGetBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
batchGetProjectsRequest
- Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest, AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
Gets information about one or more build projects.
batchGetProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
batchGetReportGroupsRequest
- Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest, AsyncHandler<BatchGetReportGroupsRequest,BatchGetReportGroupsResult> asyncHandler)
Returns an array of report groups.
batchGetReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
batchGetReportsRequest
- Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest, AsyncHandler<BatchGetReportsRequest,BatchGetReportsResult> asyncHandler)
Returns an array of reports.
batchGetReportsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest)
Creates a build project.
createProjectRequest
- Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates a build project.
createProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest
- Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest, AsyncHandler<CreateReportGroupRequest,CreateReportGroupResult> asyncHandler)
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest createWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest
- Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest createWebhookRequest, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest deleteBuildBatchRequest)
Deletes a batch build.
deleteBuildBatchRequest
- Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest deleteBuildBatchRequest, AsyncHandler<DeleteBuildBatchRequest,DeleteBuildBatchResult> asyncHandler)
Deletes a batch build.
deleteBuildBatchRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest
- Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest deleteReportRequest)
Deletes a report.
deleteReportRequest
- Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest deleteReportRequest, AsyncHandler<DeleteReportRequest,DeleteReportResult> asyncHandler)
Deletes a report.
deleteReportRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest)
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupRequest
- Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest, AsyncHandler<DeleteReportGroupRequest,DeleteReportGroupResult> asyncHandler)
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest
- Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest
- Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest, AsyncHandler<DeleteSourceCredentialsRequest,DeleteSourceCredentialsResult> asyncHandler)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookRequest
- Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest describeCodeCoveragesRequest)
Retrieves one or more code coverage reports.
describeCodeCoveragesRequest
- Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest describeCodeCoveragesRequest, AsyncHandler<DescribeCodeCoveragesRequest,DescribeCodeCoveragesResult> asyncHandler)
Retrieves one or more code coverage reports.
describeCodeCoveragesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
describeTestCasesRequest
- Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest, AsyncHandler<DescribeTestCasesRequest,DescribeTestCasesResult> asyncHandler)
Returns a list of details about test cases for a report.
describeTestCasesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest getReportGroupTrendRequest)
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendRequest
- Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest getReportGroupTrendRequest, AsyncHandler<GetReportGroupTrendRequest,GetReportGroupTrendResult> asyncHandler)
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest
- Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest
- Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest, AsyncHandler<ImportSourceCredentialsRequest,ImportSourceCredentialsResult> asyncHandler)
Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
invalidateProjectCacheRequest
- Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest, AsyncHandler<InvalidateProjectCacheRequest,InvalidateProjectCacheResult> asyncHandler)
Resets the cache for a project.
invalidateProjectCacheRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest listBuildBatchesRequest)
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesRequest
- Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest listBuildBatchesRequest, AsyncHandler<ListBuildBatchesRequest,ListBuildBatchesResult> asyncHandler)
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest)
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectRequest
- Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest listBuildBatchesForProjectRequest, AsyncHandler<ListBuildBatchesForProjectRequest,ListBuildBatchesForProjectResult> asyncHandler)
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest
- Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest listBuildsRequest, AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectRequest
- Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesRequest
- Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest, AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
Gets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest
- Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsRequest
- Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest, AsyncHandler<ListReportGroupsRequest,ListReportGroupsResult> asyncHandler)
Gets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportsResult> listReportsAsync(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsRequest
- Future<ListReportsResult> listReportsAsync(ListReportsRequest listReportsRequest, AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
Returns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupRequest
- Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest, AsyncHandler<ListReportsForReportGroupRequest,ListReportsForReportGroupResult> asyncHandler)
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsRequest
- Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest, AsyncHandler<ListSharedProjectsRequest,ListSharedProjectsResult> asyncHandler)
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsRequest
- Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest, AsyncHandler<ListSharedReportGroupsRequest,ListSharedReportGroupsResult> asyncHandler)
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsRequest
- Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest, AsyncHandler<ListSourceCredentialsRequest,ListSourceCredentialsResult> asyncHandler)
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyRequest
- Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest retryBuildRequest)
Restarts a build.
retryBuildRequest
- Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest retryBuildRequest, AsyncHandler<RetryBuildRequest,RetryBuildResult> asyncHandler)
Restarts a build.
retryBuildRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest retryBuildBatchRequest)
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchRequest
- Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest retryBuildBatchRequest, AsyncHandler<RetryBuildBatchRequest,RetryBuildBatchResult> asyncHandler)
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartBuildResult> startBuildAsync(StartBuildRequest startBuildRequest)
Starts running a build.
startBuildRequest
- Future<StartBuildResult> startBuildAsync(StartBuildRequest startBuildRequest, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
Starts running a build.
startBuildRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest startBuildBatchRequest)
Starts a batch build for a project.
startBuildBatchRequest
- Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest startBuildBatchRequest, AsyncHandler<StartBuildBatchRequest,StartBuildBatchResult> asyncHandler)
Starts a batch build for a project.
startBuildBatchRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopBuildResult> stopBuildAsync(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
stopBuildRequest
- Future<StopBuildResult> stopBuildAsync(StopBuildRequest stopBuildRequest, AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
Attempts to stop running a build.
stopBuildRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest stopBuildBatchRequest)
Stops a running batch build.
stopBuildBatchRequest
- Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest stopBuildBatchRequest, AsyncHandler<StopBuildBatchRequest,StopBuildBatchResult> asyncHandler)
Stops a running batch build.
stopBuildBatchRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
updateProjectRequest
- Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
Changes the settings of a build project.
updateProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest updateProjectVisibilityRequest)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values, especially Amazon Web Services access key IDs and secret access keys, in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
updateProjectVisibilityRequest
- Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest updateProjectVisibilityRequest, AsyncHandler<UpdateProjectVisibilityRequest,UpdateProjectVisibilityResult> asyncHandler)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values, especially Amazon Web Services access key IDs and secret access keys, in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
updateProjectVisibilityRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
updateReportGroupRequest
- Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest, AsyncHandler<UpdateReportGroupRequest,UpdateReportGroupResult> asyncHandler)
Updates a report group.
updateReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookRequest
- Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest, AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.