codebuild

package
v1.16.9-custom-go-mod Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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.

AWS CodeBuild supports these operations:

  • BatchDeleteBuilds: Deletes one or more builds.

  • BatchGetProjects: Gets information about one or more build projects. A build project defines how AWS CodeBuild runs a build. This includes information such as where to get the source code to build, the build environment to use, the build commands to run, and where to store the build output. A build environment is a representation of operating system, programming language runtime, and tools that AWS CodeBuild uses to run a build. You can add tags to build projects to help manage your resources and costs.

  • CreateProject: Creates a build project.

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

  • UpdateWebhook: Changes the settings of an existing webhook.

  • DeleteProject: Deletes a build project.

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

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

  • UpdateProject: Changes the settings of an existing build project.

  • BatchGetBuilds: Gets information about one or more builds.

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

  • StartBuild: Starts running a build.

  • StopBuild: Attempts to stop running a build.

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

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

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

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

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 contact 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 CodeBuild 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 (
	// ArtifactNamespaceNone is a ArtifactNamespace enum value
	ArtifactNamespaceNone = "NONE"

	// ArtifactNamespaceBuildId is a ArtifactNamespace enum value
	ArtifactNamespaceBuildId = "BUILD_ID"
)
View Source
const (
	// ArtifactPackagingNone is a ArtifactPackaging enum value
	ArtifactPackagingNone = "NONE"

	// ArtifactPackagingZip is a ArtifactPackaging enum value
	ArtifactPackagingZip = "ZIP"
)
View Source
const (
	// ArtifactsTypeCodepipeline is a ArtifactsType enum value
	ArtifactsTypeCodepipeline = "CODEPIPELINE"

	// ArtifactsTypeS3 is a ArtifactsType enum value
	ArtifactsTypeS3 = "S3"

	// ArtifactsTypeNoArtifacts is a ArtifactsType enum value
	ArtifactsTypeNoArtifacts = "NO_ARTIFACTS"
)
View Source
const (
	// AuthTypeOauth is a AuthType enum value
	AuthTypeOauth = "OAUTH"

	// AuthTypeBasicAuth is a AuthType enum value
	AuthTypeBasicAuth = "BASIC_AUTH"

	// AuthTypePersonalAccessToken is a AuthType enum value
	AuthTypePersonalAccessToken = "PERSONAL_ACCESS_TOKEN"
)
View Source
const (
	// BuildPhaseTypeSubmitted is a BuildPhaseType enum value
	BuildPhaseTypeSubmitted = "SUBMITTED"

	// BuildPhaseTypeQueued is a BuildPhaseType enum value
	BuildPhaseTypeQueued = "QUEUED"

	// BuildPhaseTypeProvisioning is a BuildPhaseType enum value
	BuildPhaseTypeProvisioning = "PROVISIONING"

	// BuildPhaseTypeDownloadSource is a BuildPhaseType enum value
	BuildPhaseTypeDownloadSource = "DOWNLOAD_SOURCE"

	// BuildPhaseTypeInstall is a BuildPhaseType enum value
	BuildPhaseTypeInstall = "INSTALL"

	// BuildPhaseTypePreBuild is a BuildPhaseType enum value
	BuildPhaseTypePreBuild = "PRE_BUILD"

	// BuildPhaseTypeBuild is a BuildPhaseType enum value
	BuildPhaseTypeBuild = "BUILD"

	// BuildPhaseTypePostBuild is a BuildPhaseType enum value
	BuildPhaseTypePostBuild = "POST_BUILD"

	// BuildPhaseTypeUploadArtifacts is a BuildPhaseType enum value
	BuildPhaseTypeUploadArtifacts = "UPLOAD_ARTIFACTS"

	// BuildPhaseTypeFinalizing is a BuildPhaseType enum value
	BuildPhaseTypeFinalizing = "FINALIZING"

	// BuildPhaseTypeCompleted is a BuildPhaseType enum value
	BuildPhaseTypeCompleted = "COMPLETED"
)
View Source
const (
	// CacheTypeNoCache is a CacheType enum value
	CacheTypeNoCache = "NO_CACHE"

	// CacheTypeS3 is a CacheType enum value
	CacheTypeS3 = "S3"
)
View Source
const (
	// ComputeTypeBuildGeneral1Small is a ComputeType enum value
	ComputeTypeBuildGeneral1Small = "BUILD_GENERAL1_SMALL"

	// ComputeTypeBuildGeneral1Medium is a ComputeType enum value
	ComputeTypeBuildGeneral1Medium = "BUILD_GENERAL1_MEDIUM"

	// ComputeTypeBuildGeneral1Large is a ComputeType enum value
	ComputeTypeBuildGeneral1Large = "BUILD_GENERAL1_LARGE"
)
View Source
const (
	// EnvironmentTypeWindowsContainer is a EnvironmentType enum value
	EnvironmentTypeWindowsContainer = "WINDOWS_CONTAINER"

	// EnvironmentTypeLinuxContainer is a EnvironmentType enum value
	EnvironmentTypeLinuxContainer = "LINUX_CONTAINER"
)
View Source
const (
	// EnvironmentVariableTypePlaintext is a EnvironmentVariableType enum value
	EnvironmentVariableTypePlaintext = "PLAINTEXT"

	// EnvironmentVariableTypeParameterStore is a EnvironmentVariableType enum value
	EnvironmentVariableTypeParameterStore = "PARAMETER_STORE"
)
View Source
const (
	// LanguageTypeJava is a LanguageType enum value
	LanguageTypeJava = "JAVA"

	// LanguageTypePython is a LanguageType enum value
	LanguageTypePython = "PYTHON"

	// LanguageTypeNodeJs is a LanguageType enum value
	LanguageTypeNodeJs = "NODE_JS"

	// LanguageTypeRuby is a LanguageType enum value
	LanguageTypeRuby = "RUBY"

	// LanguageTypeGolang is a LanguageType enum value
	LanguageTypeGolang = "GOLANG"

	// LanguageTypeDocker is a LanguageType enum value
	LanguageTypeDocker = "DOCKER"

	// LanguageTypeAndroid is a LanguageType enum value
	LanguageTypeAndroid = "ANDROID"

	// LanguageTypeDotnet is a LanguageType enum value
	LanguageTypeDotnet = "DOTNET"

	// LanguageTypeBase is a LanguageType enum value
	LanguageTypeBase = "BASE"

	// LanguageTypePhp is a LanguageType enum value
	LanguageTypePhp = "PHP"
)
View Source
const (
	// LogsConfigStatusTypeEnabled is a LogsConfigStatusType enum value
	LogsConfigStatusTypeEnabled = "ENABLED"

	// LogsConfigStatusTypeDisabled is a LogsConfigStatusType enum value
	LogsConfigStatusTypeDisabled = "DISABLED"
)
View Source
const (
	// PlatformTypeDebian is a PlatformType enum value
	PlatformTypeDebian = "DEBIAN"

	// PlatformTypeAmazonLinux is a PlatformType enum value
	PlatformTypeAmazonLinux = "AMAZON_LINUX"

	// PlatformTypeUbuntu is a PlatformType enum value
	PlatformTypeUbuntu = "UBUNTU"

	// PlatformTypeWindowsServer is a PlatformType enum value
	PlatformTypeWindowsServer = "WINDOWS_SERVER"
)
View Source
const (
	// ProjectSortByTypeName is a ProjectSortByType enum value
	ProjectSortByTypeName = "NAME"

	// ProjectSortByTypeCreatedTime is a ProjectSortByType enum value
	ProjectSortByTypeCreatedTime = "CREATED_TIME"

	// ProjectSortByTypeLastModifiedTime is a ProjectSortByType enum value
	ProjectSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME"
)
View Source
const (
	// ServerTypeGithub is a ServerType enum value
	ServerTypeGithub = "GITHUB"

	// ServerTypeBitbucket is a ServerType enum value
	ServerTypeBitbucket = "BITBUCKET"

	// ServerTypeGithubEnterprise is a ServerType enum value
	ServerTypeGithubEnterprise = "GITHUB_ENTERPRISE"
)
View Source
const (
	// SortOrderTypeAscending is a SortOrderType enum value
	SortOrderTypeAscending = "ASCENDING"

	// SortOrderTypeDescending is a SortOrderType enum value
	SortOrderTypeDescending = "DESCENDING"
)
View Source
const (
	// SourceTypeCodecommit is a SourceType enum value
	SourceTypeCodecommit = "CODECOMMIT"

	// SourceTypeCodepipeline is a SourceType enum value
	SourceTypeCodepipeline = "CODEPIPELINE"

	// SourceTypeGithub is a SourceType enum value
	SourceTypeGithub = "GITHUB"

	// SourceTypeS3 is a SourceType enum value
	SourceTypeS3 = "S3"

	// SourceTypeBitbucket is a SourceType enum value
	SourceTypeBitbucket = "BITBUCKET"

	// SourceTypeGithubEnterprise is a SourceType enum value
	SourceTypeGithubEnterprise = "GITHUB_ENTERPRISE"

	// SourceTypeNoSource is a SourceType enum value
	SourceTypeNoSource = "NO_SOURCE"
)
View Source
const (
	// StatusTypeSucceeded is a StatusType enum value
	StatusTypeSucceeded = "SUCCEEDED"

	// StatusTypeFailed is a StatusType enum value
	StatusTypeFailed = "FAILED"

	// StatusTypeFault is a StatusType enum value
	StatusTypeFault = "FAULT"

	// StatusTypeTimedOut is a StatusType enum value
	StatusTypeTimedOut = "TIMED_OUT"

	// StatusTypeInProgress is a StatusType enum value
	StatusTypeInProgress = "IN_PROGRESS"

	// StatusTypeStopped is a StatusType enum value
	StatusTypeStopped = "STOPPED"
)
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"
)
View Source
const (
	ServiceName = "codebuild" // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "CodeBuild" // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// SourceAuthTypeOauth is a SourceAuthType enum value
	SourceAuthTypeOauth = "OAUTH"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteBuildsInput added in v1.10.36

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) GoString added in v1.10.36

func (s BatchDeleteBuildsInput) GoString() string

GoString returns the string representation

func (*BatchDeleteBuildsInput) SetIds added in v1.10.36

SetIds sets the Ids field's value.

func (BatchDeleteBuildsInput) String added in v1.10.36

func (s BatchDeleteBuildsInput) String() string

String returns the string representation

func (*BatchDeleteBuildsInput) Validate added in v1.10.36

func (s *BatchDeleteBuildsInput) Validate() error

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

type BatchDeleteBuildsOutput added in v1.10.36

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) GoString added in v1.10.36

func (s BatchDeleteBuildsOutput) GoString() string

GoString returns the string representation

