codebuild

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 64

Documentation

Overview

Package codebuild provides the client and types for making API requests to 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.

See https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06 for more information on this service.

See codebuild package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codebuild/

Using the Client

To use AWS CodeBuild with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeBuild client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codebuild/#New

Index

Examples

Constants

View Source
const (
	ServiceName = "AWS CodeBuild" // Service's name
	ServiceID   = "CodeBuild"     // Service's identifier
	EndpointsID = "codebuild"     // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccountLimitExceededException for service response error code
	// "AccountLimitExceededException".
	//
	// An AWS service limit was exceeded for the calling AWS account.
	ErrCodeAccountLimitExceededException = "AccountLimitExceededException"

	// ErrCodeInvalidInputException for service response error code
	// "InvalidInputException".
	//
	// The input value that was provided is not valid.
	ErrCodeInvalidInputException = "InvalidInputException"

	// ErrCodeOAuthProviderException for service response error code
	// "OAuthProviderException".
	//
	// There was a problem with the underlying OAuth provider.
	ErrCodeOAuthProviderException = "OAuthProviderException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The specified AWS resource cannot be created, because an AWS resource with
	// the same settings already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified AWS resource cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactNamespace

type ArtifactNamespace string
const (
	ArtifactNamespaceNone    ArtifactNamespace = "NONE"
	ArtifactNamespaceBuildId ArtifactNamespace = "BUILD_ID"
)

Enum values for ArtifactNamespace

func (ArtifactNamespace) MarshalValue added in v0.3.0

func (enum ArtifactNamespace) MarshalValue() (string, error)

func (ArtifactNamespace) MarshalValueBuf added in v0.3.0

func (enum ArtifactNamespace) MarshalValueBuf(b []byte) ([]byte, error)

type ArtifactPackaging

type ArtifactPackaging string
const (
	ArtifactPackagingNone ArtifactPackaging = "NONE"
	ArtifactPackagingZip  ArtifactPackaging = "ZIP"
)

Enum values for ArtifactPackaging

func (ArtifactPackaging) MarshalValue added in v0.3.0

func (enum ArtifactPackaging) MarshalValue() (string, error)

func (ArtifactPackaging) MarshalValueBuf added in v0.3.0

func (enum ArtifactPackaging) MarshalValueBuf(b []byte) ([]byte, error)

type ArtifactsType

type ArtifactsType string
const (
	ArtifactsTypeCodepipeline ArtifactsType = "CODEPIPELINE"
	ArtifactsTypeS3           ArtifactsType = "S3"
	ArtifactsTypeNoArtifacts  ArtifactsType = "NO_ARTIFACTS"
)

Enum values for ArtifactsType

func (ArtifactsType) MarshalValue added in v0.3.0

func (enum ArtifactsType) MarshalValue() (string, error)

func (ArtifactsType) MarshalValueBuf added in v0.3.0

func (enum ArtifactsType) MarshalValueBuf(b []byte) ([]byte, error)

type AuthType added in v0.7.0

type AuthType string
const (
	AuthTypeOauth               AuthType = "OAUTH"
	AuthTypeBasicAuth           AuthType = "BASIC_AUTH"
	AuthTypePersonalAccessToken AuthType = "PERSONAL_ACCESS_TOKEN"
)

Enum values for AuthType

func (AuthType) MarshalValue added in v0.7.0

func (enum AuthType) MarshalValue() (string, error)

func (AuthType) MarshalValueBuf added in v0.7.0

func (enum AuthType) MarshalValueBuf(b []byte) ([]byte, error)

type BatchDeleteBuildsInput

type BatchDeleteBuildsInput struct {

	// The IDs of the builds to delete.
	//
	// Ids is a required field
	Ids []string `locationName:"ids" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteBuildsInput) String

func (s BatchDeleteBuildsInput) String() string

String returns the string representation

func (*BatchDeleteBuildsInput) Validate

func (s *BatchDeleteBuildsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchDeleteBuildsOutput

type BatchDeleteBuildsOutput struct {

	// The IDs of the builds that were successfully deleted.
	BuildsDeleted []string `locationName:"buildsDeleted" min:"1" type:"list"`

	// Information about any builds that could not be successfully deleted.
	BuildsNotDeleted []BuildNotDeleted `locationName:"buildsNotDeleted" type:"list"`
	// contains filtered or unexported fields
}

func (BatchDeleteBuildsOutput) String

func (s BatchDeleteBuildsOutput) String() string

String returns the string representation

type BatchDeleteBuildsRequest

type BatchDeleteBuildsRequest struct {
	*aws.Request
	Input *BatchDeleteBuildsInput
	Copy  func(*BatchDeleteBuildsInput) BatchDeleteBuildsRequest
}

BatchDeleteBuildsRequest is the request type for the BatchDeleteBuilds API operation.

func (BatchDeleteBuildsRequest) Send

Send marshals and sends the BatchDeleteBuilds API request.

type BatchDeleteBuildsResponse added in v0.9.0

type BatchDeleteBuildsResponse struct {
	*BatchDeleteBuildsOutput
	// contains filtered or unexported fields
}

BatchDeleteBuildsResponse is the response type for the BatchDeleteBuilds API operation.

func (*BatchDeleteBuildsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchDeleteBuildsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchDeleteBuilds request.

type BatchGetBuildsInput

type BatchGetBuildsInput struct {

	// The IDs of the builds.
	//
	// Ids is a required field
	Ids []string `locationName:"ids" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetBuildsInput) String

func (s BatchGetBuildsInput) String() string

String returns the string representation

func (*BatchGetBuildsInput) Validate

func (s *BatchGetBuildsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetBuildsOutput

type BatchGetBuildsOutput struct {

	// Information about the requested builds.
	Builds []Build `locationName:"builds" type:"list"`

	// The IDs of builds for which information could not be found.
	BuildsNotFound []string `locationName:"buildsNotFound" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetBuildsOutput) String

func (s BatchGetBuildsOutput) String() string

String returns the string representation

type BatchGetBuildsRequest

type BatchGetBuildsRequest struct {
	*aws.Request
	Input *BatchGetBuildsInput
	Copy  func(*BatchGetBuildsInput) BatchGetBuildsRequest
}

BatchGetBuildsRequest is the request type for the BatchGetBuilds API operation.

func (BatchGetBuildsRequest) Send

Send marshals and sends the BatchGetBuilds API request.

type BatchGetBuildsResponse added in v0.9.0

type BatchGetBuildsResponse struct {
	*BatchGetBuildsOutput
	// contains filtered or unexported fields
}

BatchGetBuildsResponse is the response type for the BatchGetBuilds API operation.

func (*BatchGetBuildsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchGetBuildsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetBuilds request.

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.
	//
	// Names is a required field
	Names []string `locationName:"names" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetProjectsInput) String

func (s BatchGetProjectsInput) String() string

String returns the string representation

func (*BatchGetProjectsInput) Validate

func (s *BatchGetProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetProjectsOutput

type BatchGetProjectsOutput struct {

	// Information about the requested build projects.
	Projects []Project `locationName:"projects" type:"list"`

	// The names of build projects for which information could not be found.
	ProjectsNotFound []string `locationName:"projectsNotFound" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetProjectsOutput) String

func (s BatchGetProjectsOutput) String() string

String returns the string representation

type BatchGetProjectsRequest

type BatchGetProjectsRequest struct {
	*aws.Request
	Input *BatchGetProjectsInput
	Copy  func(*BatchGetProjectsInput) BatchGetProjectsRequest
}

BatchGetProjectsRequest is the request type for the BatchGetProjects API operation.

func (BatchGetProjectsRequest) Send

Send marshals and sends the BatchGetProjects API request.

type BatchGetProjectsResponse added in v0.9.0

type BatchGetProjectsResponse struct {
	*BatchGetProjectsOutput
	// contains filtered or unexported fields
}

BatchGetProjectsResponse is the response type for the BatchGetProjects API operation.

func (*BatchGetProjectsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchGetProjectsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetProjects request.

type BatchGetReportGroupsInput added in v0.18.0

type BatchGetReportGroupsInput struct {

	// An array of report group ARNs that identify the report groups to return.
	//
	// ReportGroupArns is a required field
	ReportGroupArns []string `locationName:"reportGroupArns" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetReportGroupsInput) String added in v0.18.0

func (s BatchGetReportGroupsInput) String() string

String returns the string representation

func (*BatchGetReportGroupsInput) Validate added in v0.18.0

func (s *BatchGetReportGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetReportGroupsOutput added in v0.18.0

type BatchGetReportGroupsOutput struct {

	// The array of report groups returned by BatchGetReportGroups.
	ReportGroups []ReportGroup `locationName:"reportGroups" min:"1" type:"list"`

	// An array of ARNs passed to BatchGetReportGroups that are not associated with
	// a ReportGroup.
	ReportGroupsNotFound []string `locationName:"reportGroupsNotFound" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetReportGroupsOutput) String added in v0.18.0

String returns the string representation

type BatchGetReportGroupsRequest added in v0.18.0

type BatchGetReportGroupsRequest struct {
	*aws.Request
	Input *BatchGetReportGroupsInput
	Copy  func(*BatchGetReportGroupsInput) BatchGetReportGroupsRequest
}

BatchGetReportGroupsRequest is the request type for the BatchGetReportGroups API operation.

func (BatchGetReportGroupsRequest) Send added in v0.18.0

Send marshals and sends the BatchGetReportGroups API request.

type BatchGetReportGroupsResponse added in v0.18.0

type BatchGetReportGroupsResponse struct {
	*BatchGetReportGroupsOutput
	// contains filtered or unexported fields
}

BatchGetReportGroupsResponse is the response type for the BatchGetReportGroups API operation.

func (*BatchGetReportGroupsResponse) SDKResponseMetdata added in v0.18.0

func (r *BatchGetReportGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetReportGroups request.

type BatchGetReportsInput added in v0.18.0

type BatchGetReportsInput struct {

	// An array of ARNs that identify the Report objects to return.
	//
	// ReportArns is a required field
	ReportArns []string `locationName:"reportArns" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetReportsInput) String added in v0.18.0

func (s BatchGetReportsInput) String() string

String returns the string representation

func (*BatchGetReportsInput) Validate added in v0.18.0

func (s *BatchGetReportsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetReportsOutput added in v0.18.0

type BatchGetReportsOutput struct {

	// The array of Report objects returned by BatchGetReports.
	Reports []Report `locationName:"reports" min:"1" type:"list"`

	// An array of ARNs passed to BatchGetReportGroups that are not associated with
	// a Report.
	ReportsNotFound []string `locationName:"reportsNotFound" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetReportsOutput) String added in v0.18.0

func (s BatchGetReportsOutput) String() string

String returns the string representation

type BatchGetReportsRequest added in v0.18.0

type BatchGetReportsRequest struct {
	*aws.Request
	Input *BatchGetReportsInput
	Copy  func(*BatchGetReportsInput) BatchGetReportsRequest
}

BatchGetReportsRequest is the request type for the BatchGetReports API operation.

func (BatchGetReportsRequest) Send added in v0.18.0

Send marshals and sends the BatchGetReports API request.

type BatchGetReportsResponse added in v0.18.0

type BatchGetReportsResponse struct {
	*BatchGetReportsOutput
	// contains filtered or unexported fields
}

BatchGetReportsResponse is the response type for the BatchGetReports API operation.

func (*BatchGetReportsResponse) SDKResponseMetdata added in v0.18.0

func (r *BatchGetReportsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchGetReports request.

type Build

type Build struct {

	// The Amazon Resource Name (ARN) of the build.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// Information about the output artifacts for the build.
	Artifacts *BuildArtifacts `locationName:"artifacts" type:"structure"`

	// Whether the build is complete. True if complete; otherwise, false.
	BuildComplete *bool `locationName:"buildComplete" type:"boolean"`

	// The number of the build. For each project, the buildNumber of its first build
	// is 1. The buildNumber of each subsequent build is incremented by 1. If a
	// build is deleted, the buildNumber of other builds does not change.
	BuildNumber *int64 `locationName:"buildNumber" type:"long"`

	// The current status of the build. Valid values include:
	//
	//    * FAILED: The build failed.
	//
	//    * FAULT: The build faulted.
	//
	//    * IN_PROGRESS: The build is still in progress.
	//
	//    * STOPPED: The build stopped.
	//
	//    * SUCCEEDED: The build succeeded.
	//
	//    * TIMED_OUT: The build timed out.
	BuildStatus StatusType `locationName:"buildStatus" type:"string" enum:"true"`

	// Information about the cache for the build.
	Cache *ProjectCache `locationName:"cache" type:"structure"`

	// The current build phase.
	CurrentPhase *string `locationName:"currentPhase" type:"string"`

	// Contains information about the debug session for this build.
	DebugSession *DebugSession `locationName:"debugSession" type:"structure"`

	// 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/alias-name ).
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// When the build process ended, expressed in Unix time format.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// Information about the build environment for this build.
	Environment *ProjectEnvironment `locationName:"environment" type:"structure"`

	// A list of exported environment variables for this build.
	ExportedEnvironmentVariables []ExportedEnvironmentVariable `locationName:"exportedEnvironmentVariables" type:"list"`

	// 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 []ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

	// The unique ID for the build.
	Id *string `locationName:"id" min:"1" type:"string"`

	// The entity that started the build. Valid values include:
	//
	//    * If AWS CodePipeline started the build, the pipeline's name (for example,
	//    codepipeline/my-demo-pipeline).
	//
	//    * If an AWS Identity and Access Management (IAM) user started the build,
	//    the user's name (for example, MyUserName).
	//
	//    * If the Jenkins plugin for AWS CodeBuild started the build, the string
	//    CodeBuild-Jenkins-Plugin.
	Initiator *string `locationName:"initiator" type:"string"`

	// Information about the build's logs in Amazon CloudWatch Logs.
	Logs *LogsLocation `locationName:"logs" type:"structure"`

	// Describes a network interface.
	NetworkInterface *NetworkInterface `locationName:"networkInterface" type:"structure"`

	// Information about all previous build phases that are complete and information
	// about any current build phase that is not yet complete.
	Phases []BuildPhase `locationName:"phases" type:"list"`

	// The name of the AWS CodeBuild project.
	ProjectName *string `locationName:"projectName" min:"1" type:"string"`

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" type:"integer"`

	// An array of the ARNs associated with this build's reports.
	ReportArns []string `locationName:"reportArns" type:"list"`

	// An identifier for the version of this build's source code.
	//
	//    * For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit
	//    ID.
	//
	//    * For AWS CodePipeline, the source revision provided by AWS CodePipeline.
	//
	//    * For Amazon Simple Storage Service (Amazon S3), this does not apply.
	ResolvedSourceVersion *string `locationName:"resolvedSourceVersion" min:"1" type:"string"`

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []BuildArtifacts `locationName:"secondaryArtifacts" type:"list"`

	// An array of ProjectSourceVersion objects. Each ProjectSourceVersion 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.
	SecondarySourceVersions []ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

	// An array of ProjectSource objects.
	SecondarySources []ProjectSource `locationName:"secondarySources" type:"list"`

	// The name of a service role used for this build.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

	// Information about the source code to be built.
	Source *ProjectSource `locationName:"source" type:"structure"`

	// Any version identifier for the version of the source code to be built. 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 `locationName:"sourceVersion" min:"1" type:"string"`

	// When the build process started, expressed in Unix time format.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// How long, in minutes, for AWS CodeBuild to wait before timing out this build
	// if it does not get marked as completed.
	TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" type:"integer"`

	// If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide
	// this parameter that identifies the VPC ID and the list of security group
	// IDs and subnet IDs. The security groups and subnets must belong to the same
	// VPC. You must provide at least one security group and one subnet ID.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`
	// contains filtered or unexported fields
}

Information about a build.

func (Build) String

func (s Build) String() string

String returns the string representation

type BuildArtifacts

type BuildArtifacts struct {

	// An identifier for this artifact definition.
	ArtifactIdentifier *string `locationName:"artifactIdentifier" type:"string"`

	// Information that tells you if encryption for build artifacts is disabled.
	EncryptionDisabled *bool `locationName:"encryptionDisabled" type:"boolean"`

	// Information about the location of the build artifacts.
	Location *string `locationName:"location" type:"string"`

	// The MD5 hash of the build artifact.
	//
	// You can use this hash along with a checksum tool to confirm file integrity
	// and authenticity.
	//
	// This value is available only if the build project's packaging value is set
	// to ZIP.
	Md5sum *string `locationName:"md5sum" type:"string"`

	// If this flag is set, a name specified in the buildspec file overrides the
	// artifact name. The name specified in a buildspec file is calculated at build
	// time and uses the Shell Command Language. For example, you can append a date
	// and time to your artifact name so that it is always unique.
	OverrideArtifactName *bool `locationName:"overrideArtifactName" type:"boolean"`

	// The SHA-256 hash of the build artifact.
	//
	// You can use this hash along with a checksum tool to confirm file integrity
	// and authenticity.
	//
	// This value is available only if the build project's packaging value is set
	// to ZIP.
	Sha256sum *string `locationName:"sha256sum" type:"string"`
	// contains filtered or unexported fields
}

Information about build output artifacts.

func (BuildArtifacts) String

func (s BuildArtifacts) String() string

String returns the string representation

type BuildNotDeleted

type BuildNotDeleted struct {

	// The ID of the build that could not be successfully deleted.
	Id *string `locationName:"id" min:"1" type:"string"`

	// Additional information about the build that could not be successfully deleted.
	StatusCode *string `locationName:"statusCode" type:"string"`
	// contains filtered or unexported fields
}

Information about a build that could not be successfully deleted.

func (BuildNotDeleted) String

func (s BuildNotDeleted) String() string

String returns the string representation

type BuildPhase

type BuildPhase struct {

	// Additional information about a build phase, especially to help troubleshoot
	// a failed build.
	Contexts []PhaseContext `locationName:"contexts" type:"list"`

	// How long, in seconds, between the starting and ending times of the build's
	// phase.
	DurationInSeconds *int64 `locationName:"durationInSeconds" type:"long"`

	// When the build phase ended, expressed in Unix time format.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The current status of the build phase. Valid values include:
	//
	//    * FAILED: The build phase failed.
	//
	//    * FAULT: The build phase faulted.
	//
	//    * IN_PROGRESS: The build phase is still in progress.
	//
	//    * QUEUED: The build has been submitted and is queued behind other submitted
	//    builds.
	//
	//    * STOPPED: The build phase stopped.
	//
	//    * SUCCEEDED: The build phase succeeded.
	//
	//    * TIMED_OUT: The build phase timed out.
	PhaseStatus StatusType `locationName:"phaseStatus" type:"string" enum:"true"`

	// The name of the build phase. Valid values include:
	//
	//    * BUILD: Core build activities typically occur in this build phase.
	//
	//    * COMPLETED: The build has been completed.
	//
	//    * DOWNLOAD_SOURCE: Source code is being downloaded in this build phase.
	//
	//    * FINALIZING: The build process is completing in this build phase.
	//
	//    * INSTALL: Installation activities typically occur in this build phase.
	//
	//    * POST_BUILD: Post-build activities typically occur in this build phase.
	//
	//    * PRE_BUILD: Pre-build activities typically occur in this build phase.
	//
	//    * PROVISIONING: The build environment is being set up.
	//
	//    * QUEUED: The build has been submitted and is queued behind other submitted
	//    builds.
	//
	//    * SUBMITTED: The build has been submitted.
	//
	//    * UPLOAD_ARTIFACTS: Build output artifacts are being uploaded to the output
	//    location.
	PhaseType BuildPhaseType `locationName:"phaseType" type:"string" enum:"true"`

	// When the build phase started, expressed in Unix time format.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
	// contains filtered or unexported fields
}

Information about a stage for a build.

func (BuildPhase) String

func (s BuildPhase) String() string

String returns the string representation

type BuildPhaseType

type BuildPhaseType string
const (
	BuildPhaseTypeSubmitted       BuildPhaseType = "SUBMITTED"
	BuildPhaseTypeQueued          BuildPhaseType = "QUEUED"
	BuildPhaseTypeProvisioning    BuildPhaseType = "PROVISIONING"
	BuildPhaseTypeDownloadSource  BuildPhaseType = "DOWNLOAD_SOURCE"
	BuildPhaseTypeInstall         BuildPhaseType = "INSTALL"
	BuildPhaseTypePreBuild        BuildPhaseType = "PRE_BUILD"
	BuildPhaseTypeBuild           BuildPhaseType = "BUILD"
	BuildPhaseTypePostBuild       BuildPhaseType = "POST_BUILD"
	BuildPhaseTypeUploadArtifacts BuildPhaseType = "UPLOAD_ARTIFACTS"
	BuildPhaseTypeFinalizing      BuildPhaseType = "FINALIZING"
	BuildPhaseTypeCompleted       BuildPhaseType = "COMPLETED"
)

Enum values for BuildPhaseType

func (BuildPhaseType) MarshalValue added in v0.3.0

func (enum BuildPhaseType) MarshalValue() (string, error)

func (BuildPhaseType) MarshalValueBuf added in v0.3.0

func (enum BuildPhaseType) MarshalValueBuf(b []byte) ([]byte, error)

type BuildStatusConfig added in v0.24.0

type BuildStatusConfig struct {

	// Specifies the context of the build status CodeBuild sends to the source provider.
	// The usage of this parameter depends on the source provider.
	//
	// Bitbucket
	//
	// This parameter is used for the name parameter in the Bitbucket commit status.
	// For more information, see build (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
	// in the Bitbucket API documentation.
	//
	// GitHub/GitHub Enterprise Server
	//
	// This parameter is used for the context parameter in the GitHub commit status.
	// For more information, see Create a commit status (https://developer.github.com/v3/repos/statuses/#create-a-commit-status)
	// in the GitHub developer guide.
	Context *string `locationName:"context" type:"string"`

	// Specifies the target url of the build status CodeBuild sends to the source
	// provider. The usage of this parameter depends on the source provider.
	//
	// Bitbucket
	//
	// This parameter is used for the url parameter in the Bitbucket commit status.
	// For more information, see build (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
	// in the Bitbucket API documentation.
	//
	// GitHub/GitHub Enterprise Server
	//
	// This parameter is used for the target_url parameter in the GitHub commit
	// status. For more information, see Create a commit status (https://developer.github.com/v3/repos/statuses/#create-a-commit-status)
	// in the GitHub developer guide.
	TargetUrl *string `locationName:"targetUrl" type:"string"`
	// contains filtered or unexported fields
}

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

func (BuildStatusConfig) String added in v0.24.0

func (s BuildStatusConfig) String() string

String returns the string representation

type CacheMode added in v0.8.0

type CacheMode string
const (
	CacheModeLocalDockerLayerCache CacheMode = "LOCAL_DOCKER_LAYER_CACHE"
	CacheModeLocalSourceCache      CacheMode = "LOCAL_SOURCE_CACHE"
	CacheModeLocalCustomCache      CacheMode = "LOCAL_CUSTOM_CACHE"
)

Enum values for CacheMode

func (CacheMode) MarshalValue added in v0.8.0

func (enum CacheMode) MarshalValue() (string, error)

func (CacheMode) MarshalValueBuf added in v0.8.0

func (enum CacheMode) MarshalValueBuf(b []byte) ([]byte, error)

type CacheType added in v0.2.0

type CacheType string
const (
	CacheTypeNoCache CacheType = "NO_CACHE"
	CacheTypeS3      CacheType = "S3"
	CacheTypeLocal   CacheType = "LOCAL"
)

Enum values for CacheType

func (CacheType) MarshalValue added in v0.3.0

func (enum CacheType) MarshalValue() (string, error)

func (CacheType) MarshalValueBuf added in v0.3.0

func (enum CacheType) MarshalValueBuf(b []byte) ([]byte, error)

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWS CodeBuild. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := codebuild.New(myConfig)

func (*Client) BatchDeleteBuildsRequest added in v0.9.0

func (c *Client) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) BatchDeleteBuildsRequest

BatchDeleteBuildsRequest returns a request value for making API operation for AWS CodeBuild.

Deletes one or more builds.

// Example sending a request using BatchDeleteBuildsRequest.
req := client.BatchDeleteBuildsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds

func (*Client) BatchGetBuildsRequest added in v0.9.0

func (c *Client) BatchGetBuildsRequest(input *BatchGetBuildsInput) BatchGetBuildsRequest

BatchGetBuildsRequest returns a request value for making API operation for AWS CodeBuild.

Gets information about one or more builds.

// Example sending a request using BatchGetBuildsRequest.
req := client.BatchGetBuildsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds

Example (Shared00)

To get information about builds

The following example gets information about builds with the specified build IDs.

// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package main

import (
	"context"
	"fmt"

	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
	"github.com/aws/aws-sdk-go-v2/aws/external"
	"github.com/aws/aws-sdk-go-v2/service/codebuild"
)

var _ aws.Config

// To get information about builds
//
// The following example gets information about builds with the specified build IDs.
func main() {
	cfg, err := external.LoadDefaultAWSConfig()
	if err != nil {
		panic("failed to load config, " + err.Error())
	}

	svc := codebuild.New(cfg)
	input := &codebuild.BatchGetBuildsInput{
		Ids: []string{
			"codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
			"codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
		},
	}

	req := svc.BatchGetBuildsRequest(input)
	result, err := req.Send(context.Background())
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case codebuild.ErrCodeInvalidInputException:
				fmt.Println(codebuild.ErrCodeInvalidInputException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*Client) BatchGetProjectsRequest added in v0.9.0

func (c *Client) BatchGetProjectsRequest(input *BatchGetProjectsInput) BatchGetProjectsRequest

BatchGetProjectsRequest returns a request value for making API operation for AWS CodeBuild.

Gets information about one or more build projects.

// Example sending a request using BatchGetProjectsRequest.
req := client.BatchGetProjectsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects

func (*Client) BatchGetReportGroupsRequest added in v0.18.0

func (c *Client) BatchGetReportGroupsRequest(input *BatchGetReportGroupsInput) BatchGetReportGroupsRequest

BatchGetReportGroupsRequest returns a request value for making API operation for AWS CodeBuild.

Returns an array of report groups.

// Example sending a request using BatchGetReportGroupsRequest.
req := client.BatchGetReportGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReportGroups

func (*Client) BatchGetReportsRequest added in v0.18.0

func (c *Client) BatchGetReportsRequest(input *BatchGetReportsInput) BatchGetReportsRequest

BatchGetReportsRequest returns a request value for making API operation for AWS CodeBuild.

Returns an array of reports.

// Example sending a request using BatchGetReportsRequest.
req := client.BatchGetReportsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReports

func (*Client) CreateProjectRequest added in v0.9.0

func (c *Client) CreateProjectRequest(input *CreateProjectInput) CreateProjectRequest

CreateProjectRequest returns a request value for making API operation for AWS CodeBuild.

Creates a build project.

// Example sending a request using CreateProjectRequest.
req := client.CreateProjectRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject

func (*Client) CreateReportGroupRequest added in v0.18.0

func (c *Client) CreateReportGroupRequest(input *CreateReportGroupInput) CreateReportGroupRequest

CreateReportGroupRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using CreateReportGroupRequest.
req := client.CreateReportGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup

func (*Client) CreateWebhookRequest added in v0.9.0

func (c *Client) CreateWebhookRequest(input *CreateWebhookInput) CreateWebhookRequest

CreateWebhookRequest returns a request value for making API operation for AWS CodeBuild.

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).

// Example sending a request using CreateWebhookRequest.
req := client.CreateWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook

func (*Client) DeleteProjectRequest added in v0.9.0

func (c *Client) DeleteProjectRequest(input *DeleteProjectInput) DeleteProjectRequest

DeleteProjectRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using DeleteProjectRequest.
req := client.DeleteProjectRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject

func (*Client) DeleteReportGroupRequest added in v0.18.0

func (c *Client) DeleteReportGroupRequest(input *DeleteReportGroupInput) DeleteReportGroupRequest

DeleteReportGroupRequest returns a request value for making API operation for AWS CodeBuild.

DeleteReportGroup: Deletes a report group. Before you delete a report group, you must delete its reports. 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.

// Example sending a request using DeleteReportGroupRequest.
req := client.DeleteReportGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroup

func (*Client) DeleteReportRequest added in v0.18.0

func (c *Client) DeleteReportRequest(input *DeleteReportInput) DeleteReportRequest

DeleteReportRequest returns a request value for making API operation for AWS CodeBuild.

Deletes a report.

// Example sending a request using DeleteReportRequest.
req := client.DeleteReportRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReport

func (*Client) DeleteResourcePolicyRequest added in v0.19.0

func (c *Client) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) DeleteResourcePolicyRequest

DeleteResourcePolicyRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using DeleteResourcePolicyRequest.
req := client.DeleteResourcePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteResourcePolicy

func (*Client) DeleteSourceCredentialsRequest added in v0.9.0

func (c *Client) DeleteSourceCredentialsRequest(input *DeleteSourceCredentialsInput) DeleteSourceCredentialsRequest

DeleteSourceCredentialsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using DeleteSourceCredentialsRequest.
req := client.DeleteSourceCredentialsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteSourceCredentials

func (*Client) DeleteWebhookRequest added in v0.9.0

func (c *Client) DeleteWebhookRequest(input *DeleteWebhookInput) DeleteWebhookRequest

DeleteWebhookRequest returns a request value for making API operation for AWS CodeBuild.

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.

// Example sending a request using DeleteWebhookRequest.
req := client.DeleteWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook

func (*Client) DescribeTestCasesRequest added in v0.18.0

func (c *Client) DescribeTestCasesRequest(input *DescribeTestCasesInput) DescribeTestCasesRequest

DescribeTestCasesRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using DescribeTestCasesRequest.
req := client.DescribeTestCasesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeTestCases

func (*Client) GetResourcePolicyRequest added in v0.19.0

func (c *Client) GetResourcePolicyRequest(input *GetResourcePolicyInput) GetResourcePolicyRequest

GetResourcePolicyRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using GetResourcePolicyRequest.
req := client.GetResourcePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetResourcePolicy

func (*Client) ImportSourceCredentialsRequest added in v0.9.0

func (c *Client) ImportSourceCredentialsRequest(input *ImportSourceCredentialsInput) ImportSourceCredentialsRequest

ImportSourceCredentialsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ImportSourceCredentialsRequest.
req := client.ImportSourceCredentialsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ImportSourceCredentials

func (*Client) InvalidateProjectCacheRequest added in v0.9.0

func (c *Client) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) InvalidateProjectCacheRequest

InvalidateProjectCacheRequest returns a request value for making API operation for AWS CodeBuild.

Resets the cache for a project.

// Example sending a request using InvalidateProjectCacheRequest.
req := client.InvalidateProjectCacheRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache

func (*Client) ListBuildsForProjectRequest added in v0.9.0

func (c *Client) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) ListBuildsForProjectRequest

ListBuildsForProjectRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListBuildsForProjectRequest.
req := client.ListBuildsForProjectRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject

func (*Client) ListBuildsRequest added in v0.9.0

func (c *Client) ListBuildsRequest(input *ListBuildsInput) ListBuildsRequest

ListBuildsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListBuildsRequest.
req := client.ListBuildsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds

func (*Client) ListCuratedEnvironmentImagesRequest added in v0.9.0

func (c *Client) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) ListCuratedEnvironmentImagesRequest

ListCuratedEnvironmentImagesRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListCuratedEnvironmentImagesRequest.
req := client.ListCuratedEnvironmentImagesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages

func (*Client) ListProjectsRequest added in v0.9.0

func (c *Client) ListProjectsRequest(input *ListProjectsInput) ListProjectsRequest

ListProjectsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListProjectsRequest.
req := client.ListProjectsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects

func (*Client) ListReportGroupsRequest added in v0.18.0

func (c *Client) ListReportGroupsRequest(input *ListReportGroupsInput) ListReportGroupsRequest

ListReportGroupsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListReportGroupsRequest.
req := client.ListReportGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroups

func (*Client) ListReportsForReportGroupRequest added in v0.18.0

func (c *Client) ListReportsForReportGroupRequest(input *ListReportsForReportGroupInput) ListReportsForReportGroupRequest

ListReportsForReportGroupRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListReportsForReportGroupRequest.
req := client.ListReportsForReportGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsForReportGroup

func (*Client) ListReportsRequest added in v0.18.0

func (c *Client) ListReportsRequest(input *ListReportsInput) ListReportsRequest

ListReportsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListReportsRequest.
req := client.ListReportsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReports

func (*Client) ListSharedProjectsRequest added in v0.19.0

func (c *Client) ListSharedProjectsRequest(input *ListSharedProjectsInput) ListSharedProjectsRequest

ListSharedProjectsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListSharedProjectsRequest.
req := client.ListSharedProjectsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjects

func (*Client) ListSharedReportGroupsRequest added in v0.19.0

func (c *Client) ListSharedReportGroupsRequest(input *ListSharedReportGroupsInput) ListSharedReportGroupsRequest

ListSharedReportGroupsRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using ListSharedReportGroupsRequest.
req := client.ListSharedReportGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroups

func (*Client) ListSourceCredentialsRequest added in v0.9.0

func (c *Client) ListSourceCredentialsRequest(input *ListSourceCredentialsInput) ListSourceCredentialsRequest

ListSourceCredentialsRequest returns a request value for making API operation for AWS CodeBuild.

Returns a list of SourceCredentialsInfo objects.

// Example sending a request using ListSourceCredentialsRequest.
req := client.ListSourceCredentialsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSourceCredentials

func (*Client) PutResourcePolicyRequest added in v0.19.0

func (c *Client) PutResourcePolicyRequest(input *PutResourcePolicyInput) PutResourcePolicyRequest

PutResourcePolicyRequest returns a request value for making API operation for AWS CodeBuild.

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

// Example sending a request using PutResourcePolicyRequest.
req := client.PutResourcePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PutResourcePolicy

func (*Client) StartBuildRequest added in v0.9.0

func (c *Client) StartBuildRequest(input *StartBuildInput) StartBuildRequest

StartBuildRequest returns a request value for making API operation for AWS CodeBuild.

Starts running a build.

// Example sending a request using StartBuildRequest.
req := client.StartBuildRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild

func (*Client) StopBuildRequest added in v0.9.0

func (c *Client) StopBuildRequest(input *StopBuildInput) StopBuildRequest

StopBuildRequest returns a request value for making API operation for AWS CodeBuild.

Attempts to stop running a build.

// Example sending a request using StopBuildRequest.
req := client.StopBuildRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild

func (*Client) UpdateProjectRequest added in v0.9.0

func (c *Client) UpdateProjectRequest(input *UpdateProjectInput) UpdateProjectRequest

UpdateProjectRequest returns a request value for making API operation for AWS CodeBuild.

Changes the settings of a build project.

// Example sending a request using UpdateProjectRequest.
req := client.UpdateProjectRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject

func (*Client) UpdateReportGroupRequest added in v0.18.0

func (c *Client) UpdateReportGroupRequest(input *UpdateReportGroupInput) UpdateReportGroupRequest

UpdateReportGroupRequest returns a request value for making API operation for AWS CodeBuild.

Updates a report group.

// Example sending a request using UpdateReportGroupRequest.
req := client.UpdateReportGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup

func (*Client) UpdateWebhookRequest added in v0.9.0

func (c *Client) UpdateWebhookRequest(input *UpdateWebhookInput) UpdateWebhookRequest

UpdateWebhookRequest returns a request value for making API operation for AWS CodeBuild.

Updates the webhook associated with an AWS CodeBuild build project.

If you use Bitbucket for your repository, rotateSecret is ignored.

