codebuild – github.com/aws/aws-sdk-go-v2/service/codebuild Index | Files | Directories

package codebuild

import "github.com/aws/aws-sdk-go-v2/service/codebuild"

Package codebuild provides the API client, operations, and parameter types for AWS CodeBuild.

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 (https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html). 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.

Index

Constants

const ServiceAPIVersion = "2016-10-06"
const ServiceID = "CodeBuild"

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver

func WithEndpointResolver(v EndpointResolver) func(*Options)

WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.

Types

type BatchDeleteBuildsInput

type BatchDeleteBuildsInput struct {

	// The IDs of the builds to delete.
	//
	// This member is required.
	Ids []string
}

type BatchDeleteBuildsOutput

type BatchDeleteBuildsOutput struct {

	// The IDs of the builds that were successfully deleted.
	BuildsDeleted []string

	// Information about any builds that could not be successfully deleted.
	BuildsNotDeleted []types.BuildNotDeleted

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetBuildBatchesInput

type BatchGetBuildBatchesInput struct {

	// An array that contains the batch build identifiers to retrieve.
	//
	// This member is required.
	Ids []string
}

type BatchGetBuildBatchesOutput

type BatchGetBuildBatchesOutput struct {

	// An array of BuildBatch objects that represent the retrieved batch builds.
	BuildBatches []types.BuildBatch

	// An array that contains the identifiers of any batch builds that are not found.
	BuildBatchesNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetBuildsInput

type BatchGetBuildsInput struct {

	// The IDs of the builds.
	//
	// This member is required.
	Ids []string
}

type BatchGetBuildsOutput

type BatchGetBuildsOutput struct {

	// Information about the requested builds.
	Builds []types.Build

	// The IDs of builds for which information could not be found.
	BuildsNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetProjectsInput

type BatchGetProjectsInput struct {

	// The names or ARNs of the build projects. To get information about a project
	// shared with your AWS account, its ARN must be specified. You cannot specify a
	// shared project using its name.
	//
	// This member is required.
	Names []string
}

type BatchGetProjectsOutput

type BatchGetProjectsOutput struct {

	// Information about the requested build projects.
	Projects []types.Project

	// The names of build projects for which information could not be found.
	ProjectsNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetReportGroupsInput

type BatchGetReportGroupsInput struct {

	// An array of report group ARNs that identify the report groups to return.
	//
	// This member is required.
	ReportGroupArns []string
}

type BatchGetReportGroupsOutput

type BatchGetReportGroupsOutput struct {

	// The array of report groups returned by BatchGetReportGroups.
	ReportGroups []types.ReportGroup

	// An array of ARNs passed to BatchGetReportGroups that are not associated with a
	// ReportGroup.
	ReportGroupsNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchGetReportsInput

type BatchGetReportsInput struct {

	// An array of ARNs that identify the Report objects to return.
	//
	// This member is required.
	ReportArns []string
}

type BatchGetReportsOutput

type BatchGetReportsOutput struct {

	// The array of Report objects returned by BatchGetReports.
	Reports []types.Report

	// An array of ARNs passed to BatchGetReportGroups that are not associated with a
	// Report.
	ReportsNotFound []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client provides the API client to make operations call for AWS CodeBuild.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) BatchDeleteBuilds

func (c *Client) BatchDeleteBuilds(ctx context.Context, params *BatchDeleteBuildsInput, optFns ...func(*Options)) (*BatchDeleteBuildsOutput, error)

Deletes one or more builds.

func (*Client) BatchGetBuildBatches

func (c *Client) BatchGetBuildBatches(ctx context.Context, params *BatchGetBuildBatchesInput, optFns ...func(*Options)) (*BatchGetBuildBatchesOutput, error)

Retrieves information about one or more batch builds.

func (*Client) BatchGetBuilds

func (c *Client) BatchGetBuilds(ctx context.Context, params *BatchGetBuildsInput, optFns ...func(*Options)) (*BatchGetBuildsOutput, error)

Gets information about one or more builds.

func (*Client) BatchGetProjects

func (c *Client) BatchGetProjects(ctx context.Context, params *BatchGetProjectsInput, optFns ...func(*Options)) (*BatchGetProjectsOutput, error)

Gets information about one or more build projects.

func (*Client) BatchGetReportGroups

func (c *Client) BatchGetReportGroups(ctx context.Context, params *BatchGetReportGroupsInput, optFns ...func(*Options)) (*BatchGetReportGroupsOutput, error)

Returns an array of report groups.

func (*Client) BatchGetReports

func (c *Client) BatchGetReports(ctx context.Context, params *BatchGetReportsInput, optFns ...func(*Options)) (*BatchGetReportsOutput, error)

Returns an array of reports.

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, params *CreateProjectInput, optFns ...func(*Options)) (*CreateProjectOutput, error)

Creates a build project.

func (*Client) CreateReportGroup

func (c *Client) CreateReportGroup(ctx context.Context, params *CreateReportGroupInput, optFns ...func(*Options)) (*CreateReportGroupOutput, error)

Creates a report group. A report group contains a collection of reports.

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, params *CreateWebhookInput, optFns ...func(*Options)) (*CreateWebhookOutput, error)

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 (https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console).

func (*Client) DeleteBuildBatch

func (c *Client) DeleteBuildBatch(ctx context.Context, params *DeleteBuildBatchInput, optFns ...func(*Options)) (*DeleteBuildBatchOutput, error)

Deletes a batch build.

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, params *DeleteProjectInput, optFns ...func(*Options)) (*DeleteProjectOutput, error)

Deletes a build project. When you delete a project, its builds are not deleted.

func (*Client) DeleteReport

func (c *Client) DeleteReport(ctx context.Context, params *DeleteReportInput, optFns ...func(*Options)) (*DeleteReportOutput, error)

Deletes a report.

func (*Client) DeleteReportGroup

func (c *Client) DeleteReportGroup(ctx context.Context, params *DeleteReportGroupInput, optFns ...func(*Options)) (*DeleteReportGroupOutput, error)

Deletes a report group. Before you delete a report group, you must delete its reports.

func (*Client) DeleteResourcePolicy

func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error)

Deletes a resource policy that is identified by its resource ARN.

func (*Client) DeleteSourceCredentials

func (c *Client) DeleteSourceCredentials(ctx context.Context, params *DeleteSourceCredentialsInput, optFns ...func(*Options)) (*DeleteSourceCredentialsOutput, error)

Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, params *DeleteWebhookInput, optFns ...func(*Options)) (*DeleteWebhookOutput, error)

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.

func (*Client) DescribeCodeCoverages

func (c *Client) DescribeCodeCoverages(ctx context.Context, params *DescribeCodeCoveragesInput, optFns ...func(*Options)) (*DescribeCodeCoveragesOutput, error)

Retrieves one or more code coverage reports.

func (*Client) DescribeTestCases

func (c *Client) DescribeTestCases(ctx context.Context, params *DescribeTestCasesInput, optFns ...func(*Options)) (*DescribeTestCasesOutput, error)

Returns a list of details about test cases for a report.

func (*Client) GetReportGroupTrend

func (c *Client) GetReportGroupTrend(ctx context.Context, params *GetReportGroupTrendInput, optFns ...func(*Options)) (*GetReportGroupTrendOutput, error)

func (*Client) GetResourcePolicy

func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)

Gets a resource policy that is identified by its resource ARN.

func (*Client) ImportSourceCredentials

func (c *Client) ImportSourceCredentials(ctx context.Context, params *ImportSourceCredentialsInput, optFns ...func(*Options)) (*ImportSourceCredentialsOutput, error)

Imports the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.

func (*Client) InvalidateProjectCache

func (c *Client) InvalidateProjectCache(ctx context.Context, params *InvalidateProjectCacheInput, optFns ...func(*Options)) (*InvalidateProjectCacheOutput, error)

Resets the cache for a project.

func (*Client) ListBuildBatches

func (c *Client) ListBuildBatches(ctx context.Context, params *ListBuildBatchesInput, optFns ...func(*Options)) (*ListBuildBatchesOutput, error)

Retrieves the identifiers of your build batches in the current region.

func (*Client) ListBuildBatchesForProject

func (c *Client) ListBuildBatchesForProject(ctx context.Context, params *ListBuildBatchesForProjectInput, optFns ...func(*Options)) (*ListBuildBatchesForProjectOutput, error)

Retrieves the identifiers of the build batches for a specific project.

func (*Client) ListBuilds

func (c *Client) ListBuilds(ctx context.Context, params *ListBuildsInput, optFns ...func(*Options)) (*ListBuildsOutput, error)

Gets a list of build IDs, with each build ID representing a single build.

func (*Client) ListBuildsForProject

func (c *Client) ListBuildsForProject(ctx context.Context, params *ListBuildsForProjectInput, optFns ...func(*Options)) (*ListBuildsForProjectOutput, error)

Gets a list of build IDs for the specified build project, with each build ID representing a single build.

func (*Client) ListCuratedEnvironmentImages

