@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.
AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.
AWS CodeBuild supports these operations:
BatchDeleteBuilds
: Deletes one or more builds.
BatchGetBuilds
: Gets information about one or more builds.
BatchGetProjects
: Gets information about one or more build projects. A build project defines how
AWS CodeBuild runs a build. This includes information such as where to get the source code to build, the build
environment to use, the build commands to run, and where to store the build output. A build environment is a
representation of operating system, programming language runtime, and tools that AWS CodeBuild uses to run a build.
You can add tags to build projects to help manage your resources and costs.
BatchGetReportGroups
: Returns an array of report groups.
BatchGetReports
: Returns an array of reports.
CreateProject
: Creates a build project.
CreateReportGroup
: Creates a report group. A report group contains a collection of reports.
CreateWebhook
: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed
to the repository.
DeleteProject
: Deletes a build project.
DeleteReport
: Deletes a report.
DeleteReportGroup
: Deletes a report group.
DeleteResourcePolicy
: Deletes a resource policy that is identified by its resource ARN.
DeleteSourceCredentials
: Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
DeleteWebhook
: For an existing AWS CodeBuild build project that has its source code stored in a GitHub
or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to
the repository.
DescribeTestCases
: Returns a list of details about test cases for a report.
GetResourcePolicy
: Gets a resource policy that is identified by its resource ARN.
ImportSourceCredentials
: Imports the source repository credentials for an AWS CodeBuild project that has
its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
InvalidateProjectCache
: Resets the cache for a project.
ListBuilds
: Gets a list of build IDs, with each build ID representing a single build.
ListBuildsForProject
: Gets a list of build IDs for the specified build project, with each build ID
representing a single build.
ListCuratedEnvironmentImages
: Gets information about Docker images that are managed by AWS CodeBuild.
ListProjects
: Gets a list of build project names, with each build project name representing a single
build project.
ListReportGroups
: Gets a list ARNs for the report groups in the current AWS account.
ListReports
: Gets a list ARNs for the reports in the current AWS account.
ListReportsForReportGroup
: Returns a list of ARNs for the reports that belong to a
ReportGroup
.
ListSharedProjects
: Gets a list of ARNs associated with projects shared with the current AWS account or
user.
ListSharedReportGroups
: Gets a list of ARNs associated with report groups shared with the current AWS
account or user
ListSourceCredentials
: Returns a list of SourceCredentialsInfo
objects. Each
SourceCredentialsInfo
object includes the authentication type, token ARN, and type of source provider
for one set of credentials.
PutResourcePolicy
: Stores a resource policy for the ARN of a Project
or
ReportGroup
object.
StartBuild
: Starts running a build.
StopBuild
: Attempts to stop running a build.
UpdateProject
: Changes the settings of an existing build project.
UpdateReportGroup
: Changes a report group.
UpdateWebhook
: Changes the settings of an existing webhook.
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, batchGetProjects, batchGetReportGroups, batchGetReports, builder, 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, startBuild, startBuildBatch, stopBuild, stopBuildBatch, updateProject, 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, 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, startBuild, startBuildBatch, stopBuild, stopBuildBatch, updateProject, 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<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<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 AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookAsync
in interface AWSCodeBuildAsync
public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
AWSCodeBuildAsync
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
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<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 AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookAsync
in interface AWSCodeBuildAsync
public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
AWSCodeBuildAsync
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
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)
getReportGroupTrendAsync
in interface AWSCodeBuildAsync
public Future<GetReportGroupTrendResult> getReportGroupTrendAsync(GetReportGroupTrendRequest request, AsyncHandler<GetReportGroupTrendRequest,GetReportGroupTrendResult> asyncHandler)
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 AWS 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 AWS 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 IDs for the specified build project, with each build ID representing a single build.
listBuildsForProjectAsync
in interface AWSCodeBuildAsync
public Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest request, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
AWSCodeBuildAsync
Gets a list of build IDs for the specified build project, with each build ID 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 AWS 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 AWS 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<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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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.
startBuildAsync
in interface AWSCodeBuildAsync
public Future<StartBuildResult> startBuildAsync(StartBuildRequest request, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
AWSCodeBuildAsync
Starts running a build.
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<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<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 AWS 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 AWS 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