Crate rusoto_codebuild

Source
Expand description

AWS CodeBuild

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.

If you’re using the service, you’re probably looking for CodeBuildClient and CodeBuild.

Structs§

BatchDeleteBuildsInput
BatchDeleteBuildsOutput
BatchGetBuildsInput
BatchGetBuildsOutput
BatchGetProjectsInput
BatchGetProjectsOutput
BatchGetReportGroupsInput
BatchGetReportGroupsOutput
BatchGetReportsInput
BatchGetReportsOutput
Build

Information about a build.

BuildArtifacts

Information about build output artifacts.

BuildNotDeleted

Information about a build that could not be successfully deleted.

BuildPhase

Information about a stage for a build.

BuildStatusConfig

Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.

CloudWatchLogsConfig

Information about Amazon CloudWatch Logs for a build project.

CodeBuildClient
A client for the AWS CodeBuild API.
CreateProjectInput
CreateProjectOutput
CreateReportGroupInput
CreateReportGroupOutput
CreateWebhookInput
CreateWebhookOutput
DeleteProjectInput
DeleteProjectOutput
DeleteReportGroupInput
DeleteReportGroupOutput
DeleteReportInput
DeleteReportOutput
DeleteResourcePolicyInput
DeleteResourcePolicyOutput
DeleteSourceCredentialsInput
DeleteSourceCredentialsOutput
DeleteWebhookInput
DeleteWebhookOutput
DescribeTestCasesInput
DescribeTestCasesOutput
EnvironmentImage

Information about a Docker image that is managed by AWS CodeBuild.

EnvironmentLanguage

A set of Docker images that are related by programming language and are managed by AWS CodeBuild.

EnvironmentPlatform

A set of Docker images that are related by platform and are managed by AWS CodeBuild.

EnvironmentVariable

Information about an environment variable for a build project or a build.

ExportedEnvironmentVariable

Information about an exported environment variable.

GetResourcePolicyInput
GetResourcePolicyOutput
GitSubmodulesConfig

Information about the Git submodules configuration for an AWS CodeBuild build project.

ImportSourceCredentialsInput
ImportSourceCredentialsOutput
InvalidateProjectCacheInput
InvalidateProjectCacheOutput
ListBuildsForProjectInput
ListBuildsForProjectOutput
ListBuildsInput
ListBuildsOutput
ListCuratedEnvironmentImagesInput
ListCuratedEnvironmentImagesOutput
ListProjectsInput
ListProjectsOutput
ListReportGroupsInput
ListReportGroupsOutput
ListReportsForReportGroupInput
ListReportsForReportGroupOutput
ListReportsInput
ListReportsOutput
ListSharedProjectsInput
ListSharedProjectsOutput
ListSharedReportGroupsInput
ListSharedReportGroupsOutput
ListSourceCredentialsInput
ListSourceCredentialsOutput
LogsConfig

Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.

LogsLocation

Information about build logs in Amazon CloudWatch Logs.

NetworkInterface

Describes a network interface.

PhaseContext

Additional information about a build phase that has an error. You can use this information for troubleshooting.

Project

Information about a build project.

ProjectArtifacts

Information about the build output artifacts for the build project.

ProjectBadge

Information about the build badge for the build project.

ProjectCache

Information about the cache for the build project.

ProjectEnvironment

Information about the build environment of the build project.

ProjectFileSystemLocation

Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System?

ProjectSource

Information about the build input source code for the build project.

ProjectSourceVersion

A source identifier and its corresponding version.

PutResourcePolicyInput
PutResourcePolicyOutput
RegistryCredential

Information about credentials that provide access to a private Docker registry. When this is set:

  • imagePullCredentialsType must be set to SERVICE_ROLE.

  • images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild.

Report

Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.

ReportExportConfig

Information about the location where the run of a report is exported.

ReportFilter

A filter used to return reports with the status specified by the input status parameter.

ReportGroup

A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files.

S3LogsConfig

Information about S3 logs for a build project.

S3ReportExportConfig

Information about the S3 bucket where the raw data of a report are exported.

SourceAuth

Information about the authorization settings for AWS CodeBuild to access the source code to be built.

This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly.

SourceCredentialsInfo

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

StartBuildInput
StartBuildOutput
StopBuildInput
StopBuildOutput
Tag

A tag, consisting of a key and a value.

This tag is available for use by AWS services that support tags in AWS CodeBuild.

TestCase

Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.

TestCaseFilter

A filter used to return specific types of test cases.

TestReportSummary

Information about a test report.

UpdateProjectInput
UpdateProjectOutput
UpdateReportGroupInput
UpdateReportGroupOutput
UpdateWebhookInput
UpdateWebhookOutput
VpcConfig

Information about the VPC configuration that AWS CodeBuild accesses.

Webhook

Information about a webhook that connects repository events to a build project in AWS CodeBuild.

WebhookFilter

A filter used to determine which webhooks trigger a build.

Enums§

BatchDeleteBuildsError
Errors returned by BatchDeleteBuilds
BatchGetBuildsError
Errors returned by BatchGetBuilds
BatchGetProjectsError
Errors returned by BatchGetProjects
BatchGetReportGroupsError
Errors returned by BatchGetReportGroups
BatchGetReportsError
Errors returned by BatchGetReports
CreateProjectError
Errors returned by CreateProject
CreateReportGroupError
Errors returned by CreateReportGroup
CreateWebhookError
Errors returned by CreateWebhook
DeleteProjectError
Errors returned by DeleteProject
DeleteReportError
Errors returned by DeleteReport
DeleteReportGroupError
Errors returned by DeleteReportGroup
DeleteResourcePolicyError
Errors returned by DeleteResourcePolicy
DeleteSourceCredentialsError
Errors returned by DeleteSourceCredentials
DeleteWebhookError
Errors returned by DeleteWebhook
DescribeTestCasesError
Errors returned by DescribeTestCases
GetResourcePolicyError
Errors returned by GetResourcePolicy
ImportSourceCredentialsError
Errors returned by ImportSourceCredentials
InvalidateProjectCacheError
Errors returned by InvalidateProjectCache
ListBuildsError
Errors returned by ListBuilds
ListBuildsForProjectError
Errors returned by ListBuildsForProject
ListCuratedEnvironmentImagesError
Errors returned by ListCuratedEnvironmentImages
ListProjectsError
Errors returned by ListProjects
ListReportGroupsError
Errors returned by ListReportGroups
ListReportsError
Errors returned by ListReports
ListReportsForReportGroupError
Errors returned by ListReportsForReportGroup
ListSharedProjectsError
Errors returned by ListSharedProjects
ListSharedReportGroupsError
Errors returned by ListSharedReportGroups
ListSourceCredentialsError
Errors returned by ListSourceCredentials
PutResourcePolicyError
Errors returned by PutResourcePolicy
StartBuildError
Errors returned by StartBuild
StopBuildError
Errors returned by StopBuild
UpdateProjectError
Errors returned by UpdateProject
UpdateReportGroupError
Errors returned by UpdateReportGroup
UpdateWebhookError
Errors returned by UpdateWebhook

Traits§

CodeBuild
Trait representing the capabilities of the AWS CodeBuild API. AWS CodeBuild clients implement this trait.