// Example sending a request using UpdateWebhookRequest.
req := client.UpdateWebhookRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook

type CloudWatchLogsConfig added in v0.5.0

type CloudWatchLogsConfig struct {

	// The group name of the logs in Amazon CloudWatch Logs. For more information,
	// see Working with Log Groups and Log Streams (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html).
	GroupName *string `locationName:"groupName" type:"string"`

	// The current status of the logs in Amazon CloudWatch Logs for a build project.
	// Valid values are:
	//
	//    * ENABLED: Amazon CloudWatch Logs are enabled for this build project.
	//
	//    * DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
	//
	// Status is a required field
	Status LogsConfigStatusType `locationName:"status" type:"string" required:"true" enum:"true"`

	// The prefix of the stream name of the Amazon CloudWatch Logs. For more information,
	// see Working with Log Groups and Log Streams (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html).
	StreamName *string `locationName:"streamName" type:"string"`
	// contains filtered or unexported fields
}

Information about Amazon CloudWatch Logs for a build project.

func (CloudWatchLogsConfig) String added in v0.5.0

func (s CloudWatchLogsConfig) String() string

String returns the string representation

func (*CloudWatchLogsConfig) Validate added in v0.5.0

func (s *CloudWatchLogsConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ComputeType

type ComputeType string
const (
	ComputeTypeBuildGeneral1Small   ComputeType = "BUILD_GENERAL1_SMALL"
	ComputeTypeBuildGeneral1Medium  ComputeType = "BUILD_GENERAL1_MEDIUM"
	ComputeTypeBuildGeneral1Large   ComputeType = "BUILD_GENERAL1_LARGE"
	ComputeTypeBuildGeneral12xlarge ComputeType = "BUILD_GENERAL1_2XLARGE"
)

Enum values for ComputeType

func (ComputeType) MarshalValue added in v0.3.0

func (enum ComputeType) MarshalValue() (string, error)

func (ComputeType) MarshalValueBuf added in v0.3.0

func (enum ComputeType) MarshalValueBuf(b []byte) ([]byte, error)

type CreateProjectInput

type CreateProjectInput struct {

	// Information about the build output artifacts for the build project.
	//
	// Artifacts is a required field
	Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure" required:"true"`

	// Set this to true to generate a publicly accessible URL for your project's
	// build badge.
	BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"`

	// Stores recently used information so that it can be quickly accessed at a
	// later time.
	Cache *ProjectCache `locationName:"cache" type:"structure"`

	// A description that makes the build project easy to identify.
	Description *string `locationName:"description" type:"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/alias-name ).
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// Information about the build environment for the build project.
	//
	// Environment is a required field
	Environment *ProjectEnvironment `locationName:"environment" type:"structure" required:"true"`

	// 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 []ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

	// 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 *LogsConfig `locationName:"logsConfig" type:"structure"`

	// The name of the build project.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"2" type:"string" required:"true"`

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" min:"5" type:"integer"`

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

	// 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 []ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

	// An array of ProjectSource objects.
	SecondarySources []ProjectSource `locationName:"secondarySources" type:"list"`

	// 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.
	//
	// ServiceRole is a required field
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string" required:"true"`

	// Information about the build input source code for the build project.
	//
	// Source is a required field
	Source *ProjectSource `locationName:"source" type:"structure" required:"true"`

	// 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 `locationName:"sourceVersion" type:"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 []Tag `locationName:"tags" type:"list"`

	// 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 *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"`

	// VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateProjectInput) String

func (s CreateProjectInput) String() string

String returns the string representation

func (*CreateProjectInput) Validate

func (s *CreateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProjectOutput

type CreateProjectOutput struct {

	// Information about the build project that was created.
	Project *Project `locationName:"project" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateProjectOutput) String

func (s CreateProjectOutput) String() string

String returns the string representation

type CreateProjectRequest

type CreateProjectRequest struct {
	*aws.Request
	Input *CreateProjectInput
	Copy  func(*CreateProjectInput) CreateProjectRequest
}

CreateProjectRequest is the request type for the CreateProject API operation.

func (CreateProjectRequest) Send

Send marshals and sends the CreateProject API request.

type CreateProjectResponse added in v0.9.0

type CreateProjectResponse struct {
	*CreateProjectOutput
	// contains filtered or unexported fields
}

CreateProjectResponse is the response type for the CreateProject API operation.

func (*CreateProjectResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateProjectResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateProject request.

type CreateReportGroupInput added in v0.18.0

type CreateReportGroupInput struct {

	// A ReportExportConfig object that contains information about where the report
	// group test results are exported.
	//
	// ExportConfig is a required field
	ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure" required:"true"`

	// The name of the report group.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"2" type:"string" required:"true"`

	// 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 []Tag `locationName:"tags" type:"list"`

	// The type of report group.
	//
	// Type is a required field
	Type ReportType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateReportGroupInput) String added in v0.18.0

func (s CreateReportGroupInput) String() string

String returns the string representation

func (*CreateReportGroupInput) Validate added in v0.18.0

func (s *CreateReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReportGroupOutput added in v0.18.0

type CreateReportGroupOutput struct {

	// Information about the report group that was created.
	ReportGroup *ReportGroup `locationName:"reportGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateReportGroupOutput) String added in v0.18.0

func (s CreateReportGroupOutput) String() string

String returns the string representation

type CreateReportGroupRequest added in v0.18.0

type CreateReportGroupRequest struct {
	*aws.Request
	Input *CreateReportGroupInput
	Copy  func(*CreateReportGroupInput) CreateReportGroupRequest
}

CreateReportGroupRequest is the request type for the CreateReportGroup API operation.

func (CreateReportGroupRequest) Send added in v0.18.0

Send marshals and sends the CreateReportGroup API request.

type CreateReportGroupResponse added in v0.18.0

type CreateReportGroupResponse struct {
	*CreateReportGroupOutput
	// contains filtered or unexported fields
}

CreateReportGroupResponse is the response type for the CreateReportGroup API operation.

func (*CreateReportGroupResponse) SDKResponseMetdata added in v0.18.0

func (r *CreateReportGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateReportGroup request.

type CreateWebhookInput

type CreateWebhookInput struct {

	// 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 `locationName:"branchFilter" type:"string"`

	// 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 [][]WebhookFilter `locationName:"filterGroups" type:"list"`

	// The name of the AWS CodeBuild project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateWebhookInput) String

func (s CreateWebhookInput) String() string

String returns the string representation

func (*CreateWebhookInput) Validate

func (s *CreateWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateWebhookOutput

type CreateWebhookOutput struct {

	// Information about a webhook that connects repository events to a build project
	// in AWS CodeBuild.
	Webhook *Webhook `locationName:"webhook" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateWebhookOutput) String

func (s CreateWebhookOutput) String() string

String returns the string representation

type CreateWebhookRequest

type CreateWebhookRequest struct {
	*aws.Request
	Input *CreateWebhookInput
	Copy  func(*CreateWebhookInput) CreateWebhookRequest
}

CreateWebhookRequest is the request type for the CreateWebhook API operation.

func (CreateWebhookRequest) Send

Send marshals and sends the CreateWebhook API request.

type CreateWebhookResponse added in v0.9.0

type CreateWebhookResponse struct {
	*CreateWebhookOutput
	// contains filtered or unexported fields
}

CreateWebhookResponse is the response type for the CreateWebhook API operation.

func (*CreateWebhookResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateWebhook request.

type CredentialProviderType added in v0.8.0

type CredentialProviderType string
const (
	CredentialProviderTypeSecretsManager CredentialProviderType = "SECRETS_MANAGER"
)

Enum values for CredentialProviderType

func (CredentialProviderType) MarshalValue added in v0.8.0

func (enum CredentialProviderType) MarshalValue() (string, error)

func (CredentialProviderType) MarshalValueBuf added in v0.8.0

func (enum CredentialProviderType) MarshalValueBuf(b []byte) ([]byte, error)

type DebugSession added in v0.24.0

type DebugSession struct {

	// Specifies if session debugging is enabled for this build.
	SessionEnabled *bool `locationName:"sessionEnabled" type:"boolean"`

	// Contains the identifier of the Session Manager session used for the build.
	// To work with the paused build, you open this session to examine, control,
	// and resume the build.
	SessionTarget *string `locationName:"sessionTarget" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains information about the debug session for a build. For more information, see Viewing a running build in Session Manager (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html).

func (DebugSession) String added in v0.24.0

func (s DebugSession) String() string

String returns the string representation

type DeleteProjectInput

type DeleteProjectInput struct {

	// The name of the build project.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProjectInput) String

func (s DeleteProjectInput) String() string

String returns the string representation

func (*DeleteProjectInput) Validate

func (s *DeleteProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteProjectOutput

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

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation

type DeleteProjectRequest

type DeleteProjectRequest struct {
	*aws.Request
	Input *DeleteProjectInput
	Copy  func(*DeleteProjectInput) DeleteProjectRequest
}

DeleteProjectRequest is the request type for the DeleteProject API operation.

func (DeleteProjectRequest) Send

Send marshals and sends the DeleteProject API request.

type DeleteProjectResponse added in v0.9.0

type DeleteProjectResponse struct {
	*DeleteProjectOutput
	// contains filtered or unexported fields
}

DeleteProjectResponse is the response type for the DeleteProject API operation.

func (*DeleteProjectResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteProjectResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteProject request.

type DeleteReportGroupInput added in v0.18.0

type DeleteReportGroupInput struct {

	// The ARN of the report group to delete.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteReportGroupInput) String added in v0.18.0

func (s DeleteReportGroupInput) String() string

String returns the string representation

func (*DeleteReportGroupInput) Validate added in v0.18.0

func (s *DeleteReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReportGroupOutput added in v0.18.0

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

func (DeleteReportGroupOutput) String added in v0.18.0

func (s DeleteReportGroupOutput) String() string

String returns the string representation

type DeleteReportGroupRequest added in v0.18.0

type DeleteReportGroupRequest struct {
	*aws.Request
	Input *DeleteReportGroupInput
	Copy  func(*DeleteReportGroupInput) DeleteReportGroupRequest
}

DeleteReportGroupRequest is the request type for the DeleteReportGroup API operation.

func (DeleteReportGroupRequest) Send added in v0.18.0

Send marshals and sends the DeleteReportGroup API request.

type DeleteReportGroupResponse added in v0.18.0

type DeleteReportGroupResponse struct {
	*DeleteReportGroupOutput
	// contains filtered or unexported fields
}

DeleteReportGroupResponse is the response type for the DeleteReportGroup API operation.

func (*DeleteReportGroupResponse) SDKResponseMetdata added in v0.18.0

func (r *DeleteReportGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteReportGroup request.

type DeleteReportInput added in v0.18.0

type DeleteReportInput struct {

	// The ARN of the report to delete.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteReportInput) String added in v0.18.0

func (s DeleteReportInput) String() string

String returns the string representation

func (*DeleteReportInput) Validate added in v0.18.0

func (s *DeleteReportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReportOutput added in v0.18.0

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

func (DeleteReportOutput) String added in v0.18.0

func (s DeleteReportOutput) String() string

String returns the string representation

type DeleteReportRequest added in v0.18.0

type DeleteReportRequest struct {
	*aws.Request
	Input *DeleteReportInput
	Copy  func(*DeleteReportInput) DeleteReportRequest
}

DeleteReportRequest is the request type for the DeleteReport API operation.

func (DeleteReportRequest) Send added in v0.18.0

Send marshals and sends the DeleteReport API request.

type DeleteReportResponse added in v0.18.0

type DeleteReportResponse struct {
	*DeleteReportOutput
	// contains filtered or unexported fields
}

DeleteReportResponse is the response type for the DeleteReport API operation.

func (*DeleteReportResponse) SDKResponseMetdata added in v0.18.0

func (r *DeleteReportResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteReport request.

type DeleteResourcePolicyInput added in v0.19.0

type DeleteResourcePolicyInput struct {

	// The ARN of the resource that is associated with the resource policy.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourcePolicyInput) String added in v0.19.0

func (s DeleteResourcePolicyInput) String() string

String returns the string representation

func (*DeleteResourcePolicyInput) Validate added in v0.19.0

func (s *DeleteResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteResourcePolicyOutput added in v0.19.0

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

func (DeleteResourcePolicyOutput) String added in v0.19.0

String returns the string representation

type DeleteResourcePolicyRequest added in v0.19.0

type DeleteResourcePolicyRequest struct {
	*aws.Request
	Input *DeleteResourcePolicyInput
	Copy  func(*DeleteResourcePolicyInput) DeleteResourcePolicyRequest
}

DeleteResourcePolicyRequest is the request type for the DeleteResourcePolicy API operation.

func (DeleteResourcePolicyRequest) Send added in v0.19.0

Send marshals and sends the DeleteResourcePolicy API request.

type DeleteResourcePolicyResponse added in v0.19.0

type DeleteResourcePolicyResponse struct {
	*DeleteResourcePolicyOutput
	// contains filtered or unexported fields
}

DeleteResourcePolicyResponse is the response type for the DeleteResourcePolicy API operation.

func (*DeleteResourcePolicyResponse) SDKResponseMetdata added in v0.19.0

func (r *DeleteResourcePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteResourcePolicy request.

type DeleteSourceCredentialsInput added in v0.7.0

type DeleteSourceCredentialsInput struct {

	// The Amazon Resource Name (ARN) of the token.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSourceCredentialsInput) String added in v0.7.0

String returns the string representation

func (*DeleteSourceCredentialsInput) Validate added in v0.7.0

func (s *DeleteSourceCredentialsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSourceCredentialsOutput added in v0.7.0

type DeleteSourceCredentialsOutput struct {

	// The Amazon Resource Name (ARN) of the token.
	Arn *string `locationName:"arn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteSourceCredentialsOutput) String added in v0.7.0

String returns the string representation

type DeleteSourceCredentialsRequest added in v0.7.0

type DeleteSourceCredentialsRequest struct {
	*aws.Request
	Input *DeleteSourceCredentialsInput
	Copy  func(*DeleteSourceCredentialsInput) DeleteSourceCredentialsRequest
}

DeleteSourceCredentialsRequest is the request type for the DeleteSourceCredentials API operation.

func (DeleteSourceCredentialsRequest) Send added in v0.7.0

Send marshals and sends the DeleteSourceCredentials API request.

type DeleteSourceCredentialsResponse added in v0.9.0

type DeleteSourceCredentialsResponse struct {
	*DeleteSourceCredentialsOutput
	// contains filtered or unexported fields
}

DeleteSourceCredentialsResponse is the response type for the DeleteSourceCredentials API operation.

func (*DeleteSourceCredentialsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteSourceCredentialsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteSourceCredentials request.

type DeleteWebhookInput

type DeleteWebhookInput struct {

	// The name of the AWS CodeBuild project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteWebhookInput) String

func (s DeleteWebhookInput) String() string

String returns the string representation

func (*DeleteWebhookInput) Validate

func (s *DeleteWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteWebhookOutput

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

func (DeleteWebhookOutput) String

func (s DeleteWebhookOutput) String() string

String returns the string representation

type DeleteWebhookRequest

type DeleteWebhookRequest struct {
	*aws.Request
	Input *DeleteWebhookInput
	Copy  func(*DeleteWebhookInput) DeleteWebhookRequest
}

DeleteWebhookRequest is the request type for the DeleteWebhook API operation.

func (DeleteWebhookRequest) Send

Send marshals and sends the DeleteWebhook API request.

type DeleteWebhookResponse added in v0.9.0

type DeleteWebhookResponse struct {
	*DeleteWebhookOutput
	// contains filtered or unexported fields
}

DeleteWebhookResponse is the response type for the DeleteWebhook API operation.

func (*DeleteWebhookResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteWebhook request.

type DescribeTestCasesInput added in v0.18.0

type DescribeTestCasesInput struct {

	// A TestCaseFilter object used to filter the returned reports.
	Filter *TestCaseFilter `locationName:"filter" type:"structure"`

	// 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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" type:"string"`

	// The ARN of the report for which test cases are returned.
	//
	// ReportArn is a required field
	ReportArn *string `locationName:"reportArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTestCasesInput) String added in v0.18.0

func (s DescribeTestCasesInput) String() string

String returns the string representation

func (*DescribeTestCasesInput) Validate added in v0.18.0

func (s *DescribeTestCasesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTestCasesOutput added in v0.18.0

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 `locationName:"nextToken" type:"string"`

	// The returned list of test cases.
	TestCases []TestCase `locationName:"testCases" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTestCasesOutput) String added in v0.18.0

func (s DescribeTestCasesOutput) String() string

String returns the string representation

type DescribeTestCasesPaginator added in v0.23.0

type DescribeTestCasesPaginator struct {
	aws.Pager
}

DescribeTestCasesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeTestCasesPaginator added in v0.23.0

func NewDescribeTestCasesPaginator(req DescribeTestCasesRequest) DescribeTestCasesPaginator

NewDescribeTestCasesRequestPaginator returns a paginator for DescribeTestCases. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeTestCasesRequest(input)
p := codebuild.NewDescribeTestCasesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeTestCasesPaginator) CurrentPage added in v0.23.0

type DescribeTestCasesRequest added in v0.18.0

type DescribeTestCasesRequest struct {
	*aws.Request
	Input *DescribeTestCasesInput
	Copy  func(*DescribeTestCasesInput) DescribeTestCasesRequest
}

DescribeTestCasesRequest is the request type for the DescribeTestCases API operation.

func (DescribeTestCasesRequest) Send added in v0.18.0

Send marshals and sends the DescribeTestCases API request.

type DescribeTestCasesResponse added in v0.18.0

type DescribeTestCasesResponse struct {
	*DescribeTestCasesOutput
	// contains filtered or unexported fields
}

DescribeTestCasesResponse is the response type for the DescribeTestCases API operation.

func (*DescribeTestCasesResponse) SDKResponseMetdata added in v0.18.0

func (r *DescribeTestCasesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeTestCases request.

type EnvironmentImage

type EnvironmentImage struct {

	// The description of the Docker image.
	Description *string `locationName:"description" type:"string"`

	// The name of the Docker image.
	Name *string `locationName:"name" type:"string"`

	// A list of environment image versions.
	Versions []string `locationName:"versions" type:"list"`
	// contains filtered or unexported fields
}

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

func (EnvironmentImage) String

func (s EnvironmentImage) String() string

String returns the string representation

type EnvironmentLanguage

type EnvironmentLanguage struct {

	// The list of Docker images that are related by the specified programming language.
	Images []EnvironmentImage `locationName:"images" type:"list"`

	// The programming language for the Docker images.
	Language LanguageType `locationName:"language" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (EnvironmentLanguage) String

func (s EnvironmentLanguage) String() string

String returns the string representation

type EnvironmentPlatform

type EnvironmentPlatform struct {

	// The list of programming languages that are available for the specified platform.
	Languages []EnvironmentLanguage `locationName:"languages" type:"list"`

	// The platform's name.
	Platform PlatformType `locationName:"platform" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (EnvironmentPlatform) String

func (s EnvironmentPlatform) String() string

String returns the string representation

type EnvironmentType

type EnvironmentType string
const (
	EnvironmentTypeWindowsContainer           EnvironmentType = "WINDOWS_CONTAINER"
	EnvironmentTypeLinuxContainer             EnvironmentType = "LINUX_CONTAINER"
	EnvironmentTypeLinuxGpuContainer          EnvironmentType = "LINUX_GPU_CONTAINER"
	EnvironmentTypeArmContainer               EnvironmentType = "ARM_CONTAINER"
	EnvironmentTypeWindowsServer2019Container EnvironmentType = "WINDOWS_SERVER_2019_CONTAINER"
)

Enum values for EnvironmentType

func (EnvironmentType) MarshalValue added in v0.3.0

func (enum EnvironmentType) MarshalValue() (string, error)

func (EnvironmentType) MarshalValueBuf added in v0.3.0

func (enum EnvironmentType) MarshalValueBuf(b []byte) ([]byte, error)

type EnvironmentVariable

type EnvironmentVariable struct {

	// The name or key of the environment variable.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The type of environment variable. Valid values include:
	//
	//    * PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems
	//    Manager Parameter Store. To learn how to specify a parameter store environment
	//    variable, see parameter store reference-key in the buildspec file (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec).
	//
	//    * PLAINTEXT: An environment variable in plain text format. This is the
	//    default value.
	//
	//    * SECRETS_MANAGER: An environment variable stored in AWS Secrets Manager.
	//    To learn how to specify a secrets manager environment variable, see secrets
	//    manager reference-key in the buildspec file (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec).
	Type EnvironmentVariableType `locationName:"type" type:"string" enum:"true"`

	// The value of the environment variable.
	//
	// We strongly discourage the use of PLAINTEXT environment variables to store
	// sensitive values, especially AWS secret key IDs and secret access keys. PLAINTEXT
	// environment variables can be displayed in plain text using the AWS CodeBuild
	// console and the AWS Command Line Interface (AWS CLI). For sensitive values,
	// we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (EnvironmentVariable) String

func (s EnvironmentVariable) String() string

String returns the string representation

func (*EnvironmentVariable) Validate

func (s *EnvironmentVariable) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnvironmentVariableType

type EnvironmentVariableType string
const (
	EnvironmentVariableTypePlaintext      EnvironmentVariableType = "PLAINTEXT"
	EnvironmentVariableTypeParameterStore EnvironmentVariableType = "PARAMETER_STORE"
	EnvironmentVariableTypeSecretsManager EnvironmentVariableType = "SECRETS_MANAGER"
)

Enum values for EnvironmentVariableType

func (EnvironmentVariableType) MarshalValue added in v0.3.0

func (enum EnvironmentVariableType) MarshalValue() (string, error)

func (EnvironmentVariableType) MarshalValueBuf added in v0.3.0

func (enum EnvironmentVariableType) MarshalValueBuf(b []byte) ([]byte, error)

type ExportedEnvironmentVariable added in v0.16.0

type ExportedEnvironmentVariable struct {

	// The name of this exported environment variable.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The value assigned to this exported environment variable.
	//
	// During a build, the value of a variable is available starting with the install
	// phase. It can be updated between the start of the install phase and the end
	// of the post_build phase. After the post_build phase ends, the value of exported
	// variables cannot change.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Information about an exported environment variable.

func (ExportedEnvironmentVariable) String added in v0.16.0

String returns the string representation

type FileSystemType added in v0.20.0

type FileSystemType string
const (
	FileSystemTypeEfs FileSystemType = "EFS"
)

Enum values for FileSystemType

func (FileSystemType) MarshalValue added in v0.20.0

func (enum FileSystemType) MarshalValue() (string, error)

func (FileSystemType) MarshalValueBuf added in v0.20.0

func (enum FileSystemType) MarshalValueBuf(b []byte) ([]byte, error)

type GetResourcePolicyInput added in v0.19.0

type GetResourcePolicyInput struct {

	// The ARN of the resource that is associated with the resource policy.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetResourcePolicyInput) String added in v0.19.0

func (s GetResourcePolicyInput) String() string

String returns the string representation

func (*GetResourcePolicyInput) Validate added in v0.19.0

func (s *GetResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResourcePolicyOutput added in v0.19.0

type GetResourcePolicyOutput struct {

	// The resource policy for the resource identified by the input ARN parameter.
	Policy *string `locationName:"policy" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetResourcePolicyOutput) String added in v0.19.0

func (s GetResourcePolicyOutput) String() string

String returns the string representation

type GetResourcePolicyRequest added in v0.19.0

type GetResourcePolicyRequest struct {
	*aws.Request
	Input *GetResourcePolicyInput
	Copy  func(*GetResourcePolicyInput) GetResourcePolicyRequest
}

GetResourcePolicyRequest is the request type for the GetResourcePolicy API operation.

func (GetResourcePolicyRequest) Send added in v0.19.0

Send marshals and sends the GetResourcePolicy API request.

type GetResourcePolicyResponse added in v0.19.0

type GetResourcePolicyResponse struct {
	*GetResourcePolicyOutput
	// contains filtered or unexported fields
}

GetResourcePolicyResponse is the response type for the GetResourcePolicy API operation.

func (*GetResourcePolicyResponse) SDKResponseMetdata added in v0.19.0

func (r *GetResourcePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResourcePolicy request.

type GitSubmodulesConfig added in v0.8.0

type GitSubmodulesConfig struct {

	// Set to true to fetch Git submodules for your AWS CodeBuild build project.
	//
	// FetchSubmodules is a required field
	FetchSubmodules *bool `locationName:"fetchSubmodules" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

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

func (GitSubmodulesConfig) String added in v0.8.0

func (s GitSubmodulesConfig) String() string

String returns the string representation

func (*GitSubmodulesConfig) Validate added in v0.8.0

func (s *GitSubmodulesConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImagePullCredentialsType added in v0.8.0

type ImagePullCredentialsType string
const (
	ImagePullCredentialsTypeCodebuild   ImagePullCredentialsType = "CODEBUILD"
	ImagePullCredentialsTypeServiceRole ImagePullCredentialsType = "SERVICE_ROLE"
)

Enum values for ImagePullCredentialsType

func (ImagePullCredentialsType) MarshalValue added in v0.8.0

func (enum ImagePullCredentialsType) MarshalValue() (string, error)

func (ImagePullCredentialsType) MarshalValueBuf added in v0.8.0

func (enum ImagePullCredentialsType) MarshalValueBuf(b []byte) ([]byte, error)

type ImportSourceCredentialsInput added in v0.7.0

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.
	//
	// AuthType is a required field
	AuthType AuthType `locationName:"authType" type:"string" required:"true" enum:"true"`

	// The source provider used for this project.
	//
	// ServerType is a required field
	ServerType ServerType `locationName:"serverType" type:"string" required:"true" enum:"true"`

	// 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 `locationName:"shouldOverwrite" type:"boolean"`

	// For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
	// this is the app password.
	//
	// Token is a required field
	Token *string `locationName:"token" min:"1" type:"string" required:"true" sensitive:"true"`

	// The Bitbucket username when the authType is BASIC_AUTH. This parameter is
	// not valid for other types of source providers or connections.
	Username *string `locationName:"username" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ImportSourceCredentialsInput) String added in v0.7.0

String returns the string representation

func (*ImportSourceCredentialsInput) Validate added in v0.7.0

func (s *ImportSourceCredentialsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportSourceCredentialsOutput added in v0.7.0

type ImportSourceCredentialsOutput struct {

	// The Amazon Resource Name (ARN) of the token.
	Arn *string `locationName:"arn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ImportSourceCredentialsOutput) String added in v0.7.0

String returns the string representation

type ImportSourceCredentialsRequest added in v0.7.0

type ImportSourceCredentialsRequest struct {
	*aws.Request
	Input *ImportSourceCredentialsInput
	Copy  func(*ImportSourceCredentialsInput) ImportSourceCredentialsRequest
}

ImportSourceCredentialsRequest is the request type for the ImportSourceCredentials API operation.

func (ImportSourceCredentialsRequest) Send added in v0.7.0

Send marshals and sends the ImportSourceCredentials API request.

type ImportSourceCredentialsResponse added in v0.9.0

type ImportSourceCredentialsResponse struct {
	*ImportSourceCredentialsOutput
	// contains filtered or unexported fields
}

ImportSourceCredentialsResponse is the response type for the ImportSourceCredentials API operation.

func (*ImportSourceCredentialsResponse) SDKResponseMetdata added in v0.9.0

func (r *ImportSourceCredentialsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ImportSourceCredentials request.

type InvalidateProjectCacheInput added in v0.2.0

type InvalidateProjectCacheInput struct {

	// The name of the AWS CodeBuild build project that the cache is reset for.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (InvalidateProjectCacheInput) String added in v0.2.0

String returns the string representation

func (*InvalidateProjectCacheInput) Validate added in v0.2.0

func (s *InvalidateProjectCacheInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InvalidateProjectCacheOutput added in v0.2.0

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

func (InvalidateProjectCacheOutput) String added in v0.2.0

String returns the string representation

type InvalidateProjectCacheRequest added in v0.2.0

type InvalidateProjectCacheRequest struct {
	*aws.Request
	Input *InvalidateProjectCacheInput
	Copy  func(*InvalidateProjectCacheInput) InvalidateProjectCacheRequest
}

InvalidateProjectCacheRequest is the request type for the InvalidateProjectCache API operation.

func (InvalidateProjectCacheRequest) Send added in v0.2.0

Send marshals and sends the InvalidateProjectCache API request.

type InvalidateProjectCacheResponse added in v0.9.0

type InvalidateProjectCacheResponse struct {
	*InvalidateProjectCacheOutput
	// contains filtered or unexported fields
}

InvalidateProjectCacheResponse is the response type for the InvalidateProjectCache API operation.

func (*InvalidateProjectCacheResponse) SDKResponseMetdata added in v0.9.0

func (r *InvalidateProjectCacheResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the InvalidateProjectCache request.

type LanguageType

type LanguageType string
const (
	LanguageTypeJava    LanguageType = "JAVA"
	LanguageTypePython  LanguageType = "PYTHON"
	LanguageTypeNodeJs  LanguageType = "NODE_JS"
	LanguageTypeRuby    LanguageType = "RUBY"
	LanguageTypeGolang  LanguageType = "GOLANG"
	LanguageTypeDocker  LanguageType = "DOCKER"
	LanguageTypeAndroid LanguageType = "ANDROID"
	LanguageTypeDotnet  LanguageType = "DOTNET"
	LanguageTypeBase    LanguageType = "BASE"
	LanguageTypePhp     LanguageType = "PHP"
)

Enum values for LanguageType

func (LanguageType) MarshalValue added in v0.3.0

func (enum LanguageType) MarshalValue() (string, error)

func (LanguageType) MarshalValueBuf added in v0.3.0

func (enum LanguageType) MarshalValueBuf(b []byte) ([]byte, error)

type ListBuildsForProjectInput

type ListBuildsForProjectInput 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 `locationName:"nextToken" type:"string"`

	// The name of the AWS CodeBuild project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`

	// 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 SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListBuildsForProjectInput) String

func (s ListBuildsForProjectInput) String() string

String returns the string representation

func (*ListBuildsForProjectInput) Validate

func (s *ListBuildsForProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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 `locationName:"ids" min:"1" type:"list"`

	// 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 `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildsForProjectOutput) String

String returns the string representation

type ListBuildsForProjectPaginator added in v0.23.0

type ListBuildsForProjectPaginator struct {
	aws.Pager
}

ListBuildsForProjectPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBuildsForProjectPaginator added in v0.23.0

func NewListBuildsForProjectPaginator(req ListBuildsForProjectRequest) ListBuildsForProjectPaginator

NewListBuildsForProjectRequestPaginator returns a paginator for ListBuildsForProject. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBuildsForProjectRequest(input)
p := codebuild.NewListBuildsForProjectRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBuildsForProjectPaginator) CurrentPage added in v0.23.0

type ListBuildsForProjectRequest

type ListBuildsForProjectRequest struct {
	*aws.Request
	Input *ListBuildsForProjectInput
	Copy  func(*ListBuildsForProjectInput) ListBuildsForProjectRequest
}

ListBuildsForProjectRequest is the request type for the ListBuildsForProject API operation.

func (ListBuildsForProjectRequest) Send

Send marshals and sends the ListBuildsForProject API request.

type ListBuildsForProjectResponse added in v0.9.0

type ListBuildsForProjectResponse struct {
	*ListBuildsForProjectOutput
	// contains filtered or unexported fields
}

ListBuildsForProjectResponse is the response type for the ListBuildsForProject API operation.

func (*ListBuildsForProjectResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBuildsForProjectResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBuildsForProject request.

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 `locationName:"nextToken" type:"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 SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListBuildsInput) String

func (s ListBuildsInput) String() string

String returns the string representation

type ListBuildsOutput

type ListBuildsOutput struct {

	// A list of build IDs, with each build ID representing a single build.
	Ids []string `locationName:"ids" min:"1" type:"list"`

	// 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 `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildsOutput) String

func (s ListBuildsOutput) String() string

String returns the string representation

type ListBuildsPaginator added in v0.23.0

type ListBuildsPaginator struct {
	aws.Pager
}

ListBuildsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListBuildsPaginator added in v0.23.0

func NewListBuildsPaginator(req ListBuildsRequest) ListBuildsPaginator

NewListBuildsRequestPaginator returns a paginator for ListBuilds. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListBuildsRequest(input)
p := codebuild.NewListBuildsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListBuildsPaginator) CurrentPage added in v0.23.0

func (p *ListBuildsPaginator) CurrentPage() *ListBuildsOutput

type ListBuildsRequest

type ListBuildsRequest struct {
	*aws.Request
	Input *ListBuildsInput
	Copy  func(*ListBuildsInput) ListBuildsRequest
}

ListBuildsRequest is the request type for the ListBuilds API operation.

func (ListBuildsRequest) Send

Send marshals and sends the ListBuilds API request.

type ListBuildsResponse added in v0.9.0

type ListBuildsResponse struct {
	*ListBuildsOutput
	// contains filtered or unexported fields
}

ListBuildsResponse is the response type for the ListBuilds API operation.

func (*ListBuildsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBuildsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBuilds request.

type ListCuratedEnvironmentImagesInput

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

func (ListCuratedEnvironmentImagesInput) String

String returns the string representation

type ListCuratedEnvironmentImagesOutput

type ListCuratedEnvironmentImagesOutput struct {

	// Information about supported platforms for Docker images that are managed
	// by AWS CodeBuild.
	Platforms []EnvironmentPlatform `locationName:"platforms" type:"list"`
	// contains filtered or unexported fields
}

func (ListCuratedEnvironmentImagesOutput) String

String returns the string representation

type ListCuratedEnvironmentImagesRequest

type ListCuratedEnvironmentImagesRequest struct {
	*aws.Request
	Input *ListCuratedEnvironmentImagesInput
	Copy  func(*ListCuratedEnvironmentImagesInput) ListCuratedEnvironmentImagesRequest
}

ListCuratedEnvironmentImagesRequest is the request type for the ListCuratedEnvironmentImages API operation.

func (ListCuratedEnvironmentImagesRequest) Send

Send marshals and sends the ListCuratedEnvironmentImages API request.

type ListCuratedEnvironmentImagesResponse added in v0.9.0

type ListCuratedEnvironmentImagesResponse struct {
	*ListCuratedEnvironmentImagesOutput
	// contains filtered or unexported fields
}

ListCuratedEnvironmentImagesResponse is the response type for the ListCuratedEnvironmentImages API operation.

func (*ListCuratedEnvironmentImagesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListCuratedEnvironmentImagesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCuratedEnvironmentImages request.

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 `locationName:"nextToken" min:"1" type:"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 ProjectSortByType `locationName:"sortBy" type:"string" enum:"true"`

	// 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 SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListProjectsInput) String

func (s ListProjectsInput) String() string

String returns the string representation

func (*ListProjectsInput) Validate

func (s *ListProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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 `locationName:"nextToken" type:"string"`

	// The list of build project names, with each build project name representing
	// a single build project.
	Projects []string `locationName:"projects" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListProjectsOutput) String

func (s ListProjectsOutput) String() string

String returns the string representation

type ListProjectsPaginator added in v0.23.0

type ListProjectsPaginator struct {
	aws.Pager
}

ListProjectsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListProjectsPaginator added in v0.23.0

func NewListProjectsPaginator(req ListProjectsRequest) ListProjectsPaginator

NewListProjectsRequestPaginator returns a paginator for ListProjects. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListProjectsRequest(input)
p := codebuild.NewListProjectsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListProjectsPaginator) CurrentPage added in v0.23.0

func (p *ListProjectsPaginator) CurrentPage() *ListProjectsOutput

type ListProjectsRequest

type ListProjectsRequest struct {
	*aws.Request
	Input *ListProjectsInput
	Copy  func(*ListProjectsInput) ListProjectsRequest
}

ListProjectsRequest is the request type for the ListProjects API operation.

func (ListProjectsRequest) Send

Send marshals and sends the ListProjects API request.

type ListProjectsResponse added in v0.9.0

type ListProjectsResponse struct {
	*ListProjectsOutput
	// contains filtered or unexported fields
}

ListProjectsResponse is the response type for the ListProjects API operation.

func (*ListProjectsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListProjectsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListProjects request.

type ListReportGroupsInput added in v0.18.0

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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" type:"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 ReportGroupSortByType `locationName:"sortBy" type:"string" enum:"true"`

	// Used to specify the order to sort the list of returned report groups. Valid
	// values are ASCENDING and DESCENDING.
	SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListReportGroupsInput) String added in v0.18.0

func (s ListReportGroupsInput) String() string

String returns the string representation

func (*ListReportGroupsInput) Validate added in v0.18.0

func (s *ListReportGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportGroupsOutput added in v0.18.0

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 `locationName:"nextToken" type:"string"`

	// The list of ARNs for the report groups in the current AWS account.
	ReportGroups []string `locationName:"reportGroups" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListReportGroupsOutput) String added in v0.18.0

func (s ListReportGroupsOutput) String() string

String returns the string representation

type ListReportGroupsPaginator added in v0.23.0

type ListReportGroupsPaginator struct {
	aws.Pager
}

ListReportGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListReportGroupsPaginator added in v0.23.0

func NewListReportGroupsPaginator(req ListReportGroupsRequest) ListReportGroupsPaginator

NewListReportGroupsRequestPaginator returns a paginator for ListReportGroups. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListReportGroupsRequest(input)
p := codebuild.NewListReportGroupsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListReportGroupsPaginator) CurrentPage added in v0.23.0

type ListReportGroupsRequest added in v0.18.0

type ListReportGroupsRequest struct {
	*aws.Request
	Input *ListReportGroupsInput
	Copy  func(*ListReportGroupsInput) ListReportGroupsRequest
}

ListReportGroupsRequest is the request type for the ListReportGroups API operation.

func (ListReportGroupsRequest) Send added in v0.18.0

Send marshals and sends the ListReportGroups API request.

type ListReportGroupsResponse added in v0.18.0

type ListReportGroupsResponse struct {
	*ListReportGroupsOutput
	// contains filtered or unexported fields
}

ListReportGroupsResponse is the response type for the ListReportGroups API operation.

func (*ListReportGroupsResponse) SDKResponseMetdata added in v0.18.0

func (r *ListReportGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListReportGroups request.

type ListReportsForReportGroupInput added in v0.18.0

type ListReportsForReportGroupInput struct {

	// A ReportFilter object used to filter the returned reports.
	Filter *ReportFilter `locationName:"filter" type:"structure"`

	// 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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" type:"string"`

	// The ARN of the report group for which you want to return report ARNs.
	//
	// ReportGroupArn is a required field
	ReportGroupArn *string `locationName:"reportGroupArn" type:"string" required:"true"`

	// Use to specify whether the results are returned in ascending or descending
	// order.
	SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListReportsForReportGroupInput) String added in v0.18.0

String returns the string representation

func (*ListReportsForReportGroupInput) Validate added in v0.18.0

func (s *ListReportsForReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportsForReportGroupOutput added in v0.18.0

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 `locationName:"nextToken" type:"string"`

	// The list of report ARNs.
	Reports []string `locationName:"reports" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListReportsForReportGroupOutput) String added in v0.18.0

String returns the string representation

type ListReportsForReportGroupPaginator added in v0.23.0

type ListReportsForReportGroupPaginator struct {
	aws.Pager
}

ListReportsForReportGroupPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListReportsForReportGroupPaginator added in v0.23.0

func NewListReportsForReportGroupPaginator(req ListReportsForReportGroupRequest) ListReportsForReportGroupPaginator

NewListReportsForReportGroupRequestPaginator returns a paginator for ListReportsForReportGroup. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListReportsForReportGroupRequest(input)
p := codebuild.NewListReportsForReportGroupRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListReportsForReportGroupPaginator) CurrentPage added in v0.23.0

type ListReportsForReportGroupRequest added in v0.18.0

type ListReportsForReportGroupRequest struct {
	*aws.Request
	Input *ListReportsForReportGroupInput
	Copy  func(*ListReportsForReportGroupInput) ListReportsForReportGroupRequest
}

ListReportsForReportGroupRequest is the request type for the ListReportsForReportGroup API operation.

func (ListReportsForReportGroupRequest) Send added in v0.18.0

Send marshals and sends the ListReportsForReportGroup API request.

type ListReportsForReportGroupResponse added in v0.18.0

type ListReportsForReportGroupResponse struct {
	*ListReportsForReportGroupOutput
	// contains filtered or unexported fields
}

ListReportsForReportGroupResponse is the response type for the ListReportsForReportGroup API operation.

func (*ListReportsForReportGroupResponse) SDKResponseMetdata added in v0.18.0

func (r *ListReportsForReportGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListReportsForReportGroup request.

type ListReportsInput added in v0.18.0

type ListReportsInput struct {

	// A ReportFilter object used to filter the returned reports.
	Filter *ReportFilter `locationName:"filter" type:"structure"`

	// 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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" type:"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 SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListReportsInput) String added in v0.18.0

func (s ListReportsInput) String() string

String returns the string representation

func (*ListReportsInput) Validate added in v0.18.0

func (s *ListReportsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportsOutput added in v0.18.0

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 `locationName:"nextToken" type:"string"`

	// The list of returned ARNs for the reports in the current AWS account.
	Reports []string `locationName:"reports" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListReportsOutput) String added in v0.18.0

func (s ListReportsOutput) String() string

String returns the string representation

type ListReportsPaginator added in v0.23.0

type ListReportsPaginator struct {
	aws.Pager
}

ListReportsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListReportsPaginator added in v0.23.0

func NewListReportsPaginator(req ListReportsRequest) ListReportsPaginator

NewListReportsRequestPaginator returns a paginator for ListReports. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListReportsRequest(input)
p := codebuild.NewListReportsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListReportsPaginator) CurrentPage added in v0.23.0

func (p *ListReportsPaginator) CurrentPage() *ListReportsOutput

type ListReportsRequest added in v0.18.0

type ListReportsRequest struct {
	*aws.Request
	Input *ListReportsInput
	Copy  func(*ListReportsInput) ListReportsRequest
}

ListReportsRequest is the request type for the ListReports API operation.

func (ListReportsRequest) Send added in v0.18.0

Send marshals and sends the ListReports API request.

type ListReportsResponse added in v0.18.0

type ListReportsResponse struct {
	*ListReportsOutput
	// contains filtered or unexported fields
}

ListReportsResponse is the response type for the ListReports API operation.

func (*ListReportsResponse) SDKResponseMetdata added in v0.18.0

func (r *ListReportsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListReports request.

type ListSharedProjectsInput added in v0.19.0

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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" min:"1" type:"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 SharedResourceSortByType `locationName:"sortBy" type:"string" enum:"true"`

	// The order in which to list shared build projects. Valid values include:
	//
	//    * ASCENDING: List in ascending order.
	//
	//    * DESCENDING: List in descending order.
	SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListSharedProjectsInput) String added in v0.19.0

func (s ListSharedProjectsInput) String() string

String returns the string representation

func (*ListSharedProjectsInput) Validate added in v0.19.0

func (s *ListSharedProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSharedProjectsOutput added in v0.19.0

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 `locationName:"nextToken" type:"string"`

	// The list of ARNs for the build projects shared with the current AWS account
	// or user.
	Projects []string `locationName:"projects" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListSharedProjectsOutput) String added in v0.19.0

func (s ListSharedProjectsOutput) String() string

String returns the string representation

type ListSharedProjectsPaginator added in v0.23.0

type ListSharedProjectsPaginator struct {
	aws.Pager
}

ListSharedProjectsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListSharedProjectsPaginator added in v0.23.0

func NewListSharedProjectsPaginator(req ListSharedProjectsRequest) ListSharedProjectsPaginator

NewListSharedProjectsRequestPaginator returns a paginator for ListSharedProjects. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListSharedProjectsRequest(input)
p := codebuild.NewListSharedProjectsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListSharedProjectsPaginator) CurrentPage added in v0.23.0

type ListSharedProjectsRequest added in v0.19.0

type ListSharedProjectsRequest struct {
	*aws.Request
	Input *ListSharedProjectsInput
	Copy  func(*ListSharedProjectsInput) ListSharedProjectsRequest
}

ListSharedProjectsRequest is the request type for the ListSharedProjects API operation.

func (ListSharedProjectsRequest) Send added in v0.19.0

Send marshals and sends the ListSharedProjects API request.

type ListSharedProjectsResponse added in v0.19.0

type ListSharedProjectsResponse struct {
	*ListSharedProjectsOutput
	// contains filtered or unexported fields
}

ListSharedProjectsResponse is the response type for the ListSharedProjects API operation.

func (*ListSharedProjectsResponse) SDKResponseMetdata added in v0.19.0

func (r *ListSharedProjectsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSharedProjects request.

type ListSharedReportGroupsInput added in v0.19.0

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 *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// 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 `locationName:"nextToken" type:"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 SharedResourceSortByType `locationName:"sortBy" type:"string" enum:"true"`

	// The order in which to list shared report groups. Valid values include:
	//
	//    * ASCENDING: List in ascending order.
	//
	//    * DESCENDING: List in descending order.
	SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListSharedReportGroupsInput) String added in v0.19.0

String returns the string representation

func (*ListSharedReportGroupsInput) Validate added in v0.19.0

func (s *ListSharedReportGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSharedReportGroupsOutput added in v0.19.0

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 `locationName:"nextToken" type:"string"`

	// The list of ARNs for the report groups shared with the current AWS account
	// or user.
	ReportGroups []string `locationName:"reportGroups" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListSharedReportGroupsOutput) String added in v0.19.0

String returns the string representation

type ListSharedReportGroupsPaginator added in v0.23.0

type ListSharedReportGroupsPaginator struct {
	aws.Pager
}

ListSharedReportGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListSharedReportGroupsPaginator added in v0.23.0

func NewListSharedReportGroupsPaginator(req ListSharedReportGroupsRequest) ListSharedReportGroupsPaginator

NewListSharedReportGroupsRequestPaginator returns a paginator for ListSharedReportGroups. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListSharedReportGroupsRequest(input)
p := codebuild.NewListSharedReportGroupsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListSharedReportGroupsPaginator) CurrentPage added in v0.23.0

type ListSharedReportGroupsRequest added in v0.19.0

type ListSharedReportGroupsRequest struct {
	*aws.Request
	Input *ListSharedReportGroupsInput
	Copy  func(*ListSharedReportGroupsInput) ListSharedReportGroupsRequest
}

ListSharedReportGroupsRequest is the request type for the ListSharedReportGroups API operation.

func (ListSharedReportGroupsRequest) Send added in v0.19.0

Send marshals and sends the ListSharedReportGroups API request.

type ListSharedReportGroupsResponse added in v0.19.0

type ListSharedReportGroupsResponse struct {
	*ListSharedReportGroupsOutput
	// contains filtered or unexported fields
}

ListSharedReportGroupsResponse is the response type for the ListSharedReportGroups API operation.

func (*ListSharedReportGroupsResponse) SDKResponseMetdata added in v0.19.0

func (r *ListSharedReportGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSharedReportGroups request.

type ListSourceCredentialsInput added in v0.7.0

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

func (ListSourceCredentialsInput) String added in v0.7.0

String returns the string representation

type ListSourceCredentialsOutput added in v0.7.0

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 []SourceCredentialsInfo `locationName:"sourceCredentialsInfos" type:"list"`
	// contains filtered or unexported fields
}

func (ListSourceCredentialsOutput) String added in v0.7.0

String returns the string representation

type ListSourceCredentialsRequest added in v0.7.0

type ListSourceCredentialsRequest struct {
	*aws.Request
	Input *ListSourceCredentialsInput
	Copy  func(*ListSourceCredentialsInput) ListSourceCredentialsRequest
}

ListSourceCredentialsRequest is the request type for the ListSourceCredentials API operation.

func (ListSourceCredentialsRequest) Send added in v0.7.0

Send marshals and sends the ListSourceCredentials API request.

type ListSourceCredentialsResponse added in v0.9.0

type ListSourceCredentialsResponse struct {
	*ListSourceCredentialsOutput
	// contains filtered or unexported fields
}

ListSourceCredentialsResponse is the response type for the ListSourceCredentials API operation.

func (*ListSourceCredentialsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListSourceCredentialsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSourceCredentials request.

type LogsConfig added in v0.5.0

type LogsConfig struct {

	// Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch
	// Logs are enabled by default.
	CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"`

	// Information about logs built to an S3 bucket for a build project. S3 logs
	// are not enabled by default.
	S3Logs *S3LogsConfig `locationName:"s3Logs" type:"structure"`
	// contains filtered or unexported fields
}

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

func (LogsConfig) String added in v0.5.0

func (s LogsConfig) String() string

String returns the string representation

func (*LogsConfig) Validate added in v0.5.0

func (s *LogsConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LogsConfigStatusType added in v0.5.0

type LogsConfigStatusType string
const (
	LogsConfigStatusTypeEnabled  LogsConfigStatusType = "ENABLED"
	LogsConfigStatusTypeDisabled LogsConfigStatusType = "DISABLED"
)

Enum values for LogsConfigStatusType

func (LogsConfigStatusType) MarshalValue added in v0.5.0

func (enum LogsConfigStatusType) MarshalValue() (string, error)

func (LogsConfigStatusType) MarshalValueBuf added in v0.5.0

func (enum LogsConfigStatusType) MarshalValueBuf(b []byte) ([]byte, error)

type LogsLocation

type LogsLocation struct {

	// Information about Amazon CloudWatch Logs for a build project.
	CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"`

	// The ARN of Amazon CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
	// For more information, see Resources Defined by Amazon CloudWatch Logs (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies).
	CloudWatchLogsArn *string `locationName:"cloudWatchLogsArn" type:"string"`

	// The URL to an individual build log in Amazon CloudWatch Logs.
	DeepLink *string `locationName:"deepLink" type:"string"`

	// The name of the Amazon CloudWatch Logs group for the build logs.
	GroupName *string `locationName:"groupName" type:"string"`

	// The URL to a build log in an S3 bucket.
	S3DeepLink *string `locationName:"s3DeepLink" type:"string"`

	// Information about S3 logs for a build project.
	S3Logs *S3LogsConfig `locationName:"s3Logs" type:"structure"`

	// The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}.
	// For more information, see Resources Defined by Amazon S3 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies).
	S3LogsArn *string `locationName:"s3LogsArn" type:"string"`

	// The name of the Amazon CloudWatch Logs stream for the build logs.
	StreamName *string `locationName:"streamName" type:"string"`
	// contains filtered or unexported fields
}

Information about build logs in Amazon CloudWatch Logs.

func (LogsLocation) String

func (s LogsLocation) String() string

String returns the string representation

type NetworkInterface added in v0.2.0

type NetworkInterface struct {

	// The ID of the network interface.
	NetworkInterfaceId *string `locationName:"networkInterfaceId" min:"1" type:"string"`

	// The ID of the subnet.
	SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a network interface.

func (NetworkInterface) String added in v0.2.0

func (s NetworkInterface) String() string

String returns the string representation

type PhaseContext

type PhaseContext struct {

	// An explanation of the build phase's context. This might include a command
	// ID and an exit code.
	Message *string `locationName:"message" type:"string"`

	// The status code for the context of the build phase.
	StatusCode *string `locationName:"statusCode" type:"string"`
	// contains filtered or unexported fields
}

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

func (PhaseContext) String

func (s PhaseContext) String() string

String returns the string representation

type PlatformType

type PlatformType string
const (
	PlatformTypeDebian        PlatformType = "DEBIAN"
	PlatformTypeAmazonLinux   PlatformType = "AMAZON_LINUX"
	PlatformTypeUbuntu        PlatformType = "UBUNTU"
	PlatformTypeWindowsServer PlatformType = "WINDOWS_SERVER"
)

Enum values for PlatformType

func (PlatformType) MarshalValue added in v0.3.0

func (enum PlatformType) MarshalValue() (string, error)

func (PlatformType) MarshalValueBuf added in v0.3.0

func (enum PlatformType) MarshalValueBuf(b []byte) ([]byte, error)

type Project

type Project struct {

	// The Amazon Resource Name (ARN) of the build project.
	Arn *string `locationName:"arn" type:"string"`

	// Information about the build output artifacts for the build project.
	Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"`

	// Information about the build badge for the build project.
	Badge *ProjectBadge `locationName:"badge" type:"structure"`

	// Information about the cache for the build project.
	Cache *ProjectCache `locationName:"cache" type:"structure"`

	// When the build project was created, expressed in Unix time format.
	Created *time.Time `locationName:"created" type:"timestamp"`

	// A description that makes the build project easy to identify.
	Description *string `locationName:"description" type:"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/alias-name ).
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// Information about the build environment for this build project.
	Environment *ProjectEnvironment `locationName:"environment" type:"structure"`

	// 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 []ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

	// When the build project's settings were last modified, expressed in Unix time
	// format.
	LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

	// Information about logs for the build project. A project can create logs in
	// Amazon CloudWatch Logs, an S3 bucket, or both.
	LogsConfig *LogsConfig `locationName:"logsConfig" type:"structure"`

	// The name of the build project.
	Name *string `locationName:"name" min:"2" type:"string"`

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" min:"5" type:"integer"`

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

	// An array of ProjectSourceVersion objects. If secondarySourceVersions is specified
	// at the build level, then they take over these secondarySourceVersions (at
	// the project level).
	SecondarySourceVersions []ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

	// An array of ProjectSource objects.
	SecondarySources []ProjectSource `locationName:"secondarySources" type:"list"`

	// 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.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

	// Information about the build input source code for this build project.
	Source *ProjectSource `locationName:"source" type:"structure"`

	// 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 `locationName:"sourceVersion" type:"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 []Tag `locationName:"tags" type:"list"`

	// How long, 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.
	// The default is 60 minutes.
	TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"`

	// Information about the VPC configuration that AWS CodeBuild accesses.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`

	// Information about a webhook that connects repository events to a build project
	// in AWS CodeBuild.
	Webhook *Webhook `locationName:"webhook" type:"structure"`
	// contains filtered or unexported fields
}

Information about a build project.

func (Project) String

func (s Project) String() string

String returns the string representation

type ProjectArtifacts

type ProjectArtifacts struct {

	// An identifier for this artifact definition.
	ArtifactIdentifier *string `locationName:"artifactIdentifier" type:"string"`

	// Set to true if you do not want your output artifacts encrypted. This option
	// is valid only if your artifacts type is Amazon Simple Storage Service (Amazon
	// S3). If this is set with another artifacts type, an invalidInputException
	// is thrown.
	EncryptionDisabled *bool `locationName:"encryptionDisabled" type:"boolean"`

	// Information about the build output artifact location:
	//
	//    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
	//    if specified. This is because AWS CodePipeline manages its build output
	//    locations instead of AWS CodeBuild.
	//
	//    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
	//    because no build output is produced.
	//
	//    * If type is set to S3, this is the name of the output bucket.
	Location *string `locationName:"location" type:"string"`

	// Along with path and namespaceType, the pattern that AWS CodeBuild uses to
	// name and store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
	//    if specified. This is because AWS CodePipeline manages its build output
	//    names instead of AWS CodeBuild.
	//
	//    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
	//    because no build output is produced.
	//
	//    * If type is set to S3, this is the name of the output artifact object.
	//    If you set the name to be a forward slash ("/"), the artifact is stored
	//    in the root of the output bucket.
	//
	// For example:
	//
	//    * If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and
	//    name is set to MyArtifact.zip, then the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip.
	//
	//    * If path is empty, namespaceType is set to NONE, and name is set to "/",
	//    the output artifact is stored in the root of the output bucket.
	//
	//    * If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and
	//    name is set to "/", the output artifact is stored in MyArtifacts/build-ID .
	Name *string `locationName:"name" type:"string"`

	// Along with path and name, the pattern that AWS CodeBuild uses to determine
	// the name and location to store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
	//    if specified. This is because AWS CodePipeline manages its build output
	//    names instead of AWS CodeBuild.
	//
	//    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
	//    because no build output is produced.
	//
	//    * If type is set to S3, valid values include: BUILD_ID: Include the build
	//    ID in the location of the build output artifact. NONE: Do not include
	//    the build ID. This is the default if namespaceType is not specified.
	//
	// For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID,
	// and name is set to MyArtifact.zip, the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip.
	NamespaceType ArtifactNamespace `locationName:"namespaceType" type:"string" enum:"true"`

	// If this flag is set, a name specified in the buildspec file overrides the
	// artifact name. The name specified in a buildspec file is calculated at build
	// time and uses the Shell Command Language. For example, you can append a date
	// and time to your artifact name so that it is always unique.
	OverrideArtifactName *bool `locationName:"overrideArtifactName" type:"boolean"`

	// The type of build output artifact to create:
	//
	//    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
	//    if specified. This is because AWS CodePipeline manages its build output
	//    artifacts instead of AWS CodeBuild.
	//
	//    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
	//    because no build output is produced.
	//
	//    * If type is set to S3, valid values include: NONE: AWS CodeBuild creates
	//    in the output bucket a folder that contains the build output. This is
	//    the default if packaging is not specified. ZIP: AWS CodeBuild creates
	//    in the output bucket a ZIP file that contains the build output.
	Packaging ArtifactPackaging `locationName:"packaging" type:"string" enum:"true"`

	// Along with namespaceType and name, the pattern that AWS CodeBuild uses to
	// name and store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
	//    if specified. This is because AWS CodePipeline manages its build output
	//    names instead of AWS CodeBuild.
	//
	//    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
	//    because no build output is produced.
	//
	//    * If type is set to S3, this is the path to the output artifact. If path
	//    is not specified, path is not used.
	//
	// For example, if path is set to MyArtifacts, namespaceType is set to NONE,
	// and name is set to MyArtifact.zip, the output artifact is stored in the output
	// bucket at MyArtifacts/MyArtifact.zip.
	Path *string `locationName:"path" type:"string"`

	// The type of build output artifact. Valid values include:
	//
	//    * CODEPIPELINE: The build project has build output generated through AWS
	//    CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
	//
	//    * NO_ARTIFACTS: The build project does not produce any build output.
	//
	//    * S3: The build project stores build output in Amazon Simple Storage Service
	//    (Amazon S3).
	//
	// Type is a required field
	Type ArtifactsType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Information about the build output artifacts for the build project.

func (ProjectArtifacts) String

func (s ProjectArtifacts) String() string

String returns the string representation

func (*ProjectArtifacts) Validate

func (s *ProjectArtifacts) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectBadge added in v0.2.0

type ProjectBadge struct {

	// Set this to true to generate a publicly accessible URL for your project's
	// build badge.
	BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"`

	// The publicly-accessible URL through which you can access the build badge
	// for your project.
	//
	// The publicly accessible URL through which you can access the build badge
	// for your project.
	BadgeRequestUrl *string `locationName:"badgeRequestUrl" type:"string"`
	// contains filtered or unexported fields
}

Information about the build badge for the build project.

func (ProjectBadge) String added in v0.2.0

func (s ProjectBadge) String() string

String returns the string representation

type ProjectCache added in v0.2.0

type ProjectCache struct {

	// Information about the cache location:
	//
	//    * NO_CACHE or LOCAL: This value is ignored.
	//
	//    * S3: This is the S3 bucket name/prefix.
	Location *string `locationName:"location" type:"string"`

	// If you use a LOCAL cache, the local cache mode. You can use one or more local
	// cache modes at the same time.
	//
	//    * LOCAL_SOURCE_CACHE mode caches Git metadata for primary and secondary
	//    sources. After the cache is created, subsequent builds pull only the change
	//    between commits. This mode is a good choice for projects with a clean
	//    working directory and a source that is a large Git repository. If you
	//    choose this option and your project does not use a Git repository (GitHub,
	//    GitHub Enterprise, or Bitbucket), the option is ignored.
	//
	//    * LOCAL_DOCKER_LAYER_CACHE mode caches existing Docker layers. This mode
	//    is a good choice for projects that build or pull large Docker images.
	//    It can prevent the performance issues caused by pulling large Docker images
	//    down from the network. You can use a Docker layer cache in the Linux environment
	//    only. The privileged flag must be set so that your project has the required
	//    Docker permissions. You should consider the security implications before
	//    you use a Docker layer cache.
	//
	//    * LOCAL_CUSTOM_CACHE mode caches directories you specify in the buildspec
	//    file. This mode is a good choice if your build scenario is not suited
	//    to one of the other three local cache modes. If you use a custom cache:
	//    Only directories can be specified for caching. You cannot specify individual
	//    files. Symlinks are used to reference cached directories. Cached directories
	//    are linked to your build before it downloads its project sources. Cached
	//    items are overridden if a source item has the same name. Directories are
	//    specified using cache paths in the buildspec file.
	Modes []CacheMode `locationName:"modes" type:"list"`

	// The type of cache used by the build project. Valid values include:
	//
	//    * NO_CACHE: The build project does not use any cache.
	//
	//    * S3: The build project reads and writes from and to S3.
	//
	//    * LOCAL: The build project stores a cache locally on a build host that
	//    is only available to that build host.
	//
	// Type is a required field
	Type CacheType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Information about the cache for the build project.

func (ProjectCache) String added in v0.2.0

func (s ProjectCache) String() string

String returns the string representation

func (*ProjectCache) Validate added in v0.2.0

func (s *ProjectCache) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectEnvironment

type ProjectEnvironment struct {

	// The certificate to use with this build project.
	Certificate *string `locationName:"certificate" type:"string"`

	// Information about the compute resources the build project uses. Available
	// values include:
	//
	//    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds.
	//
	//    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds.
	//
	//    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds,
	//    depending on your environment type.
	//
	//    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB
	//    of SSD storage for builds. This compute type supports Docker images up
	//    to 100 GB uncompressed.
	//
	// If you use BUILD_GENERAL1_LARGE:
	//
	//    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory
	//    and 8 vCPUs for builds.
	//
	//    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory,
	//    32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
	//
	//    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and
	//    8 vCPUs on ARM-based processors for builds.
	//
	// For more information, see Build Environment Compute Types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the AWS CodeBuild User Guide.
	//
	// ComputeType is a required field
	ComputeType ComputeType `locationName:"computeType" type:"string" required:"true" enum:"true"`

	// A set of environment variables to make available to builds for this build
	// project.
	EnvironmentVariables []EnvironmentVariable `locationName:"environmentVariables" type:"list"`

	// The image tag or image digest that identifies the Docker image to use for
	// this build project. Use the following formats:
	//
	//    * For an image tag: registry/repository:tag. For example, to specify an
	//    image with the tag "latest," use registry/repository:latest.
	//
	//    * For an image digest: registry/repository@digest. For example, to specify
	//    an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
	//    use registry/repository@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
	//
	// Image is a required field
	Image *string `locationName:"image" min:"1" type:"string" required:"true"`

	// 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 you use a cross-account or private registry image, you must use SERVICE_ROLE
	// credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD
	// credentials.
	ImagePullCredentialsType ImagePullCredentialsType `locationName:"imagePullCredentialsType" type:"string" enum:"true"`

	// Enables running the Docker daemon inside a Docker container. Set to true
	// only if the build project is used to build Docker images. Otherwise, a build
	// that attempts to interact with the Docker daemon fails. The default setting
	// is false.
	//
	// You can initialize the Docker daemon during the install phase of your build
	// by adding one of the following sets of commands to the install phase of your
	// buildspec file:
	//
	// If the operating system's base image is Ubuntu Linux:
	//
	// - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375
	// --storage-driver=overlay&
	//
	// - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
	//
	// If the operating system's base image is Alpine Linux and the previous command
	// does not work, add the -t argument to timeout:
	//
	// - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375
	// --storage-driver=overlay&
	//
	// - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
	PrivilegedMode *bool `locationName:"privilegedMode" type:"boolean"`

	// The credentials for access to a private registry.
	RegistryCredential *RegistryCredential `locationName:"registryCredential" type:"structure"`

	// The type of build environment to use for related builds.
	//
	//    * The environment type ARM_CONTAINER is available only in regions US East
	//    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
	//    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).
	//
	//    * The environment type LINUX_CONTAINER with compute type build.general1.2xlarge
	//    is available only in regions US East (N. Virginia), US East (Ohio), US
	//    West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
	//    Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
	//    Asia Pacific (Sydney), China (Beijing), and China (Ningxia).
	//
	//    * The environment type LINUX_GPU_CONTAINER is available only in regions
	//    US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central),
	//    EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
	//    Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China
	//    (Beijing), and China (Ningxia).
	//
	// Type is a required field
	Type EnvironmentType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Information about the build environment of the build project.

func (ProjectEnvironment) String

func (s ProjectEnvironment) String() string

String returns the string representation

func (*ProjectEnvironment) Validate

func (s *ProjectEnvironment) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectFileSystemLocation added in v0.20.0

type ProjectFileSystemLocation struct {

	// The name used to access a file system created by Amazon EFS. CodeBuild creates
	// an environment variable by appending the identifier in all capital letters
	// to CODEBUILD_. For example, if you specify my-efs for identifier, a new environment
	// variable is create named CODEBUILD_MY-EFS.
	//
	// The identifier is used to mount your file system.
	Identifier *string `locationName:"identifier" type:"string"`

	// A string that specifies the location of the file system created by Amazon
	// EFS. Its format is efs-dns-name:/directory-path. You can find the DNS name
	// of file system when you view it in the AWS EFS console. The directory path
	// is a path to a directory in the file system that CodeBuild mounts. For example,
	// if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com,
	// and its mount directory is my-efs-mount-directory, then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
	//
	// The directory path in the format efs-dns-name:/directory-path is optional.
	// If you do not specify a directory path, the location is only the DNS name
	// and CodeBuild mounts the entire file system.
	Location *string `locationName:"location" type:"string"`

	// The mount options for a file system created by AWS EFS. The default mount
	// options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
	// For more information, see Recommended NFS Mount Options (https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html).
	MountOptions *string `locationName:"mountOptions" type:"string"`

	// The location in the container where you mount the file system.
	MountPoint *string `locationName:"mountPoint" type:"string"`

	// The type of the file system. The one supported type is EFS.
	Type FileSystemType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System? (https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html)

func (ProjectFileSystemLocation) String added in v0.20.0

func (s ProjectFileSystemLocation) String() string

String returns the string representation

type ProjectSortByType

type ProjectSortByType string
const (
	ProjectSortByTypeName             ProjectSortByType = "NAME"
	ProjectSortByTypeCreatedTime      ProjectSortByType = "CREATED_TIME"
	ProjectSortByTypeLastModifiedTime ProjectSortByType = "LAST_MODIFIED_TIME"
)

Enum values for ProjectSortByType

func (ProjectSortByType) MarshalValue added in v0.3.0

func (enum ProjectSortByType) MarshalValue() (string, error)

func (ProjectSortByType) MarshalValueBuf added in v0.3.0

func (enum ProjectSortByType) MarshalValueBuf(b []byte) ([]byte, error)

type ProjectSource

type ProjectSource struct {

	// Information about the authorization settings for AWS CodeBuild to access
	// the source code to be built.
	//
	// This information is for the AWS CodeBuild console's use only. Your code should
	// not get or set this information directly.
	Auth *SourceAuth `locationName:"auth" type:"structure"`

	// 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.
	BuildStatusConfig *BuildStatusConfig `locationName:"buildStatusConfig" type:"structure"`

	// The buildspec file declaration to use for the builds in this 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).
	Buildspec *string `locationName:"buildspec" type:"string"`

	// Information about the Git clone depth for the build project.
	GitCloneDepth *int64 `locationName:"gitCloneDepth" type:"integer"`

	// Information about the Git submodules configuration for the build project.
	GitSubmodulesConfig *GitSubmodulesConfig `locationName:"gitSubmodulesConfig" type:"structure"`

	// Enable this flag to ignore SSL warnings while connecting to the project source
	// code.
	InsecureSsl *bool `locationName:"insecureSsl" type:"boolean"`

	// Information about the location of the source code to be built. Valid values
	// include:
	//
	//    * For source code settings that are specified in the source action of
	//    a pipeline in AWS CodePipeline, location should not be specified. If it
	//    is specified, AWS CodePipeline ignores it. This is because AWS CodePipeline
	//    uses the settings in a pipeline's source action instead of this value.
	//
	//    * For source code in an AWS CodeCommit repository, the HTTPS clone URL
	//    to the repository that contains the source code and the buildspec file
	//    (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
	//    ).
	//
	//    * For source code in an Amazon Simple Storage Service (Amazon S3) input
	//    bucket, one of the following. The path to the ZIP file that contains the
	//    source code (for example, bucket-name/path/to/object-name.zip). The path
	//    to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).
	//
	//    * For source code in a GitHub repository, the HTTPS clone URL to the repository
	//    that contains the source and the buildspec file. You must connect your
	//    AWS account to your GitHub account. Use the AWS CodeBuild console to start
	//    creating a build project. When you use the console to connect (or reconnect)
	//    with GitHub, on the GitHub Authorize application page, for Organization
	//    access, choose Request access next to each repository you want to allow
	//    AWS CodeBuild to have access to, and then choose Authorize application.
	//    (After you have connected to your GitHub account, you do not need to finish
	//    creating the build project. You can leave the AWS CodeBuild console.)
	//    To instruct AWS CodeBuild to use this connection, in the source object,
	//    set the auth object's type value to OAUTH.
	//
	//    * For source code in a Bitbucket repository, the HTTPS clone URL to the
	//    repository that contains the source and the buildspec file. You must connect
	//    your AWS account to your Bitbucket account. Use the AWS CodeBuild console
	//    to start creating a build project. When you use the console to connect
	//    (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your
	//    account page, choose Grant access. (After you have connected to your Bitbucket
	//    account, you do not need to finish creating the build project. You can
	//    leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this
	//    connection, in the source object, set the auth object's type value to
	//    OAUTH.
	Location *string `locationName:"location" type:"string"`

	// Set to true to report the status of a build's start and finish to your source
	// provider. This option is valid only when your source provider is GitHub,
	// GitHub Enterprise, or Bitbucket. If this is set and you use a different source
	// provider, an invalidInputException is thrown.
	//
	// The status of a build triggered by a webhook is always reported to your source
	// provider.
	ReportBuildStatus *bool `locationName:"reportBuildStatus" type:"boolean"`

	// An identifier for this project source.
	SourceIdentifier *string `locationName:"sourceIdentifier" type:"string"`

	// The type of repository that contains the source code to be built. Valid values
	// include:
	//
	//    * BITBUCKET: The source code is in a Bitbucket repository.
	//
	//    * CODECOMMIT: The source code is in an AWS CodeCommit repository.
	//
	//    * CODEPIPELINE: The source code settings are specified in the source action
	//    of a pipeline in AWS CodePipeline.
	//
	//    * GITHUB: The source code is in a GitHub or GitHub Enterprise Cloud repository.
	//
	//    * GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server
	//    repository.
	//
	//    * NO_SOURCE: The project does not have input source code.
	//
	//    * S3: The source code is in an Amazon Simple Storage Service (Amazon S3)
	//    input bucket.
	//
	// Type is a required field
	Type SourceType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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

func (ProjectSource) String

func (s ProjectSource) String() string

String returns the string representation

func (*ProjectSource) Validate

func (s *ProjectSource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectSourceVersion added in v0.5.0

type ProjectSourceVersion struct {

	// An identifier for a source in the build project.
	//
	// SourceIdentifier is a required field
	SourceIdentifier *string `locationName:"sourceIdentifier" type:"string" required:"true"`

	// The source version for the corresponding source identifier. If specified,
	// 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.
	//
	// 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 is a required field
	SourceVersion *string `locationName:"sourceVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A source identifier and its corresponding version.

func (ProjectSourceVersion) String added in v0.5.0

func (s ProjectSourceVersion) String() string

String returns the string representation

func (*ProjectSourceVersion) Validate added in v0.5.0

func (s *ProjectSourceVersion) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResourcePolicyInput added in v0.19.0

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.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" min:"1" type:"string" required:"true"`

	// The ARN of the Project or ReportGroup resource you want to associate with
	// a resource policy.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutResourcePolicyInput) String added in v0.19.0

func (s PutResourcePolicyInput) String() string

String returns the string representation

func (*PutResourcePolicyInput) Validate added in v0.19.0

func (s *PutResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResourcePolicyOutput added in v0.19.0

type PutResourcePolicyOutput struct {

	// The ARN of the Project or ReportGroup resource that is associated with a
	// resource policy.
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutResourcePolicyOutput) String added in v0.19.0

func (s PutResourcePolicyOutput) String() string

String returns the string representation

type PutResourcePolicyRequest added in v0.19.0

type PutResourcePolicyRequest struct {
	*aws.Request
	Input *PutResourcePolicyInput
	Copy  func(*PutResourcePolicyInput) PutResourcePolicyRequest
}

PutResourcePolicyRequest is the request type for the PutResourcePolicy API operation.

func (PutResourcePolicyRequest) Send added in v0.19.0

Send marshals and sends the PutResourcePolicy API request.

type PutResourcePolicyResponse added in v0.19.0

type PutResourcePolicyResponse struct {
	*PutResourcePolicyOutput
	// contains filtered or unexported fields
}

PutResourcePolicyResponse is the response type for the PutResourcePolicy API operation.

func (*PutResourcePolicyResponse) SDKResponseMetdata added in v0.19.0

func (r *PutResourcePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutResourcePolicy request.

type RegistryCredential added in v0.8.0

type RegistryCredential struct {

	// The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets
	// Manager.
	//
	// The credential can use the name of the credentials only if they exist in
	// your current AWS Region.
	//
	// Credential is a required field
	Credential *string `locationName:"credential" min:"1" type:"string" required:"true"`

	// The service that created the credentials to access a private Docker registry.
	// The valid value, SECRETS_MANAGER, is for AWS Secrets Manager.
	//
	// CredentialProvider is a required field
	CredentialProvider CredentialProviderType `locationName:"credentialProvider" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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

  • imagePullCredentialsType must be set to SERVICE_ROLE.

  • images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html).

func (RegistryCredential) String added in v0.8.0

func (s RegistryCredential) String() string

String returns the string representation

func (*RegistryCredential) Validate added in v0.8.0

func (s *RegistryCredential) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Report added in v0.18.0

type Report struct {

	// The ARN of the report run.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The date and time this report run occurred.
	Created *time.Time `locationName:"created" type:"timestamp"`

	// The ARN of the build run that generated this report.
	ExecutionId *string `locationName:"executionId" type:"string"`

	// The date and time a report expires. A report expires 30 days after it is
	// created. An expired report is not available to view in CodeBuild.
	Expired *time.Time `locationName:"expired" type:"timestamp"`

	// Information about where the raw data used to generate this report was exported.
	ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure"`

	// The name of the report that was run.
	Name *string `locationName:"name" type:"string"`

	// The ARN of the report group associated with this report.
	ReportGroupArn *string `locationName:"reportGroupArn" min:"1" type:"string"`

	// The status of this report.
	Status ReportStatusType `locationName:"status" type:"string" enum:"true"`

	// A TestReportSummary object that contains information about this test report.
	TestSummary *TestReportSummary `locationName:"testSummary" type:"structure"`

	// A boolean that specifies if this report run is truncated. The list of test
	// cases is truncated after the maximum number of test cases is reached.
	Truncated *bool `locationName:"truncated" type:"boolean"`

	// The type of the report that was run.
	Type ReportType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (Report) String added in v0.18.0

func (s Report) String() string

String returns the string representation

type ReportExportConfig added in v0.18.0

type ReportExportConfig struct {

	// The export configuration type. Valid values are:
	//
	//    * S3: The report results are exported to an S3 bucket.
	//
	//    * NO_EXPORT: The report results are not exported.
	ExportConfigType ReportExportConfigType `locationName:"exportConfigType" type:"string" enum:"true"`

	// A S3ReportExportConfig object that contains information about the S3 bucket
	// where the run of a report is exported.
	S3Destination *S3ReportExportConfig `locationName:"s3Destination" type:"structure"`
	// contains filtered or unexported fields
}

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

func (ReportExportConfig) String added in v0.18.0

func (s ReportExportConfig) String() string

String returns the string representation

func (*ReportExportConfig) Validate added in v0.18.0

func (s *ReportExportConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReportExportConfigType added in v0.18.0

type ReportExportConfigType string
const (
	ReportExportConfigTypeS3       ReportExportConfigType = "S3"
	ReportExportConfigTypeNoExport ReportExportConfigType = "NO_EXPORT"
)

Enum values for ReportExportConfigType

func (ReportExportConfigType) MarshalValue added in v0.18.0

func (enum ReportExportConfigType) MarshalValue() (string, error)

func (ReportExportConfigType) MarshalValueBuf added in v0.18.0

func (enum ReportExportConfigType) MarshalValueBuf(b []byte) ([]byte, error)

type ReportFilter added in v0.18.0

type ReportFilter struct {

	// The status used to filter reports. You can filter using one status only.
	Status ReportStatusType `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (ReportFilter) String added in v0.18.0

func (s ReportFilter) String() string

String returns the string representation

type ReportGroup added in v0.18.0

type ReportGroup struct {

	// The ARN of a ReportGroup.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The date and time this ReportGroup was created.
	Created *time.Time `locationName:"created" type:"timestamp"`

	// Information about the destination where the raw data of this ReportGroup
	// is exported.
	ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure"`

	// The date and time this ReportGroup was last modified.
	LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

	// The name of a ReportGroup.
	Name *string `locationName:"name" min:"2" type:"string"`

	// 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 []Tag `locationName:"tags" type:"list"`

	// The type of the ReportGroup. The one valid value is TEST.
	Type ReportType `locationName:"type" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (ReportGroup) String added in v0.18.0

func (s ReportGroup) String() string

String returns the string representation

type ReportGroupSortByType added in v0.18.0

type ReportGroupSortByType string
const (
	ReportGroupSortByTypeName             ReportGroupSortByType = "NAME"
	ReportGroupSortByTypeCreatedTime      ReportGroupSortByType = "CREATED_TIME"
	ReportGroupSortByTypeLastModifiedTime ReportGroupSortByType = "LAST_MODIFIED_TIME"
)

Enum values for ReportGroupSortByType

func (ReportGroupSortByType) MarshalValue added in v0.18.0

func (enum ReportGroupSortByType) MarshalValue() (string, error)

func (ReportGroupSortByType) MarshalValueBuf added in v0.18.0

func (enum ReportGroupSortByType) MarshalValueBuf(b []byte) ([]byte, error)

type ReportPackagingType added in v0.18.0

type ReportPackagingType string
const (
	ReportPackagingTypeZip  ReportPackagingType = "ZIP"
	ReportPackagingTypeNone ReportPackagingType = "NONE"
)

Enum values for ReportPackagingType

func (ReportPackagingType) MarshalValue added in v0.18.0

func (enum ReportPackagingType) MarshalValue() (string, error)

func (ReportPackagingType) MarshalValueBuf added in v0.18.0

func (enum ReportPackagingType) MarshalValueBuf(b []byte) ([]byte, error)

type ReportStatusType added in v0.18.0

type ReportStatusType string
const (
	ReportStatusTypeGenerating ReportStatusType = "GENERATING"
	ReportStatusTypeSucceeded  ReportStatusType = "SUCCEEDED"
	ReportStatusTypeFailed     ReportStatusType = "FAILED"
	ReportStatusTypeIncomplete ReportStatusType = "INCOMPLETE"
	ReportStatusTypeDeleting   ReportStatusType = "DELETING"
)

Enum values for ReportStatusType

func (ReportStatusType) MarshalValue added in v0.18.0

func (enum ReportStatusType) MarshalValue() (string, error)

func (ReportStatusType) MarshalValueBuf added in v0.18.0

func (enum ReportStatusType) MarshalValueBuf(b []byte) ([]byte, error)

type ReportType added in v0.18.0

type ReportType string
const (
	ReportTypeTest ReportType = "TEST"
)

Enum values for ReportType

func (ReportType) MarshalValue added in v0.18.0

func (enum ReportType) MarshalValue() (string, error)

func (ReportType) MarshalValueBuf added in v0.18.0

func (enum ReportType) MarshalValueBuf(b []byte) ([]byte, error)

type S3LogsConfig added in v0.5.0

type S3LogsConfig struct {

	// Set to true if you do not want your S3 build log output encrypted. By default
	// S3 build logs are encrypted.
	EncryptionDisabled *bool `locationName:"encryptionDisabled" type:"boolean"`

	// The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3
	// bucket name is my-bucket, and your path prefix is build-log, then acceptable
	// formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log.
	Location *string `locationName:"location" type:"string"`

	// The current status of the S3 build logs. Valid values are:
	//
	//    * ENABLED: S3 build logs are enabled for this build project.
	//
	//    * DISABLED: S3 build logs are not enabled for this build project.
	//
	// Status is a required field
	Status LogsConfigStatusType `locationName:"status" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Information about S3 logs for a build project.

func (S3LogsConfig) String added in v0.5.0

func (s S3LogsConfig) String() string

String returns the string representation

func (*S3LogsConfig) Validate added in v0.5.0

func (s *S3LogsConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3ReportExportConfig added in v0.18.0

type S3ReportExportConfig struct {

	// The name of the S3 bucket where the raw data of a report are exported.
	Bucket *string `locationName:"bucket" min:"1" type:"string"`

	// A boolean value that specifies if the results of a report are encrypted.
	EncryptionDisabled *bool `locationName:"encryptionDisabled" type:"boolean"`

	// The encryption key for the report's encrypted raw data.
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// The type of build output artifact to create. Valid values include:
	//
	//    * NONE: AWS CodeBuild creates the raw data in the output bucket. This
	//    is the default if packaging is not specified.
	//
	//    * ZIP: AWS CodeBuild creates a ZIP file with the raw data in the output
	//    bucket.
	Packaging ReportPackagingType `locationName:"packaging" type:"string" enum:"true"`

	// The path to the exported report's raw data results.
	Path *string `locationName:"path" type:"string"`
	// contains filtered or unexported fields
}

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

func (S3ReportExportConfig) String added in v0.18.0

func (s S3ReportExportConfig) String() string

String returns the string representation

func (*S3ReportExportConfig) Validate added in v0.18.0

func (s *S3ReportExportConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ServerType added in v0.7.0

type ServerType string
const (
	ServerTypeGithub           ServerType = "GITHUB"
	ServerTypeBitbucket        ServerType = "BITBUCKET"
	ServerTypeGithubEnterprise ServerType = "GITHUB_ENTERPRISE"
)

Enum values for ServerType

func (ServerType) MarshalValue added in v0.7.0

func (enum ServerType) MarshalValue() (string, error)

func (ServerType) MarshalValueBuf added in v0.7.0

func (enum ServerType) MarshalValueBuf(b []byte) ([]byte, error)

type SharedResourceSortByType added in v0.19.0

type SharedResourceSortByType string
const (
	SharedResourceSortByTypeArn          SharedResourceSortByType = "ARN"
	SharedResourceSortByTypeModifiedTime SharedResourceSortByType = "MODIFIED_TIME"
)

Enum values for SharedResourceSortByType

func (SharedResourceSortByType) MarshalValue added in v0.19.0

func (enum SharedResourceSortByType) MarshalValue() (string, error)

func (SharedResourceSortByType) MarshalValueBuf added in v0.19.0

func (enum SharedResourceSortByType) MarshalValueBuf(b []byte) ([]byte, error)

type SortOrderType

type SortOrderType string
const (
	SortOrderTypeAscending  SortOrderType = "ASCENDING"
	SortOrderTypeDescending SortOrderType = "DESCENDING"
)

Enum values for SortOrderType

func (SortOrderType) MarshalValue added in v0.3.0

func (enum SortOrderType) MarshalValue() (string, error)

func (SortOrderType) MarshalValueBuf added in v0.3.0

func (enum SortOrderType) MarshalValueBuf(b []byte) ([]byte, error)

type SourceAuth

type SourceAuth struct {

	// The resource value that applies to the specified authorization type.
	Resource *string `locationName:"resource" type:"string"`

	//
	// This data type is deprecated and is no longer accurate or used.
	//
	// The authorization type to use. The only valid value is OAUTH, which represents
	// the OAuth authorization type.
	//
	// Type is a required field
	Type SourceAuthType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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

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

func (SourceAuth) String

func (s SourceAuth) String() string

String returns the string representation

func (*SourceAuth) Validate

func (s *SourceAuth) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SourceAuthType

type SourceAuthType string
const (
	SourceAuthTypeOauth SourceAuthType = "OAUTH"
)

Enum values for SourceAuthType

func (SourceAuthType) MarshalValue added in v0.3.0

func (enum SourceAuthType) MarshalValue() (string, error)

func (SourceAuthType) MarshalValueBuf added in v0.3.0

func (enum SourceAuthType) MarshalValueBuf(b []byte) ([]byte, error)

type SourceCredentialsInfo added in v0.7.0

type SourceCredentialsInfo struct {

	// The Amazon Resource Name (ARN) of the token.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// The type of authentication used by the credentials. Valid options are OAUTH,
	// BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
	AuthType AuthType `locationName:"authType" type:"string" enum:"true"`

	// The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE,
	// or BITBUCKET.
	ServerType ServerType `locationName:"serverType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (SourceCredentialsInfo) String added in v0.7.0

func (s SourceCredentialsInfo) String() string

String returns the string representation

type SourceType

type SourceType string
const (
	SourceTypeCodecommit       SourceType = "CODECOMMIT"
	SourceTypeCodepipeline     SourceType = "CODEPIPELINE"
	SourceTypeGithub           SourceType = "GITHUB"
	SourceTypeS3               SourceType = "S3"
	SourceTypeBitbucket        SourceType = "BITBUCKET"
	SourceTypeGithubEnterprise SourceType = "GITHUB_ENTERPRISE"
	SourceTypeNoSource         SourceType = "NO_SOURCE"
)

Enum values for SourceType

func (SourceType) MarshalValue added in v0.3.0

func (enum SourceType) MarshalValue() (string, error)

func (SourceType) MarshalValueBuf added in v0.3.0

func (enum SourceType) MarshalValueBuf(b []byte) ([]byte, error)

type StartBuildInput

type StartBuildInput struct {

	// Build output artifact settings that override, for this build only, the latest
	// ones already defined in the build project.
	ArtifactsOverride *ProjectArtifacts `locationName:"artifactsOverride" type:"structure"`

	// 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 *BuildStatusConfig `locationName:"buildStatusConfigOverride" type:"structure"`

	// 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 `locationName:"buildspecOverride" type:"string"`

	// A ProjectCache object specified for this build that overrides the one defined
	// in the build project.
	CacheOverride *ProjectCache `locationName:"cacheOverride" type:"structure"`

	// The name of a certificate for this build that overrides the one specified
	// in the build project.
	CertificateOverride *string `locationName:"certificateOverride" type:"string"`

	// The name of a compute type for this build that overrides the one specified
	// in the build project.
	ComputeTypeOverride ComputeType `locationName:"computeTypeOverride" type:"string" enum:"true"`

	// 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 `locationName:"debugSessionEnabled" type:"boolean"`

	// 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/alias-name ).
	EncryptionKeyOverride *string `locationName:"encryptionKeyOverride" min:"1" type:"string"`

	// A container type for this build that overrides the one specified in the build
	// project.
	EnvironmentTypeOverride EnvironmentType `locationName:"environmentTypeOverride" type:"string" enum:"true"`

	// A set of environment variables that overrides, for this build only, the latest
	// ones already defined in the build project.
	EnvironmentVariablesOverride []EnvironmentVariable `locationName:"environmentVariablesOverride" type:"list"`

	// 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 *int64 `locationName:"gitCloneDepthOverride" type:"integer"`

	// Information about the Git submodules configuration for this build of an AWS
	// CodeBuild build project.
	GitSubmodulesConfigOverride *GitSubmodulesConfig `locationName:"gitSubmodulesConfigOverride" type:"structure"`

	// 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 `locationName:"idempotencyToken" type:"string"`

	// The name of an image for this build that overrides the one specified in the
	// build project.
	ImageOverride *string `locationName:"imageOverride" min:"1" type:"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 ImagePullCredentialsType `locationName:"imagePullCredentialsTypeOverride" type:"string" enum:"true"`

	// 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 `locationName:"insecureSslOverride" type:"boolean"`

	// Log settings for this build that override the log settings defined in the
	// build project.
	LogsConfigOverride *LogsConfig `locationName:"logsConfigOverride" type:"structure"`

	// Enable this flag to override privileged mode in the build project.
	PrivilegedModeOverride *bool `locationName:"privilegedModeOverride" type:"boolean"`

	// The name of the AWS CodeBuild build project to start running a build.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutesOverride *int64 `locationName:"queuedTimeoutInMinutesOverride" min:"5" type:"integer"`

	// The credentials for access to a private registry.
	RegistryCredentialOverride *RegistryCredential `locationName:"registryCredentialOverride" type:"structure"`

	// 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 `locationName:"reportBuildStatusOverride" type:"boolean"`

	// An array of ProjectArtifacts objects.
	SecondaryArtifactsOverride []ProjectArtifacts `locationName:"secondaryArtifactsOverride" type:"list"`

	// An array of ProjectSource objects.
	SecondarySourcesOverride []ProjectSource `locationName:"secondarySourcesOverride" type:"list"`

	// 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 []ProjectSourceVersion `locationName:"secondarySourcesVersionOverride" type:"list"`

	// The name of a service role for this build that overrides the one specified
	// in the build project.
	ServiceRoleOverride *string `locationName:"serviceRoleOverride" min:"1" type:"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 *SourceAuth `locationName:"sourceAuthOverride" type:"structure"`

	// A location that overrides, for this build, the source location for the one
	// defined in the build project.
	SourceLocationOverride *string `locationName:"sourceLocationOverride" type:"string"`

	// A source input type, for this build, that overrides the source input defined
	// in the build project.
	SourceTypeOverride SourceType `locationName:"sourceTypeOverride" type:"string" enum:"true"`

	// A version of the build input to be built, for this build only. If not specified,
	// the latest version is used. If specified, 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 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 `locationName:"sourceVersion" type:"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 *int64 `locationName:"timeoutInMinutesOverride" min:"5" type:"integer"`
	// contains filtered or unexported fields
}

func (StartBuildInput) String

func (s StartBuildInput) String() string

String returns the string representation

func (*StartBuildInput) Validate

func (s *StartBuildInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartBuildOutput

type StartBuildOutput struct {

	// Information about the build to be run.
	Build *Build `locationName:"build" type:"structure"`
	// contains filtered or unexported fields
}

func (StartBuildOutput) String

func (s StartBuildOutput) String() string

String returns the string representation

type StartBuildRequest

type StartBuildRequest struct {
	*aws.Request
	Input *StartBuildInput
	Copy  func(*StartBuildInput) StartBuildRequest
}

StartBuildRequest is the request type for the StartBuild API operation.

func (StartBuildRequest) Send

Send marshals and sends the StartBuild API request.

type StartBuildResponse added in v0.9.0

type StartBuildResponse struct {
	*StartBuildOutput
	// contains filtered or unexported fields
}

StartBuildResponse is the response type for the StartBuild API operation.

func (*StartBuildResponse) SDKResponseMetdata added in v0.9.0

func (r *StartBuildResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartBuild request.

type StatusType

type StatusType string
const (
	StatusTypeSucceeded  StatusType = "SUCCEEDED"
	StatusTypeFailed     StatusType = "FAILED"
	StatusTypeFault      StatusType = "FAULT"
	StatusTypeTimedOut   StatusType = "TIMED_OUT"
	StatusTypeInProgress StatusType = "IN_PROGRESS"
	StatusTypeStopped    StatusType = "STOPPED"
)

Enum values for StatusType

func (StatusType) MarshalValue added in v0.3.0

func (enum StatusType) MarshalValue() (string, error)

func (StatusType) MarshalValueBuf added in v0.3.0

func (enum StatusType) MarshalValueBuf(b []byte) ([]byte, error)

type StopBuildInput

type StopBuildInput struct {

	// The ID of the build.
	//
	// Id is a required field
	Id *string `locationName:"id" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopBuildInput) String

func (s StopBuildInput) String() string

String returns the string representation

func (*StopBuildInput) Validate

func (s *StopBuildInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopBuildOutput

type StopBuildOutput struct {

	// Information about the build.
	Build *Build `locationName:"build" type:"structure"`
	// contains filtered or unexported fields
}

func (StopBuildOutput) String

func (s StopBuildOutput) String() string

String returns the string representation

type StopBuildRequest

type StopBuildRequest struct {
	*aws.Request
	Input *StopBuildInput
	Copy  func(*StopBuildInput) StopBuildRequest
}

StopBuildRequest is the request type for the StopBuild API operation.

func (StopBuildRequest) Send

Send marshals and sends the StopBuild API request.

type StopBuildResponse added in v0.9.0

type StopBuildResponse struct {
	*StopBuildOutput
	// contains filtered or unexported fields
}

StopBuildResponse is the response type for the StopBuild API operation.

func (*StopBuildResponse) SDKResponseMetdata added in v0.9.0

func (r *StopBuildResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopBuild request.

type Tag

type Tag struct {

	// The tag's key.
	Key *string `locationName:"key" min:"1" type:"string"`

	// The tag's value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

A tag, consisting of a key and a value.

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

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestCase added in v0.18.0

type TestCase struct {

	// The number of nanoseconds it took to run this test case.
	DurationInNanoSeconds *int64 `locationName:"durationInNanoSeconds" type:"long"`

	// The date and time a test case expires. A test case expires 30 days after
	// it is created. An expired test case is not available to view in CodeBuild.
	Expired *time.Time `locationName:"expired" type:"timestamp"`

	// A message associated with a test case. For example, an error message or stack
	// trace.
	Message *string `locationName:"message" type:"string"`

	// The name of the test case.
	Name *string `locationName:"name" type:"string"`

	// A string that is applied to a series of related test cases. CodeBuild generates
	// the prefix. The prefix depends on the framework used to generate the tests.
	Prefix *string `locationName:"prefix" type:"string"`

	// The ARN of the report to which the test case belongs.
	ReportArn *string `locationName:"reportArn" min:"1" type:"string"`

	// The status returned by the test case after it was run. Valid statuses are
	// SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
	Status *string `locationName:"status" type:"string"`

	// The path to the raw data file that contains the test result.
	TestRawDataPath *string `locationName:"testRawDataPath" type:"string"`
	// contains filtered or unexported fields
}

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

func (TestCase) String added in v0.18.0

func (s TestCase) String() string

String returns the string representation

type TestCaseFilter added in v0.18.0

type TestCaseFilter struct {

	// The status used to filter test cases. Valid statuses are SUCCEEDED, FAILED,
	// ERROR, SKIPPED, and UNKNOWN. A TestCaseFilter can have one status.
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

A filter used to return specific types of test cases.

func (TestCaseFilter) String added in v0.18.0

func (s TestCaseFilter) String() string

String returns the string representation

type TestReportSummary added in v0.18.0

type TestReportSummary struct {

	// The number of nanoseconds it took to run all of the test cases in this report.
	//
	// DurationInNanoSeconds is a required field
	DurationInNanoSeconds *int64 `locationName:"durationInNanoSeconds" type:"long" required:"true"`

	// A map that contains the number of each type of status returned by the test
	// results in this TestReportSummary.
	//
	// StatusCounts is a required field
	StatusCounts map[string]int64 `locationName:"statusCounts" type:"map" required:"true"`

	// The number of test cases in this TestReportSummary. The total includes truncated
	// test cases.
	//
	// Total is a required field
	Total *int64 `locationName:"total" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Information about a test report.

func (TestReportSummary) String added in v0.18.0

func (s TestReportSummary) String() string

String returns the string representation

type UpdateProjectInput

type UpdateProjectInput struct {

	// Information to be changed about the build output artifacts for the build
	// project.
	Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"`

	// Set this to true to generate a publicly accessible URL for your project's
	// build badge.
	BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"`

	// Stores recently used information so that it can be quickly accessed at a
	// later time.
	Cache *ProjectCache `locationName:"cache" type:"structure"`

	// A new or replacement description of the build project.
	Description *string `locationName:"description" type:"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/alias-name ).
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

	// Information to be changed about the build environment for the build project.
	Environment *ProjectEnvironment `locationName:"environment" type:"structure"`

	// 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 []ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

	// Information about logs for the build project. A project can create logs in
	// Amazon CloudWatch Logs, logs in an S3 bucket, or both.
	LogsConfig *LogsConfig `locationName:"logsConfig" type:"structure"`

	// The name of the build project.
	//
	// You cannot change a build project's name.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" min:"5" type:"integer"`

	// An array of ProjectSource objects.
	SecondaryArtifacts []ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

	// An array of ProjectSourceVersion objects. If secondarySourceVersions is specified
	// at the build level, then they take over these secondarySourceVersions (at
	// the project level).
	SecondarySourceVersions []ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

	// An array of ProjectSource objects.
	SecondarySources []ProjectSource `locationName:"secondarySources" type:"list"`

	// 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 `locationName:"serviceRole" min:"1" type:"string"`

	// Information to be changed about the build input source code for the build
	// project.
	Source *ProjectSource `locationName:"source" type:"structure"`

	// 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 `locationName:"sourceVersion" type:"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 []Tag `locationName:"tags" type:"list"`

	// 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 *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"`

	// VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateProjectInput) String

func (s UpdateProjectInput) String() string

String returns the string representation

func (*UpdateProjectInput) Validate

func (s *UpdateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateProjectOutput

type UpdateProjectOutput struct {

	// Information about the build project that was changed.
	Project *Project `locationName:"project" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateProjectOutput) String

func (s UpdateProjectOutput) String() string

String returns the string representation

type UpdateProjectRequest

type UpdateProjectRequest struct {
	*aws.Request
	Input *UpdateProjectInput
	Copy  func(*UpdateProjectInput) UpdateProjectRequest
}

UpdateProjectRequest is the request type for the UpdateProject API operation.

func (UpdateProjectRequest) Send

Send marshals and sends the UpdateProject API request.

type UpdateProjectResponse added in v0.9.0

type UpdateProjectResponse struct {
	*UpdateProjectOutput
	// contains filtered or unexported fields
}

UpdateProjectResponse is the response type for the UpdateProject API operation.

func (*UpdateProjectResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateProjectResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateProject request.

type UpdateReportGroupInput added in v0.18.0

type UpdateReportGroupInput struct {

	// The ARN of the report group to update.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// 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 *ReportExportConfig `locationName:"exportConfig" type:"structure"`

	// 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 []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateReportGroupInput) String added in v0.18.0

func (s UpdateReportGroupInput) String() string

String returns the string representation

func (*UpdateReportGroupInput) Validate added in v0.18.0

func (s *UpdateReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateReportGroupOutput added in v0.18.0

type UpdateReportGroupOutput struct {

	// Information about the updated report group.
	ReportGroup *ReportGroup `locationName:"reportGroup" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateReportGroupOutput) String added in v0.18.0

func (s UpdateReportGroupOutput) String() string

String returns the string representation

type UpdateReportGroupRequest added in v0.18.0

type UpdateReportGroupRequest struct {
	*aws.Request
	Input *UpdateReportGroupInput
	Copy  func(*UpdateReportGroupInput) UpdateReportGroupRequest
}

UpdateReportGroupRequest is the request type for the UpdateReportGroup API operation.

func (UpdateReportGroupRequest) Send added in v0.18.0

Send marshals and sends the UpdateReportGroup API request.

type UpdateReportGroupResponse added in v0.18.0

type UpdateReportGroupResponse struct {
	*UpdateReportGroupOutput
	// contains filtered or unexported fields
}

UpdateReportGroupResponse is the response type for the UpdateReportGroup API operation.

func (*UpdateReportGroupResponse) SDKResponseMetdata added in v0.18.0

func (r *UpdateReportGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateReportGroup request.

type UpdateWebhookInput added in v0.4.0

type UpdateWebhookInput struct {

	// 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 `locationName:"branchFilter" type:"string"`

	// 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 EVENT
	// WebhookFilter.
	FilterGroups [][]WebhookFilter `locationName:"filterGroups" type:"list"`

	// The name of the AWS CodeBuild project.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"`

	// 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 `locationName:"rotateSecret" type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateWebhookInput) String added in v0.4.0

func (s UpdateWebhookInput) String() string

String returns the string representation

func (*UpdateWebhookInput) Validate added in v0.4.0

func (s *UpdateWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateWebhookOutput added in v0.4.0

type UpdateWebhookOutput struct {

	// Information about a repository's webhook that is associated with a project
	// in AWS CodeBuild.
	Webhook *Webhook `locationName:"webhook" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateWebhookOutput) String added in v0.4.0

func (s UpdateWebhookOutput) String() string

String returns the string representation

type UpdateWebhookRequest added in v0.4.0

type UpdateWebhookRequest struct {
	*aws.Request
	Input *UpdateWebhookInput
	Copy  func(*UpdateWebhookInput) UpdateWebhookRequest
}

UpdateWebhookRequest is the request type for the UpdateWebhook API operation.

func (UpdateWebhookRequest) Send added in v0.4.0

Send marshals and sends the UpdateWebhook API request.

type UpdateWebhookResponse added in v0.9.0

type UpdateWebhookResponse struct {
	*UpdateWebhookOutput
	// contains filtered or unexported fields
}

UpdateWebhookResponse is the response type for the UpdateWebhook API operation.

func (*UpdateWebhookResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateWebhookResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateWebhook request.

type VpcConfig added in v0.2.0

type VpcConfig struct {

	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds []string `locationName:"securityGroupIds" type:"list"`

	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets []string `locationName:"subnets" type:"list"`

	// The ID of the Amazon VPC.
	VpcId *string `locationName:"vpcId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the VPC configuration that AWS CodeBuild accesses.

func (VpcConfig) String added in v0.2.0

func (s VpcConfig) String() string

String returns the string representation

func (*VpcConfig) Validate added in v0.2.0

func (s *VpcConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Webhook

type Webhook struct {

	// 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 `locationName:"branchFilter" type:"string"`

	// 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 [][]WebhookFilter `locationName:"filterGroups" type:"list"`

	// A timestamp that indicates the last time a repository's secret token was
	// modified.
	LastModifiedSecret *time.Time `locationName:"lastModifiedSecret" type:"timestamp"`

	// The AWS CodeBuild endpoint where webhook events are sent.
	PayloadUrl *string `locationName:"payloadUrl" min:"1" type:"string"`

	// The secret token of the associated repository.
	//
	// A Bitbucket webhook does not support secret.
	Secret *string `locationName:"secret" min:"1" type:"string"`

	// The URL to the webhook.
	Url *string `locationName:"url" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (Webhook) String

func (s Webhook) String() string

String returns the string representation

type WebhookFilter added in v0.8.0

type WebhookFilter struct {

	// Used to indicate that the pattern determines which webhook events do not
	// trigger a build. If true, then a webhook event that does not match the pattern
	// triggers a build. If false, then a webhook event that matches the pattern
	// triggers a build.
	ExcludeMatchedPattern *bool `locationName:"excludeMatchedPattern" type:"boolean"`

	// For a WebHookFilter that uses EVENT type, a comma-separated string that specifies
	// one or more events. For example, the webhook filter PUSH, PULL_REQUEST_CREATED,
	// PULL_REQUEST_UPDATED allows all push, pull request created, and pull request
	// updated events to trigger a build.
	//
	// For a WebHookFilter that uses any of the other filter types, a regular expression
	// pattern. For example, a WebHookFilter that uses HEAD_REF for its type and
	// the pattern ^refs/heads/ triggers a build when the head reference is a branch
	// with a reference name refs/heads/branch-name.
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" type:"string" required:"true"`

	// The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID,
	// HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
	//
	// EVENT
	//
	// A webhook event triggers a build when the provided pattern matches one of
	// five event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_REOPENED,
	// and PULL_REQUEST_MERGED. The EVENT patterns are specified as a comma-separated
	// string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters
	// all push, pull request created, and pull request updated events.
	//
	// The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only.
	//
	// ACTOR_ACCOUNT_ID
	//
	// A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket
	// account ID matches the regular expression pattern.
	//
	// HEAD_REF
	//
	// A webhook event triggers a build when the head reference matches the regular
	// expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name.
	//
	// Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise
	// pull request, Bitbucket push, and Bitbucket pull request events.
	//
	// BASE_REF
	//
	// A webhook event triggers a build when the base reference matches the regular
	// expression pattern. For example, refs/heads/branch-name.
	//
	// Works with pull request events only.
	//
	// FILE_PATH
	//
	// A webhook triggers a build when the path of a changed file matches the regular
	// expression pattern.
	//
	// Works with GitHub and Bitbucket events push and pull requests events. Also
	// works with GitHub Enterprise push events, but does not work with GitHub Enterprise
	// pull request events.
	//
	// COMMIT_MESSAGE
	//
	// A webhook triggers a build when the head commit message matches the regular
	// expression pattern.
	//
	// Works with GitHub and Bitbucket events push and pull requests events. Also
	// works with GitHub Enterprise push events, but does not work with GitHub Enterprise
	// pull request events.
	//
	// Type is a required field
	Type WebhookFilterType `locationName:"type" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

A filter used to determine which webhooks trigger a build.

func (WebhookFilter) String added in v0.8.0

func (s WebhookFilter) String() string

String returns the string representation

type WebhookFilterType added in v0.8.0

type WebhookFilterType string
const (
	WebhookFilterTypeEvent          WebhookFilterType = "EVENT"
	WebhookFilterTypeBaseRef        WebhookFilterType = "BASE_REF"
	WebhookFilterTypeHeadRef        WebhookFilterType = "HEAD_REF"
	WebhookFilterTypeActorAccountId WebhookFilterType = "ACTOR_ACCOUNT_ID"
	WebhookFilterTypeFilePath       WebhookFilterType = "FILE_PATH"
	WebhookFilterTypeCommitMessage  WebhookFilterType = "COMMIT_MESSAGE"
)

Enum values for WebhookFilterType

func (WebhookFilterType) MarshalValue added in v0.8.0

func (enum WebhookFilterType) MarshalValue() (string, error)

func (WebhookFilterType) MarshalValueBuf added in v0.8.0

func (enum WebhookFilterType) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package codebuildiface provides an interface to enable mocking the AWS CodeBuild service client for testing your code.
Package codebuildiface provides an interface to enable mocking the AWS CodeBuild service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL