@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSCodeBuildAsync extends AbstractAWSCodeBuild implements AWSCodeBuildAsync
AWSCodeBuildAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXbatchDeleteBuilds, 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, updateWebhookequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDeleteBuilds, 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, updateWebhookpublic Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request)
AWSCodeBuildAsyncDeletes one or more builds.
batchDeleteBuildsAsync in interface AWSCodeBuildAsyncpublic Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request, AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
AWSCodeBuildAsyncDeletes one or more builds.
batchDeleteBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest request)
AWSCodeBuildAsyncRetrieves information about one or more batch builds.
batchGetBuildBatchesAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest request, AsyncHandler<BatchGetBuildBatchesRequest,BatchGetBuildBatchesResult> asyncHandler)
AWSCodeBuildAsyncRetrieves information about one or more batch builds.
batchGetBuildBatchesAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request)
AWSCodeBuildAsyncGets information about one or more builds.
batchGetBuildsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request, AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
AWSCodeBuildAsyncGets information about one or more builds.
batchGetBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request)
AWSCodeBuildAsyncGets information about one or more build projects.
batchGetProjectsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request, AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
AWSCodeBuildAsyncGets information about one or more build projects.
batchGetProjectsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest request)
AWSCodeBuildAsyncReturns an array of report groups.
batchGetReportGroupsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest request, AsyncHandler<BatchGetReportGroupsRequest,BatchGetReportGroupsResult> asyncHandler)
AWSCodeBuildAsyncReturns an array of report groups.
batchGetReportGroupsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest request)
AWSCodeBuildAsyncReturns an array of reports.
batchGetReportsAsync in interface AWSCodeBuildAsyncpublic Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest request, AsyncHandler<BatchGetReportsRequest,BatchGetReportsResult> asyncHandler)
AWSCodeBuildAsyncReturns an array of reports.
batchGetReportsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSCodeBuildAsyncCreates a build project.
createProjectAsync in interface AWSCodeBuildAsyncpublic Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSCodeBuildAsyncCreates a build project.
createProjectAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest request)
AWSCodeBuildAsyncCreates a report group. A report group contains a collection of reports.
createReportGroupAsync in interface AWSCodeBuildAsyncpublic Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest request, AsyncHandler<CreateReportGroupRequest,CreateReportGroupResult> asyncHandler)
AWSCodeBuildAsyncCreates a report group. A report group contains a collection of reports.
createReportGroupAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request)
AWSCodeBuildAsyncFor 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.
createWebhookAsync in interface AWSCodeBuildAsyncpublic Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
AWSCodeBuildAsyncFor 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.
createWebhookAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest request)
AWSCodeBuildAsyncDeletes a batch build.
deleteBuildBatchAsync in interface AWSCodeBuildAsyncpublic Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest request, AsyncHandler<DeleteBuildBatchRequest,DeleteBuildBatchResult> asyncHandler)
AWSCodeBuildAsyncDeletes a batch build.
deleteBuildBatchAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSCodeBuildAsyncDeletes a build project. When you delete a project, its builds are not deleted.
deleteProjectAsync in interface AWSCodeBuildAsyncpublic Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSCodeBuildAsyncDeletes a build project. When you delete a project, its builds are not deleted.
deleteProjectAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest request)
AWSCodeBuildAsyncDeletes a report.
deleteReportAsync in interface AWSCodeBuildAsyncpublic Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest request, AsyncHandler<DeleteReportRequest,DeleteReportResult> asyncHandler)
AWSCodeBuildAsyncDeletes a report.
deleteReportAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest request)
AWSCodeBuildAsyncDeletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupAsync in interface AWSCodeBuildAsyncpublic Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest request, AsyncHandler<DeleteReportGroupRequest,DeleteReportGroupResult> asyncHandler)
AWSCodeBuildAsyncDeletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSCodeBuildAsyncDeletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyAsync in interface AWSCodeBuildAsyncpublic Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSCodeBuildAsyncDeletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest request)
AWSCodeBuildAsyncDeletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsAsync in interface AWSCodeBuildAsyncpublic Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest request, AsyncHandler<DeleteSourceCredentialsRequest,DeleteSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsyncDeletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request)
AWSCodeBuildAsyncFor 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.
deleteWebhookAsync in interface AWSCodeBuildAsyncpublic Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
AWSCodeBuildAsyncFor 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.
deleteWebhookAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest request)
AWSCodeBuildAsyncRetrieves one or more code coverage reports.
describeCodeCoveragesAsync in interface AWSCodeBuildAsyncpublic Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest request, AsyncHandler<DescribeCodeCoveragesRequest,DescribeCodeCoveragesResult> asyncHandler)
AWSCodeBuildAsyncRetrieves one or more code coverage reports.
describeCodeCoveragesAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest request)
AWSCodeBuildAsyncReturns a list of details about test cases for a report.
describeTestCasesAsync in interface AWSCodeBuildAsyncpublic Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest request, AsyncHandler<DescribeTestCasesRequest,DescribeTestCasesResult> asyncHandler)
AWSCodeBuildAsyncReturns a list of details about test cases for a report.
describeTestCasesAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest request)
AWSCodeBuildAsyncAnalyzes and accumulates test report values for the specified test reports.
getReportGroupTrendAsync in interface AWSCodeBuildAsyncpublic Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest request, AsyncHandler<GetReportGroupTrendRequest,GetReportGroupTrendResult> asyncHandler)
AWSCodeBuildAsyncAnalyzes and accumulates test report values for the specified test reports.
getReportGroupTrendAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSCodeBuildAsyncGets a resource policy that is identified by its resource ARN.
getResourcePolicyAsync in interface AWSCodeBuildAsyncpublic Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSCodeBuildAsyncGets a resource policy that is identified by its resource ARN.
getResourcePolicyAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest request)
AWSCodeBuildAsyncImports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsAsync in interface AWSCodeBuildAsyncpublic Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest request, AsyncHandler<ImportSourceCredentialsRequest,ImportSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsyncImports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest request)
AWSCodeBuildAsyncResets the cache for a project.
invalidateProjectCacheAsync in interface AWSCodeBuildAsyncpublic Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest request, AsyncHandler<InvalidateProjectCacheRequest,InvalidateProjectCacheResult> asyncHandler)
AWSCodeBuildAsyncResets the cache for a project.
invalidateProjectCacheAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest request)
AWSCodeBuildAsyncRetrieves the identifiers of your build batches in the current region.
listBuildBatchesAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest request, AsyncHandler<ListBuildBatchesRequest,ListBuildBatchesResult> asyncHandler)
AWSCodeBuildAsyncRetrieves the identifiers of your build batches in the current region.
listBuildBatchesAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest request)
AWSCodeBuildAsyncRetrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest request, AsyncHandler<ListBuildBatchesForProjectRequest,ListBuildBatchesForProjectResult> asyncHandler)
AWSCodeBuildAsyncRetrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request)
AWSCodeBuildAsyncGets a list of build IDs, with each build ID representing a single build.
listBuildsAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request, AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build IDs, with each build ID representing a single build.
listBuildsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request)
AWSCodeBuildAsyncGets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectAsync in interface AWSCodeBuildAsyncpublic Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request)
AWSCodeBuildAsyncGets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesAsync in interface AWSCodeBuildAsyncpublic Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request, AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
AWSCodeBuildAsyncGets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSCodeBuildAsyncGets a list of build project names, with each build project name representing a single build project.
listProjectsAsync in interface AWSCodeBuildAsyncpublic Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of build project names, with each build project name representing a single build project.
listProjectsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest request)
AWSCodeBuildAsyncGets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsAsync in interface AWSCodeBuildAsyncpublic Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest request, AsyncHandler<ListReportGroupsRequest,ListReportGroupsResult> asyncHandler)
AWSCodeBuildAsyncGets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListReportsResult> listReportsAsync(ListReportsRequest request)
AWSCodeBuildAsyncReturns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsAsync in interface AWSCodeBuildAsyncpublic Future<ListReportsResult> listReportsAsync(ListReportsRequest request, AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
AWSCodeBuildAsyncReturns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest request)
AWSCodeBuildAsync
Returns a list of ARNs for the reports that belong to a ReportGroup.
listReportsForReportGroupAsync in interface AWSCodeBuildAsyncpublic Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest request, AsyncHandler<ListReportsForReportGroupRequest,ListReportsForReportGroupResult> asyncHandler)
AWSCodeBuildAsync
Returns a list of ARNs for the reports that belong to a ReportGroup.
listReportsForReportGroupAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest request)
AWSCodeBuildAsyncGets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsAsync in interface AWSCodeBuildAsyncpublic Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest request, AsyncHandler<ListSharedProjectsRequest,ListSharedProjectsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest request)
AWSCodeBuildAsyncGets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsAsync in interface AWSCodeBuildAsyncpublic Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest request, AsyncHandler<ListSharedReportGroupsRequest,ListSharedReportGroupsResult> asyncHandler)
AWSCodeBuildAsyncGets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest request)
AWSCodeBuildAsync
Returns a list of SourceCredentialsInfo objects.
listSourceCredentialsAsync in interface AWSCodeBuildAsyncpublic Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest request, AsyncHandler<ListSourceCredentialsRequest,ListSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsync
Returns a list of SourceCredentialsInfo objects.
listSourceCredentialsAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSCodeBuildAsync
Stores a resource policy for the ARN of a Project or ReportGroup object.
putResourcePolicyAsync in interface AWSCodeBuildAsyncpublic Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AWSCodeBuildAsync
Stores a resource policy for the ARN of a Project or ReportGroup object.
putResourcePolicyAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest request)
AWSCodeBuildAsyncRestarts a build.
retryBuildAsync in interface AWSCodeBuildAsyncpublic Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest request, AsyncHandler<RetryBuildRequest,RetryBuildResult> asyncHandler)
AWSCodeBuildAsyncRestarts a build.
retryBuildAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest request)
AWSCodeBuildAsyncRestarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchAsync in interface AWSCodeBuildAsyncpublic Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest request, AsyncHandler<RetryBuildBatchRequest,RetryBuildBatchResult> asyncHandler)
AWSCodeBuildAsyncRestarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<StartBuildResult> startBuildAsync(StartBuildRequest request)
AWSCodeBuildAsyncStarts running a build.
startBuildAsync in interface AWSCodeBuildAsyncpublic Future<StartBuildResult> startBuildAsync(StartBuildRequest request, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
AWSCodeBuildAsyncStarts running a build.
startBuildAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest request)
AWSCodeBuildAsyncStarts a batch build for a project.
startBuildBatchAsync in interface AWSCodeBuildAsyncpublic Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest request, AsyncHandler<StartBuildBatchRequest,StartBuildBatchResult> asyncHandler)
AWSCodeBuildAsyncStarts a batch build for a project.
startBuildBatchAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<StopBuildResult> stopBuildAsync(StopBuildRequest request)
AWSCodeBuildAsyncAttempts to stop running a build.
stopBuildAsync in interface AWSCodeBuildAsyncpublic Future<StopBuildResult> stopBuildAsync(StopBuildRequest request, AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
AWSCodeBuildAsyncAttempts to stop running a build.
stopBuildAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest request)
AWSCodeBuildAsyncStops a running batch build.
stopBuildBatchAsync in interface AWSCodeBuildAsyncpublic Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest request, AsyncHandler<StopBuildBatchRequest,StopBuildBatchResult> asyncHandler)
AWSCodeBuildAsyncStops a running batch build.
stopBuildBatchAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSCodeBuildAsyncChanges the settings of a build project.
updateProjectAsync in interface AWSCodeBuildAsyncpublic Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSCodeBuildAsyncChanges the settings of a build project.
updateProjectAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest request)
AWSCodeBuildAsyncChanges 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.
updateProjectVisibilityAsync in interface AWSCodeBuildAsyncpublic Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest request, AsyncHandler<UpdateProjectVisibilityRequest,UpdateProjectVisibilityResult> asyncHandler)
AWSCodeBuildAsyncChanges 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.
updateProjectVisibilityAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest request)
AWSCodeBuildAsyncUpdates a report group.
updateReportGroupAsync in interface AWSCodeBuildAsyncpublic Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest request, AsyncHandler<UpdateReportGroupRequest,UpdateReportGroupResult> asyncHandler)
AWSCodeBuildAsyncUpdates a report group.
updateReportGroupAsync in interface AWSCodeBuildAsyncasyncHandler - 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.public Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request)
AWSCodeBuildAsyncUpdates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret is ignored.
updateWebhookAsync in interface AWSCodeBuildAsyncpublic Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request, AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
AWSCodeBuildAsyncUpdates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret is ignored.
updateWebhookAsync in interface AWSCodeBuildAsyncasyncHandler - 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.