func (*BatchDeleteBuildsOutput) SetBuildsDeleted added in v1.10.36

func (s *BatchDeleteBuildsOutput) SetBuildsDeleted(v []*string) *BatchDeleteBuildsOutput

SetBuildsDeleted sets the BuildsDeleted field's value.

func (*BatchDeleteBuildsOutput) SetBuildsNotDeleted added in v1.10.36

func (s *BatchDeleteBuildsOutput) SetBuildsNotDeleted(v []*BuildNotDeleted) *BatchDeleteBuildsOutput

SetBuildsNotDeleted sets the BuildsNotDeleted field's value.

func (BatchDeleteBuildsOutput) String added in v1.10.36

func (s BatchDeleteBuildsOutput) String() string

String returns the string representation

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

func (s BatchGetBuildsInput) GoString() string

GoString returns the string representation

func (*BatchGetBuildsInput) SetIds

SetIds sets the Ids field's value.

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

func (s BatchGetBuildsOutput) GoString() string

GoString returns the string representation

func (*BatchGetBuildsOutput) SetBuilds

func (s *BatchGetBuildsOutput) SetBuilds(v []*Build) *BatchGetBuildsOutput

SetBuilds sets the Builds field's value.

func (*BatchGetBuildsOutput) SetBuildsNotFound

func (s *BatchGetBuildsOutput) SetBuildsNotFound(v []*string) *BatchGetBuildsOutput

SetBuildsNotFound sets the BuildsNotFound field's value.

func (BatchGetBuildsOutput) String

func (s BatchGetBuildsOutput) String() string

String returns the string representation

type BatchGetProjectsInput

type BatchGetProjectsInput struct {

	// The names of the build projects.
	//
	// Names is a required field
	Names []*string `locationName:"names" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetProjectsInput) GoString

func (s BatchGetProjectsInput) GoString() string

GoString returns the string representation

func (*BatchGetProjectsInput) SetNames

SetNames sets the Names field's value.

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

func (s BatchGetProjectsOutput) GoString() string

GoString returns the string representation

func (*BatchGetProjectsOutput) SetProjects

SetProjects sets the Projects field's value.

func (*BatchGetProjectsOutput) SetProjectsNotFound

func (s *BatchGetProjectsOutput) SetProjectsNotFound(v []*string) *BatchGetProjectsOutput

SetProjectsNotFound sets the ProjectsNotFound field's value.

func (BatchGetProjectsOutput) String

func (s BatchGetProjectsOutput) String() string

String returns the string representation

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 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 *string `locationName:"buildStatus" type:"string" enum:"StatusType"`

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

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

	// The AWS Key Management Service (AWS KMS) customer master key (CMK) to be
	// used for encrypting the build output artifacts.
	//
	// This is expressed either as the Amazon Resource Name (ARN) of the CMK or,
	// if specified, 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"`

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

func (s Build) GoString() string

GoString returns the string representation

func (*Build) SetArn

func (s *Build) SetArn(v string) *Build

SetArn sets the Arn field's value.

func (*Build) SetArtifacts

func (s *Build) SetArtifacts(v *BuildArtifacts) *Build

SetArtifacts sets the Artifacts field's value.

func (*Build) SetBuildComplete

func (s *Build) SetBuildComplete(v bool) *Build

SetBuildComplete sets the BuildComplete field's value.

func (*Build) SetBuildStatus

func (s *Build) SetBuildStatus(v string) *Build

SetBuildStatus sets the BuildStatus field's value.

func (*Build) SetCache added in v1.12.32

func (s *Build) SetCache(v *ProjectCache) *Build

SetCache sets the Cache field's value.

func (*Build) SetCurrentPhase

func (s *Build) SetCurrentPhase(v string) *Build

SetCurrentPhase sets the CurrentPhase field's value.

func (*Build) SetEncryptionKey

func (s *Build) SetEncryptionKey(v string) *Build

SetEncryptionKey sets the EncryptionKey field's value.

func (*Build) SetEndTime

func (s *Build) SetEndTime(v time.Time) *Build

SetEndTime sets the EndTime field's value.

func (*Build) SetEnvironment

func (s *Build) SetEnvironment(v *ProjectEnvironment) *Build

SetEnvironment sets the Environment field's value.

func (*Build) SetId

func (s *Build) SetId(v string) *Build

SetId sets the Id field's value.

func (*Build) SetInitiator

func (s *Build) SetInitiator(v string) *Build

SetInitiator sets the Initiator field's value.

func (*Build) SetLogs

func (s *Build) SetLogs(v *LogsLocation) *Build

SetLogs sets the Logs field's value.

func (*Build) SetNetworkInterface added in v1.12.32

func (s *Build) SetNetworkInterface(v *NetworkInterface) *Build

SetNetworkInterface sets the NetworkInterface field's value.

func (*Build) SetPhases

func (s *Build) SetPhases(v []*BuildPhase) *Build

SetPhases sets the Phases field's value.

func (*Build) SetProjectName

func (s *Build) SetProjectName(v string) *Build

SetProjectName sets the ProjectName field's value.

func (*Build) SetQueuedTimeoutInMinutes

func (s *Build) SetQueuedTimeoutInMinutes(v int64) *Build

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Build) SetResolvedSourceVersion

func (s *Build) SetResolvedSourceVersion(v string) *Build

SetResolvedSourceVersion sets the ResolvedSourceVersion field's value.

func (*Build) SetSecondaryArtifacts

func (s *Build) SetSecondaryArtifacts(v []*BuildArtifacts) *Build

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Build) SetSecondarySourceVersions

func (s *Build) SetSecondarySourceVersions(v []*ProjectSourceVersion) *Build

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*Build) SetSecondarySources

func (s *Build) SetSecondarySources(v []*ProjectSource) *Build

SetSecondarySources sets the SecondarySources field's value.

func (*Build) SetServiceRole added in v1.13.48

func (s *Build) SetServiceRole(v string) *Build

SetServiceRole sets the ServiceRole field's value.

func (*Build) SetSource

func (s *Build) SetSource(v *ProjectSource) *Build

SetSource sets the Source field's value.

func (*Build) SetSourceVersion

func (s *Build) SetSourceVersion(v string) *Build

SetSourceVersion sets the SourceVersion field's value.

func (*Build) SetStartTime

func (s *Build) SetStartTime(v time.Time) *Build

SetStartTime sets the StartTime field's value.

func (*Build) SetTimeoutInMinutes

func (s *Build) SetTimeoutInMinutes(v int64) *Build

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*Build) SetVpcConfig added in v1.12.32

func (s *Build) SetVpcConfig(v *VpcConfig) *Build

SetVpcConfig sets the VpcConfig field's value.

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 build spec file overrides the
	// artifact name. The name specified in a build spec 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) GoString

func (s BuildArtifacts) GoString() string

GoString returns the string representation

func (*BuildArtifacts) SetArtifactIdentifier

func (s *BuildArtifacts) SetArtifactIdentifier(v string) *BuildArtifacts

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*BuildArtifacts) SetEncryptionDisabled

func (s *BuildArtifacts) SetEncryptionDisabled(v bool) *BuildArtifacts

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*BuildArtifacts) SetLocation

func (s *BuildArtifacts) SetLocation(v string) *BuildArtifacts

SetLocation sets the Location field's value.

func (*BuildArtifacts) SetMd5sum

func (s *BuildArtifacts) SetMd5sum(v string) *BuildArtifacts

SetMd5sum sets the Md5sum field's value.

func (*BuildArtifacts) SetOverrideArtifactName

func (s *BuildArtifacts) SetOverrideArtifactName(v bool) *BuildArtifacts

SetOverrideArtifactName sets the OverrideArtifactName field's value.

func (*BuildArtifacts) SetSha256sum

func (s *BuildArtifacts) SetSha256sum(v string) *BuildArtifacts

SetSha256sum sets the Sha256sum field's value.

func (BuildArtifacts) String

func (s BuildArtifacts) String() string

String returns the string representation

type BuildNotDeleted added in v1.10.36

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) GoString added in v1.10.36

func (s BuildNotDeleted) GoString() string

GoString returns the string representation

func (*BuildNotDeleted) SetId added in v1.10.36

func (s *BuildNotDeleted) SetId(v string) *BuildNotDeleted

SetId sets the Id field's value.

func (*BuildNotDeleted) SetStatusCode added in v1.10.36

func (s *BuildNotDeleted) SetStatusCode(v string) *BuildNotDeleted

SetStatusCode sets the StatusCode field's value.

func (BuildNotDeleted) String added in v1.10.36

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 *string `locationName:"phaseStatus" type:"string" enum:"StatusType"`

	// 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 *string `locationName:"phaseType" type:"string" enum:"BuildPhaseType"`

	// 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) GoString

func (s BuildPhase) GoString() string

GoString returns the string representation

func (*BuildPhase) SetContexts

func (s *BuildPhase) SetContexts(v []*PhaseContext) *BuildPhase

SetContexts sets the Contexts field's value.

func (*BuildPhase) SetDurationInSeconds

func (s *BuildPhase) SetDurationInSeconds(v int64) *BuildPhase

SetDurationInSeconds sets the DurationInSeconds field's value.

func (*BuildPhase) SetEndTime

func (s *BuildPhase) SetEndTime(v time.Time) *BuildPhase

SetEndTime sets the EndTime field's value.

func (*BuildPhase) SetPhaseStatus

func (s *BuildPhase) SetPhaseStatus(v string) *BuildPhase

SetPhaseStatus sets the PhaseStatus field's value.

func (*BuildPhase) SetPhaseType

func (s *BuildPhase) SetPhaseType(v string) *BuildPhase

SetPhaseType sets the PhaseType field's value.

func (*BuildPhase) SetStartTime

func (s *BuildPhase) SetStartTime(v time.Time) *BuildPhase

SetStartTime sets the StartTime field's value.

func (BuildPhase) String

func (s BuildPhase) String() string

String returns the string representation

type CloudWatchLogsConfig

type CloudWatchLogsConfig struct {

	// The group name of the logs in Amazon CloudWatch Logs. For more information,
	// see Working with Log Groups and Log Streams (http://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 *string `locationName:"status" type:"string" required:"true" enum:"LogsConfigStatusType"`

	// The prefix of the stream name of the Amazon CloudWatch Logs. For more information,
	// see Working with Log Groups and Log Streams (http://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) GoString

func (s CloudWatchLogsConfig) GoString() string

GoString returns the string representation

func (*CloudWatchLogsConfig) SetGroupName

func (s *CloudWatchLogsConfig) SetGroupName(v string) *CloudWatchLogsConfig

SetGroupName sets the GroupName field's value.

func (*CloudWatchLogsConfig) SetStatus

SetStatus sets the Status field's value.

func (*CloudWatchLogsConfig) SetStreamName

func (s *CloudWatchLogsConfig) SetStreamName(v string) *CloudWatchLogsConfig

SetStreamName sets the StreamName field's value.

func (CloudWatchLogsConfig) String

func (s CloudWatchLogsConfig) String() string

String returns the string representation

func (*CloudWatchLogsConfig) Validate

func (s *CloudWatchLogsConfig) Validate() error

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

type CodeBuild

type CodeBuild struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeBuild

New creates a new instance of the CodeBuild client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CodeBuild client from just a session.
svc := codebuild.New(mySession)

// Create a CodeBuild client with additional configuration
svc := codebuild.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeBuild) BatchDeleteBuilds added in v1.10.36

func (c *CodeBuild) BatchDeleteBuilds(input *BatchDeleteBuildsInput) (*BatchDeleteBuildsOutput, error)

BatchDeleteBuilds API operation for AWS CodeBuild.

Deletes one or more builds.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation BatchDeleteBuilds for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

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

func (*CodeBuild) BatchDeleteBuildsRequest added in v1.10.36

func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) (req *request.Request, output *BatchDeleteBuildsOutput)

BatchDeleteBuildsRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteBuilds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteBuilds for more information on using the BatchDeleteBuilds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteBuildsRequest method.
req, resp := client.BatchDeleteBuildsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) BatchDeleteBuildsWithContext added in v1.10.36

func (c *CodeBuild) BatchDeleteBuildsWithContext(ctx aws.Context, input *BatchDeleteBuildsInput, opts ...request.Option) (*BatchDeleteBuildsOutput, error)

BatchDeleteBuildsWithContext is the same as BatchDeleteBuilds with the addition of the ability to pass a context and additional request options.

See BatchDeleteBuilds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) BatchGetBuilds

func (c *CodeBuild) BatchGetBuilds(input *BatchGetBuildsInput) (*BatchGetBuildsOutput, error)

BatchGetBuilds API operation for AWS CodeBuild.

Gets information about builds.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation BatchGetBuilds for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

See also, 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 (
	"fmt"
	"strings"
	"time"

	"github.com/Beeketing/aws-sdk-go/aws"
	"github.com/Beeketing/aws-sdk-go/aws/awserr"
	"github.com/Beeketing/aws-sdk-go/aws/session"
	"github.com/Beeketing/aws-sdk-go/service/codebuild"
)

var _ time.Duration
var _ strings.Reader
var _ aws.Config

func parseTime(layout, value string) *time.Time {
	t, err := time.Parse(layout, value)
	if err != nil {
		panic(err)
	}
	return &t
}

// To get information about builds
//
// The following example gets information about builds with the specified build IDs.
func main() {
	svc := codebuild.New(session.New())
	input := &codebuild.BatchGetBuildsInput{
		Ids: []*string{
			aws.String("codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX"),
			aws.String("codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX"),
		},
	}

	result, err := svc.BatchGetBuilds(input)
	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 (*CodeBuild) BatchGetBuildsRequest

func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) (req *request.Request, output *BatchGetBuildsOutput)

BatchGetBuildsRequest generates a "aws/request.Request" representing the client's request for the BatchGetBuilds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetBuilds for more information on using the BatchGetBuilds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetBuildsRequest method.
req, resp := client.BatchGetBuildsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) BatchGetBuildsWithContext added in v1.8.0

func (c *CodeBuild) BatchGetBuildsWithContext(ctx aws.Context, input *BatchGetBuildsInput, opts ...request.Option) (*BatchGetBuildsOutput, error)

BatchGetBuildsWithContext is the same as BatchGetBuilds with the addition of the ability to pass a context and additional request options.

See BatchGetBuilds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) BatchGetProjects

func (c *CodeBuild) BatchGetProjects(input *BatchGetProjectsInput) (*BatchGetProjectsOutput, error)

BatchGetProjects API operation for AWS CodeBuild.

Gets information about build projects.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation BatchGetProjects for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

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

func (*CodeBuild) BatchGetProjectsRequest

func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) (req *request.Request, output *BatchGetProjectsOutput)

BatchGetProjectsRequest generates a "aws/request.Request" representing the client's request for the BatchGetProjects operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetProjects for more information on using the BatchGetProjects API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetProjectsRequest method.
req, resp := client.BatchGetProjectsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) BatchGetProjectsWithContext added in v1.8.0

func (c *CodeBuild) BatchGetProjectsWithContext(ctx aws.Context, input *BatchGetProjectsInput, opts ...request.Option) (*BatchGetProjectsOutput, error)

BatchGetProjectsWithContext is the same as BatchGetProjects with the addition of the ability to pass a context and additional request options.

See BatchGetProjects for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) CreateProject

func (c *CodeBuild) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error)

CreateProject API operation for AWS CodeBuild.

Creates a build project.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation CreateProject for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified AWS resource cannot be created, because an AWS resource with the same settings already exists.

  • ErrCodeAccountLimitExceededException "AccountLimitExceededException" An AWS service limit was exceeded for the calling AWS account.

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

func (*CodeBuild) CreateProjectRequest

func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput)

CreateProjectRequest generates a "aws/request.Request" representing the client's request for the CreateProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateProject for more information on using the CreateProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateProjectRequest method.
req, resp := client.CreateProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) CreateProjectWithContext added in v1.8.0

func (c *CodeBuild) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error)

CreateProjectWithContext is the same as CreateProject with the addition of the ability to pass a context and additional request options.

See CreateProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) CreateWebhook added in v1.12.2

func (c *CodeBuild) CreateWebhook(input *CreateWebhookInput) (*CreateWebhookOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation CreateWebhook for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeOAuthProviderException "OAuthProviderException" There was a problem with the underlying OAuth provider.

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified AWS resource cannot be created, because an AWS resource with the same settings already exists.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) CreateWebhookRequest added in v1.12.2

func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *request.Request, output *CreateWebhookOutput)

CreateWebhookRequest generates a "aws/request.Request" representing the client's request for the CreateWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateWebhook for more information on using the CreateWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateWebhookRequest method.
req, resp := client.CreateWebhookRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) CreateWebhookWithContext added in v1.12.2

func (c *CodeBuild) CreateWebhookWithContext(ctx aws.Context, input *CreateWebhookInput, opts ...request.Option) (*CreateWebhookOutput, error)

CreateWebhookWithContext is the same as CreateWebhook with the addition of the ability to pass a context and additional request options.

See CreateWebhook for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) DeleteProject

func (c *CodeBuild) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error)

DeleteProject API operation for AWS CodeBuild.

Deletes a build project.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation DeleteProject for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

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

func (*CodeBuild) DeleteProjectRequest

func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput)

DeleteProjectRequest generates a "aws/request.Request" representing the client's request for the DeleteProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteProject for more information on using the DeleteProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteProjectRequest method.
req, resp := client.DeleteProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) DeleteProjectWithContext added in v1.8.0

func (c *CodeBuild) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error)

DeleteProjectWithContext is the same as DeleteProject with the addition of the ability to pass a context and additional request options.

See DeleteProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) DeleteSourceCredentials

func (c *CodeBuild) DeleteSourceCredentials(input *DeleteSourceCredentialsInput) (*DeleteSourceCredentialsOutput, error)

DeleteSourceCredentials API operation for AWS CodeBuild.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation DeleteSourceCredentials for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) DeleteSourceCredentialsRequest

func (c *CodeBuild) DeleteSourceCredentialsRequest(input *DeleteSourceCredentialsInput) (req *request.Request, output *DeleteSourceCredentialsOutput)

DeleteSourceCredentialsRequest generates a "aws/request.Request" representing the client's request for the DeleteSourceCredentials operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSourceCredentials for more information on using the DeleteSourceCredentials API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSourceCredentialsRequest method.
req, resp := client.DeleteSourceCredentialsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) DeleteSourceCredentialsWithContext

func (c *CodeBuild) DeleteSourceCredentialsWithContext(ctx aws.Context, input *DeleteSourceCredentialsInput, opts ...request.Option) (*DeleteSourceCredentialsOutput, error)

DeleteSourceCredentialsWithContext is the same as DeleteSourceCredentials with the addition of the ability to pass a context and additional request options.

See DeleteSourceCredentials for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) DeleteWebhook added in v1.12.2

func (c *CodeBuild) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation DeleteWebhook for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

  • ErrCodeOAuthProviderException "OAuthProviderException" There was a problem with the underlying OAuth provider.

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

func (*CodeBuild) DeleteWebhookRequest added in v1.12.2

func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput)

DeleteWebhookRequest generates a "aws/request.Request" representing the client's request for the DeleteWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteWebhook for more information on using the DeleteWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteWebhookRequest method.
req, resp := client.DeleteWebhookRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) DeleteWebhookWithContext added in v1.12.2

func (c *CodeBuild) DeleteWebhookWithContext(ctx aws.Context, input *DeleteWebhookInput, opts ...request.Option) (*DeleteWebhookOutput, error)

DeleteWebhookWithContext is the same as DeleteWebhook with the addition of the ability to pass a context and additional request options.

See DeleteWebhook for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ImportSourceCredentials

func (c *CodeBuild) ImportSourceCredentials(input *ImportSourceCredentialsInput) (*ImportSourceCredentialsOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ImportSourceCredentials for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeAccountLimitExceededException "AccountLimitExceededException" An AWS service limit was exceeded for the calling AWS account.

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

func (*CodeBuild) ImportSourceCredentialsRequest

func (c *CodeBuild) ImportSourceCredentialsRequest(input *ImportSourceCredentialsInput) (req *request.Request, output *ImportSourceCredentialsOutput)

ImportSourceCredentialsRequest generates a "aws/request.Request" representing the client's request for the ImportSourceCredentials operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ImportSourceCredentials for more information on using the ImportSourceCredentials API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ImportSourceCredentialsRequest method.
req, resp := client.ImportSourceCredentialsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ImportSourceCredentialsWithContext

func (c *CodeBuild) ImportSourceCredentialsWithContext(ctx aws.Context, input *ImportSourceCredentialsInput, opts ...request.Option) (*ImportSourceCredentialsOutput, error)

ImportSourceCredentialsWithContext is the same as ImportSourceCredentials with the addition of the ability to pass a context and additional request options.

See ImportSourceCredentials for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) InvalidateProjectCache added in v1.12.32

func (c *CodeBuild) InvalidateProjectCache(input *InvalidateProjectCacheInput) (*InvalidateProjectCacheOutput, error)

InvalidateProjectCache API operation for AWS CodeBuild.

Resets the cache for a project.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation InvalidateProjectCache for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) InvalidateProjectCacheRequest added in v1.12.32

func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) (req *request.Request, output *InvalidateProjectCacheOutput)

InvalidateProjectCacheRequest generates a "aws/request.Request" representing the client's request for the InvalidateProjectCache operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InvalidateProjectCache for more information on using the InvalidateProjectCache API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InvalidateProjectCacheRequest method.
req, resp := client.InvalidateProjectCacheRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) InvalidateProjectCacheWithContext added in v1.12.32

func (c *CodeBuild) InvalidateProjectCacheWithContext(ctx aws.Context, input *InvalidateProjectCacheInput, opts ...request.Option) (*InvalidateProjectCacheOutput, error)

InvalidateProjectCacheWithContext is the same as InvalidateProjectCache with the addition of the ability to pass a context and additional request options.

See InvalidateProjectCache for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ListBuilds

func (c *CodeBuild) ListBuilds(input *ListBuildsInput) (*ListBuildsOutput, error)

ListBuilds API operation for AWS CodeBuild.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ListBuilds for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

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

func (*CodeBuild) ListBuildsForProject

func (c *CodeBuild) ListBuildsForProject(input *ListBuildsForProjectInput) (*ListBuildsForProjectOutput, error)

ListBuildsForProject API operation for AWS CodeBuild.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ListBuildsForProject for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) ListBuildsForProjectRequest

func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) (req *request.Request, output *ListBuildsForProjectOutput)

ListBuildsForProjectRequest generates a "aws/request.Request" representing the client's request for the ListBuildsForProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBuildsForProject for more information on using the ListBuildsForProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBuildsForProjectRequest method.
req, resp := client.ListBuildsForProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ListBuildsForProjectWithContext added in v1.8.0

func (c *CodeBuild) ListBuildsForProjectWithContext(ctx aws.Context, input *ListBuildsForProjectInput, opts ...request.Option) (*ListBuildsForProjectOutput, error)

ListBuildsForProjectWithContext is the same as ListBuildsForProject with the addition of the ability to pass a context and additional request options.

See ListBuildsForProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ListBuildsRequest

func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) (req *request.Request, output *ListBuildsOutput)

ListBuildsRequest generates a "aws/request.Request" representing the client's request for the ListBuilds operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBuilds for more information on using the ListBuilds API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBuildsRequest method.
req, resp := client.ListBuildsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ListBuildsWithContext added in v1.8.0

func (c *CodeBuild) ListBuildsWithContext(ctx aws.Context, input *ListBuildsInput, opts ...request.Option) (*ListBuildsOutput, error)

ListBuildsWithContext is the same as ListBuilds with the addition of the ability to pass a context and additional request options.

See ListBuilds for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ListCuratedEnvironmentImages

func (c *CodeBuild) ListCuratedEnvironmentImages(input *ListCuratedEnvironmentImagesInput) (*ListCuratedEnvironmentImagesOutput, error)

ListCuratedEnvironmentImages API operation for AWS CodeBuild.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ListCuratedEnvironmentImages for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages

func (*CodeBuild) ListCuratedEnvironmentImagesRequest

func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) (req *request.Request, output *ListCuratedEnvironmentImagesOutput)

ListCuratedEnvironmentImagesRequest generates a "aws/request.Request" representing the client's request for the ListCuratedEnvironmentImages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCuratedEnvironmentImages for more information on using the ListCuratedEnvironmentImages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCuratedEnvironmentImagesRequest method.
req, resp := client.ListCuratedEnvironmentImagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ListCuratedEnvironmentImagesWithContext added in v1.8.0

func (c *CodeBuild) ListCuratedEnvironmentImagesWithContext(ctx aws.Context, input *ListCuratedEnvironmentImagesInput, opts ...request.Option) (*ListCuratedEnvironmentImagesOutput, error)

ListCuratedEnvironmentImagesWithContext is the same as ListCuratedEnvironmentImages with the addition of the ability to pass a context and additional request options.

See ListCuratedEnvironmentImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ListProjects

func (c *CodeBuild) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error)

ListProjects API operation for AWS CodeBuild.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ListProjects for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

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

func (*CodeBuild) ListProjectsRequest

func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput)

ListProjectsRequest generates a "aws/request.Request" representing the client's request for the ListProjects operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListProjects for more information on using the ListProjects API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListProjectsRequest method.
req, resp := client.ListProjectsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ListProjectsWithContext added in v1.8.0

func (c *CodeBuild) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error)

ListProjectsWithContext is the same as ListProjects with the addition of the ability to pass a context and additional request options.

See ListProjects for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) ListSourceCredentials

func (c *CodeBuild) ListSourceCredentials(input *ListSourceCredentialsInput) (*ListSourceCredentialsOutput, error)

ListSourceCredentials API operation for AWS CodeBuild.

Returns a list of SourceCredentialsInfo objects.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation ListSourceCredentials for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSourceCredentials

func (*CodeBuild) ListSourceCredentialsRequest

func (c *CodeBuild) ListSourceCredentialsRequest(input *ListSourceCredentialsInput) (req *request.Request, output *ListSourceCredentialsOutput)

ListSourceCredentialsRequest generates a "aws/request.Request" representing the client's request for the ListSourceCredentials operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSourceCredentials for more information on using the ListSourceCredentials API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSourceCredentialsRequest method.
req, resp := client.ListSourceCredentialsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) ListSourceCredentialsWithContext

func (c *CodeBuild) ListSourceCredentialsWithContext(ctx aws.Context, input *ListSourceCredentialsInput, opts ...request.Option) (*ListSourceCredentialsOutput, error)

ListSourceCredentialsWithContext is the same as ListSourceCredentials with the addition of the ability to pass a context and additional request options.

See ListSourceCredentials for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) StartBuild

func (c *CodeBuild) StartBuild(input *StartBuildInput) (*StartBuildOutput, error)

StartBuild API operation for AWS CodeBuild.

Starts running a build.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation StartBuild for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

  • ErrCodeAccountLimitExceededException "AccountLimitExceededException" An AWS service limit was exceeded for the calling AWS account.

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

func (*CodeBuild) StartBuildRequest

func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Request, output *StartBuildOutput)

StartBuildRequest generates a "aws/request.Request" representing the client's request for the StartBuild operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartBuild for more information on using the StartBuild API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartBuildRequest method.
req, resp := client.StartBuildRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) StartBuildWithContext added in v1.8.0

func (c *CodeBuild) StartBuildWithContext(ctx aws.Context, input *StartBuildInput, opts ...request.Option) (*StartBuildOutput, error)

StartBuildWithContext is the same as StartBuild with the addition of the ability to pass a context and additional request options.

See StartBuild for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) StopBuild

func (c *CodeBuild) StopBuild(input *StopBuildInput) (*StopBuildOutput, error)

StopBuild API operation for AWS CodeBuild.

Attempts to stop running a build.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation StopBuild for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) StopBuildRequest

func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Request, output *StopBuildOutput)

StopBuildRequest generates a "aws/request.Request" representing the client's request for the StopBuild operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopBuild for more information on using the StopBuild API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopBuildRequest method.
req, resp := client.StopBuildRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) StopBuildWithContext added in v1.8.0

func (c *CodeBuild) StopBuildWithContext(ctx aws.Context, input *StopBuildInput, opts ...request.Option) (*StopBuildOutput, error)

StopBuildWithContext is the same as StopBuild with the addition of the ability to pass a context and additional request options.

See StopBuild for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) UpdateProject

func (c *CodeBuild) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)

UpdateProject API operation for AWS CodeBuild.

Changes the settings of a build project.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation UpdateProject for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

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

func (*CodeBuild) UpdateProjectRequest

func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)

UpdateProjectRequest generates a "aws/request.Request" representing the client's request for the UpdateProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateProject for more information on using the UpdateProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateProjectRequest method.
req, resp := client.UpdateProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) UpdateProjectWithContext added in v1.8.0

func (c *CodeBuild) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)

UpdateProjectWithContext is the same as UpdateProject with the addition of the ability to pass a context and additional request options.

See UpdateProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) UpdateWebhook added in v1.13.19

func (c *CodeBuild) UpdateWebhook(input *UpdateWebhookInput) (*UpdateWebhookOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation UpdateWebhook for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInputException "InvalidInputException" The input value that was provided is not valid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified AWS resource cannot be found.

  • ErrCodeOAuthProviderException "OAuthProviderException" There was a problem with the underlying OAuth provider.

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

func (*CodeBuild) UpdateWebhookRequest added in v1.13.19

func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request.Request, output *UpdateWebhookOutput)

UpdateWebhookRequest generates a "aws/request.Request" representing the client's request for the UpdateWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateWebhook for more information on using the UpdateWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateWebhookRequest method.
req, resp := client.UpdateWebhookRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*CodeBuild) UpdateWebhookWithContext added in v1.13.19

func (c *CodeBuild) UpdateWebhookWithContext(ctx aws.Context, input *UpdateWebhookInput, opts ...request.Option) (*UpdateWebhookOutput, error)

UpdateWebhookWithContext is the same as UpdateWebhook with the addition of the ability to pass a context and additional request options.

See UpdateWebhook for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

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 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"`

	// 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 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 set of tags for 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) GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation

func (*CreateProjectInput) SetArtifacts

SetArtifacts sets the Artifacts field's value.

func (*CreateProjectInput) SetBadgeEnabled added in v1.12.32

func (s *CreateProjectInput) SetBadgeEnabled(v bool) *CreateProjectInput

SetBadgeEnabled sets the BadgeEnabled field's value.

func (*CreateProjectInput) SetCache added in v1.12.32

SetCache sets the Cache field's value.

func (*CreateProjectInput) SetDescription

func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput

SetDescription sets the Description field's value.

func (*CreateProjectInput) SetEncryptionKey

func (s *CreateProjectInput) SetEncryptionKey(v string) *CreateProjectInput

SetEncryptionKey sets the EncryptionKey field's value.

func (*CreateProjectInput) SetEnvironment

SetEnvironment sets the Environment field's value.

func (*CreateProjectInput) SetLogsConfig

func (s *CreateProjectInput) SetLogsConfig(v *LogsConfig) *CreateProjectInput

SetLogsConfig sets the LogsConfig field's value.

func (*CreateProjectInput) SetName

SetName sets the Name field's value.

func (*CreateProjectInput) SetQueuedTimeoutInMinutes

func (s *CreateProjectInput) SetQueuedTimeoutInMinutes(v int64) *CreateProjectInput

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*CreateProjectInput) SetSecondaryArtifacts

func (s *CreateProjectInput) SetSecondaryArtifacts(v []*ProjectArtifacts) *CreateProjectInput

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*CreateProjectInput) SetSecondarySources

func (s *CreateProjectInput) SetSecondarySources(v []*ProjectSource) *CreateProjectInput

SetSecondarySources sets the SecondarySources field's value.

func (*CreateProjectInput) SetServiceRole

func (s *CreateProjectInput) SetServiceRole(v string) *CreateProjectInput

SetServiceRole sets the ServiceRole field's value.

func (*CreateProjectInput) SetSource

SetSource sets the Source field's value.

func (*CreateProjectInput) SetTags

func (s *CreateProjectInput) SetTags(v []*Tag) *CreateProjectInput

SetTags sets the Tags field's value.

func (*CreateProjectInput) SetTimeoutInMinutes

func (s *CreateProjectInput) SetTimeoutInMinutes(v int64) *CreateProjectInput

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*CreateProjectInput) SetVpcConfig added in v1.12.32

func (s *CreateProjectInput) SetVpcConfig(v *VpcConfig) *CreateProjectInput

SetVpcConfig sets the VpcConfig field's value.

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

func (s CreateProjectOutput) GoString() string

GoString returns the string representation

func (*CreateProjectOutput) SetProject

func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput

SetProject sets the Project field's value.

func (CreateProjectOutput) String

func (s CreateProjectOutput) String() string

String returns the string representation

type CreateWebhookInput added in v1.12.2

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.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// 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) GoString added in v1.12.2

func (s CreateWebhookInput) GoString() string

GoString returns the string representation

func (*CreateWebhookInput) SetBranchFilter added in v1.13.19

func (s *CreateWebhookInput) SetBranchFilter(v string) *CreateWebhookInput

SetBranchFilter sets the BranchFilter field's value.

func (*CreateWebhookInput) SetProjectName added in v1.12.2

func (s *CreateWebhookInput) SetProjectName(v string) *CreateWebhookInput

SetProjectName sets the ProjectName field's value.

func (CreateWebhookInput) String added in v1.12.2

func (s CreateWebhookInput) String() string

String returns the string representation

func (*CreateWebhookInput) Validate added in v1.12.2

func (s *CreateWebhookInput) Validate() error

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

type CreateWebhookOutput added in v1.12.2

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) GoString added in v1.12.2

func (s CreateWebhookOutput) GoString() string

GoString returns the string representation

func (*CreateWebhookOutput) SetWebhook added in v1.12.2

func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput

SetWebhook sets the Webhook field's value.

func (CreateWebhookOutput) String added in v1.12.2

func (s CreateWebhookOutput) 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) GoString

func (s DeleteProjectInput) GoString() string

GoString returns the string representation

func (*DeleteProjectInput) SetName

SetName sets the Name field's value.

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

func (s DeleteProjectOutput) GoString() string

GoString returns the string representation

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation

type DeleteSourceCredentialsInput

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

func (s DeleteSourceCredentialsInput) GoString() string

GoString returns the string representation

func (*DeleteSourceCredentialsInput) SetArn

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsInput) String

String returns the string representation

func (*DeleteSourceCredentialsInput) Validate

func (s *DeleteSourceCredentialsInput) Validate() error

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

type DeleteSourceCredentialsOutput

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

GoString returns the string representation

func (*DeleteSourceCredentialsOutput) SetArn

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsOutput) String

String returns the string representation

type DeleteWebhookInput added in v1.12.2

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) GoString added in v1.12.2

func (s DeleteWebhookInput) GoString() string

GoString returns the string representation

func (*DeleteWebhookInput) SetProjectName added in v1.12.2

func (s *DeleteWebhookInput) SetProjectName(v string) *DeleteWebhookInput

SetProjectName sets the ProjectName field's value.

func (DeleteWebhookInput) String added in v1.12.2

func (s DeleteWebhookInput) String() string

String returns the string representation

func (*DeleteWebhookInput) Validate added in v1.12.2

func (s *DeleteWebhookInput) Validate() error

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

type DeleteWebhookOutput added in v1.12.2

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

func (DeleteWebhookOutput) GoString added in v1.12.2

func (s DeleteWebhookOutput) GoString() string

GoString returns the string representation

func (DeleteWebhookOutput) String added in v1.12.2

func (s DeleteWebhookOutput) String() string

String returns the string representation

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

func (s EnvironmentImage) GoString() string

GoString returns the string representation

func (*EnvironmentImage) SetDescription

func (s *EnvironmentImage) SetDescription(v string) *EnvironmentImage

SetDescription sets the Description field's value.

func (*EnvironmentImage) SetName

func (s *EnvironmentImage) SetName(v string) *EnvironmentImage

SetName sets the Name field's value.

func (*EnvironmentImage) SetVersions added in v1.12.52

func (s *EnvironmentImage) SetVersions(v []*string) *EnvironmentImage

SetVersions sets the Versions field's value.

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

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

func (EnvironmentLanguage) GoString

func (s EnvironmentLanguage) GoString() string

GoString returns the string representation

func (*EnvironmentLanguage) SetImages

SetImages sets the Images field's value.

func (*EnvironmentLanguage) SetLanguage

func (s *EnvironmentLanguage) SetLanguage(v string) *EnvironmentLanguage

SetLanguage sets the Language field's value.

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

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

func (EnvironmentPlatform) GoString

func (s EnvironmentPlatform) GoString() string

GoString returns the string representation

func (*EnvironmentPlatform) SetLanguages

SetLanguages sets the Languages field's value.

func (*EnvironmentPlatform) SetPlatform

func (s *EnvironmentPlatform) SetPlatform(v string) *EnvironmentPlatform

SetPlatform sets the Platform field's value.

func (EnvironmentPlatform) String

func (s EnvironmentPlatform) String() string

String returns the string representation

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.
	//
	//    * PLAINTEXT: An environment variable in plaintext format.
	Type *string `locationName:"type" type:"string" enum:"EnvironmentVariableType"`

	// The value of the environment variable.
	//
	// We strongly discourage the use of environment variables to store sensitive
	// values, especially AWS secret key IDs and secret access keys. Environment
	// variables can be displayed in plain text using the AWS CodeBuild console
	// and the AWS Command Line Interface (AWS CLI).
	//
	// 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) GoString

func (s EnvironmentVariable) GoString() string

GoString returns the string representation

func (*EnvironmentVariable) SetName

SetName sets the Name field's value.

func (*EnvironmentVariable) SetType added in v1.10.45

SetType sets the Type field's value.

func (*EnvironmentVariable) SetValue

SetValue sets the Value field's value.

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 ImportSourceCredentialsInput

type ImportSourceCredentialsInput struct {

	// The type of authentication used to connect to a GitHub, GitHub Enterprise,
	// or Bitbucket repository. An OAUTH connection is not supported by the API
	// and must be created using the AWS CodeBuild console.
	//
	// AuthType is a required field
	AuthType *string `locationName:"authType" type:"string" required:"true" enum:"AuthType"`

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

	// 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) GoString

func (s ImportSourceCredentialsInput) GoString() string

GoString returns the string representation

func (*ImportSourceCredentialsInput) SetAuthType

SetAuthType sets the AuthType field's value.

func (*ImportSourceCredentialsInput) SetServerType

SetServerType sets the ServerType field's value.

func (*ImportSourceCredentialsInput) SetToken

SetToken sets the Token field's value.

func (*ImportSourceCredentialsInput) SetUsername

SetUsername sets the Username field's value.

func (ImportSourceCredentialsInput) String

String returns the string representation

func (*ImportSourceCredentialsInput) Validate

func (s *ImportSourceCredentialsInput) Validate() error

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

type ImportSourceCredentialsOutput

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

GoString returns the string representation

func (*ImportSourceCredentialsOutput) SetArn

SetArn sets the Arn field's value.

func (ImportSourceCredentialsOutput) String

String returns the string representation

type InvalidateProjectCacheInput added in v1.12.32

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) GoString added in v1.12.32

func (s InvalidateProjectCacheInput) GoString() string

GoString returns the string representation

func (*InvalidateProjectCacheInput) SetProjectName added in v1.12.32

SetProjectName sets the ProjectName field's value.

func (InvalidateProjectCacheInput) String added in v1.12.32

String returns the string representation

func (*InvalidateProjectCacheInput) Validate added in v1.12.32

func (s *InvalidateProjectCacheInput) Validate() error

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

type InvalidateProjectCacheOutput added in v1.12.32

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

func (InvalidateProjectCacheOutput) GoString added in v1.12.32

func (s InvalidateProjectCacheOutput) GoString() string

GoString returns the string representation

func (InvalidateProjectCacheOutput) String added in v1.12.32

String returns the string representation

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

func (ListBuildsForProjectInput) GoString

func (s ListBuildsForProjectInput) GoString() string

GoString returns the string representation

func (*ListBuildsForProjectInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListBuildsForProjectInput) SetProjectName

SetProjectName sets the ProjectName field's value.

func (*ListBuildsForProjectInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

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 next token. 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) GoString

func (s ListBuildsForProjectOutput) GoString() string

GoString returns the string representation

func (*ListBuildsForProjectOutput) SetIds

SetIds sets the Ids field's value.

func (*ListBuildsForProjectOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBuildsForProjectOutput) String

String returns the string representation

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

func (ListBuildsInput) GoString

func (s ListBuildsInput) GoString() string

GoString returns the string representation

func (*ListBuildsInput) SetNextToken

func (s *ListBuildsInput) SetNextToken(v string) *ListBuildsInput

SetNextToken sets the NextToken field's value.

func (*ListBuildsInput) SetSortOrder

func (s *ListBuildsInput) SetSortOrder(v string) *ListBuildsInput

SetSortOrder sets the SortOrder field's value.

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 next token. 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) GoString

func (s ListBuildsOutput) GoString() string

GoString returns the string representation

func (*ListBuildsOutput) SetIds

func (s *ListBuildsOutput) SetIds(v []*string) *ListBuildsOutput

SetIds sets the Ids field's value.

func (*ListBuildsOutput) SetNextToken

func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput

SetNextToken sets the NextToken field's value.

func (ListBuildsOutput) String

func (s ListBuildsOutput) String() string

String returns the string representation

type ListCuratedEnvironmentImagesInput

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

func (ListCuratedEnvironmentImagesInput) GoString

GoString returns the string representation

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

GoString returns the string representation

func (*ListCuratedEnvironmentImagesOutput) SetPlatforms

SetPlatforms sets the Platforms field's value.

func (ListCuratedEnvironmentImagesOutput) String

String returns the string representation

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 next
	// token. 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 *string `locationName:"sortBy" type:"string" enum:"ProjectSortByType"`

	// The order in which to list build projects. Valid values include:
	//
	//    * ASCENDING: List in ascending order.
	//
	//    * DESCENDING: List in descending order.
	//
	// Use sortBy to specify the criterion to be used to list build project names.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
	// contains filtered or unexported fields
}

func (ListProjectsInput) GoString

func (s ListProjectsInput) GoString() string

GoString returns the string representation

func (*ListProjectsInput) SetNextToken

func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput

SetNextToken sets the NextToken field's value.

func (*ListProjectsInput) SetSortBy

func (s *ListProjectsInput) SetSortBy(v string) *ListProjectsInput

SetSortBy sets the SortBy field's value.

func (*ListProjectsInput) SetSortOrder

func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput

SetSortOrder sets the SortOrder field's value.

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 next token. 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) GoString

func (s ListProjectsOutput) GoString() string

GoString returns the string representation

func (*ListProjectsOutput) SetNextToken

func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput

SetNextToken sets the NextToken field's value.

func (*ListProjectsOutput) SetProjects

func (s *ListProjectsOutput) SetProjects(v []*string) *ListProjectsOutput

SetProjects sets the Projects field's value.

func (ListProjectsOutput) String

func (s ListProjectsOutput) String() string

String returns the string representation

type ListSourceCredentialsInput

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

func (ListSourceCredentialsInput) GoString

func (s ListSourceCredentialsInput) GoString() string

GoString returns the string representation

func (ListSourceCredentialsInput) String

String returns the string representation

type ListSourceCredentialsOutput

type ListSourceCredentialsOutput struct {

	// A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object
	// includes the authentication type, token ARN, and type of source provider
	// for one set of credentials.
	SourceCredentialsInfos []*SourceCredentialsInfo `locationName:"sourceCredentialsInfos" type:"list"`
	// contains filtered or unexported fields
}

func (ListSourceCredentialsOutput) GoString

func (s ListSourceCredentialsOutput) GoString() string

GoString returns the string representation

func (*ListSourceCredentialsOutput) SetSourceCredentialsInfos

SetSourceCredentialsInfos sets the SourceCredentialsInfos field's value.

func (ListSourceCredentialsOutput) String

String returns the string representation

type LogsConfig

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

func (s LogsConfig) GoString() string

GoString returns the string representation

func (*LogsConfig) SetCloudWatchLogs

func (s *LogsConfig) SetCloudWatchLogs(v *CloudWatchLogsConfig) *LogsConfig

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*LogsConfig) SetS3Logs

func (s *LogsConfig) SetS3Logs(v *S3LogsConfig) *LogsConfig

SetS3Logs sets the S3Logs field's value.

func (LogsConfig) String

func (s LogsConfig) String() string

String returns the string representation

func (*LogsConfig) Validate

func (s *LogsConfig) Validate() error

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

type LogsLocation

type LogsLocation struct {

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

	// 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 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) GoString

func (s LogsLocation) GoString() string

GoString returns the string representation

func (*LogsLocation) SetCloudWatchLogs

func (s *LogsLocation) SetCloudWatchLogs(v *CloudWatchLogsConfig) *LogsLocation

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (s *LogsLocation) SetDeepLink(v string) *LogsLocation

SetDeepLink sets the DeepLink field's value.

func (*LogsLocation) SetGroupName

func (s *LogsLocation) SetGroupName(v string) *LogsLocation

SetGroupName sets the GroupName field's value.

func (s *LogsLocation) SetS3DeepLink(v string) *LogsLocation

SetS3DeepLink sets the S3DeepLink field's value.

func (*LogsLocation) SetS3Logs

func (s *LogsLocation) SetS3Logs(v *S3LogsConfig) *LogsLocation

SetS3Logs sets the S3Logs field's value.

func (*LogsLocation) SetStreamName

func (s *LogsLocation) SetStreamName(v string) *LogsLocation

SetStreamName sets the StreamName field's value.

func (LogsLocation) String

func (s LogsLocation) String() string

String returns the string representation

type NetworkInterface added in v1.12.32

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) GoString added in v1.12.32

func (s NetworkInterface) GoString() string

GoString returns the string representation

func (*NetworkInterface) SetNetworkInterfaceId added in v1.12.32

func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NetworkInterface) SetSubnetId added in v1.12.32

func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface

SetSubnetId sets the SubnetId field's value.

func (NetworkInterface) String added in v1.12.32

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

func (s PhaseContext) GoString() string

GoString returns the string representation

func (*PhaseContext) SetMessage

func (s *PhaseContext) SetMessage(v string) *PhaseContext

SetMessage sets the Message field's value.

func (*PhaseContext) SetStatusCode

func (s *PhaseContext) SetStatusCode(v string) *PhaseContext

SetStatusCode sets the StatusCode field's value.

func (PhaseContext) String

func (s PhaseContext) String() string

String returns the string representation

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.
	//
	// This is expressed either as the Amazon Resource Name (ARN) of the CMK or,
	// if specified, 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"`

	// 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 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"`

	// The tags for 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) GoString

func (s Project) GoString() string

GoString returns the string representation

func (*Project) SetArn

func (s *Project) SetArn(v string) *Project

SetArn sets the Arn field's value.

func (*Project) SetArtifacts

func (s *Project) SetArtifacts(v *ProjectArtifacts) *Project

SetArtifacts sets the Artifacts field's value.

func (*Project) SetBadge added in v1.12.32

func (s *Project) SetBadge(v *ProjectBadge) *Project

SetBadge sets the Badge field's value.

func (*Project) SetCache added in v1.12.32

func (s *Project) SetCache(v *ProjectCache) *Project

SetCache sets the Cache field's value.

func (*Project) SetCreated

func (s *Project) SetCreated(v time.Time) *Project

SetCreated sets the Created field's value.

func (*Project) SetDescription

func (s *Project) SetDescription(v string) *Project

SetDescription sets the Description field's value.

func (*Project) SetEncryptionKey

func (s *Project) SetEncryptionKey(v string) *Project

SetEncryptionKey sets the EncryptionKey field's value.

func (*Project) SetEnvironment

func (s *Project) SetEnvironment(v *ProjectEnvironment) *Project

SetEnvironment sets the Environment field's value.

func (*Project) SetLastModified

func (s *Project) SetLastModified(v time.Time) *Project

SetLastModified sets the LastModified field's value.

func (*Project) SetLogsConfig

func (s *Project) SetLogsConfig(v *LogsConfig) *Project

SetLogsConfig sets the LogsConfig field's value.

func (*Project) SetName

func (s *Project) SetName(v string) *Project

SetName sets the Name field's value.

func (*Project) SetQueuedTimeoutInMinutes

func (s *Project) SetQueuedTimeoutInMinutes(v int64) *Project

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Project) SetSecondaryArtifacts

func (s *Project) SetSecondaryArtifacts(v []*ProjectArtifacts) *Project

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Project) SetSecondarySources

func (s *Project) SetSecondarySources(v []*ProjectSource) *Project

SetSecondarySources sets the SecondarySources field's value.

func (*Project) SetServiceRole

func (s *Project) SetServiceRole(v string) *Project

SetServiceRole sets the ServiceRole field's value.

func (*Project) SetSource

func (s *Project) SetSource(v *ProjectSource) *Project

SetSource sets the Source field's value.

func (*Project) SetTags

func (s *Project) SetTags(v []*Tag) *Project

SetTags sets the Tags field's value.

func (*Project) SetTimeoutInMinutes

func (s *Project) SetTimeoutInMinutes(v int64) *Project

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*Project) SetVpcConfig added in v1.12.32

func (s *Project) SetVpcConfig(v *VpcConfig) *Project

SetVpcConfig sets the VpcConfig field's value.

func (*Project) SetWebhook added in v1.12.2

func (s *Project) SetWebhook(v *Webhook) *Project

SetWebhook sets the Webhook field's value.

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 *string `locationName:"namespaceType" type:"string" enum:"ArtifactNamespace"`

	// If this flag is set, a name specified in the build spec file overrides the
	// artifact name. The name specified in a build spec 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 *string `locationName:"packaging" type:"string" enum:"ArtifactPackaging"`

	// 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.
	//
	//    * 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 *string `locationName:"type" type:"string" required:"true" enum:"ArtifactsType"`
	// contains filtered or unexported fields
}

Information about the build output artifacts for the build project.

func (ProjectArtifacts) GoString

func (s ProjectArtifacts) GoString() string

GoString returns the string representation

func (*ProjectArtifacts) SetArtifactIdentifier

func (s *ProjectArtifacts) SetArtifactIdentifier(v string) *ProjectArtifacts

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*ProjectArtifacts) SetEncryptionDisabled

func (s *ProjectArtifacts) SetEncryptionDisabled(v bool) *ProjectArtifacts

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*ProjectArtifacts) SetLocation

func (s *ProjectArtifacts) SetLocation(v string) *ProjectArtifacts

SetLocation sets the Location field's value.

func (*ProjectArtifacts) SetName

func (s *ProjectArtifacts) SetName(v string) *ProjectArtifacts

SetName sets the Name field's value.

func (*ProjectArtifacts) SetNamespaceType

func (s *ProjectArtifacts) SetNamespaceType(v string) *ProjectArtifacts

SetNamespaceType sets the NamespaceType field's value.

func (*ProjectArtifacts) SetOverrideArtifactName

func (s *ProjectArtifacts) SetOverrideArtifactName(v bool) *ProjectArtifacts

SetOverrideArtifactName sets the OverrideArtifactName field's value.

func (*ProjectArtifacts) SetPackaging

func (s *ProjectArtifacts) SetPackaging(v string) *ProjectArtifacts

SetPackaging sets the Packaging field's value.

func (*ProjectArtifacts) SetPath

func (s *ProjectArtifacts) SetPath(v string) *ProjectArtifacts

SetPath sets the Path field's value.

func (*ProjectArtifacts) SetType

func (s *ProjectArtifacts) SetType(v string) *ProjectArtifacts

SetType sets the Type field's value.

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 v1.12.32

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) GoString added in v1.12.32

func (s ProjectBadge) GoString() string

GoString returns the string representation

func (*ProjectBadge) SetBadgeEnabled added in v1.12.32

func (s *ProjectBadge) SetBadgeEnabled(v bool) *ProjectBadge

SetBadgeEnabled sets the BadgeEnabled field's value.

func (*ProjectBadge) SetBadgeRequestUrl added in v1.12.32

func (s *ProjectBadge) SetBadgeRequestUrl(v string) *ProjectBadge

SetBadgeRequestUrl sets the BadgeRequestUrl field's value.

func (ProjectBadge) String added in v1.12.32

func (s ProjectBadge) String() string

String returns the string representation

type ProjectCache added in v1.12.32

type ProjectCache struct {

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

	// 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.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"CacheType"`
	// contains filtered or unexported fields
}

Information about the cache for the build project.

func (ProjectCache) GoString added in v1.12.32

func (s ProjectCache) GoString() string

GoString returns the string representation

func (*ProjectCache) SetLocation added in v1.12.32

func (s *ProjectCache) SetLocation(v string) *ProjectCache

SetLocation sets the Location field's value.

func (*ProjectCache) SetType added in v1.12.32

func (s *ProjectCache) SetType(v string) *ProjectCache

SetType sets the Type field's value.

func (ProjectCache) String added in v1.12.32

func (s ProjectCache) String() string

String returns the string representation

func (*ProjectCache) Validate added in v1.12.32

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 15 GB memory and 8 vCPUs for builds.
	//
	// ComputeType is a required field
	ComputeType *string `locationName:"computeType" type:"string" required:"true" enum:"ComputeType"`

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

	// The ID of the Docker image to use for this build project.
	//
	// Image is a required field
	Image *string `locationName:"image" min:"1" type:"string" required:"true"`

	// Enables running the Docker daemon inside a Docker container. Set to true
	// only if the build project is be used to build Docker images, and the specified
	// build environment image is not provided by AWS CodeBuild with Docker support.
	// Otherwise, all associated builds that attempt to interact with the Docker
	// daemon fail. You must also start the Docker daemon so that builds can interact
	// with it. One way to do this is to initialize the Docker daemon during the
	// install phase of your build spec by running the following build commands.
	// (Do not run these commands if the specified build environment image is provided
	// by AWS CodeBuild with Docker support.)
	//
	// 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, 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 15 -t sh -c "until docker info; do echo
	// .; sleep 1; done"
	PrivilegedMode *bool `locationName:"privilegedMode" type:"boolean"`

	// The type of build environment to use for related builds.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"EnvironmentType"`
	// contains filtered or unexported fields
}

Information about the build environment of the build project.

func (ProjectEnvironment) GoString

func (s ProjectEnvironment) GoString() string

GoString returns the string representation

func (*ProjectEnvironment) SetCertificate added in v1.12.69

func (s *ProjectEnvironment) SetCertificate(v string) *ProjectEnvironment

SetCertificate sets the Certificate field's value.

func (*ProjectEnvironment) SetComputeType

func (s *ProjectEnvironment) SetComputeType(v string) *ProjectEnvironment

SetComputeType sets the ComputeType field's value.

func (*ProjectEnvironment) SetEnvironmentVariables

func (s *ProjectEnvironment) SetEnvironmentVariables(v []*EnvironmentVariable) *ProjectEnvironment

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (*ProjectEnvironment) SetImage

SetImage sets the Image field's value.

func (*ProjectEnvironment) SetPrivilegedMode added in v1.8.37

func (s *ProjectEnvironment) SetPrivilegedMode(v bool) *ProjectEnvironment

SetPrivilegedMode sets the PrivilegedMode field's value.

func (*ProjectEnvironment) SetType

SetType sets the Type field's value.

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 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"`

	// The build spec declaration to use for the builds in this build project.
	//
	// If this value is not specified, a build spec must be included along with
	// the source code to be built.
	Buildspec *string `locationName:"buildspec" type:"string"`

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

	// 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 build spec (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 build spec. 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 build spec. 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.
	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 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 *string `locationName:"type" type:"string" required:"true" enum:"SourceType"`
	// contains filtered or unexported fields
}

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

func (ProjectSource) GoString

func (s ProjectSource) GoString() string

GoString returns the string representation

func (*ProjectSource) SetAuth

func (s *ProjectSource) SetAuth(v *SourceAuth) *ProjectSource

SetAuth sets the Auth field's value.

func (*ProjectSource) SetBuildspec

func (s *ProjectSource) SetBuildspec(v string) *ProjectSource

SetBuildspec sets the Buildspec field's value.

func (*ProjectSource) SetGitCloneDepth added in v1.12.69

func (s *ProjectSource) SetGitCloneDepth(v int64) *ProjectSource

SetGitCloneDepth sets the GitCloneDepth field's value.

func (*ProjectSource) SetInsecureSsl added in v1.12.69

func (s *ProjectSource) SetInsecureSsl(v bool) *ProjectSource

SetInsecureSsl sets the InsecureSsl field's value.

func (*ProjectSource) SetLocation

func (s *ProjectSource) SetLocation(v string) *ProjectSource

SetLocation sets the Location field's value.

func (*ProjectSource) SetReportBuildStatus added in v1.14.24

func (s *ProjectSource) SetReportBuildStatus(v bool) *ProjectSource

SetReportBuildStatus sets the ReportBuildStatus field's value.

func (*ProjectSource) SetSourceIdentifier

func (s *ProjectSource) SetSourceIdentifier(v string) *ProjectSource

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*ProjectSource) SetType

func (s *ProjectSource) SetType(v string) *ProjectSource

SetType sets the Type field's value.

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

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

func (s ProjectSourceVersion) GoString() string

GoString returns the string representation

func (*ProjectSourceVersion) SetSourceIdentifier

func (s *ProjectSourceVersion) SetSourceIdentifier(v string) *ProjectSourceVersion

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*ProjectSourceVersion) SetSourceVersion

func (s *ProjectSourceVersion) SetSourceVersion(v string) *ProjectSourceVersion

SetSourceVersion sets the SourceVersion field's value.

func (ProjectSourceVersion) String

func (s ProjectSourceVersion) String() string

String returns the string representation

func (*ProjectSourceVersion) Validate

func (s *ProjectSourceVersion) Validate() error

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

type S3LogsConfig

type S3LogsConfig struct {

	// 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 *string `locationName:"status" type:"string" required:"true" enum:"LogsConfigStatusType"`
	// contains filtered or unexported fields
}

Information about S3 logs for a build project.

func (S3LogsConfig) GoString

func (s S3LogsConfig) GoString() string

GoString returns the string representation

func (*S3LogsConfig) SetLocation

func (s *S3LogsConfig) SetLocation(v string) *S3LogsConfig

SetLocation sets the Location field's value.

func (*S3LogsConfig) SetStatus

func (s *S3LogsConfig) SetStatus(v string) *S3LogsConfig

SetStatus sets the Status field's value.

func (S3LogsConfig) String

func (s S3LogsConfig) String() string

String returns the string representation

func (*S3LogsConfig) Validate

func (s *S3LogsConfig) Validate() error

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

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 *string `locationName:"type" type:"string" required:"true" enum:"SourceAuthType"`
	// 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) GoString

func (s SourceAuth) GoString() string

GoString returns the string representation

func (*SourceAuth) SetResource

func (s *SourceAuth) SetResource(v string) *SourceAuth

SetResource sets the Resource field's value.

func (*SourceAuth) SetType

func (s *SourceAuth) SetType(v string) *SourceAuth

SetType sets the Type field's value.

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 SourceCredentialsInfo

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 *string `locationName:"authType" type:"string" enum:"AuthType"`

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

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

func (SourceCredentialsInfo) GoString

func (s SourceCredentialsInfo) GoString() string

GoString returns the string representation

func (*SourceCredentialsInfo) SetArn

SetArn sets the Arn field's value.

func (*SourceCredentialsInfo) SetAuthType

SetAuthType sets the AuthType field's value.

func (*SourceCredentialsInfo) SetServerType

func (s *SourceCredentialsInfo) SetServerType(v string) *SourceCredentialsInfo

SetServerType sets the ServerType field's value.

func (SourceCredentialsInfo) String

func (s SourceCredentialsInfo) String() string

String returns the string representation

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"`

	// A build spec declaration that overrides, for this build only, the latest
	// one already defined in the build project.
	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 *string `locationName:"computeTypeOverride" type:"string" enum:"ComputeType"`

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

	// 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"`

	// 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 12 hours. 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"`

	// 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"`

	// 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.
	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 *string `locationName:"sourceTypeOverride" type:"string" enum:"SourceType"`

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

func (s StartBuildInput) GoString() string

GoString returns the string representation

func (*StartBuildInput) SetArtifactsOverride

func (s *StartBuildInput) SetArtifactsOverride(v *ProjectArtifacts) *StartBuildInput

SetArtifactsOverride sets the ArtifactsOverride field's value.

func (*StartBuildInput) SetBuildspecOverride

func (s *StartBuildInput) SetBuildspecOverride(v string) *StartBuildInput

SetBuildspecOverride sets the BuildspecOverride field's value.

func (*StartBuildInput) SetCacheOverride added in v1.13.48

func (s *StartBuildInput) SetCacheOverride(v *ProjectCache) *StartBuildInput

SetCacheOverride sets the CacheOverride field's value.

func (*StartBuildInput) SetCertificateOverride added in v1.13.48

func (s *StartBuildInput) SetCertificateOverride(v string) *StartBuildInput

SetCertificateOverride sets the CertificateOverride field's value.

func (*StartBuildInput) SetComputeTypeOverride added in v1.13.48

func (s *StartBuildInput) SetComputeTypeOverride(v string) *StartBuildInput

SetComputeTypeOverride sets the ComputeTypeOverride field's value.

func (*StartBuildInput) SetEnvironmentTypeOverride added in v1.13.48

func (s *StartBuildInput) SetEnvironmentTypeOverride(v string) *StartBuildInput

SetEnvironmentTypeOverride sets the EnvironmentTypeOverride field's value.

func (*StartBuildInput) SetEnvironmentVariablesOverride

func (s *StartBuildInput) SetEnvironmentVariablesOverride(v []*EnvironmentVariable) *StartBuildInput

SetEnvironmentVariablesOverride sets the EnvironmentVariablesOverride field's value.

func (*StartBuildInput) SetGitCloneDepthOverride added in v1.12.69

func (s *StartBuildInput) SetGitCloneDepthOverride(v int64) *StartBuildInput

SetGitCloneDepthOverride sets the GitCloneDepthOverride field's value.

func (*StartBuildInput) SetIdempotencyToken added in v1.13.48

func (s *StartBuildInput) SetIdempotencyToken(v string) *StartBuildInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*StartBuildInput) SetImageOverride added in v1.13.48

func (s *StartBuildInput) SetImageOverride(v string) *StartBuildInput

SetImageOverride sets the ImageOverride field's value.

func (*StartBuildInput) SetInsecureSslOverride added in v1.13.48

func (s *StartBuildInput) SetInsecureSslOverride(v bool) *StartBuildInput

SetInsecureSslOverride sets the InsecureSslOverride field's value.

func (*StartBuildInput) SetLogsConfigOverride

func (s *StartBuildInput) SetLogsConfigOverride(v *LogsConfig) *StartBuildInput

SetLogsConfigOverride sets the LogsConfigOverride field's value.

func (*StartBuildInput) SetPrivilegedModeOverride added in v1.13.48

func (s *StartBuildInput) SetPrivilegedModeOverride(v bool) *StartBuildInput

SetPrivilegedModeOverride sets the PrivilegedModeOverride field's value.

func (*StartBuildInput) SetProjectName

func (s *StartBuildInput) SetProjectName(v string) *StartBuildInput

SetProjectName sets the ProjectName field's value.

func (*StartBuildInput) SetQueuedTimeoutInMinutesOverride

func (s *StartBuildInput) SetQueuedTimeoutInMinutesOverride(v int64) *StartBuildInput

SetQueuedTimeoutInMinutesOverride sets the QueuedTimeoutInMinutesOverride field's value.

func (*StartBuildInput) SetReportBuildStatusOverride added in v1.14.24

func (s *StartBuildInput) SetReportBuildStatusOverride(v bool) *StartBuildInput

SetReportBuildStatusOverride sets the ReportBuildStatusOverride field's value.

func (*StartBuildInput) SetSecondaryArtifactsOverride

func (s *StartBuildInput) SetSecondaryArtifactsOverride(v []*ProjectArtifacts) *StartBuildInput

SetSecondaryArtifactsOverride sets the SecondaryArtifactsOverride field's value.

func (*StartBuildInput) SetSecondarySourcesOverride

func (s *StartBuildInput) SetSecondarySourcesOverride(v []*ProjectSource) *StartBuildInput

SetSecondarySourcesOverride sets the SecondarySourcesOverride field's value.

func (*StartBuildInput) SetSecondarySourcesVersionOverride

func (s *StartBuildInput) SetSecondarySourcesVersionOverride(v []*ProjectSourceVersion) *StartBuildInput

SetSecondarySourcesVersionOverride sets the SecondarySourcesVersionOverride field's value.

func (*StartBuildInput) SetServiceRoleOverride added in v1.13.48

func (s *StartBuildInput) SetServiceRoleOverride(v string) *StartBuildInput

SetServiceRoleOverride sets the ServiceRoleOverride field's value.

func (*StartBuildInput) SetSourceAuthOverride added in v1.13.48

func (s *StartBuildInput) SetSourceAuthOverride(v *SourceAuth) *StartBuildInput

SetSourceAuthOverride sets the SourceAuthOverride field's value.

func (*StartBuildInput) SetSourceLocationOverride added in v1.13.48

func (s *StartBuildInput) SetSourceLocationOverride(v string) *StartBuildInput

SetSourceLocationOverride sets the SourceLocationOverride field's value.

func (*StartBuildInput) SetSourceTypeOverride added in v1.13.48

func (s *StartBuildInput) SetSourceTypeOverride(v string) *StartBuildInput

SetSourceTypeOverride sets the SourceTypeOverride field's value.

func (*StartBuildInput) SetSourceVersion

func (s *StartBuildInput) SetSourceVersion(v string) *StartBuildInput

SetSourceVersion sets the SourceVersion field's value.

func (*StartBuildInput) SetTimeoutInMinutesOverride

func (s *StartBuildInput) SetTimeoutInMinutesOverride(v int64) *StartBuildInput

SetTimeoutInMinutesOverride sets the TimeoutInMinutesOverride field's value.

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

func (s StartBuildOutput) GoString() string

GoString returns the string representation

func (*StartBuildOutput) SetBuild

func (s *StartBuildOutput) SetBuild(v *Build) *StartBuildOutput

SetBuild sets the Build field's value.

func (StartBuildOutput) String

func (s StartBuildOutput) String() string

String returns the string representation

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

func (s StopBuildInput) GoString() string

GoString returns the string representation

func (*StopBuildInput) SetId

func (s *StopBuildInput) SetId(v string) *StopBuildInput

SetId sets the Id field's value.

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

func (s StopBuildOutput) GoString() string

GoString returns the string representation

func (*StopBuildOutput) SetBuild

func (s *StopBuildOutput) SetBuild(v *Build) *StopBuildOutput

SetBuild sets the Build field's value.

func (StopBuildOutput) String

func (s StopBuildOutput) String() string

String returns the string representation

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" min:"1" 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) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

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 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 replacement AWS Key Management Service (AWS KMS) customer master key
	// (CMK) to be used for encrypting the build output artifacts.
	//
	// 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"`

	// 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 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"`

	// The replacement set of tags for 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) GoString

func (s UpdateProjectInput) GoString() string

GoString returns the string representation

func (*UpdateProjectInput) SetArtifacts

SetArtifacts sets the Artifacts field's value.

func (*UpdateProjectInput) SetBadgeEnabled added in v1.12.32

func (s *UpdateProjectInput) SetBadgeEnabled(v bool) *UpdateProjectInput

SetBadgeEnabled sets the BadgeEnabled field's value.

func (*UpdateProjectInput) SetCache added in v1.12.32

SetCache sets the Cache field's value.

func (*UpdateProjectInput) SetDescription

func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput

SetDescription sets the Description field's value.

func (*UpdateProjectInput) SetEncryptionKey

func (s *UpdateProjectInput) SetEncryptionKey(v string) *UpdateProjectInput

SetEncryptionKey sets the EncryptionKey field's value.

func (*UpdateProjectInput) SetEnvironment

SetEnvironment sets the Environment field's value.

func (*UpdateProjectInput) SetLogsConfig

func (s *UpdateProjectInput) SetLogsConfig(v *LogsConfig) *UpdateProjectInput

SetLogsConfig sets the LogsConfig field's value.

func (*UpdateProjectInput) SetName

SetName sets the Name field's value.

func (*UpdateProjectInput) SetQueuedTimeoutInMinutes

func (s *UpdateProjectInput) SetQueuedTimeoutInMinutes(v int64) *UpdateProjectInput

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*UpdateProjectInput) SetSecondaryArtifacts

func (s *UpdateProjectInput) SetSecondaryArtifacts(v []*ProjectArtifacts) *UpdateProjectInput

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*UpdateProjectInput) SetSecondarySources

func (s *UpdateProjectInput) SetSecondarySources(v []*ProjectSource) *UpdateProjectInput

SetSecondarySources sets the SecondarySources field's value.

func (*UpdateProjectInput) SetServiceRole

func (s *UpdateProjectInput) SetServiceRole(v string) *UpdateProjectInput

SetServiceRole sets the ServiceRole field's value.

func (*UpdateProjectInput) SetSource

SetSource sets the Source field's value.

func (*UpdateProjectInput) SetTags

func (s *UpdateProjectInput) SetTags(v []*Tag) *UpdateProjectInput

SetTags sets the Tags field's value.

func (*UpdateProjectInput) SetTimeoutInMinutes

func (s *UpdateProjectInput) SetTimeoutInMinutes(v int64) *UpdateProjectInput

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*UpdateProjectInput) SetVpcConfig added in v1.12.32

func (s *UpdateProjectInput) SetVpcConfig(v *VpcConfig) *UpdateProjectInput

SetVpcConfig sets the VpcConfig field's value.

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

func (s UpdateProjectOutput) GoString() string

GoString returns the string representation

func (*UpdateProjectOutput) SetProject

func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput

SetProject sets the Project field's value.

func (UpdateProjectOutput) String

func (s UpdateProjectOutput) String() string

String returns the string representation

type UpdateWebhookInput added in v1.13.19

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.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// 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) GoString added in v1.13.19

func (s UpdateWebhookInput) GoString() string

GoString returns the string representation

func (*UpdateWebhookInput) SetBranchFilter added in v1.13.19

func (s *UpdateWebhookInput) SetBranchFilter(v string) *UpdateWebhookInput

SetBranchFilter sets the BranchFilter field's value.

func (*UpdateWebhookInput) SetProjectName added in v1.13.19

func (s *UpdateWebhookInput) SetProjectName(v string) *UpdateWebhookInput

SetProjectName sets the ProjectName field's value.

func (*UpdateWebhookInput) SetRotateSecret added in v1.13.19

func (s *UpdateWebhookInput) SetRotateSecret(v bool) *UpdateWebhookInput

SetRotateSecret sets the RotateSecret field's value.

func (UpdateWebhookInput) String added in v1.13.19

func (s UpdateWebhookInput) String() string

String returns the string representation

func (*UpdateWebhookInput) Validate added in v1.13.19

func (s *UpdateWebhookInput) Validate() error

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

type UpdateWebhookOutput added in v1.13.19

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) GoString added in v1.13.19

func (s UpdateWebhookOutput) GoString() string

GoString returns the string representation

func (*UpdateWebhookOutput) SetWebhook added in v1.13.19

func (s *UpdateWebhookOutput) SetWebhook(v *Webhook) *UpdateWebhookOutput

SetWebhook sets the Webhook field's value.

func (UpdateWebhookOutput) String added in v1.13.19

func (s UpdateWebhookOutput) String() string

String returns the string representation

type VpcConfig added in v1.12.32

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) GoString added in v1.12.32

func (s VpcConfig) GoString() string

GoString returns the string representation

func (*VpcConfig) SetSecurityGroupIds added in v1.12.32

func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*VpcConfig) SetSubnets added in v1.12.32

func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig

SetSubnets sets the Subnets field's value.

func (*VpcConfig) SetVpcId added in v1.12.32

func (s *VpcConfig) SetVpcId(v string) *VpcConfig

SetVpcId sets the VpcId field's value.

func (VpcConfig) String added in v1.12.32

func (s VpcConfig) String() string

String returns the string representation

func (*VpcConfig) Validate added in v1.12.32

func (s *VpcConfig) Validate() error

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

type Webhook added in v1.12.2

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.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// 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) GoString added in v1.12.2

func (s Webhook) GoString() string

GoString returns the string representation

func (*Webhook) SetBranchFilter added in v1.13.19

func (s *Webhook) SetBranchFilter(v string) *Webhook

SetBranchFilter sets the BranchFilter field's value.

func (*Webhook) SetLastModifiedSecret added in v1.13.19

func (s *Webhook) SetLastModifiedSecret(v time.Time) *Webhook

SetLastModifiedSecret sets the LastModifiedSecret field's value.

func (*Webhook) SetPayloadUrl added in v1.12.69

func (s *Webhook) SetPayloadUrl(v string) *Webhook

SetPayloadUrl sets the PayloadUrl field's value.

func (*Webhook) SetSecret added in v1.12.69

func (s *Webhook) SetSecret(v string) *Webhook

SetSecret sets the Secret field's value.

func (*Webhook) SetUrl added in v1.12.2

func (s *Webhook) SetUrl(v string) *Webhook

SetUrl sets the Url field's value.

func (Webhook) String added in v1.12.2

func (s Webhook) String() string

String returns the string representation

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