@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCodeBuildAsyncClient extends AWSCodeBuildClient implements AWSCodeBuildAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSCodeBuildAsyncClient()
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSCodeBuildAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
batchDeleteBuilds, batchGetBuildBatches, batchGetBuilds, batchGetFleets, batchGetProjects, batchGetReportGroups, batchGetReports, builder, createFleet, createProject, createReportGroup, createWebhook, deleteBuildBatch, deleteFleet, deleteProject, deleteReport, deleteReportGroup, deleteResourcePolicy, deleteSourceCredentials, deleteWebhook, describeCodeCoverages, describeTestCases, getCachedResponseMetadata, getReportGroupTrend, getResourcePolicy, importSourceCredentials, invalidateProjectCache, listBuildBatches, listBuildBatchesForProject, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listFleets, listProjects, listReportGroups, listReports, listReportsForReportGroup, listSharedProjects, listSharedReportGroups, listSourceCredentials, putResourcePolicy, retryBuild, retryBuildBatch, startBuild, startBuildBatch, stopBuild, stopBuildBatch, updateFleet, updateProject, updateProjectVisibility, updateReportGroup, updateWebhook
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchDeleteBuilds, batchGetBuildBatches, batchGetBuilds, batchGetFleets, batchGetProjects, batchGetReportGroups, batchGetReports, createFleet, createProject, createReportGroup, createWebhook, deleteBuildBatch, deleteFleet, deleteProject, deleteReport, deleteReportGroup, deleteResourcePolicy, deleteSourceCredentials, deleteWebhook, describeCodeCoverages, describeTestCases, getCachedResponseMetadata, getReportGroupTrend, getResourcePolicy, importSourceCredentials, invalidateProjectCache, listBuildBatches, listBuildBatchesForProject, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listFleets, listProjects, listReportGroups, listReports, listReportsForReportGroup, listSharedProjects, listSharedReportGroups, listSourceCredentials, putResourcePolicy, retryBuild, retryBuildBatch, setEndpoint, setRegion, startBuild, startBuildBatch, stopBuild, stopBuildBatch, updateFleet, updateProject, updateProjectVisibility, updateReportGroup, updateWebhook
@Deprecated public AWSCodeBuildAsyncClient()
AWSCodeBuildAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSCodeBuildAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWS CodeBuild (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSCodeBuildAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSCodeBuildAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request)
AWSCodeBuildAsync
Deletes one or more builds.
batchDeleteBuildsAsync
in interface AWSCodeBuildAsync
public Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest request, AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
AWSCodeBuildAsync
Deletes one or more builds.
batchDeleteBuildsAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest request)
AWSCodeBuildAsync
Retrieves information about one or more batch builds.
batchGetBuildBatchesAsync
in interface AWSCodeBuildAsync
public Future<BatchGetBuildBatchesResult> batchGetBuildBatchesAsync(BatchGetBuildBatchesRequest request, AsyncHandler<BatchGetBuildBatchesRequest,BatchGetBuildBatchesResult> asyncHandler)
AWSCodeBuildAsync
Retrieves information about one or more batch builds.
batchGetBuildBatchesAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request)
AWSCodeBuildAsync
Gets information about one or more builds.
batchGetBuildsAsync
in interface AWSCodeBuildAsync
public Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest request, AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
AWSCodeBuildAsync
Gets information about one or more builds.
batchGetBuildsAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetFleetsResult> batchGetFleetsAsync(BatchGetFleetsRequest request)
AWSCodeBuildAsync
Gets information about one or more compute fleets.
batchGetFleetsAsync
in interface AWSCodeBuildAsync
public Future<BatchGetFleetsResult> batchGetFleetsAsync(BatchGetFleetsRequest request, AsyncHandler<BatchGetFleetsRequest,BatchGetFleetsResult> asyncHandler)
AWSCodeBuildAsync
Gets information about one or more compute fleets.
batchGetFleetsAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request)
AWSCodeBuildAsync
Gets information about one or more build projects.
batchGetProjectsAsync
in interface AWSCodeBuildAsync
public Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest request, AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
AWSCodeBuildAsync
Gets information about one or more build projects.
batchGetProjectsAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest request)
AWSCodeBuildAsync
Returns an array of report groups.
batchGetReportGroupsAsync
in interface AWSCodeBuildAsync
public Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest request, AsyncHandler<BatchGetReportGroupsRequest,BatchGetReportGroupsResult> asyncHandler)
AWSCodeBuildAsync
Returns an array of report groups.
batchGetReportGroupsAsync
in interface AWSCodeBuildAsync
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.public Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest request)
AWSCodeBuildAsync
Returns an array of reports.
batchGetReportsAsync
in interface AWSCodeBuildAsync
public Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest request, AsyncHandler<BatchGetReportsRequest,BatchGetReportsResult> asyncHandler)
AWSCodeBuildAsync
Returns an array of reports.
batchGetReportsAsync
in interface AWSCodeBuildAsync
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.public Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request)
AWSCodeBuildAsync
Creates a compute fleet.
createFleetAsync
in interface AWSCodeBuildAsync
public Future<CreateFleetResult> createFleetAsync(CreateFleetRequest request, AsyncHandler<CreateFleetRequest,CreateFleetResult> asyncHandler)
AWSCodeBuildAsync
Creates a compute fleet.
createFleetAsync
in interface AWSCodeBuildAsync
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.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSCodeBuildAsync
Creates a build project.
createProjectAsync
in interface AWSCodeBuildAsync
public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSCodeBuildAsync
Creates a build project.
createProjectAsync
in interface AWSCodeBuildAsync
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.public Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest request)
AWSCodeBuildAsync
Creates a report group. A report group contains a collection of reports.
createReportGroupAsync
in interface AWSCodeBuildAsync
public Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest request, AsyncHandler<CreateReportGroupRequest,CreateReportGroupResult> asyncHandler)
AWSCodeBuildAsync
Creates a report group. A report group contains a collection of reports.
createReportGroupAsync
in interface AWSCodeBuildAsync
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.public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request)
AWSCodeBuildAsync
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.
createWebhookAsync
in interface AWSCodeBuildAsync
public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
AWSCodeBuildAsync
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.
createWebhookAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest request)
AWSCodeBuildAsync
Deletes a batch build.
deleteBuildBatchAsync
in interface AWSCodeBuildAsync
public Future<DeleteBuildBatchResult> deleteBuildBatchAsync(DeleteBuildBatchRequest request, AsyncHandler<DeleteBuildBatchRequest,DeleteBuildBatchResult> asyncHandler)
AWSCodeBuildAsync
Deletes a batch build.
deleteBuildBatchAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request)
AWSCodeBuildAsync
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
deleteFleetAsync
in interface AWSCodeBuildAsync
public Future<DeleteFleetResult> deleteFleetAsync(DeleteFleetRequest request, AsyncHandler<DeleteFleetRequest,DeleteFleetResult> asyncHandler)
AWSCodeBuildAsync
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
deleteFleetAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSCodeBuildAsync
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectAsync
in interface AWSCodeBuildAsync
public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSCodeBuildAsync
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest request)
AWSCodeBuildAsync
Deletes a report.
deleteReportAsync
in interface AWSCodeBuildAsync
public Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest request, AsyncHandler<DeleteReportRequest,DeleteReportResult> asyncHandler)
AWSCodeBuildAsync
Deletes a report.
deleteReportAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest request)
AWSCodeBuildAsync
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupAsync
in interface AWSCodeBuildAsync
public Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest request, AsyncHandler<DeleteReportGroupRequest,DeleteReportGroupResult> asyncHandler)
AWSCodeBuildAsync
Deletes a report group. Before you delete a report group, you must delete its reports.
deleteReportGroupAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSCodeBuildAsync
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyAsync
in interface AWSCodeBuildAsync
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSCodeBuildAsync
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest request)
AWSCodeBuildAsync
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsAsync
in interface AWSCodeBuildAsync
public Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest request, AsyncHandler<DeleteSourceCredentialsRequest,DeleteSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsync
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsAsync
in interface AWSCodeBuildAsync
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.public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request)
AWSCodeBuildAsync
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.
deleteWebhookAsync
in interface AWSCodeBuildAsync
public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
AWSCodeBuildAsync
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.
deleteWebhookAsync
in interface AWSCodeBuildAsync
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.public Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest request)
AWSCodeBuildAsync
Retrieves one or more code coverage reports.
describeCodeCoveragesAsync
in interface AWSCodeBuildAsync
public Future<DescribeCodeCoveragesResult> describeCodeCoveragesAsync(DescribeCodeCoveragesRequest request, AsyncHandler<DescribeCodeCoveragesRequest,DescribeCodeCoveragesResult> asyncHandler)
AWSCodeBuildAsync
Retrieves one or more code coverage reports.
describeCodeCoveragesAsync
in interface AWSCodeBuildAsync
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.public Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest request)
AWSCodeBuildAsync
Returns a list of details about test cases for a report.
describeTestCasesAsync
in interface AWSCodeBuildAsync
public Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest request, AsyncHandler<DescribeTestCasesRequest,DescribeTestCasesResult> asyncHandler)
AWSCodeBuildAsync
Returns a list of details about test cases for a report.
describeTestCasesAsync
in interface AWSCodeBuildAsync
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.public Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest request)
AWSCodeBuildAsync
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendAsync
in interface AWSCodeBuildAsync
public Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest request, AsyncHandler<GetReportGroupTrendRequest,GetReportGroupTrendResult> asyncHandler)
AWSCodeBuildAsync
Analyzes and accumulates test report values for the specified test reports.
getReportGroupTrendAsync
in interface AWSCodeBuildAsync
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.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSCodeBuildAsync
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyAsync
in interface AWSCodeBuildAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSCodeBuildAsync
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyAsync
in interface AWSCodeBuildAsync
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.public Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest request)
AWSCodeBuildAsync
Imports 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 AWSCodeBuildAsync
public Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest request, AsyncHandler<ImportSourceCredentialsRequest,ImportSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsync
Imports 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 AWSCodeBuildAsync
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.public Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest request)
AWSCodeBuildAsync
Resets the cache for a project.
invalidateProjectCacheAsync
in interface AWSCodeBuildAsync
public Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest request, AsyncHandler<InvalidateProjectCacheRequest,InvalidateProjectCacheResult> asyncHandler)
AWSCodeBuildAsync
Resets the cache for a project.
invalidateProjectCacheAsync
in interface AWSCodeBuildAsync
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.public Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest request)
AWSCodeBuildAsync
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesAsync
in interface AWSCodeBuildAsync
public Future<ListBuildBatchesResult> listBuildBatchesAsync(ListBuildBatchesRequest request, AsyncHandler<ListBuildBatchesRequest,ListBuildBatchesResult> asyncHandler)
AWSCodeBuildAsync
Retrieves the identifiers of your build batches in the current region.
listBuildBatchesAsync
in interface AWSCodeBuildAsync
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.public Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest request)
AWSCodeBuildAsync
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectAsync
in interface AWSCodeBuildAsync
public Future<ListBuildBatchesForProjectResult> listBuildBatchesForProjectAsync(ListBuildBatchesForProjectRequest request, AsyncHandler<ListBuildBatchesForProjectRequest,ListBuildBatchesForProjectResult> asyncHandler)
AWSCodeBuildAsync
Retrieves the identifiers of the build batches for a specific project.
listBuildBatchesForProjectAsync
in interface AWSCodeBuildAsync
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.public Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request)
AWSCodeBuildAsync
Gets a list of build IDs, with each build ID representing a single build.
listBuildsAsync
in interface AWSCodeBuildAsync
public Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest request, AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of build IDs, with each build ID representing a single build.
listBuildsAsync
in interface AWSCodeBuildAsync
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.public Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request)
AWSCodeBuildAsync
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectAsync
in interface AWSCodeBuildAsync
public Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
listBuildsForProjectAsync
in interface AWSCodeBuildAsync
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.public Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request)
AWSCodeBuildAsync
Gets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesAsync
in interface AWSCodeBuildAsync
public Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest request, AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
AWSCodeBuildAsync
Gets information about Docker images that are managed by CodeBuild.
listCuratedEnvironmentImagesAsync
in interface AWSCodeBuildAsync
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.public Future<ListFleetsResult> listFleetsAsync(ListFleetsRequest request)
AWSCodeBuildAsync
Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
listFleetsAsync
in interface AWSCodeBuildAsync
public Future<ListFleetsResult> listFleetsAsync(ListFleetsRequest request, AsyncHandler<ListFleetsRequest,ListFleetsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
listFleetsAsync
in interface AWSCodeBuildAsync
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.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSCodeBuildAsync
Gets a list of build project names, with each build project name representing a single build project.
listProjectsAsync
in interface AWSCodeBuildAsync
public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of build project names, with each build project name representing a single build project.
listProjectsAsync
in interface AWSCodeBuildAsync
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.public Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest request)
AWSCodeBuildAsync
Gets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsAsync
in interface AWSCodeBuildAsync
public Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest request, AsyncHandler<ListReportGroupsRequest,ListReportGroupsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list ARNs for the report groups in the current Amazon Web Services account.
listReportGroupsAsync
in interface AWSCodeBuildAsync
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.public Future<ListReportsResult> listReportsAsync(ListReportsRequest request)
AWSCodeBuildAsync
Returns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsAsync
in interface AWSCodeBuildAsync
public Future<ListReportsResult> listReportsAsync(ListReportsRequest request, AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
AWSCodeBuildAsync
Returns a list of ARNs for the reports in the current Amazon Web Services account.
listReportsAsync
in interface AWSCodeBuildAsync
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.public Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest request)
AWSCodeBuildAsync
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupAsync
in interface AWSCodeBuildAsync
public 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 AWSCodeBuildAsync
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.public Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest request)
AWSCodeBuildAsync
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsAsync
in interface AWSCodeBuildAsync
public Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest request, AsyncHandler<ListSharedProjectsRequest,ListSharedProjectsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of projects that are shared with other Amazon Web Services accounts or users.
listSharedProjectsAsync
in interface AWSCodeBuildAsync
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.public Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest request)
AWSCodeBuildAsync
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsAsync
in interface AWSCodeBuildAsync
public Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest request, AsyncHandler<ListSharedReportGroupsRequest,ListSharedReportGroupsResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of report groups that are shared with other Amazon Web Services accounts or users.
listSharedReportGroupsAsync
in interface AWSCodeBuildAsync
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.public Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest request)
AWSCodeBuildAsync
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsAsync
in interface AWSCodeBuildAsync
public Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest request, AsyncHandler<ListSourceCredentialsRequest,ListSourceCredentialsResult> asyncHandler)
AWSCodeBuildAsync
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsAsync
in interface AWSCodeBuildAsync
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.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSCodeBuildAsync
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyAsync
in interface AWSCodeBuildAsync
public 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 AWSCodeBuildAsync
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.public Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest request)
AWSCodeBuildAsync
Restarts a build.
retryBuildAsync
in interface AWSCodeBuildAsync
public Future<RetryBuildResult> retryBuildAsync(RetryBuildRequest request, AsyncHandler<RetryBuildRequest,RetryBuildResult> asyncHandler)
AWSCodeBuildAsync
Restarts a build.
retryBuildAsync
in interface AWSCodeBuildAsync
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.public Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest request)
AWSCodeBuildAsync
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchAsync
in interface AWSCodeBuildAsync
public Future<RetryBuildBatchResult> retryBuildBatchAsync(RetryBuildBatchRequest request, AsyncHandler<RetryBuildBatchRequest,RetryBuildBatchResult> asyncHandler)
AWSCodeBuildAsync
Restarts a failed batch build. Only batch builds that have failed can be retried.
retryBuildBatchAsync
in interface AWSCodeBuildAsync
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.public Future<StartBuildResult> startBuildAsync(StartBuildRequest request)
AWSCodeBuildAsync
Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.
You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.
startBuildAsync
in interface AWSCodeBuildAsync
public Future<StartBuildResult> startBuildAsync(StartBuildRequest request, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
AWSCodeBuildAsync
Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.
You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.
startBuildAsync
in interface AWSCodeBuildAsync
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.public Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest request)
AWSCodeBuildAsync
Starts a batch build for a project.
startBuildBatchAsync
in interface AWSCodeBuildAsync
public Future<StartBuildBatchResult> startBuildBatchAsync(StartBuildBatchRequest request, AsyncHandler<StartBuildBatchRequest,StartBuildBatchResult> asyncHandler)
AWSCodeBuildAsync
Starts a batch build for a project.
startBuildBatchAsync
in interface AWSCodeBuildAsync
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.public Future<StopBuildResult> stopBuildAsync(StopBuildRequest request)
AWSCodeBuildAsync
Attempts to stop running a build.
stopBuildAsync
in interface AWSCodeBuildAsync
public Future<StopBuildResult> stopBuildAsync(StopBuildRequest request, AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
AWSCodeBuildAsync
Attempts to stop running a build.
stopBuildAsync
in interface AWSCodeBuildAsync
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.public Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest request)
AWSCodeBuildAsync
Stops a running batch build.
stopBuildBatchAsync
in interface AWSCodeBuildAsync
public Future<StopBuildBatchResult> stopBuildBatchAsync(StopBuildBatchRequest request, AsyncHandler<StopBuildBatchRequest,StopBuildBatchResult> asyncHandler)
AWSCodeBuildAsync
Stops a running batch build.
stopBuildBatchAsync
in interface AWSCodeBuildAsync
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.public Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request)
AWSCodeBuildAsync
Updates a compute fleet.
updateFleetAsync
in interface AWSCodeBuildAsync
public Future<UpdateFleetResult> updateFleetAsync(UpdateFleetRequest request, AsyncHandler<UpdateFleetRequest,UpdateFleetResult> asyncHandler)
AWSCodeBuildAsync
Updates a compute fleet.
updateFleetAsync
in interface AWSCodeBuildAsync
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.public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSCodeBuildAsync
Changes the settings of a build project.
updateProjectAsync
in interface AWSCodeBuildAsync
public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSCodeBuildAsync
Changes the settings of a build project.
updateProjectAsync
in interface AWSCodeBuildAsync
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.public Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest request)
AWSCodeBuildAsync
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
updateProjectVisibilityAsync
in interface AWSCodeBuildAsync
public Future<UpdateProjectVisibilityResult> updateProjectVisibilityAsync(UpdateProjectVisibilityRequest request, AsyncHandler<UpdateProjectVisibilityRequest,UpdateProjectVisibilityResult> asyncHandler)
AWSCodeBuildAsync
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooks in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
updateProjectVisibilityAsync
in interface AWSCodeBuildAsync
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.public Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest request)
AWSCodeBuildAsync
Updates a report group.
updateReportGroupAsync
in interface AWSCodeBuildAsync
public Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest request, AsyncHandler<UpdateReportGroupRequest,UpdateReportGroupResult> asyncHandler)
AWSCodeBuildAsync
Updates a report group.
updateReportGroupAsync
in interface AWSCodeBuildAsync
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.public Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request)
AWSCodeBuildAsync
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookAsync
in interface AWSCodeBuildAsync
public Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request, AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
AWSCodeBuildAsync
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookAsync
in interface AWSCodeBuildAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSCodeBuild
shutdown
in class AWSCodeBuildClient