func (c *Client) ListCuratedEnvironmentImages(ctx context.Context, params *ListCuratedEnvironmentImagesInput, optFns ...func(*Options)) (*ListCuratedEnvironmentImagesOutput, error)

Gets information about Docker images that are managed by AWS CodeBuild.

func (*Client) ListProjects

func (c *Client) ListProjects(ctx context.Context, params *ListProjectsInput, optFns ...func(*Options)) (*ListProjectsOutput, error)

Gets a list of build project names, with each build project name representing a single build project.

func (*Client) ListReportGroups

func (c *Client) ListReportGroups(ctx context.Context, params *ListReportGroupsInput, optFns ...func(*Options)) (*ListReportGroupsOutput, error)

Gets a list ARNs for the report groups in the current AWS account.

func (*Client) ListReports

func (c *Client) ListReports(ctx context.Context, params *ListReportsInput, optFns ...func(*Options)) (*ListReportsOutput, error)

Returns a list of ARNs for the reports in the current AWS account.

func (*Client) ListReportsForReportGroup

func (c *Client) ListReportsForReportGroup(ctx context.Context, params *ListReportsForReportGroupInput, optFns ...func(*Options)) (*ListReportsForReportGroupOutput, error)

Returns a list of ARNs for the reports that belong to a ReportGroup.

func (*Client) ListSharedProjects

func (c *Client) ListSharedProjects(ctx context.Context, params *ListSharedProjectsInput, optFns ...func(*Options)) (*ListSharedProjectsOutput, error)

Gets a list of projects that are shared with other AWS accounts or users.

func (*Client) ListSharedReportGroups

func (c *Client) ListSharedReportGroups(ctx context.Context, params *ListSharedReportGroupsInput, optFns ...func(*Options)) (*ListSharedReportGroupsOutput, error)

Gets a list of report groups that are shared with other AWS accounts or users.

func (*Client) ListSourceCredentials

func (c *Client) ListSourceCredentials(ctx context.Context, params *ListSourceCredentialsInput, optFns ...func(*Options)) (*ListSourceCredentialsOutput, error)

Returns a list of SourceCredentialsInfo objects.

func (*Client) PutResourcePolicy

func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)

Stores a resource policy for the ARN of a Project or ReportGroup object.

func (*Client) RetryBuild

func (c *Client) RetryBuild(ctx context.Context, params *RetryBuildInput, optFns ...func(*Options)) (*RetryBuildOutput, error)

Restarts a build.

func (*Client) RetryBuildBatch

func (c *Client) RetryBuildBatch(ctx context.Context, params *RetryBuildBatchInput, optFns ...func(*Options)) (*RetryBuildBatchOutput, error)

Restarts a failed batch build. Only batch builds that have failed can be retried.

func (*Client) StartBuild

func (c *Client) StartBuild(ctx context.Context, params *StartBuildInput, optFns ...func(*Options)) (*StartBuildOutput, error)

Starts running a build.

func (*Client) StartBuildBatch

func (c *Client) StartBuildBatch(ctx context.Context, params *StartBuildBatchInput, optFns ...func(*Options)) (*StartBuildBatchOutput, error)

Starts a batch build for a project.

func (*Client) StopBuild

func (c *Client) StopBuild(ctx context.Context, params *StopBuildInput, optFns ...func(*Options)) (*StopBuildOutput, error)

Attempts to stop running a build.

func (*Client) StopBuildBatch

func (c *Client) StopBuildBatch(ctx context.Context, params *StopBuildBatchInput, optFns ...func(*Options)) (*StopBuildBatchOutput, error)

Stops a running batch build.

func (*Client) UpdateProject

func (c *Client) UpdateProject(ctx context.Context, params *UpdateProjectInput, optFns ...func(*Options)) (*UpdateProjectOutput, error)

Changes the settings of a build project.

func (*Client) UpdateReportGroup

func (c *Client) UpdateReportGroup(ctx context.Context, params *UpdateReportGroupInput, optFns ...func(*Options)) (*UpdateReportGroupOutput, error)

Updates a report group.

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, params *UpdateWebhookInput, optFns ...func(*Options)) (*UpdateWebhookOutput, error)

Updates the webhook associated with an AWS CodeBuild build project. If you use Bitbucket for your repository, rotateSecret is ignored.

type CreateProjectInput

type CreateProjectInput struct {

	// Information about the build output artifacts for the build project.
	//
	// This member is required.
	Artifacts *types.ProjectArtifacts

	// Information about the build environment for the build project.
	//
	// This member is required.
	Environment *types.ProjectEnvironment

	// The name of the build project.
	//
	// This member is required.
	Name *string

	// The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
	// CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	//
	// This member is required.
	ServiceRole *string

	// Information about the build input source code for the build project.
	//
	// This member is required.
	Source *types.ProjectSource

	// Set this to true to generate a publicly accessible URL for your project's build
	// badge.
	BadgeEnabled *bool

	// A ProjectBuildBatchConfig object that defines the batch build options for the
	// project.
	BuildBatchConfig *types.ProjectBuildBatchConfig

	// Stores recently used information so that it can be quickly accessed at a later
	// time.
	Cache *types.ProjectCache

	// A description that makes the build project easy to identify.
	Description *string

	// The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
	// for encrypting the build output artifacts. You can use a cross-account KMS key
	// to encrypt the build output artifacts if your service role has permission to
	// that key. You can specify either the Amazon Resource Name (ARN) of the CMK or,
	// if available, the CMK's alias (using the format alias/).
	EncryptionKey *string

	// An array of ProjectFileSystemLocation objects for a CodeBuild build project. A
	// ProjectFileSystemLocation object specifies the identifier, location,
	// mountOptions, mountPoint, and type of a file system created using Amazon Elastic
	// File System.
	FileSystemLocations []types.ProjectFileSystemLocation

	// Information about logs for the build project. These can be logs in Amazon
	// CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
	LogsConfig *types.LogsConfig

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int32

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []types.ProjectArtifacts

	// An array of ProjectSourceVersion objects. If secondarySourceVersions is
	// specified at the build level, then they take precedence over these
	// secondarySourceVersions (at the project level).
	SecondarySourceVersions []types.ProjectSourceVersion

	// An array of ProjectSource objects.
	SecondarySources []types.ProjectSource

	// A version of the build input to be built for this project. If not specified, the
	// latest version is used. If specified, it must be one of:
	//
	// * For AWS CodeCommit:
	// the commit ID, branch, or Git tag to use.
	//
	// * For GitHub: the commit ID, pull
	// request ID, branch name, or tag name that corresponds to the version of the
	// source code you want to build. If a pull request ID is specified, it must use
	// the format pr/pull-request-ID (for example pr/25). If a branch name is
	// specified, the branch's HEAD commit ID is used. If not specified, the default
	// branch's HEAD commit ID is used.
	//
	// * For Bitbucket: the commit ID, branch name,
	// or tag name that corresponds to the version of the source code you want to
	// build. If a branch name is specified, the branch's HEAD commit ID is used. If
	// not specified, the default branch's HEAD commit ID is used.
	//
	// * For Amazon Simple
	// Storage Service (Amazon S3): the version ID of the object that represents the
	// build input ZIP file to use.
	//
	// If sourceVersion is specified at the build level,
	// then that version takes precedence over this sourceVersion (at the project
	// level). For more information, see Source Version Sample with CodeBuild
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string

	// A list of tag key and value pairs associated with this build project. These tags
	// are available for use by AWS services that support AWS CodeBuild build project
	// tags.
	Tags []types.Tag

	// How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before
	// it times out any build that has not been marked as completed. The default is 60
	// minutes.
	TimeoutInMinutes *int32

	// VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
	VpcConfig *types.VpcConfig
}

type CreateProjectOutput

type CreateProjectOutput struct {

	// Information about the build project that was created.
	Project *types.Project

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateReportGroupInput

type CreateReportGroupInput struct {

	// A ReportExportConfig object that contains information about where the report
	// group test results are exported.
	//
	// This member is required.
	ExportConfig *types.ReportExportConfig

	// The name of the report group.
	//
	// This member is required.
	Name *string

	// The type of report group.
	//
	// This member is required.
	Type types.ReportType

	// A list of tag key and value pairs associated with this report group. These tags
	// are available for use by AWS services that support AWS CodeBuild report group
	// tags.
	Tags []types.Tag
}

type CreateReportGroupOutput

type CreateReportGroupOutput struct {

	// Information about the report group that was created.
	ReportGroup *types.ReportGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateWebhookInput

type CreateWebhookInput struct {

	// The name of the AWS CodeBuild project.
	//
	// This member is required.
	ProjectName *string

	// A regular expression used to determine which repository branches are built when
	// a webhook is triggered. If the name of a branch matches the regular expression,
	// then it is built. If branchFilter is empty, then all branches are built. It is
	// recommended that you use filterGroups instead of branchFilter.
	BranchFilter *string

	// Specifies the type of build this webhook will trigger.
	BuildType types.WebhookBuildType

	// An array of arrays of WebhookFilter objects used to determine which webhooks are
	// triggered. At least one WebhookFilter in the array must specify EVENT as its
	// type. For a build to be triggered, at least one filter group in the filterGroups
	// array must pass. For a filter group to pass, each of its filters must pass.
	FilterGroups [][]types.WebhookFilter
}

type CreateWebhookOutput

type CreateWebhookOutput struct {

	// Information about a webhook that connects repository events to a build project
	// in AWS CodeBuild.
	Webhook *types.Webhook

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteBuildBatchInput

type DeleteBuildBatchInput struct {

	// The identifier of the batch build to delete.
	//
	// This member is required.
	Id *string
}

type DeleteBuildBatchOutput

type DeleteBuildBatchOutput struct {

	// An array of strings that contain the identifiers of the builds that were
	// deleted.
	BuildsDeleted []string

	// An array of BuildNotDeleted objects that specify the builds that could not be
	// deleted.
	BuildsNotDeleted []types.BuildNotDeleted

	// The status code.
	StatusCode *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteProjectInput

type DeleteProjectInput struct {

	// The name of the build project.
	//
	// This member is required.
	Name *string
}

type DeleteProjectOutput

type DeleteProjectOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteReportGroupInput

type DeleteReportGroupInput struct {

	// The ARN of the report group to delete.
	//
	// This member is required.
	Arn *string

	// If true, deletes any reports that belong to a report group before deleting the
	// report group. If false, you must delete any reports in the report group. Use
	// ListReportsForReportGroup
	// (https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html)
	// to get the reports in a report group. Use DeleteReport
	// (https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html)
	// to delete the reports. If you call DeleteReportGroup for a report group that
	// contains one or more reports, an exception is thrown.
	DeleteReports bool
}

type DeleteReportGroupOutput

type DeleteReportGroupOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteReportInput

type DeleteReportInput struct {

	// The ARN of the report to delete.
	//
	// This member is required.
	Arn *string
}

type DeleteReportOutput

type DeleteReportOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteResourcePolicyInput

type DeleteResourcePolicyInput struct {

	// The ARN of the resource that is associated with the resource policy.
	//
	// This member is required.
	ResourceArn *string
}

type DeleteResourcePolicyOutput

type DeleteResourcePolicyOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteSourceCredentialsInput

type DeleteSourceCredentialsInput struct {

	// The Amazon Resource Name (ARN) of the token.
	//
	// This member is required.
	Arn *string
}

type DeleteSourceCredentialsOutput

type DeleteSourceCredentialsOutput struct {

	// The Amazon Resource Name (ARN) of the token.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteWebhookInput

type DeleteWebhookInput struct {

	// The name of the AWS CodeBuild project.
	//
	// This member is required.
	ProjectName *string
}

type DeleteWebhookOutput

type DeleteWebhookOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeCodeCoveragesAPIClient

type DescribeCodeCoveragesAPIClient interface {
	DescribeCodeCoverages(context.Context, *DescribeCodeCoveragesInput, ...func(*Options)) (*DescribeCodeCoveragesOutput, error)
}

DescribeCodeCoveragesAPIClient is a client that implements the DescribeCodeCoverages operation.

type DescribeCodeCoveragesInput

type DescribeCodeCoveragesInput struct {

	// The ARN of the report for which test cases are returned.
	//
	// This member is required.
	ReportArn *string

	// The maximum line coverage percentage to report.
	MaxLineCoveragePercentage *float64

	// The maximum number of results to return.
	MaxResults *int32

	// The minimum line coverage percentage to report.
	MinLineCoveragePercentage *float64

	// The nextToken value returned from a previous call to DescribeCodeCoverages. This
	// specifies the next item to return. To return the beginning of the list, exclude
	// this parameter.
	NextToken *string

	// Specifies how the results are sorted. Possible values are: FILE_PATH The results
	// are sorted by file path. LINE_COVERAGE_PERCENTAGE The results are sorted by the
	// percentage of lines that are covered.
	SortBy types.ReportCodeCoverageSortByType

	// Specifies if the results are sorted in ascending or descending order.
	SortOrder types.SortOrderType
}

type DescribeCodeCoveragesOutput

type DescribeCodeCoveragesOutput struct {

	// An array of CodeCoverage objects that contain the results.
	CodeCoverages []types.CodeCoverage

	// If there are more items to return, this contains a token that is passed to a
	// subsequent call to DescribeCodeCoverages to retrieve the next set of items.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeCodeCoveragesPaginator

type DescribeCodeCoveragesPaginator struct {
	// contains filtered or unexported fields
}

DescribeCodeCoveragesPaginator is a paginator for DescribeCodeCoverages

func NewDescribeCodeCoveragesPaginator

NewDescribeCodeCoveragesPaginator returns a new DescribeCodeCoveragesPaginator

func (*DescribeCodeCoveragesPaginator) HasMorePages

func (p *DescribeCodeCoveragesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeCodeCoveragesPaginator) NextPage

NextPage retrieves the next DescribeCodeCoverages page.

type DescribeCodeCoveragesPaginatorOptions

type DescribeCodeCoveragesPaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeCodeCoveragesPaginatorOptions is the paginator options for DescribeCodeCoverages

type DescribeTestCasesAPIClient

type DescribeTestCasesAPIClient interface {
	DescribeTestCases(context.Context, *DescribeTestCasesInput, ...func(*Options)) (*DescribeTestCasesOutput, error)
}

DescribeTestCasesAPIClient is a client that implements the DescribeTestCases operation.

type DescribeTestCasesInput

type DescribeTestCasesInput struct {

	// The ARN of the report for which test cases are returned.
	//
	// This member is required.
	ReportArn *string

	// A TestCaseFilter object used to filter the returned reports.
	Filter *types.TestCaseFilter

	// The maximum number of paginated test cases returned per response. Use nextToken
	// to iterate pages in the list of returned TestCase objects. The default value is
	// 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string
}

type DescribeTestCasesOutput

type DescribeTestCasesOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The returned list of test cases.
	TestCases []types.TestCase

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeTestCasesPaginator

type DescribeTestCasesPaginator struct {
	// contains filtered or unexported fields
}

DescribeTestCasesPaginator is a paginator for DescribeTestCases

func NewDescribeTestCasesPaginator

func NewDescribeTestCasesPaginator(client DescribeTestCasesAPIClient, params *DescribeTestCasesInput, optFns ...func(*DescribeTestCasesPaginatorOptions)) *DescribeTestCasesPaginator

NewDescribeTestCasesPaginator returns a new DescribeTestCasesPaginator

func (*DescribeTestCasesPaginator) HasMorePages

func (p *DescribeTestCasesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeTestCasesPaginator) NextPage

func (p *DescribeTestCasesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeTestCasesOutput, error)

NextPage retrieves the next DescribeTestCases page.

type DescribeTestCasesPaginatorOptions

type DescribeTestCasesPaginatorOptions struct {
	// The maximum number of paginated test cases returned per response. Use nextToken
	// to iterate pages in the list of returned TestCase objects. The default value is
	// 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeTestCasesPaginatorOptions is the paginator options for DescribeTestCases

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type GetReportGroupTrendInput

type GetReportGroupTrendInput struct {

	// This member is required.
	ReportGroupArn *string

	// This member is required.
	TrendField types.ReportGroupTrendFieldType

	NumOfReports *int32
}

type GetReportGroupTrendOutput

type GetReportGroupTrendOutput struct {
	RawData []types.ReportWithRawData

	Stats *types.ReportGroupTrendStats

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetResourcePolicyInput

type GetResourcePolicyInput struct {

	// The ARN of the resource that is associated with the resource policy.
	//
	// This member is required.
	ResourceArn *string
}

type GetResourcePolicyOutput

type GetResourcePolicyOutput struct {

	// The resource policy for the resource identified by the input ARN parameter.
	Policy *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type ImportSourceCredentialsInput

type ImportSourceCredentialsInput struct {

	// The type of authentication used to connect to a GitHub, GitHub Enterprise, or
	// Bitbucket repository. An OAUTH connection is not supported by the API and must
	// be created using the AWS CodeBuild console.
	//
	// This member is required.
	AuthType types.AuthType

	// The source provider used for this project.
	//
	// This member is required.
	ServerType types.ServerType

	// For GitHub or GitHub Enterprise, this is the personal access token. For
	// Bitbucket, this is the app password.
	//
	// This member is required.
	Token *string

	// Set to false to prevent overwriting the repository source credentials. Set to
	// true to overwrite the repository source credentials. The default value is true.
	ShouldOverwrite *bool

	// The Bitbucket username when the authType is BASIC_AUTH. This parameter is not
	// valid for other types of source providers or connections.
	Username *string
}

type ImportSourceCredentialsOutput

type ImportSourceCredentialsOutput struct {

	// The Amazon Resource Name (ARN) of the token.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type InvalidateProjectCacheInput

type InvalidateProjectCacheInput struct {

	// The name of the AWS CodeBuild build project that the cache is reset for.
	//
	// This member is required.
	ProjectName *string
}

type InvalidateProjectCacheOutput

type InvalidateProjectCacheOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBuildBatchesAPIClient

type ListBuildBatchesAPIClient interface {
	ListBuildBatches(context.Context, *ListBuildBatchesInput, ...func(*Options)) (*ListBuildBatchesOutput, error)
}

ListBuildBatchesAPIClient is a client that implements the ListBuildBatches operation.

type ListBuildBatchesForProjectAPIClient

type ListBuildBatchesForProjectAPIClient interface {
	ListBuildBatchesForProject(context.Context, *ListBuildBatchesForProjectInput, ...func(*Options)) (*ListBuildBatchesForProjectOutput, error)
}

ListBuildBatchesForProjectAPIClient is a client that implements the ListBuildBatchesForProject operation.

type ListBuildBatchesForProjectInput

type ListBuildBatchesForProjectInput struct {

	// A BuildBatchFilter object that specifies the filters for the search.
	Filter *types.BuildBatchFilter

	// The maximum number of results to return.
	MaxResults *int32

	// The nextToken value returned from a previous call to ListBuildBatchesForProject.
	// This specifies the next item to return. To return the beginning of the list,
	// exclude this parameter.
	NextToken *string

	// The name of the project.
	ProjectName *string

	// Specifies the sort order of the returned items. Valid values include:
	//
	// *
	// ASCENDING: List the batch build identifiers in ascending order by identifier.
	//
	// *
	// DESCENDING: List the batch build identifiers in descending order by identifier.
	SortOrder types.SortOrderType
}

type ListBuildBatchesForProjectOutput

type ListBuildBatchesForProjectOutput struct {

	// An array of strings that contains the batch build identifiers.
	Ids []string

	// If there are more items to return, this contains a token that is passed to a
	// subsequent call to ListBuildBatchesForProject to retrieve the next set of items.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBuildBatchesForProjectPaginator

type ListBuildBatchesForProjectPaginator struct {
	// contains filtered or unexported fields
}

ListBuildBatchesForProjectPaginator is a paginator for ListBuildBatchesForProject

func NewListBuildBatchesForProjectPaginator

NewListBuildBatchesForProjectPaginator returns a new ListBuildBatchesForProjectPaginator

func (*ListBuildBatchesForProjectPaginator) HasMorePages

func (p *ListBuildBatchesForProjectPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBuildBatchesForProjectPaginator) NextPage

NextPage retrieves the next ListBuildBatchesForProject page.

type ListBuildBatchesForProjectPaginatorOptions

type ListBuildBatchesForProjectPaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBuildBatchesForProjectPaginatorOptions is the paginator options for ListBuildBatchesForProject

type ListBuildBatchesInput

type ListBuildBatchesInput struct {

	// A BuildBatchFilter object that specifies the filters for the search.
	Filter *types.BuildBatchFilter

	// The maximum number of results to return.
	MaxResults *int32

	// The nextToken value returned from a previous call to ListBuildBatches. This
	// specifies the next item to return. To return the beginning of the list, exclude
	// this parameter.
	NextToken *string

	// Specifies the sort order of the returned items. Valid values include:
	//
	// *
	// ASCENDING: List the batch build identifiers in ascending order by identifier.
	//
	// *
	// DESCENDING: List the batch build identifiers in descending order by identifier.
	SortOrder types.SortOrderType
}

type ListBuildBatchesOutput

type ListBuildBatchesOutput struct {

	// An array of strings that contains the batch build identifiers.
	Ids []string

	// If there are more items to return, this contains a token that is passed to a
	// subsequent call to ListBuildBatches to retrieve the next set of items.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBuildBatchesPaginator

type ListBuildBatchesPaginator struct {
	// contains filtered or unexported fields
}

ListBuildBatchesPaginator is a paginator for ListBuildBatches

func NewListBuildBatchesPaginator

func NewListBuildBatchesPaginator(client ListBuildBatchesAPIClient, params *ListBuildBatchesInput, optFns ...func(*ListBuildBatchesPaginatorOptions)) *ListBuildBatchesPaginator

NewListBuildBatchesPaginator returns a new ListBuildBatchesPaginator

func (*ListBuildBatchesPaginator) HasMorePages

func (p *ListBuildBatchesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBuildBatchesPaginator) NextPage

func (p *ListBuildBatchesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildBatchesOutput, error)

NextPage retrieves the next ListBuildBatches page.

type ListBuildBatchesPaginatorOptions

type ListBuildBatchesPaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBuildBatchesPaginatorOptions is the paginator options for ListBuildBatches

type ListBuildsAPIClient

type ListBuildsAPIClient interface {
	ListBuilds(context.Context, *ListBuildsInput, ...func(*Options)) (*ListBuildsOutput, error)
}

ListBuildsAPIClient is a client that implements the ListBuilds operation.

type ListBuildsForProjectAPIClient

type ListBuildsForProjectAPIClient interface {
	ListBuildsForProject(context.Context, *ListBuildsForProjectInput, ...func(*Options)) (*ListBuildsForProjectOutput, error)
}

ListBuildsForProjectAPIClient is a client that implements the ListBuildsForProject operation.

type ListBuildsForProjectInput

type ListBuildsForProjectInput struct {

	// The name of the AWS CodeBuild project.
	//
	// This member is required.
	ProjectName *string

	// During a previous call, if there are more than 100 items in the list, only the
	// first 100 items are returned, along with a unique string called a nextToken. To
	// get the next batch of items in the list, call this operation again, adding the
	// next token to the call. To get all of the items in the list, keep calling this
	// operation with each subsequent next token that is returned, until no more next
	// tokens are returned.
	NextToken *string

	// The order to list build IDs. Valid values include:
	//
	// * ASCENDING: List the build
	// IDs in ascending order by build ID.
	//
	// * DESCENDING: List the build IDs in
	// descending order by build ID.
	SortOrder types.SortOrderType
}

type ListBuildsForProjectOutput

type ListBuildsForProjectOutput struct {

	// A list of build IDs for the specified build project, with each build ID
	// representing a single build.
	Ids []string

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next batch
	// of items in the list, call this operation again, adding the next token to the
	// call.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBuildsForProjectPaginator

type ListBuildsForProjectPaginator struct {
	// contains filtered or unexported fields
}

ListBuildsForProjectPaginator is a paginator for ListBuildsForProject

func NewListBuildsForProjectPaginator

NewListBuildsForProjectPaginator returns a new ListBuildsForProjectPaginator

func (*ListBuildsForProjectPaginator) HasMorePages

func (p *ListBuildsForProjectPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBuildsForProjectPaginator) NextPage

NextPage retrieves the next ListBuildsForProject page.

type ListBuildsForProjectPaginatorOptions

type ListBuildsForProjectPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBuildsForProjectPaginatorOptions is the paginator options for ListBuildsForProject

type ListBuildsInput

type ListBuildsInput struct {

	// During a previous call, if there are more than 100 items in the list, only the
	// first 100 items are returned, along with a unique string called a nextToken. To
	// get the next batch of items in the list, call this operation again, adding the
	// next token to the call. To get all of the items in the list, keep calling this
	// operation with each subsequent next token that is returned, until no more next
	// tokens are returned.
	NextToken *string

	// The order to list build IDs. Valid values include:
	//
	// * ASCENDING: List the build
	// IDs in ascending order by build ID.
	//
	// * DESCENDING: List the build IDs in
	// descending order by build ID.
	SortOrder types.SortOrderType
}

type ListBuildsOutput

type ListBuildsOutput struct {

	// A list of build IDs, with each build ID representing a single build.
	Ids []string

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next batch
	// of items in the list, call this operation again, adding the next token to the
	// call.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListBuildsPaginator

type ListBuildsPaginator struct {
	// contains filtered or unexported fields
}

ListBuildsPaginator is a paginator for ListBuilds

func NewListBuildsPaginator

func NewListBuildsPaginator(client ListBuildsAPIClient, params *ListBuildsInput, optFns ...func(*ListBuildsPaginatorOptions)) *ListBuildsPaginator

NewListBuildsPaginator returns a new ListBuildsPaginator

func (*ListBuildsPaginator) HasMorePages

func (p *ListBuildsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBuildsPaginator) NextPage

func (p *ListBuildsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildsOutput, error)

NextPage retrieves the next ListBuilds page.

type ListBuildsPaginatorOptions

type ListBuildsPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBuildsPaginatorOptions is the paginator options for ListBuilds

type ListCuratedEnvironmentImagesInput

type ListCuratedEnvironmentImagesInput struct {
}

type ListCuratedEnvironmentImagesOutput

type ListCuratedEnvironmentImagesOutput struct {

	// Information about supported platforms for Docker images that are managed by AWS
	// CodeBuild.
	Platforms []types.EnvironmentPlatform

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListProjectsAPIClient

type ListProjectsAPIClient interface {
	ListProjects(context.Context, *ListProjectsInput, ...func(*Options)) (*ListProjectsOutput, error)
}

ListProjectsAPIClient is a client that implements the ListProjects operation.

type ListProjectsInput

type ListProjectsInput struct {

	// During a previous call, if there are more than 100 items in the list, only the
	// first 100 items are returned, along with a unique string called a nextToken. To
	// get the next batch of items in the list, call this operation again, adding the
	// next token to the call. To get all of the items in the list, keep calling this
	// operation with each subsequent next token that is returned, until no more next
	// tokens are returned.
	NextToken *string

	// The criterion to be used to list build project names. Valid values include:
	//
	// *
	// CREATED_TIME: List based on when each build project was created.
	//
	// *
	// LAST_MODIFIED_TIME: List based on when information about each build project was
	// last changed.
	//
	// * NAME: List based on each build project's name.
	//
	// Use sortOrder
	// to specify in what order to list the build project names based on the preceding
	// criteria.
	SortBy types.ProjectSortByType

	// The order in which to list build projects. Valid values include:
	//
	// * ASCENDING:
	// List in ascending order.
	//
	// * DESCENDING: List in descending order.
	//
	// Use sortBy to
	// specify the criterion to be used to list build project names.
	SortOrder types.SortOrderType
}

type ListProjectsOutput

type ListProjectsOutput struct {

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next batch
	// of items in the list, call this operation again, adding the next token to the
	// call.
	NextToken *string

	// The list of build project names, with each build project name representing a
	// single build project.
	Projects []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListProjectsPaginator

type ListProjectsPaginator struct {
	// contains filtered or unexported fields
}

ListProjectsPaginator is a paginator for ListProjects

func NewListProjectsPaginator

func NewListProjectsPaginator(client ListProjectsAPIClient, params *ListProjectsInput, optFns ...func(*ListProjectsPaginatorOptions)) *ListProjectsPaginator

NewListProjectsPaginator returns a new ListProjectsPaginator

func (*ListProjectsPaginator) HasMorePages

func (p *ListProjectsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListProjectsPaginator) NextPage

func (p *ListProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectsOutput, error)

NextPage retrieves the next ListProjects page.

type ListProjectsPaginatorOptions

type ListProjectsPaginatorOptions struct {
	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListProjectsPaginatorOptions is the paginator options for ListProjects

type ListReportGroupsAPIClient

type ListReportGroupsAPIClient interface {
	ListReportGroups(context.Context, *ListReportGroupsInput, ...func(*Options)) (*ListReportGroupsOutput, error)
}

ListReportGroupsAPIClient is a client that implements the ListReportGroups operation.

type ListReportGroupsInput

type ListReportGroupsInput struct {

	// The maximum number of paginated report groups returned per response. Use
	// nextToken to iterate pages in the list of returned ReportGroup objects. The
	// default value is 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The criterion to be used to list build report groups. Valid values include:
	//
	// *
	// CREATED_TIME: List based on when each report group was created.
	//
	// *
	// LAST_MODIFIED_TIME: List based on when each report group was last changed.
	//
	// *
	// NAME: List based on each report group's name.
	SortBy types.ReportGroupSortByType

	// Used to specify the order to sort the list of returned report groups. Valid
	// values are ASCENDING and DESCENDING.
	SortOrder types.SortOrderType
}

type ListReportGroupsOutput

type ListReportGroupsOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The list of ARNs for the report groups in the current AWS account.
	ReportGroups []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListReportGroupsPaginator

type ListReportGroupsPaginator struct {
	// contains filtered or unexported fields
}

ListReportGroupsPaginator is a paginator for ListReportGroups

func NewListReportGroupsPaginator

func NewListReportGroupsPaginator(client ListReportGroupsAPIClient, params *ListReportGroupsInput, optFns ...func(*ListReportGroupsPaginatorOptions)) *ListReportGroupsPaginator

NewListReportGroupsPaginator returns a new ListReportGroupsPaginator

func (*ListReportGroupsPaginator) HasMorePages

func (p *ListReportGroupsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListReportGroupsPaginator) NextPage

func (p *ListReportGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportGroupsOutput, error)

NextPage retrieves the next ListReportGroups page.

type ListReportGroupsPaginatorOptions

type ListReportGroupsPaginatorOptions struct {
	// The maximum number of paginated report groups returned per response. Use
	// nextToken to iterate pages in the list of returned ReportGroup objects. The
	// default value is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListReportGroupsPaginatorOptions is the paginator options for ListReportGroups

type ListReportsAPIClient

type ListReportsAPIClient interface {
	ListReports(context.Context, *ListReportsInput, ...func(*Options)) (*ListReportsOutput, error)
}

ListReportsAPIClient is a client that implements the ListReports operation.

type ListReportsForReportGroupAPIClient

type ListReportsForReportGroupAPIClient interface {
	ListReportsForReportGroup(context.Context, *ListReportsForReportGroupInput, ...func(*Options)) (*ListReportsForReportGroupOutput, error)
}

ListReportsForReportGroupAPIClient is a client that implements the ListReportsForReportGroup operation.

type ListReportsForReportGroupInput

type ListReportsForReportGroupInput struct {

	// The ARN of the report group for which you want to return report ARNs.
	//
	// This member is required.
	ReportGroupArn *string

	// A ReportFilter object used to filter the returned reports.
	Filter *types.ReportFilter

	// The maximum number of paginated reports in this report group returned per
	// response. Use nextToken to iterate pages in the list of returned Report objects.
	// The default value is 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// Use to specify whether the results are returned in ascending or descending
	// order.
	SortOrder types.SortOrderType
}

type ListReportsForReportGroupOutput

type ListReportsForReportGroupOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The list of report ARNs.
	Reports []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListReportsForReportGroupPaginator

type ListReportsForReportGroupPaginator struct {
	// contains filtered or unexported fields
}

ListReportsForReportGroupPaginator is a paginator for ListReportsForReportGroup

func NewListReportsForReportGroupPaginator

NewListReportsForReportGroupPaginator returns a new ListReportsForReportGroupPaginator

func (*ListReportsForReportGroupPaginator) HasMorePages

func (p *ListReportsForReportGroupPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListReportsForReportGroupPaginator) NextPage

NextPage retrieves the next ListReportsForReportGroup page.

type ListReportsForReportGroupPaginatorOptions

type ListReportsForReportGroupPaginatorOptions struct {
	// The maximum number of paginated reports in this report group returned per
	// response. Use nextToken to iterate pages in the list of returned Report objects.
	// The default value is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListReportsForReportGroupPaginatorOptions is the paginator options for ListReportsForReportGroup

type ListReportsInput

type ListReportsInput struct {

	// A ReportFilter object used to filter the returned reports.
	Filter *types.ReportFilter

	// The maximum number of paginated reports returned per response. Use nextToken to
	// iterate pages in the list of returned Report objects. The default value is 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// Specifies the sort order for the list of returned reports. Valid values are:
	//
	// *
	// ASCENDING: return reports in chronological order based on their creation
	// date.
	//
	// * DESCENDING: return reports in the reverse chronological order based on
	// their creation date.
	SortOrder types.SortOrderType
}

type ListReportsOutput

type ListReportsOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The list of returned ARNs for the reports in the current AWS account.
	Reports []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListReportsPaginator

type ListReportsPaginator struct {
	// contains filtered or unexported fields
}

ListReportsPaginator is a paginator for ListReports

func NewListReportsPaginator

func NewListReportsPaginator(client ListReportsAPIClient, params *ListReportsInput, optFns ...func(*ListReportsPaginatorOptions)) *ListReportsPaginator

NewListReportsPaginator returns a new ListReportsPaginator

func (*ListReportsPaginator) HasMorePages

func (p *ListReportsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListReportsPaginator) NextPage

func (p *ListReportsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportsOutput, error)

NextPage retrieves the next ListReports page.

type ListReportsPaginatorOptions

type ListReportsPaginatorOptions struct {
	// The maximum number of paginated reports returned per response. Use nextToken to
	// iterate pages in the list of returned Report objects. The default value is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListReportsPaginatorOptions is the paginator options for ListReports

type ListSharedProjectsAPIClient

type ListSharedProjectsAPIClient interface {
	ListSharedProjects(context.Context, *ListSharedProjectsInput, ...func(*Options)) (*ListSharedProjectsOutput, error)
}

ListSharedProjectsAPIClient is a client that implements the ListSharedProjects operation.

type ListSharedProjectsInput

type ListSharedProjectsInput struct {

	// The maximum number of paginated shared build projects returned per response. Use
	// nextToken to iterate pages in the list of returned Project objects. The default
	// value is 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The criterion to be used to list build projects shared with the current AWS
	// account or user. Valid values include:
	//
	// * ARN: List based on the ARN.
	//
	// *
	// MODIFIED_TIME: List based on when information about the shared project was last
	// changed.
	SortBy types.SharedResourceSortByType

	// The order in which to list shared build projects. Valid values include:
	//
	// *
	// ASCENDING: List in ascending order.
	//
	// * DESCENDING: List in descending order.
	SortOrder types.SortOrderType
}

type ListSharedProjectsOutput

type ListSharedProjectsOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The list of ARNs for the build projects shared with the current AWS account or
	// user.
	Projects []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListSharedProjectsPaginator

type ListSharedProjectsPaginator struct {
	// contains filtered or unexported fields
}

ListSharedProjectsPaginator is a paginator for ListSharedProjects

func NewListSharedProjectsPaginator

func NewListSharedProjectsPaginator(client ListSharedProjectsAPIClient, params *ListSharedProjectsInput, optFns ...func(*ListSharedProjectsPaginatorOptions)) *ListSharedProjectsPaginator

NewListSharedProjectsPaginator returns a new ListSharedProjectsPaginator

func (*ListSharedProjectsPaginator) HasMorePages

func (p *ListSharedProjectsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListSharedProjectsPaginator) NextPage

func (p *ListSharedProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSharedProjectsOutput, error)

NextPage retrieves the next ListSharedProjects page.

type ListSharedProjectsPaginatorOptions

type ListSharedProjectsPaginatorOptions struct {
	// The maximum number of paginated shared build projects returned per response. Use
	// nextToken to iterate pages in the list of returned Project objects. The default
	// value is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListSharedProjectsPaginatorOptions is the paginator options for ListSharedProjects

type ListSharedReportGroupsAPIClient

type ListSharedReportGroupsAPIClient interface {
	ListSharedReportGroups(context.Context, *ListSharedReportGroupsInput, ...func(*Options)) (*ListSharedReportGroupsOutput, error)
}

ListSharedReportGroupsAPIClient is a client that implements the ListSharedReportGroups operation.

type ListSharedReportGroupsInput

type ListSharedReportGroupsInput struct {

	// The maximum number of paginated shared report groups per response. Use nextToken
	// to iterate pages in the list of returned ReportGroup objects. The default value
	// is 100.
	MaxResults *int32

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The criterion to be used to list report groups shared with the current AWS
	// account or user. Valid values include:
	//
	// * ARN: List based on the ARN.
	//
	// *
	// MODIFIED_TIME: List based on when information about the shared report group was
	// last changed.
	SortBy types.SharedResourceSortByType

	// The order in which to list shared report groups. Valid values include:
	//
	// *
	// ASCENDING: List in ascending order.
	//
	// * DESCENDING: List in descending order.
	SortOrder types.SortOrderType
}

type ListSharedReportGroupsOutput

type ListSharedReportGroupsOutput struct {

	// During a previous call, the maximum number of items that can be returned is the
	// value specified in maxResults. If there more items in the list, then a unique
	// string called a nextToken is returned. To get the next batch of items in the
	// list, call this operation again, adding the next token to the call. To get all
	// of the items in the list, keep calling this operation with each subsequent next
	// token that is returned, until no more next tokens are returned.
	NextToken *string

	// The list of ARNs for the report groups shared with the current AWS account or
	// user.
	ReportGroups []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListSharedReportGroupsPaginator

type ListSharedReportGroupsPaginator struct {
	// contains filtered or unexported fields
}

ListSharedReportGroupsPaginator is a paginator for ListSharedReportGroups

func NewListSharedReportGroupsPaginator

NewListSharedReportGroupsPaginator returns a new ListSharedReportGroupsPaginator

func (*ListSharedReportGroupsPaginator) HasMorePages

func (p *ListSharedReportGroupsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListSharedReportGroupsPaginator) NextPage

NextPage retrieves the next ListSharedReportGroups page.

type ListSharedReportGroupsPaginatorOptions

type ListSharedReportGroupsPaginatorOptions struct {
	// The maximum number of paginated shared report groups per response. Use nextToken
	// to iterate pages in the list of returned ReportGroup objects. The default value
	// is 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListSharedReportGroupsPaginatorOptions is the paginator options for ListSharedReportGroups

type ListSourceCredentialsInput

type ListSourceCredentialsInput struct {
}

type ListSourceCredentialsOutput

type ListSourceCredentialsOutput struct {

	// A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object
	// includes the authentication type, token ARN, and type of source provider for one
	// set of credentials.
	SourceCredentialsInfos []types.SourceCredentialsInfo

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions EndpointResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer aws.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

type PutResourcePolicyInput

type PutResourcePolicyInput struct {

	// A JSON-formatted resource policy. For more information, see Sharing a Project
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share)
	// and Sharing a Report Group
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share)
	// in the AWS CodeBuild User Guide.
	//
	// This member is required.
	Policy *string

	// The ARN of the Project or ReportGroup resource you want to associate with a
	// resource policy.
	//
	// This member is required.
	ResourceArn *string
}

type PutResourcePolicyOutput

type PutResourcePolicyOutput struct {

	// The ARN of the Project or ReportGroup resource that is associated with a
	// resource policy.
	ResourceArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type RetryBuildBatchInput

type RetryBuildBatchInput struct {

	// Specifies the identifier of the batch build to restart.
	Id *string

	// A unique, case sensitive identifier you provide to ensure the idempotency of the
	// RetryBuildBatch request. The token is included in the RetryBuildBatch request
	// and is valid for five minutes. If you repeat the RetryBuildBatch request with
	// the same token, but change a parameter, AWS CodeBuild returns a parameter
	// mismatch error.
	IdempotencyToken *string

	// Specifies the type of retry to perform.
	RetryType types.RetryBuildBatchType
}

type RetryBuildBatchOutput

type RetryBuildBatchOutput struct {

	// Contains information about a batch build.
	BuildBatch *types.BuildBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type RetryBuildInput

type RetryBuildInput struct {

	// Specifies the identifier of the build to restart.
	Id *string

	// A unique, case sensitive identifier you provide to ensure the idempotency of the
	// RetryBuild request. The token is included in the RetryBuild request and is valid
	// for five minutes. If you repeat the RetryBuild request with the same token, but
	// change a parameter, AWS CodeBuild returns a parameter mismatch error.
	IdempotencyToken *string
}

type RetryBuildOutput

type RetryBuildOutput struct {

	// Information about a build.
	Build *types.Build

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StartBuildBatchInput

type StartBuildBatchInput struct {

	// The name of the project.
	//
	// This member is required.
	ProjectName *string

	// An array of ProjectArtifacts objects that contains information about the build
	// output artifact overrides for the build project.
	ArtifactsOverride *types.ProjectArtifacts

	// A BuildBatchConfigOverride object that contains batch build configuration
	// overrides.
	BuildBatchConfigOverride *types.ProjectBuildBatchConfig

	// Overrides the build timeout specified in the batch build project.
	BuildTimeoutInMinutesOverride *int32

	// A buildspec file declaration that overrides, for this build only, the latest one
	// already defined in the build project. If this value is set, it can be either an
	// inline buildspec definition, the path to an alternate buildspec file relative to
	// the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to
	// an S3 bucket. The bucket must be in the same AWS Region as the build project.
	// Specify the buildspec file using its ARN (for example,
	// arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided
	// or is set to an empty string, the source code must contain a buildspec file in
	// its root directory. For more information, see Buildspec File Name and Storage
	// Location
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage).
	BuildspecOverride *string

	// A ProjectCache object that specifies cache overrides.
	CacheOverride *types.ProjectCache

	// The name of a certificate for this batch build that overrides the one specified
	// in the batch build project.
	CertificateOverride *string

	// The name of a compute type for this batch build that overrides the one specified
	// in the batch build project.
	ComputeTypeOverride types.ComputeType

	// The AWS Key Management Service (AWS KMS) customer master key (CMK) that
	// overrides the one specified in the batch build project. The CMK key encrypts the
	// build output artifacts. You can use a cross-account KMS key to encrypt the build
	// output artifacts if your service role has permission to that key. You can
	// specify either the Amazon Resource Name (ARN) of the CMK or, if available, the
	// CMK's alias (using the format alias/).
	EncryptionKeyOverride *string

	// A container type for this batch build that overrides the one specified in the
	// batch build project.
	EnvironmentTypeOverride types.EnvironmentType

	// An array of EnvironmentVariable objects that override, or add to, the
	// environment variables defined in the batch build project.
	EnvironmentVariablesOverride []types.EnvironmentVariable

	// The user-defined depth of history, with a minimum value of 0, that overrides,
	// for this batch build only, any previous depth of history defined in the batch
	// build project.
	GitCloneDepthOverride *int32

	// A GitSubmodulesConfig object that overrides the Git submodules configuration for
	// this batch build.
	GitSubmodulesConfigOverride *types.GitSubmodulesConfig

	// A unique, case sensitive identifier you provide to ensure the idempotency of the
	// StartBuildBatch request. The token is included in the StartBuildBatch request
	// and is valid for five minutes. If you repeat the StartBuildBatch request with
	// the same token, but change a parameter, AWS CodeBuild returns a parameter
	// mismatch error.
	IdempotencyToken *string

	// The name of an image for this batch build that overrides the one specified in
	// the batch build project.
	ImageOverride *string

	// The type of credentials AWS CodeBuild uses to pull images in your batch build.
	// There are two valid values: CODEBUILD Specifies that AWS CodeBuild uses its own
	// credentials. This requires that you modify your ECR repository policy to trust
	// AWS CodeBuild's service principal. SERVICE_ROLE Specifies that AWS CodeBuild
	// uses your build project's service role. When using a cross-account or private
	// registry image, you must use SERVICE_ROLE credentials. When using an AWS
	// CodeBuild curated image, you must use CODEBUILD credentials.
	ImagePullCredentialsTypeOverride types.ImagePullCredentialsType

	// Enable this flag to override the insecure SSL setting that is specified in the
	// batch build project. The insecure SSL setting determines whether to ignore SSL
	// warnings while connecting to the project source code. This override applies only
	// if the build's source is GitHub Enterprise.
	InsecureSslOverride *bool

	// A LogsConfig object that override the log settings defined in the batch build
	// project.
	LogsConfigOverride *types.LogsConfig

	// Enable this flag to override privileged mode in the batch build project.
	PrivilegedModeOverride *bool

	// The number of minutes a batch build is allowed to be queued before it times out.
	QueuedTimeoutInMinutesOverride *int32

	// A RegistryCredential object that overrides credentials for access to a private
	// registry.
	RegistryCredentialOverride *types.RegistryCredential

	// Set to true to report to your source provider the status of a batch build's
	// start and completion. If you use this option with a source provider other than
	// GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown. The
	// status of a build triggered by a webhook is always reported to your source
	// provider.
	ReportBuildBatchStatusOverride *bool

	// An array of ProjectArtifacts objects that override the secondary artifacts
	// defined in the batch build project.
	SecondaryArtifactsOverride []types.ProjectArtifacts

	// An array of ProjectSource objects that override the secondary sources defined in
	// the batch build project.
	SecondarySourcesOverride []types.ProjectSource

	// An array of ProjectSourceVersion objects that override the secondary source
	// versions in the batch build project.
	SecondarySourcesVersionOverride []types.ProjectSourceVersion

	// The name of a service role for this batch build that overrides the one specified
	// in the batch build project.
	ServiceRoleOverride *string

	// A SourceAuth object that overrides the one defined in the batch build project.
	// This override applies only if the build project's source is BitBucket or GitHub.
	SourceAuthOverride *types.SourceAuth

	// A location that overrides, for this batch build, the source location defined in
	// the batch build project.
	SourceLocationOverride *string

	// The source input type that overrides the source input defined in the batch build
	// project.
	SourceTypeOverride types.SourceType

	// The version of the batch build input to be built, for this build only. If not
	// specified, the latest version is used. If specified, the contents depends on the
	// source provider: AWS CodeCommit The commit ID, branch, or Git tag to use. GitHub
	// The commit ID, pull request ID, branch name, or tag name that corresponds to the
	// version of the source code you want to build. If a pull request ID is specified,
	// it must use the format pr/pull-request-ID (for example pr/25). If a branch name
	// is specified, the branch's HEAD commit ID is used. If not specified, the default
	// branch's HEAD commit ID is used. Bitbucket The commit ID, branch name, or tag
	// name that corresponds to the version of the source code you want to build. If a
	// branch name is specified, the branch's HEAD commit ID is used. If not specified,
	// the default branch's HEAD commit ID is used. Amazon Simple Storage Service
	// (Amazon S3) The version ID of the object that represents the build input ZIP
	// file to use. If sourceVersion is specified at the project level, then this
	// sourceVersion (at the build level) takes precedence. For more information, see
	// Source Version Sample with CodeBuild
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string
}

type StartBuildBatchOutput

type StartBuildBatchOutput struct {

	// A BuildBatch object that contains information about the batch build.
	BuildBatch *types.BuildBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StartBuildInput

type StartBuildInput struct {

	// The name of the AWS CodeBuild build project to start running a build.
	//
	// This member is required.
	ProjectName *string

	// Build output artifact settings that override, for this build only, the latest
	// ones already defined in the build project.
	ArtifactsOverride *types.ProjectArtifacts

	// Contains information that defines how the build project reports the build status
	// to the source provider. This option is only used when the source provider is
	// GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
	BuildStatusConfigOverride *types.BuildStatusConfig

	// A buildspec file declaration that overrides, for this build only, the latest one
	// already defined in the build project. If this value is set, it can be either an
	// inline buildspec definition, the path to an alternate buildspec file relative to
	// the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to
	// an S3 bucket. The bucket must be in the same AWS Region as the build project.
	// Specify the buildspec file using its ARN (for example,
	// arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided
	// or is set to an empty string, the source code must contain a buildspec file in
	// its root directory. For more information, see Buildspec File Name and Storage
	// Location
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage).
	BuildspecOverride *string

	// A ProjectCache object specified for this build that overrides the one defined in
	// the build project.
	CacheOverride *types.ProjectCache

	// The name of a certificate for this build that overrides the one specified in the
	// build project.
	CertificateOverride *string

	// The name of a compute type for this build that overrides the one specified in
	// the build project.
	ComputeTypeOverride types.ComputeType

	// Specifies if session debugging is enabled for this build. For more information,
	// see Viewing a running build in Session Manager
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html).
	DebugSessionEnabled *bool

	// The AWS Key Management Service (AWS KMS) customer master key (CMK) that
	// overrides the one specified in the build project. The CMK key encrypts the build
	// output artifacts. You can use a cross-account KMS key to encrypt the build
	// output artifacts if your service role has permission to that key. You can
	// specify either the Amazon Resource Name (ARN) of the CMK or, if available, the
	// CMK's alias (using the format alias/).
	EncryptionKeyOverride *string

	// A container type for this build that overrides the one specified in the build
	// project.
	EnvironmentTypeOverride types.EnvironmentType

	// A set of environment variables that overrides, for this build only, the latest
	// ones already defined in the build project.
	EnvironmentVariablesOverride []types.EnvironmentVariable

	// The user-defined depth of history, with a minimum value of 0, that overrides,
	// for this build only, any previous depth of history defined in the build project.
	GitCloneDepthOverride *int32

	// Information about the Git submodules configuration for this build of an AWS
	// CodeBuild build project.
	GitSubmodulesConfigOverride *types.GitSubmodulesConfig

	// A unique, case sensitive identifier you provide to ensure the idempotency of the
	// StartBuild request. The token is included in the StartBuild request and is valid
	// for 5 minutes. If you repeat the StartBuild request with the same token, but
	// change a parameter, AWS CodeBuild returns a parameter mismatch error.
	IdempotencyToken *string

	// The name of an image for this build that overrides the one specified in the
	// build project.
	ImageOverride *string

	// The type of credentials AWS CodeBuild uses to pull images in your build. There
	// are two valid values: CODEBUILD Specifies that AWS CodeBuild uses its own
	// credentials. This requires that you modify your ECR repository policy to trust
	// AWS CodeBuild's service principal. SERVICE_ROLE Specifies that AWS CodeBuild
	// uses your build project's service role. When using a cross-account or private
	// registry image, you must use SERVICE_ROLE credentials. When using an AWS
	// CodeBuild curated image, you must use CODEBUILD credentials.
	ImagePullCredentialsTypeOverride types.ImagePullCredentialsType

	// Enable this flag to override the insecure SSL setting that is specified in the
	// build project. The insecure SSL setting determines whether to ignore SSL
	// warnings while connecting to the project source code. This override applies only
	// if the build's source is GitHub Enterprise.
	InsecureSslOverride *bool

	// Log settings for this build that override the log settings defined in the build
	// project.
	LogsConfigOverride *types.LogsConfig

	// Enable this flag to override privileged mode in the build project.
	PrivilegedModeOverride *bool

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutesOverride *int32

	// The credentials for access to a private registry.
	RegistryCredentialOverride *types.RegistryCredential

	// Set to true to report to your source provider the status of a build's start and
	// completion. If you use this option with a source provider other than GitHub,
	// GitHub Enterprise, or Bitbucket, an invalidInputException is thrown. The status
	// of a build triggered by a webhook is always reported to your source provider.
	ReportBuildStatusOverride *bool

	// An array of ProjectArtifacts objects.
	SecondaryArtifactsOverride []types.ProjectArtifacts

	// An array of ProjectSource objects.
	SecondarySourcesOverride []types.ProjectSource

	// An array of ProjectSourceVersion objects that specify one or more versions of
	// the project's secondary sources to be used for this build only.
	SecondarySourcesVersionOverride []types.ProjectSourceVersion

	// The name of a service role for this build that overrides the one specified in
	// the build project.
	ServiceRoleOverride *string

	// An authorization type for this build that overrides the one defined in the build
	// project. This override applies only if the build project's source is BitBucket
	// or GitHub.
	SourceAuthOverride *types.SourceAuth

	// A location that overrides, for this build, the source location for the one
	// defined in the build project.
	SourceLocationOverride *string

	// A source input type, for this build, that overrides the source input defined in
	// the build project.
	SourceTypeOverride types.SourceType

	// The version of the build input to be built, for this build only. If not
	// specified, the latest version is used. If specified, the contents depends on the
	// source provider: AWS CodeCommit The commit ID, branch, or Git tag to use. GitHub
	// The commit ID, pull request ID, branch name, or tag name that corresponds to the
	// version of the source code you want to build. If a pull request ID is specified,
	// it must use the format pr/pull-request-ID (for example pr/25). If a branch name
	// is specified, the branch's HEAD commit ID is used. If not specified, the default
	// branch's HEAD commit ID is used. Bitbucket The commit ID, branch name, or tag
	// name that corresponds to the version of the source code you want to build. If a
	// branch name is specified, the branch's HEAD commit ID is used. If not specified,
	// the default branch's HEAD commit ID is used. Amazon Simple Storage Service
	// (Amazon S3) The version ID of the object that represents the build input ZIP
	// file to use. If sourceVersion is specified at the project level, then this
	// sourceVersion (at the build level) takes precedence. For more information, see
	// Source Version Sample with CodeBuild
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string

	// The number of build timeout minutes, from 5 to 480 (8 hours), that overrides,
	// for this build only, the latest setting already defined in the build project.
	TimeoutInMinutesOverride *int32
}

type StartBuildOutput

type StartBuildOutput struct {

	// Information about the build to be run.
	Build *types.Build

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopBuildBatchInput

type StopBuildBatchInput struct {

	// The identifier of the batch build to stop.
	//
	// This member is required.
	Id *string
}

type StopBuildBatchOutput

type StopBuildBatchOutput struct {

	// Contains information about a batch build.
	BuildBatch *types.BuildBatch

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopBuildInput

type StopBuildInput struct {

	// The ID of the build.
	//
	// This member is required.
	Id *string
}

type StopBuildOutput

type StopBuildOutput struct {

	// Information about the build.
	Build *types.Build

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateProjectInput

type UpdateProjectInput struct {

	// The name of the build project. You cannot change a build project's name.
	//
	// This member is required.
	Name *string

	// Information to be changed about the build output artifacts for the build
	// project.
	Artifacts *types.ProjectArtifacts

	// Set this to true to generate a publicly accessible URL for your project's build
	// badge.
	BadgeEnabled *bool

	// Contains configuration information about a batch build project.
	BuildBatchConfig *types.ProjectBuildBatchConfig

	// Stores recently used information so that it can be quickly accessed at a later
	// time.
	Cache *types.ProjectCache

	// A new or replacement description of the build project.
	Description *string

	// The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used
	// for encrypting the build output artifacts. You can use a cross-account KMS key
	// to encrypt the build output artifacts if your service role has permission to
	// that key. You can specify either the Amazon Resource Name (ARN) of the CMK or,
	// if available, the CMK's alias (using the format alias/).
	EncryptionKey *string

	// Information to be changed about the build environment for the build project.
	Environment *types.ProjectEnvironment

	// An array of ProjectFileSystemLocation objects for a CodeBuild build project. A
	// ProjectFileSystemLocation object specifies the identifier, location,
	// mountOptions, mountPoint, and type of a file system created using Amazon Elastic
	// File System.
	FileSystemLocations []types.ProjectFileSystemLocation

	// Information about logs for the build project. A project can create logs in
	// Amazon CloudWatch Logs, logs in an S3 bucket, or both.
	LogsConfig *types.LogsConfig

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int32

	// An array of ProjectSource objects.
	SecondaryArtifacts []types.ProjectArtifacts

	// An array of ProjectSourceVersion objects. If secondarySourceVersions is
	// specified at the build level, then they take over these secondarySourceVersions
	// (at the project level).
	SecondarySourceVersions []types.ProjectSourceVersion

	// An array of ProjectSource objects.
	SecondarySources []types.ProjectSource

	// The replacement ARN of the AWS Identity and Access Management (IAM) role that
	// enables AWS CodeBuild to interact with dependent AWS services on behalf of the
	// AWS account.
	ServiceRole *string

	// Information to be changed about the build input source code for the build
	// project.
	Source *types.ProjectSource

	// A version of the build input to be built for this project. If not specified, the
	// latest version is used. If specified, it must be one of:
	//
	// * For AWS CodeCommit:
	// the commit ID, branch, or Git tag to use.
	//
	// * For GitHub: the commit ID, pull
	// request ID, branch name, or tag name that corresponds to the version of the
	// source code you want to build. If a pull request ID is specified, it must use
	// the format pr/pull-request-ID (for example pr/25). If a branch name is
	// specified, the branch's HEAD commit ID is used. If not specified, the default
	// branch's HEAD commit ID is used.
	//
	// * For Bitbucket: the commit ID, branch name,
	// or tag name that corresponds to the version of the source code you want to
	// build. If a branch name is specified, the branch's HEAD commit ID is used. If
	// not specified, the default branch's HEAD commit ID is used.
	//
	// * For Amazon Simple
	// Storage Service (Amazon S3): the version ID of the object that represents the
	// build input ZIP file to use.
	//
	// If sourceVersion is specified at the build level,
	// then that version takes precedence over this sourceVersion (at the project
	// level). For more information, see Source Version Sample with CodeBuild
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string

	// An updated list of tag key and value pairs associated with this build project.
	// These tags are available for use by AWS services that support AWS CodeBuild
	// build project tags.
	Tags []types.Tag

	// The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
	// wait before timing out any related build that did not get marked as completed.
	TimeoutInMinutes *int32

	// VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
	VpcConfig *types.VpcConfig
}

type UpdateProjectOutput

type UpdateProjectOutput struct {

	// Information about the build project that was changed.
	Project *types.Project

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateReportGroupInput

type UpdateReportGroupInput struct {

	// The ARN of the report group to update.
	//
	// This member is required.
	Arn *string

	// Used to specify an updated export type. Valid values are:
	//
	// * S3: The report
	// results are exported to an S3 bucket.
	//
	// * NO_EXPORT: The report results are not
	// exported.
	ExportConfig *types.ReportExportConfig

	// An updated list of tag key and value pairs associated with this report group.
	// These tags are available for use by AWS services that support AWS CodeBuild
	// report group tags.
	Tags []types.Tag
}

type UpdateReportGroupOutput

type UpdateReportGroupOutput struct {

	// Information about the updated report group.
	ReportGroup *types.ReportGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateWebhookInput

type UpdateWebhookInput struct {

	// The name of the AWS CodeBuild project.
	//
	// This member is required.
	ProjectName *string

	// A regular expression used to determine which repository branches are built when
	// a webhook is triggered. If the name of a branch matches the regular expression,
	// then it is built. If branchFilter is empty, then all branches are built. It is
	// recommended that you use filterGroups instead of branchFilter.
	BranchFilter *string

	// Specifies the type of build this webhook will trigger.
	BuildType types.WebhookBuildType

	// An array of arrays of WebhookFilter objects used to determine if a webhook event
	// can trigger a build. A filter group must contain at least one
	// EVENTWebhookFilter.
	FilterGroups [][]types.WebhookFilter

	// A boolean value that specifies whether the associated GitHub repository's secret
	// token should be updated. If you use Bitbucket for your repository, rotateSecret
	// is ignored.
	RotateSecret bool
}

type UpdateWebhookOutput

type UpdateWebhookOutput struct {

	// Information about a repository's webhook that is associated with a project in
	// AWS CodeBuild.
	Webhook *types.Webhook

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Source Files

api_client.go api_op_BatchDeleteBuilds.go api_op_BatchGetBuildBatches.go api_op_BatchGetBuilds.go api_op_BatchGetProjects.go api_op_BatchGetReportGroups.go api_op_BatchGetReports.go api_op_CreateProject.go api_op_CreateReportGroup.go api_op_CreateWebhook.go api_op_DeleteBuildBatch.go api_op_DeleteProject.go api_op_DeleteReport.go api_op_DeleteReportGroup.go api_op_DeleteResourcePolicy.go api_op_DeleteSourceCredentials.go api_op_DeleteWebhook.go api_op_DescribeCodeCoverages.go api_op_DescribeTestCases.go api_op_GetReportGroupTrend.go api_op_GetResourcePolicy.go api_op_ImportSourceCredentials.go api_op_InvalidateProjectCache.go api_op_ListBuildBatches.go api_op_ListBuildBatchesForProject.go api_op_ListBuilds.go api_op_ListBuildsForProject.go api_op_ListCuratedEnvironmentImages.go api_op_ListProjects.go api_op_ListReportGroups.go api_op_ListReports.go api_op_ListReportsForReportGroup.go api_op_ListSharedProjects.go api_op_ListSharedReportGroups.go api_op_ListSourceCredentials.go api_op_PutResourcePolicy.go api_op_RetryBuild.go api_op_RetryBuildBatch.go api_op_StartBuild.go api_op_StartBuildBatch.go api_op_StopBuild.go api_op_StopBuildBatch.go api_op_UpdateProject.go api_op_UpdateReportGroup.go api_op_UpdateWebhook.go deserializers.go doc.go endpoints.go serializers.go validators.go

Directories

PathSynopsis
internal
types
Version
v1.1.0
Published
Jan 29, 2021
Platform
darwin/amd64
Imports
27 packages
Last checked
now

Tools for package owners.