@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSCodeBuildAsync extends AWSCodeBuild
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSCodeBuildAsync
instead.
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.
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.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<BatchDeleteBuildsResult> |
batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
|
Future<BatchDeleteBuildsResult> |
batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest,
AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
Deletes one or more builds.
|
Future<BatchGetBuildsResult> |
batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
|
Future<BatchGetBuildsResult> |
batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest,
AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
Gets information about one or more builds.
|
Future<BatchGetProjectsResult> |
batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
|
Future<BatchGetProjectsResult> |
batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest,
AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
Gets information about one or more build projects.
|
Future<BatchGetReportGroupsResult> |
batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
|
Future<BatchGetReportGroupsResult> |
batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest,
AsyncHandler<BatchGetReportGroupsRequest,BatchGetReportGroupsResult> asyncHandler)
Returns an array of report groups.
|
Future<BatchGetReportsResult> |
batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
|
Future<BatchGetReportsResult> |
batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest,
AsyncHandler<BatchGetReportsRequest,BatchGetReportsResult> asyncHandler)
Returns an array of reports.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest createProjectRequest)
Creates a build project.
|
Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest createProjectRequest,
AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates a build project.
|
Future<CreateReportGroupResult> |
createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest)
Creates a report group.
|
Future<CreateReportGroupResult> |
createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest,
AsyncHandler<CreateReportGroupRequest,CreateReportGroupResult> asyncHandler)
Creates a report group.
|
Future<CreateWebhookResult> |
createWebhookAsync(CreateWebhookRequest createWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
|
Future<CreateWebhookResult> |
createWebhookAsync(CreateWebhookRequest createWebhookRequest,
AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
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.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes a build project.
|
Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest deleteProjectRequest,
AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes a build project.
|
Future<DeleteReportResult> |
deleteReportAsync(DeleteReportRequest deleteReportRequest)
Deletes a report.
|
Future<DeleteReportResult> |
deleteReportAsync(DeleteReportRequest deleteReportRequest,
AsyncHandler<DeleteReportRequest,DeleteReportResult> asyncHandler)
Deletes a report.
|
Future<DeleteReportGroupResult> |
deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest)
DeleteReportGroup : Deletes a report group. |
Future<DeleteReportGroupResult> |
deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest,
AsyncHandler<DeleteReportGroupRequest,DeleteReportGroupResult> asyncHandler)
DeleteReportGroup : Deletes a report group. |
Future<DeleteResourcePolicyResult> |
deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
|
Future<DeleteResourcePolicyResult> |
deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest,
AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes a resource policy that is identified by its resource ARN.
|
Future<DeleteSourceCredentialsResult> |
deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
Future<DeleteSourceCredentialsResult> |
deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest,
AsyncHandler<DeleteSourceCredentialsRequest,DeleteSourceCredentialsResult> asyncHandler)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
|
Future<DeleteWebhookResult> |
deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository,
stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
|
Future<DeleteWebhookResult> |
deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest,
AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
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.
|
Future<DescribeTestCasesResult> |
describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
|
Future<DescribeTestCasesResult> |
describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest,
AsyncHandler<DescribeTestCasesRequest,DescribeTestCasesResult> asyncHandler)
Returns a list of details about test cases for a report.
|
Future<GetResourcePolicyResult> |
getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
|
Future<GetResourcePolicyResult> |
getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest,
AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
Gets a resource policy that is identified by its resource ARN.
|
Future<ImportSourceCredentialsResult> |
importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
GitHub, GitHub Enterprise, or Bitbucket repository.
|
Future<ImportSourceCredentialsResult> |
importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest,
AsyncHandler<ImportSourceCredentialsRequest,ImportSourceCredentialsResult> asyncHandler)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a
GitHub, GitHub Enterprise, or Bitbucket repository.
|
Future<InvalidateProjectCacheResult> |
invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
|
Future<InvalidateProjectCacheResult> |
invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest,
AsyncHandler<InvalidateProjectCacheRequest,InvalidateProjectCacheResult> asyncHandler)
Resets the cache for a project.
|
Future<ListBuildsResult> |
listBuildsAsync(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
|
Future<ListBuildsResult> |
listBuildsAsync(ListBuildsRequest listBuildsRequest,
AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
Gets a list of build IDs, with each build ID representing a single build.
|
Future<ListBuildsForProjectResult> |
listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
|
Future<ListBuildsForProjectResult> |
listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest,
AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
|
Future<ListCuratedEnvironmentImagesResult> |
listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by AWS CodeBuild.
|
Future<ListCuratedEnvironmentImagesResult> |
listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest,
AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
Gets information about Docker images that are managed by AWS CodeBuild.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
|
Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest listProjectsRequest,
AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Gets a list of build project names, with each build project name representing a single build project.
|
Future<ListReportGroupsResult> |
listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
|
Future<ListReportGroupsResult> |
listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest,
AsyncHandler<ListReportGroupsRequest,ListReportGroupsResult> asyncHandler)
Gets a list ARNs for the report groups in the current AWS account.
|
Future<ListReportsResult> |
listReportsAsync(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
|
Future<ListReportsResult> |
listReportsAsync(ListReportsRequest listReportsRequest,
AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
Returns a list of ARNs for the reports in the current AWS account.
|
Future<ListReportsForReportGroupResult> |
listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
Future<ListReportsForReportGroupResult> |
listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest,
AsyncHandler<ListReportsForReportGroupRequest,ListReportsForReportGroupResult> asyncHandler)
Returns a list of ARNs for the reports that belong to a
ReportGroup . |
Future<ListSharedProjectsResult> |
listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
|
Future<ListSharedProjectsResult> |
listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest,
AsyncHandler<ListSharedProjectsRequest,ListSharedProjectsResult> asyncHandler)
Gets a list of projects that are shared with other AWS accounts or users.
|
Future<ListSharedReportGroupsResult> |
listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
|
Future<ListSharedReportGroupsResult> |
listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest,
AsyncHandler<ListSharedReportGroupsRequest,ListSharedReportGroupsResult> asyncHandler)
Gets a list of report groups that are shared with other AWS accounts or users.
|
Future<ListSourceCredentialsResult> |
listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of
SourceCredentialsInfo objects. |
Future<ListSourceCredentialsResult> |
listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest,
AsyncHandler<ListSourceCredentialsRequest,ListSourceCredentialsResult> asyncHandler)
Returns a list of
SourceCredentialsInfo objects. |
Future<PutResourcePolicyResult> |
putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
Future<PutResourcePolicyResult> |
putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest,
AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
Stores a resource policy for the ARN of a
Project or ReportGroup object. |
Future<StartBuildResult> |
startBuildAsync(StartBuildRequest startBuildRequest)
Starts running a build.
|
Future<StartBuildResult> |
startBuildAsync(StartBuildRequest startBuildRequest,
AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
Starts running a build.
|
Future<StopBuildResult> |
stopBuildAsync(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
|
Future<StopBuildResult> |
stopBuildAsync(StopBuildRequest stopBuildRequest,
AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
Attempts to stop running a build.
|
Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
|
Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest updateProjectRequest,
AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
Changes the settings of a build project.
|
Future<UpdateReportGroupResult> |
updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
|
Future<UpdateReportGroupResult> |
updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest,
AsyncHandler<UpdateReportGroupRequest,UpdateReportGroupResult> asyncHandler)
Updates a report group.
|
Future<UpdateWebhookResult> |
updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an AWS CodeBuild build project.
|
Future<UpdateWebhookResult> |
updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest,
AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
Updates the webhook associated with an AWS CodeBuild build project.
|
batchDeleteBuilds, batchGetBuilds, batchGetProjects, batchGetReportGroups, batchGetReports, createProject, createReportGroup, createWebhook, deleteProject, deleteReport, deleteReportGroup, deleteResourcePolicy, deleteSourceCredentials, deleteWebhook, describeTestCases, getCachedResponseMetadata, getResourcePolicy, importSourceCredentials, invalidateProjectCache, listBuilds, listBuildsForProject, listCuratedEnvironmentImages, listProjects, listReportGroups, listReports, listReportsForReportGroup, listSharedProjects, listSharedReportGroups, listSourceCredentials, putResourcePolicy, setEndpoint, setRegion, shutdown, startBuild, stopBuild, updateProject, updateReportGroup, updateWebhook
Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest)
Deletes one or more builds.
batchDeleteBuildsRequest
- Future<BatchDeleteBuildsResult> batchDeleteBuildsAsync(BatchDeleteBuildsRequest batchDeleteBuildsRequest, AsyncHandler<BatchDeleteBuildsRequest,BatchDeleteBuildsResult> asyncHandler)
Deletes one or more builds.
batchDeleteBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest)
Gets information about one or more builds.
batchGetBuildsRequest
- Future<BatchGetBuildsResult> batchGetBuildsAsync(BatchGetBuildsRequest batchGetBuildsRequest, AsyncHandler<BatchGetBuildsRequest,BatchGetBuildsResult> asyncHandler)
Gets information about one or more builds.
batchGetBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest)
Gets information about one or more build projects.
batchGetProjectsRequest
- Future<BatchGetProjectsResult> batchGetProjectsAsync(BatchGetProjectsRequest batchGetProjectsRequest, AsyncHandler<BatchGetProjectsRequest,BatchGetProjectsResult> asyncHandler)
Gets information about one or more build projects.
batchGetProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest)
Returns an array of report groups.
batchGetReportGroupsRequest
- Future<BatchGetReportGroupsResult> batchGetReportGroupsAsync(BatchGetReportGroupsRequest batchGetReportGroupsRequest, AsyncHandler<BatchGetReportGroupsRequest,BatchGetReportGroupsResult> asyncHandler)
Returns an array of report groups.
batchGetReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest)
Returns an array of reports.
batchGetReportsRequest
- Future<BatchGetReportsResult> batchGetReportsAsync(BatchGetReportsRequest batchGetReportsRequest, AsyncHandler<BatchGetReportsRequest,BatchGetReportsResult> asyncHandler)
Returns an array of reports.
batchGetReportsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest)
Creates a build project.
createProjectRequest
- Future<CreateProjectResult> createProjectAsync(CreateProjectRequest createProjectRequest, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates a build project.
createProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest)
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest
- Future<CreateReportGroupResult> createReportGroupAsync(CreateReportGroupRequest createReportGroupRequest, AsyncHandler<CreateReportGroupRequest,CreateReportGroupResult> asyncHandler)
Creates a report group. A report group contains a collection of reports.
createReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest createWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest
- Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest createWebhookRequest, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
createWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest)
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest
- Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest deleteProjectRequest, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes a build project. When you delete a project, its builds are not deleted.
deleteProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest deleteReportRequest)
Deletes a report.
deleteReportRequest
- Future<DeleteReportResult> deleteReportAsync(DeleteReportRequest deleteReportRequest, AsyncHandler<DeleteReportRequest,DeleteReportResult> asyncHandler)
Deletes a report.
deleteReportRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest)
DeleteReportGroup
: Deletes a report group. Before you delete a report group, you must delete its
reports. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete
the reports. If you call DeleteReportGroup
for a report group that contains one or more reports, an
exception is thrown.
deleteReportGroupRequest
- Future<DeleteReportGroupResult> deleteReportGroupAsync(DeleteReportGroupRequest deleteReportGroupRequest, AsyncHandler<DeleteReportGroupRequest,DeleteReportGroupResult> asyncHandler)
DeleteReportGroup
: Deletes a report group. Before you delete a report group, you must delete its
reports. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete
the reports. If you call DeleteReportGroup
for a report group that contains one or more reports, an
exception is thrown.
deleteReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest
- Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
Deletes a resource policy that is identified by its resource ARN.
deleteResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest
- Future<DeleteSourceCredentialsResult> deleteSourceCredentialsAsync(DeleteSourceCredentialsRequest deleteSourceCredentialsRequest, AsyncHandler<DeleteSourceCredentialsRequest,DeleteSourceCredentialsResult> asyncHandler)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
deleteSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookRequest
- Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest deleteWebhookRequest, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
deleteWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest)
Returns a list of details about test cases for a report.
describeTestCasesRequest
- Future<DescribeTestCasesResult> describeTestCasesAsync(DescribeTestCasesRequest describeTestCasesRequest, AsyncHandler<DescribeTestCasesRequest,DescribeTestCasesResult> asyncHandler)
Returns a list of details about test cases for a report.
describeTestCasesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest
- Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest getResourcePolicyRequest, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
Gets a resource policy that is identified by its resource ARN.
getResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest
- Future<ImportSourceCredentialsResult> importSourceCredentialsAsync(ImportSourceCredentialsRequest importSourceCredentialsRequest, AsyncHandler<ImportSourceCredentialsRequest,ImportSourceCredentialsResult> asyncHandler)
Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
importSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest)
Resets the cache for a project.
invalidateProjectCacheRequest
- Future<InvalidateProjectCacheResult> invalidateProjectCacheAsync(InvalidateProjectCacheRequest invalidateProjectCacheRequest, AsyncHandler<InvalidateProjectCacheRequest,InvalidateProjectCacheResult> asyncHandler)
Resets the cache for a project.
invalidateProjectCacheRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest listBuildsRequest)
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest
- Future<ListBuildsResult> listBuildsAsync(ListBuildsRequest listBuildsRequest, AsyncHandler<ListBuildsRequest,ListBuildsResult> asyncHandler)
Gets a list of build IDs, with each build ID representing a single build.
listBuildsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
listBuildsForProjectRequest
- Future<ListBuildsForProjectResult> listBuildsForProjectAsync(ListBuildsForProjectRequest listBuildsForProjectRequest, AsyncHandler<ListBuildsForProjectRequest,ListBuildsForProjectResult> asyncHandler)
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
listBuildsForProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest)
Gets information about Docker images that are managed by AWS CodeBuild.
listCuratedEnvironmentImagesRequest
- Future<ListCuratedEnvironmentImagesResult> listCuratedEnvironmentImagesAsync(ListCuratedEnvironmentImagesRequest listCuratedEnvironmentImagesRequest, AsyncHandler<ListCuratedEnvironmentImagesRequest,ListCuratedEnvironmentImagesResult> asyncHandler)
Gets information about Docker images that are managed by AWS CodeBuild.
listCuratedEnvironmentImagesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest)
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest
- Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest listProjectsRequest, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Gets a list of build project names, with each build project name representing a single build project.
listProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest)
Gets a list ARNs for the report groups in the current AWS account.
listReportGroupsRequest
- Future<ListReportGroupsResult> listReportGroupsAsync(ListReportGroupsRequest listReportGroupsRequest, AsyncHandler<ListReportGroupsRequest,ListReportGroupsResult> asyncHandler)
Gets a list ARNs for the report groups in the current AWS account.
listReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportsResult> listReportsAsync(ListReportsRequest listReportsRequest)
Returns a list of ARNs for the reports in the current AWS account.
listReportsRequest
- Future<ListReportsResult> listReportsAsync(ListReportsRequest listReportsRequest, AsyncHandler<ListReportsRequest,ListReportsResult> asyncHandler)
Returns a list of ARNs for the reports in the current AWS account.
listReportsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest)
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupRequest
- Future<ListReportsForReportGroupResult> listReportsForReportGroupAsync(ListReportsForReportGroupRequest listReportsForReportGroupRequest, AsyncHandler<ListReportsForReportGroupRequest,ListReportsForReportGroupResult> asyncHandler)
Returns a list of ARNs for the reports that belong to a ReportGroup
.
listReportsForReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest)
Gets a list of projects that are shared with other AWS accounts or users.
listSharedProjectsRequest
- Future<ListSharedProjectsResult> listSharedProjectsAsync(ListSharedProjectsRequest listSharedProjectsRequest, AsyncHandler<ListSharedProjectsRequest,ListSharedProjectsResult> asyncHandler)
Gets a list of projects that are shared with other AWS accounts or users.
listSharedProjectsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest)
Gets a list of report groups that are shared with other AWS accounts or users.
listSharedReportGroupsRequest
- Future<ListSharedReportGroupsResult> listSharedReportGroupsAsync(ListSharedReportGroupsRequest listSharedReportGroupsRequest, AsyncHandler<ListSharedReportGroupsRequest,ListSharedReportGroupsResult> asyncHandler)
Gets a list of report groups that are shared with other AWS accounts or users.
listSharedReportGroupsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest)
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsRequest
- Future<ListSourceCredentialsResult> listSourceCredentialsAsync(ListSourceCredentialsRequest listSourceCredentialsRequest, AsyncHandler<ListSourceCredentialsRequest,ListSourceCredentialsResult> asyncHandler)
Returns a list of SourceCredentialsInfo
objects.
listSourceCredentialsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest)
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyRequest
- Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest putResourcePolicyRequest, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
Stores a resource policy for the ARN of a Project
or ReportGroup
object.
putResourcePolicyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartBuildResult> startBuildAsync(StartBuildRequest startBuildRequest)
Starts running a build.
startBuildRequest
- Future<StartBuildResult> startBuildAsync(StartBuildRequest startBuildRequest, AsyncHandler<StartBuildRequest,StartBuildResult> asyncHandler)
Starts running a build.
startBuildRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopBuildResult> stopBuildAsync(StopBuildRequest stopBuildRequest)
Attempts to stop running a build.
stopBuildRequest
- Future<StopBuildResult> stopBuildAsync(StopBuildRequest stopBuildRequest, AsyncHandler<StopBuildRequest,StopBuildResult> asyncHandler)
Attempts to stop running a build.
stopBuildRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest)
Changes the settings of a build project.
updateProjectRequest
- Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest updateProjectRequest, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
Changes the settings of a build project.
updateProjectRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest)
Updates a report group.
updateReportGroupRequest
- Future<UpdateReportGroupResult> updateReportGroupAsync(UpdateReportGroupRequest updateReportGroupRequest, AsyncHandler<UpdateReportGroupRequest,UpdateReportGroupResult> asyncHandler)
Updates a report group.
updateReportGroupRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest)
Updates the webhook associated with an AWS CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookRequest
- Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest updateWebhookRequest, AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
Updates the webhook associated with an AWS CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret
is ignored.
updateWebhookRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.