codebuild

package
v1.51.23 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 214

Documentation

Overview

Package codebuild provides the client and types for making API requests to AWS CodeBuild.

CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. 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 CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the CodeBuild User Guide (https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html).

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"

	// AuthTypeCodeconnections is a AuthType enum value
	AuthTypeCodeconnections = "CODECONNECTIONS"
)
View Source
const (
	// BatchReportModeTypeReportIndividualBuilds is a BatchReportModeType enum value
	BatchReportModeTypeReportIndividualBuilds = "REPORT_INDIVIDUAL_BUILDS"

	// BatchReportModeTypeReportAggregatedBatch is a BatchReportModeType enum value
	BatchReportModeTypeReportAggregatedBatch = "REPORT_AGGREGATED_BATCH"
)
View Source
const (
	// BucketOwnerAccessNone is a BucketOwnerAccess enum value
	BucketOwnerAccessNone = "NONE"

	// BucketOwnerAccessReadOnly is a BucketOwnerAccess enum value
	BucketOwnerAccessReadOnly = "READ_ONLY"

	// BucketOwnerAccessFull is a BucketOwnerAccess enum value
	BucketOwnerAccessFull = "FULL"
)

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.

To use this property, your CodeBuild service role must have the s3:PutBucketAcl permission. This permission allows CodeBuild to modify the access control list for the bucket.

This property can be one of the following values:

NONE

The bucket owner does not have access to the objects. This is the default.

READ_ONLY

The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.

FULL

The bucket owner has full access to the objects. Object ownership is determined by the following criteria:

  • If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.

  • Otherwise, the uploading account retains ownership of the objects.

For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the Amazon Simple Storage Service User Guide.

View Source
const (
	// BuildBatchPhaseTypeSubmitted is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeSubmitted = "SUBMITTED"

	// BuildBatchPhaseTypeDownloadBatchspec is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeDownloadBatchspec = "DOWNLOAD_BATCHSPEC"

	// BuildBatchPhaseTypeInProgress is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeInProgress = "IN_PROGRESS"

	// BuildBatchPhaseTypeCombineArtifacts is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeCombineArtifacts = "COMBINE_ARTIFACTS"

	// BuildBatchPhaseTypeSucceeded is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeSucceeded = "SUCCEEDED"

	// BuildBatchPhaseTypeFailed is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeFailed = "FAILED"

	// BuildBatchPhaseTypeStopped is a BuildBatchPhaseType enum value
	BuildBatchPhaseTypeStopped = "STOPPED"
)
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 (
	// CacheModeLocalDockerLayerCache is a CacheMode enum value
	CacheModeLocalDockerLayerCache = "LOCAL_DOCKER_LAYER_CACHE"

	// CacheModeLocalSourceCache is a CacheMode enum value
	CacheModeLocalSourceCache = "LOCAL_SOURCE_CACHE"

	// CacheModeLocalCustomCache is a CacheMode enum value
	CacheModeLocalCustomCache = "LOCAL_CUSTOM_CACHE"
)
View Source
const (
	// CacheTypeNoCache is a CacheType enum value
	CacheTypeNoCache = "NO_CACHE"

	// CacheTypeS3 is a CacheType enum value
	CacheTypeS3 = "S3"

	// CacheTypeLocal is a CacheType enum value
	CacheTypeLocal = "LOCAL"
)
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"

	// ComputeTypeBuildGeneral1Xlarge is a ComputeType enum value
	ComputeTypeBuildGeneral1Xlarge = "BUILD_GENERAL1_XLARGE"

	// ComputeTypeBuildGeneral12xlarge is a ComputeType enum value
	ComputeTypeBuildGeneral12xlarge = "BUILD_GENERAL1_2XLARGE"

	// ComputeTypeBuildLambda1gb is a ComputeType enum value
	ComputeTypeBuildLambda1gb = "BUILD_LAMBDA_1GB"

	// ComputeTypeBuildLambda2gb is a ComputeType enum value
	ComputeTypeBuildLambda2gb = "BUILD_LAMBDA_2GB"

	// ComputeTypeBuildLambda4gb is a ComputeType enum value
	ComputeTypeBuildLambda4gb = "BUILD_LAMBDA_4GB"

	// ComputeTypeBuildLambda8gb is a ComputeType enum value
	ComputeTypeBuildLambda8gb = "BUILD_LAMBDA_8GB"

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

	// EnvironmentTypeLinuxContainer is a EnvironmentType enum value
	EnvironmentTypeLinuxContainer = "LINUX_CONTAINER"

	// EnvironmentTypeLinuxGpuContainer is a EnvironmentType enum value
	EnvironmentTypeLinuxGpuContainer = "LINUX_GPU_CONTAINER"

	// EnvironmentTypeArmContainer is a EnvironmentType enum value
	EnvironmentTypeArmContainer = "ARM_CONTAINER"

	// EnvironmentTypeWindowsServer2019Container is a EnvironmentType enum value
	EnvironmentTypeWindowsServer2019Container = "WINDOWS_SERVER_2019_CONTAINER"

	// EnvironmentTypeLinuxLambdaContainer is a EnvironmentType enum value
	EnvironmentTypeLinuxLambdaContainer = "LINUX_LAMBDA_CONTAINER"

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

	// EnvironmentVariableTypeParameterStore is a EnvironmentVariableType enum value
	EnvironmentVariableTypeParameterStore = "PARAMETER_STORE"

	// EnvironmentVariableTypeSecretsManager is a EnvironmentVariableType enum value
	EnvironmentVariableTypeSecretsManager = "SECRETS_MANAGER"
)
View Source
const (
	// FleetContextCodeCreateFailed is a FleetContextCode enum value
	FleetContextCodeCreateFailed = "CREATE_FAILED"

	// FleetContextCodeUpdateFailed is a FleetContextCode enum value
	FleetContextCodeUpdateFailed = "UPDATE_FAILED"
)
View Source
const (
	// FleetOverflowBehaviorQueue is a FleetOverflowBehavior enum value
	FleetOverflowBehaviorQueue = "QUEUE"

	// FleetOverflowBehaviorOnDemand is a FleetOverflowBehavior enum value
	FleetOverflowBehaviorOnDemand = "ON_DEMAND"
)
View Source
const (
	// FleetSortByTypeName is a FleetSortByType enum value
	FleetSortByTypeName = "NAME"

	// FleetSortByTypeCreatedTime is a FleetSortByType enum value
	FleetSortByTypeCreatedTime = "CREATED_TIME"

	// FleetSortByTypeLastModifiedTime is a FleetSortByType enum value
	FleetSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME"
)
View Source
const (
	// FleetStatusCodeCreating is a FleetStatusCode enum value
	FleetStatusCodeCreating = "CREATING"

	// FleetStatusCodeUpdating is a FleetStatusCode enum value
	FleetStatusCodeUpdating = "UPDATING"

	// FleetStatusCodeRotating is a FleetStatusCode enum value
	FleetStatusCodeRotating = "ROTATING"

	// FleetStatusCodePendingDeletion is a FleetStatusCode enum value
	FleetStatusCodePendingDeletion = "PENDING_DELETION"

	// FleetStatusCodeDeleting is a FleetStatusCode enum value
	FleetStatusCodeDeleting = "DELETING"

	// FleetStatusCodeCreateFailed is a FleetStatusCode enum value
	FleetStatusCodeCreateFailed = "CREATE_FAILED"

	// FleetStatusCodeUpdateRollbackFailed is a FleetStatusCode enum value
	FleetStatusCodeUpdateRollbackFailed = "UPDATE_ROLLBACK_FAILED"

	// FleetStatusCodeActive is a FleetStatusCode enum value
	FleetStatusCodeActive = "ACTIVE"
)
View Source
const (
	// ImagePullCredentialsTypeCodebuild is a ImagePullCredentialsType enum value
	ImagePullCredentialsTypeCodebuild = "CODEBUILD"

	// ImagePullCredentialsTypeServiceRole is a ImagePullCredentialsType enum value
	ImagePullCredentialsTypeServiceRole = "SERVICE_ROLE"
)
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 (
	// ProjectVisibilityTypePublicRead is a ProjectVisibilityType enum value
	ProjectVisibilityTypePublicRead = "PUBLIC_READ"

	// ProjectVisibilityTypePrivate is a ProjectVisibilityType enum value
	ProjectVisibilityTypePrivate = "PRIVATE"
)

Specifies the visibility of the project's builds. Possible values are:

PUBLIC_READ

The project builds are visible to the public.

PRIVATE

The project builds are not visible to the public.

View Source
const (
	// ReportCodeCoverageSortByTypeLineCoveragePercentage is a ReportCodeCoverageSortByType enum value
	ReportCodeCoverageSortByTypeLineCoveragePercentage = "LINE_COVERAGE_PERCENTAGE"

	// ReportCodeCoverageSortByTypeFilePath is a ReportCodeCoverageSortByType enum value
	ReportCodeCoverageSortByTypeFilePath = "FILE_PATH"
)
View Source
const (
	// ReportExportConfigTypeS3 is a ReportExportConfigType enum value
	ReportExportConfigTypeS3 = "S3"

	// ReportExportConfigTypeNoExport is a ReportExportConfigType enum value
	ReportExportConfigTypeNoExport = "NO_EXPORT"
)
View Source
const (
	// ReportGroupSortByTypeName is a ReportGroupSortByType enum value
	ReportGroupSortByTypeName = "NAME"

	// ReportGroupSortByTypeCreatedTime is a ReportGroupSortByType enum value
	ReportGroupSortByTypeCreatedTime = "CREATED_TIME"

	// ReportGroupSortByTypeLastModifiedTime is a ReportGroupSortByType enum value
	ReportGroupSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME"
)
View Source
const (
	// ReportGroupStatusTypeActive is a ReportGroupStatusType enum value
	ReportGroupStatusTypeActive = "ACTIVE"

	// ReportGroupStatusTypeDeleting is a ReportGroupStatusType enum value
	ReportGroupStatusTypeDeleting = "DELETING"
)
View Source
const (
	// ReportGroupTrendFieldTypePassRate is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypePassRate = "PASS_RATE"

	// ReportGroupTrendFieldTypeDuration is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeDuration = "DURATION"

	// ReportGroupTrendFieldTypeTotal is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeTotal = "TOTAL"

	// ReportGroupTrendFieldTypeLineCoverage is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeLineCoverage = "LINE_COVERAGE"

	// ReportGroupTrendFieldTypeLinesCovered is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeLinesCovered = "LINES_COVERED"

	// ReportGroupTrendFieldTypeLinesMissed is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeLinesMissed = "LINES_MISSED"

	// ReportGroupTrendFieldTypeBranchCoverage is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeBranchCoverage = "BRANCH_COVERAGE"

	// ReportGroupTrendFieldTypeBranchesCovered is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeBranchesCovered = "BRANCHES_COVERED"

	// ReportGroupTrendFieldTypeBranchesMissed is a ReportGroupTrendFieldType enum value
	ReportGroupTrendFieldTypeBranchesMissed = "BRANCHES_MISSED"
)
View Source
const (
	// ReportPackagingTypeZip is a ReportPackagingType enum value
	ReportPackagingTypeZip = "ZIP"

	// ReportPackagingTypeNone is a ReportPackagingType enum value
	ReportPackagingTypeNone = "NONE"
)
View Source
const (
	// ReportStatusTypeGenerating is a ReportStatusType enum value
	ReportStatusTypeGenerating = "GENERATING"

	// ReportStatusTypeSucceeded is a ReportStatusType enum value
	ReportStatusTypeSucceeded = "SUCCEEDED"

	// ReportStatusTypeFailed is a ReportStatusType enum value
	ReportStatusTypeFailed = "FAILED"

	// ReportStatusTypeIncomplete is a ReportStatusType enum value
	ReportStatusTypeIncomplete = "INCOMPLETE"

	// ReportStatusTypeDeleting is a ReportStatusType enum value
	ReportStatusTypeDeleting = "DELETING"
)
View Source
const (
	// ReportTypeTest is a ReportType enum value
	ReportTypeTest = "TEST"

	// ReportTypeCodeCoverage is a ReportType enum value
	ReportTypeCodeCoverage = "CODE_COVERAGE"
)
View Source
const (
	// RetryBuildBatchTypeRetryAllBuilds is a RetryBuildBatchType enum value
	RetryBuildBatchTypeRetryAllBuilds = "RETRY_ALL_BUILDS"

	// RetryBuildBatchTypeRetryFailedBuilds is a RetryBuildBatchType enum value
	RetryBuildBatchTypeRetryFailedBuilds = "RETRY_FAILED_BUILDS"
)
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"

	// ServerTypeGitlab is a ServerType enum value
	ServerTypeGitlab = "GITLAB"

	// ServerTypeGitlabSelfManaged is a ServerType enum value
	ServerTypeGitlabSelfManaged = "GITLAB_SELF_MANAGED"
)
View Source
const (
	// SharedResourceSortByTypeArn is a SharedResourceSortByType enum value
	SharedResourceSortByTypeArn = "ARN"

	// SharedResourceSortByTypeModifiedTime is a SharedResourceSortByType enum value
	SharedResourceSortByTypeModifiedTime = "MODIFIED_TIME"
)
View Source
const (
	// SortOrderTypeAscending is a SortOrderType enum value
	SortOrderTypeAscending = "ASCENDING"

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

	// SourceAuthTypeCodeconnections is a SourceAuthType enum value
	SourceAuthTypeCodeconnections = "CODECONNECTIONS"
)
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"

	// SourceTypeGitlab is a SourceType enum value
	SourceTypeGitlab = "GITLAB"

	// SourceTypeGitlabSelfManaged is a SourceType enum value
	SourceTypeGitlabSelfManaged = "GITLAB_SELF_MANAGED"

	// 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 (
	// WebhookBuildTypeBuild is a WebhookBuildType enum value
	WebhookBuildTypeBuild = "BUILD"

	// WebhookBuildTypeBuildBatch is a WebhookBuildType enum value
	WebhookBuildTypeBuildBatch = "BUILD_BATCH"
)
View Source
const (
	// WebhookFilterTypeEvent is a WebhookFilterType enum value
	WebhookFilterTypeEvent = "EVENT"

	// WebhookFilterTypeBaseRef is a WebhookFilterType enum value
	WebhookFilterTypeBaseRef = "BASE_REF"

	// WebhookFilterTypeHeadRef is a WebhookFilterType enum value
	WebhookFilterTypeHeadRef = "HEAD_REF"

	// WebhookFilterTypeActorAccountId is a WebhookFilterType enum value
	WebhookFilterTypeActorAccountId = "ACTOR_ACCOUNT_ID"

	// WebhookFilterTypeFilePath is a WebhookFilterType enum value
	WebhookFilterTypeFilePath = "FILE_PATH"

	// WebhookFilterTypeCommitMessage is a WebhookFilterType enum value
	WebhookFilterTypeCommitMessage = "COMMIT_MESSAGE"

	// WebhookFilterTypeWorkflowName is a WebhookFilterType enum value
	WebhookFilterTypeWorkflowName = "WORKFLOW_NAME"

	// WebhookFilterTypeTagName is a WebhookFilterType enum value
	WebhookFilterTypeTagName = "TAG_NAME"

	// WebhookFilterTypeReleaseName is a WebhookFilterType enum value
	WebhookFilterTypeReleaseName = "RELEASE_NAME"
)
View Source
const (

	// ErrCodeAccountLimitExceededException for service response error code
	// "AccountLimitExceededException".
	//
	// An Amazon Web Services service limit was exceeded for the calling Amazon
	// Web Services 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 Amazon Web Services resource cannot be created, because an
	// Amazon Web Services resource with the same settings already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified Amazon Web Services 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 identifier of a specific service.
)

Service information constants

View Source
const (
	// CredentialProviderTypeSecretsManager is a CredentialProviderType enum value
	CredentialProviderTypeSecretsManager = "SECRETS_MANAGER"
)
View Source
const (
	// FileSystemTypeEfs is a FileSystemType enum value
	FileSystemTypeEfs = "EFS"
)
View Source
const (
	// FleetScalingMetricTypeFleetUtilizationRate is a FleetScalingMetricType enum value
	FleetScalingMetricTypeFleetUtilizationRate = "FLEET_UTILIZATION_RATE"
)
View Source
const (
	// FleetScalingTypeTargetTrackingScaling is a FleetScalingType enum value
	FleetScalingTypeTargetTrackingScaling = "TARGET_TRACKING_SCALING"
)

Variables

This section is empty.

Functions

func ArtifactNamespace_Values added in v1.34.3

func ArtifactNamespace_Values() []string

ArtifactNamespace_Values returns all elements of the ArtifactNamespace enum

func ArtifactPackaging_Values added in v1.34.3

func ArtifactPackaging_Values() []string

ArtifactPackaging_Values returns all elements of the ArtifactPackaging enum

func ArtifactsType_Values added in v1.34.3

func ArtifactsType_Values() []string

ArtifactsType_Values returns all elements of the ArtifactsType enum

func AuthType_Values added in v1.34.3

func AuthType_Values() []string

AuthType_Values returns all elements of the AuthType enum

func BatchReportModeType_Values added in v1.40.23

func BatchReportModeType_Values() []string

BatchReportModeType_Values returns all elements of the BatchReportModeType enum

func BucketOwnerAccess_Values added in v1.38.18

func BucketOwnerAccess_Values() []string

BucketOwnerAccess_Values returns all elements of the BucketOwnerAccess enum

func BuildBatchPhaseType_Values added in v1.34.3

func BuildBatchPhaseType_Values() []string

BuildBatchPhaseType_Values returns all elements of the BuildBatchPhaseType enum

func BuildPhaseType_Values added in v1.34.3

func BuildPhaseType_Values() []string

BuildPhaseType_Values returns all elements of the BuildPhaseType enum

func CacheMode_Values added in v1.34.3

func CacheMode_Values() []string

CacheMode_Values returns all elements of the CacheMode enum

func CacheType_Values added in v1.34.3

func CacheType_Values() []string

CacheType_Values returns all elements of the CacheType enum

func ComputeType_Values added in v1.34.3

func ComputeType_Values() []string

ComputeType_Values returns all elements of the ComputeType enum

func CredentialProviderType_Values added in v1.34.3

func CredentialProviderType_Values() []string

CredentialProviderType_Values returns all elements of the CredentialProviderType enum

func EnvironmentType_Values added in v1.34.3

func EnvironmentType_Values() []string

EnvironmentType_Values returns all elements of the EnvironmentType enum

func EnvironmentVariableType_Values added in v1.34.3

func EnvironmentVariableType_Values() []string

EnvironmentVariableType_Values returns all elements of the EnvironmentVariableType enum

func FileSystemType_Values added in v1.34.3

func FileSystemType_Values() []string

FileSystemType_Values returns all elements of the FileSystemType enum

func FleetContextCode_Values added in v1.50.0

func FleetContextCode_Values() []string

FleetContextCode_Values returns all elements of the FleetContextCode enum

func FleetOverflowBehavior_Values added in v1.51.1

func FleetOverflowBehavior_Values() []string

FleetOverflowBehavior_Values returns all elements of the FleetOverflowBehavior enum

func FleetScalingMetricType_Values added in v1.50.0

func FleetScalingMetricType_Values() []string

FleetScalingMetricType_Values returns all elements of the FleetScalingMetricType enum

func FleetScalingType_Values added in v1.50.0

func FleetScalingType_Values() []string

FleetScalingType_Values returns all elements of the FleetScalingType enum

func FleetSortByType_Values added in v1.50.0

func FleetSortByType_Values() []string

FleetSortByType_Values returns all elements of the FleetSortByType enum

func FleetStatusCode_Values added in v1.50.0

func FleetStatusCode_Values() []string

FleetStatusCode_Values returns all elements of the FleetStatusCode enum

func ImagePullCredentialsType_Values added in v1.34.3

func ImagePullCredentialsType_Values() []string

ImagePullCredentialsType_Values returns all elements of the ImagePullCredentialsType enum

func LanguageType_Values added in v1.34.3

func LanguageType_Values() []string

LanguageType_Values returns all elements of the LanguageType enum

func LogsConfigStatusType_Values added in v1.34.3

func LogsConfigStatusType_Values() []string

LogsConfigStatusType_Values returns all elements of the LogsConfigStatusType enum

func PlatformType_Values added in v1.34.3

func PlatformType_Values() []string

PlatformType_Values returns all elements of the PlatformType enum

func ProjectSortByType_Values added in v1.34.3

func ProjectSortByType_Values() []string

ProjectSortByType_Values returns all elements of the ProjectSortByType enum

func ProjectVisibilityType_Values added in v1.40.20

func ProjectVisibilityType_Values() []string

ProjectVisibilityType_Values returns all elements of the ProjectVisibilityType enum

func ReportCodeCoverageSortByType_Values added in v1.34.3

func ReportCodeCoverageSortByType_Values() []string

ReportCodeCoverageSortByType_Values returns all elements of the ReportCodeCoverageSortByType enum

func ReportExportConfigType_Values added in v1.34.3

func ReportExportConfigType_Values() []string

ReportExportConfigType_Values returns all elements of the ReportExportConfigType enum

func ReportGroupSortByType_Values added in v1.34.3

func ReportGroupSortByType_Values() []string

ReportGroupSortByType_Values returns all elements of the ReportGroupSortByType enum

func ReportGroupStatusType_Values added in v1.35.31

func ReportGroupStatusType_Values() []string

ReportGroupStatusType_Values returns all elements of the ReportGroupStatusType enum

func ReportGroupTrendFieldType_Values added in v1.35.35

func ReportGroupTrendFieldType_Values() []string

ReportGroupTrendFieldType_Values returns all elements of the ReportGroupTrendFieldType enum

func ReportPackagingType_Values added in v1.34.3

func ReportPackagingType_Values() []string

ReportPackagingType_Values returns all elements of the ReportPackagingType enum

func ReportStatusType_Values added in v1.34.3

func ReportStatusType_Values() []string

ReportStatusType_Values returns all elements of the ReportStatusType enum

func ReportType_Values added in v1.34.3

func ReportType_Values() []string

ReportType_Values returns all elements of the ReportType enum

func RetryBuildBatchType_Values added in v1.34.3

func RetryBuildBatchType_Values() []string

RetryBuildBatchType_Values returns all elements of the RetryBuildBatchType enum

func ServerType_Values added in v1.34.3

func ServerType_Values() []string

ServerType_Values returns all elements of the ServerType enum

func SharedResourceSortByType_Values added in v1.34.3

func SharedResourceSortByType_Values() []string

SharedResourceSortByType_Values returns all elements of the SharedResourceSortByType enum

func SortOrderType_Values added in v1.34.3

func SortOrderType_Values() []string

SortOrderType_Values returns all elements of the SortOrderType enum

func SourceAuthType_Values added in v1.34.3

func SourceAuthType_Values() []string

SourceAuthType_Values returns all elements of the SourceAuthType enum

func SourceType_Values added in v1.34.3

func SourceType_Values() []string

SourceType_Values returns all elements of the SourceType enum

func StatusType_Values added in v1.34.3

func StatusType_Values() []string

StatusType_Values returns all elements of the StatusType enum

func WebhookBuildType_Values added in v1.34.3

func WebhookBuildType_Values() []string

WebhookBuildType_Values returns all elements of the WebhookBuildType enum

func WebhookFilterType_Values added in v1.34.3

func WebhookFilterType_Values() []string

WebhookFilterType_Values returns all elements of the WebhookFilterType enum

Types

type AccountLimitExceededException added in v1.28.0

type AccountLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

func (*AccountLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*AccountLimitExceededException) Error added in v1.28.0

func (AccountLimitExceededException) GoString added in v1.28.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*AccountLimitExceededException) OrigErr added in v1.28.0

func (s *AccountLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountLimitExceededException) RequestID added in v1.28.0

func (s *AccountLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountLimitExceededException) StatusCode added in v1.28.0

func (s *AccountLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccountLimitExceededException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetBuildBatchesInput added in v1.33.16

type BatchGetBuildBatchesInput struct {

	// An array that contains the batch build identifiers to retrieve.
	//
	// Ids is a required field
	Ids []*string `locationName:"ids" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetBuildBatchesInput) GoString added in v1.33.16

func (s BatchGetBuildBatchesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetBuildBatchesInput) SetIds added in v1.33.16

SetIds sets the Ids field's value.

func (BatchGetBuildBatchesInput) String added in v1.33.16

func (s BatchGetBuildBatchesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetBuildBatchesInput) Validate added in v1.33.16

func (s *BatchGetBuildBatchesInput) Validate() error

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

type BatchGetBuildBatchesOutput added in v1.33.16

type BatchGetBuildBatchesOutput struct {

	// An array of BuildBatch objects that represent the retrieved batch builds.
	BuildBatches []*BuildBatch `locationName:"buildBatches" type:"list"`

	// An array that contains the identifiers of any batch builds that are not found.
	BuildBatchesNotFound []*string `locationName:"buildBatchesNotFound" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetBuildBatchesOutput) GoString added in v1.33.16

func (s BatchGetBuildBatchesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetBuildBatchesOutput) SetBuildBatches added in v1.33.16

SetBuildBatches sets the BuildBatches field's value.

func (*BatchGetBuildBatchesOutput) SetBuildBatchesNotFound added in v1.33.16

func (s *BatchGetBuildBatchesOutput) SetBuildBatchesNotFound(v []*string) *BatchGetBuildBatchesOutput

SetBuildBatchesNotFound sets the BuildBatchesNotFound field's value.

func (BatchGetBuildBatchesOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetBuildsInput) SetIds

SetIds sets the Ids field's value.

func (BatchGetBuildsInput) String

func (s BatchGetBuildsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetFleetsInput added in v1.50.0

type BatchGetFleetsInput struct {

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

func (BatchGetFleetsInput) GoString added in v1.50.0

func (s BatchGetFleetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFleetsInput) SetNames added in v1.50.0

func (s *BatchGetFleetsInput) SetNames(v []*string) *BatchGetFleetsInput

SetNames sets the Names field's value.

func (BatchGetFleetsInput) String added in v1.50.0

func (s BatchGetFleetsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFleetsInput) Validate added in v1.50.0

func (s *BatchGetFleetsInput) Validate() error

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

type BatchGetFleetsOutput added in v1.50.0

type BatchGetFleetsOutput struct {

	// Information about the requested compute fleets.
	Fleets []*Fleet `locationName:"fleets" min:"1" type:"list"`

	// The names of compute fleets for which information could not be found.
	FleetsNotFound []*string `locationName:"fleetsNotFound" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchGetFleetsOutput) GoString added in v1.50.0

func (s BatchGetFleetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetFleetsOutput) SetFleets added in v1.50.0

func (s *BatchGetFleetsOutput) SetFleets(v []*Fleet) *BatchGetFleetsOutput

SetFleets sets the Fleets field's value.

func (*BatchGetFleetsOutput) SetFleetsNotFound added in v1.50.0

func (s *BatchGetFleetsOutput) SetFleetsNotFound(v []*string) *BatchGetFleetsOutput

SetFleetsNotFound sets the FleetsNotFound field's value.

func (BatchGetFleetsOutput) String added in v1.50.0

func (s BatchGetFleetsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetProjectsInput

type BatchGetProjectsInput struct {

	// The names or ARNs of the build projects. To get information about a project
	// shared with your Amazon Web Services account, its ARN must be specified.
	// You cannot specify a shared project using its name.
	//
	// Names is a required field
	Names []*string `locationName:"names" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetProjectsInput) GoString

func (s BatchGetProjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetProjectsInput) SetNames

SetNames sets the Names field's value.

func (BatchGetProjectsInput) String

func (s BatchGetProjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetReportGroupsInput added in v1.25.42

type BatchGetReportGroupsInput struct {

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

func (BatchGetReportGroupsInput) GoString added in v1.25.42

func (s BatchGetReportGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportGroupsInput) SetReportGroupArns added in v1.25.42

func (s *BatchGetReportGroupsInput) SetReportGroupArns(v []*string) *BatchGetReportGroupsInput

SetReportGroupArns sets the ReportGroupArns field's value.

func (BatchGetReportGroupsInput) String added in v1.25.42

func (s BatchGetReportGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportGroupsInput) Validate added in v1.25.42

func (s *BatchGetReportGroupsInput) Validate() error

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

type BatchGetReportGroupsOutput added in v1.25.42

type BatchGetReportGroupsOutput struct {

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

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

func (BatchGetReportGroupsOutput) GoString added in v1.25.42

func (s BatchGetReportGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportGroupsOutput) SetReportGroups added in v1.25.42

SetReportGroups sets the ReportGroups field's value.

func (*BatchGetReportGroupsOutput) SetReportGroupsNotFound added in v1.25.42

func (s *BatchGetReportGroupsOutput) SetReportGroupsNotFound(v []*string) *BatchGetReportGroupsOutput

SetReportGroupsNotFound sets the ReportGroupsNotFound field's value.

func (BatchGetReportGroupsOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchGetReportsInput added in v1.25.42

type BatchGetReportsInput struct {

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

func (BatchGetReportsInput) GoString added in v1.25.42

func (s BatchGetReportsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportsInput) SetReportArns added in v1.25.42

func (s *BatchGetReportsInput) SetReportArns(v []*string) *BatchGetReportsInput

SetReportArns sets the ReportArns field's value.

func (BatchGetReportsInput) String added in v1.25.42

func (s BatchGetReportsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportsInput) Validate added in v1.25.42

func (s *BatchGetReportsInput) Validate() error

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

type BatchGetReportsOutput added in v1.25.42

type BatchGetReportsOutput struct {

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

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

func (BatchGetReportsOutput) GoString added in v1.25.42

func (s BatchGetReportsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchGetReportsOutput) SetReports added in v1.25.42

func (s *BatchGetReportsOutput) SetReports(v []*Report) *BatchGetReportsOutput

SetReports sets the Reports field's value.

func (*BatchGetReportsOutput) SetReportsNotFound added in v1.25.42

func (s *BatchGetReportsOutput) SetReportsNotFound(v []*string) *BatchGetReportsOutput

SetReportsNotFound sets the ReportsNotFound field's value.

func (BatchGetReportsOutput) String added in v1.25.42

func (s BatchGetReportsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchRestrictions added in v1.33.16

type BatchRestrictions struct {

	// An array of strings that specify the compute types that are allowed for the
	// batch build. See Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild User Guide for these values.
	ComputeTypesAllowed []*string `locationName:"computeTypesAllowed" type:"list"`

	// Specifies the maximum number of builds allowed.
	MaximumBuildsAllowed *int64 `locationName:"maximumBuildsAllowed" type:"integer"`
	// contains filtered or unexported fields
}

Specifies restrictions for the batch build.

func (BatchRestrictions) GoString added in v1.33.16

func (s BatchRestrictions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchRestrictions) SetComputeTypesAllowed added in v1.33.16

func (s *BatchRestrictions) SetComputeTypesAllowed(v []*string) *BatchRestrictions

SetComputeTypesAllowed sets the ComputeTypesAllowed field's value.

func (*BatchRestrictions) SetMaximumBuildsAllowed added in v1.33.16

func (s *BatchRestrictions) SetMaximumBuildsAllowed(v int64) *BatchRestrictions

SetMaximumBuildsAllowed sets the MaximumBuildsAllowed field's value.

func (BatchRestrictions) String added in v1.33.16

func (s BatchRestrictions) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The ARN of the batch build that this build is a member of, if applicable.
	BuildBatchArn *string `locationName:"buildBatchArn" type:"string"`

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

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

	// The current status of the build. Valid values include:
	//
	//    * FAILED: The build failed.
	//
	//    * FAULT: The build faulted.
	//
	//    * IN_PROGRESS: The build is still in progress.
	//
	//    * STOPPED: The build stopped.
	//
	//    * SUCCEEDED: The build succeeded.
	//
	//    * TIMED_OUT: The build timed out.
	BuildStatus *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"`

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

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

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

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

	// A list of exported environment variables for this build.
	//
	// Exported environment variables are used in conjunction with CodePipeline
	// to export environment variables from the current build stage to subsequent
	// stages in the pipeline. For more information, see Working with variables
	// (https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html)
	// in the CodePipeline User Guide.
	ExportedEnvironmentVariables []*ExportedEnvironmentVariable `locationName:"exportedEnvironmentVariables" type:"list"`

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

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

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

	// Information about the build's logs in 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 CodeBuild project.
	ProjectName *string `locationName:"projectName" min:"1" type:"string"`

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

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

	// An identifier for the version of this build's source code.
	//
	//    * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit
	//    ID.
	//
	//    * For CodePipeline, the source revision provided by CodePipeline.
	//
	//    * For 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 CodeCommit: the commit ID, branch, or Git tag to use.
	//
	//    * For GitHub: the commit ID, pull request ID, branch name, or tag name
	//    that corresponds to the version of the source code you want to build.
	//    If a pull request ID is specified, it must use the format pr/pull-request-ID
	//    (for example, pr/25). If a branch name is specified, the branch's HEAD
	//    commit ID is used. If not specified, the default branch's HEAD commit
	//    ID is used.
	//
	//    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
	//    to the version of the source code you want to build. If a branch name
	//    is specified, the branch's HEAD commit ID is used. If not specified, the
	//    default branch's HEAD commit ID is used.
	//
	//    * For Amazon S3: the version ID of the object that represents the build
	//    input ZIP file to use.
	SecondarySourceVersions []*ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

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

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

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

	// Any version identifier for the version of the source code to be built. If
	// sourceVersion is specified at the project level, then this sourceVersion
	// (at the build level) takes precedence.
	//
	// For more information, see Source Version Sample with CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the CodeBuild User Guide.
	SourceVersion *string `locationName:"sourceVersion" min:"1" type:"string"`

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

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

	// If your 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetBuildBatchArn added in v1.33.16

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

SetBuildBatchArn sets the BuildBatchArn field's value.

func (*Build) SetBuildComplete

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

SetBuildComplete sets the BuildComplete field's value.

func (*Build) SetBuildNumber added in v1.25.28

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

SetBuildNumber sets the BuildNumber 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) SetDebugSession added in v1.33.8

func (s *Build) SetDebugSession(v *DebugSession) *Build

SetDebugSession sets the DebugSession field's value.

func (*Build) SetEncryptionKey added in v1.15.0

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) SetExportedEnvironmentVariables added in v1.25.28

func (s *Build) SetExportedEnvironmentVariables(v []*ExportedEnvironmentVariable) *Build

SetExportedEnvironmentVariables sets the ExportedEnvironmentVariables field's value.

func (*Build) SetFileSystemLocations added in v1.28.12

func (s *Build) SetFileSystemLocations(v []*ProjectFileSystemLocation) *Build

SetFileSystemLocations sets the FileSystemLocations 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 added in v1.15.77

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Build) SetReportArns added in v1.25.42

func (s *Build) SetReportArns(v []*string) *Build

SetReportArns sets the ReportArns field's value.

func (*Build) SetResolvedSourceVersion added in v1.15.48

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

SetResolvedSourceVersion sets the ResolvedSourceVersion field's value.

func (*Build) SetSecondaryArtifacts added in v1.15.25

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Build) SetSecondarySourceVersions added in v1.15.25

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*Build) SetSecondarySources added in v1.15.25

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildArtifacts

type BuildArtifacts struct {

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

	// Specifies the bucket owner's access for objects that another account uploads
	// to their Amazon S3 bucket. By default, only the account that uploads the
	// objects to the bucket has access to these objects. This property allows you
	// to give the bucket owner access to these objects.
	//
	// To use this property, your CodeBuild service role must have the s3:PutBucketAcl
	// permission. This permission allows CodeBuild to modify the access control
	// list for the bucket.
	//
	// This property can be one of the following values:
	//
	// NONE
	//
	// The bucket owner does not have access to the objects. This is the default.
	//
	// READ_ONLY
	//
	// The bucket owner has read-only access to the objects. The uploading account
	// retains ownership of the objects.
	//
	// FULL
	//
	// The bucket owner has full access to the objects. Object ownership is determined
	// by the following criteria:
	//
	//    * If the bucket is configured with the Bucket owner preferred setting,
	//    the bucket owner owns the objects. The uploading account will have object
	//    access as specified by the bucket's policy.
	//
	//    * Otherwise, the uploading account retains ownership of the objects.
	//
	// For more information about Amazon S3 object ownership, see Controlling ownership
	// of uploaded objects using S3 Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
	// in the Amazon Simple Storage Service User Guide.
	BucketOwnerAccess *string `locationName:"bucketOwnerAccess" type:"string" enum:"BucketOwnerAccess"`

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

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

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

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

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

Information about build output artifacts.

func (BuildArtifacts) GoString

func (s BuildArtifacts) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildArtifacts) SetArtifactIdentifier added in v1.15.25

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

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*BuildArtifacts) SetBucketOwnerAccess added in v1.38.18

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

SetBucketOwnerAccess sets the BucketOwnerAccess field's value.

func (*BuildArtifacts) SetEncryptionDisabled added in v1.15.0

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 added in v1.15.7

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildBatch added in v1.33.16

type BuildBatch struct {

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

	// A BuildArtifacts object the defines the build artifacts for this batch build.
	Artifacts *BuildArtifacts `locationName:"artifacts" type:"structure"`

	// Contains configuration information about a batch build project.
	BuildBatchConfig *ProjectBuildBatchConfig `locationName:"buildBatchConfig" type:"structure"`

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

	// The status of the batch build.
	BuildBatchStatus *string `locationName:"buildBatchStatus" type:"string" enum:"StatusType"`

	// An array of BuildGroup objects that define the build groups for the batch
	// build.
	BuildGroups []*BuildGroup `locationName:"buildGroups" type:"list"`

	// Specifies the maximum amount of time, in minutes, that the build in a batch
	// must be completed in.
	BuildTimeoutInMinutes *int64 `locationName:"buildTimeoutInMinutes" type:"integer"`

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

	// Indicates if the batch build is complete.
	Complete *bool `locationName:"complete" type:"boolean"`

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

	// Specifies if session debugging is enabled for this batch build. For more
	// information, see Viewing a running build in Session Manager (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html).
	// Batch session debugging is not supported for matrix batch builds.
	DebugSessionEnabled *bool `locationName:"debugSessionEnabled" type:"boolean"`

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

	// The date and time that the batch build ended.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

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

	// An array of ProjectFileSystemLocation objects for the batch build project.
	// A ProjectFileSystemLocation object specifies the identifier, location, mountOptions,
	// mountPoint, and type of a file system created using Amazon Elastic File System.
	FileSystemLocations []*ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

	// The identifier of the batch build.
	Id *string `locationName:"id" min:"1" type:"string"`

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

	// Information about logs for a build project. These can be logs in CloudWatch
	// Logs, built in a specified S3 bucket, or both.
	LogConfig *LogsConfig `locationName:"logConfig" type:"structure"`

	// An array of BuildBatchPhase objects the specify the phases of the batch build.
	Phases []*BuildBatchPhase `locationName:"phases" type:"list"`

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

	// Specifies the amount of time, in minutes, that the batch build is allowed
	// to be queued before it times out.
	QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" type:"integer"`

	// The identifier of the resolved version of this batch build's source code.
	//
	//    * For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit
	//    ID.
	//
	//    * For CodePipeline, the source revision provided by CodePipeline.
	//
	//    * For Amazon S3, this does not apply.
	ResolvedSourceVersion *string `locationName:"resolvedSourceVersion" min:"1" type:"string"`

	// An array of BuildArtifacts objects the define the build artifacts for this
	// batch build.
	SecondaryArtifacts []*BuildArtifacts `locationName:"secondaryArtifacts" type:"list"`

	// An array of ProjectSourceVersion objects. Each ProjectSourceVersion must
	// be one of:
	//
	//    * For CodeCommit: the commit ID, branch, or Git tag to use.
	//
	//    * For GitHub: the commit ID, pull request ID, branch name, or tag name
	//    that corresponds to the version of the source code you want to build.
	//    If a pull request ID is specified, it must use the format pr/pull-request-ID
	//    (for example, pr/25). If a branch name is specified, the branch's HEAD
	//    commit ID is used. If not specified, the default branch's HEAD commit
	//    ID is used.
	//
	//    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
	//    to the version of the source code you want to build. If a branch name
	//    is specified, the branch's HEAD commit ID is used. If not specified, the
	//    default branch's HEAD commit ID is used.
	//
	//    * For Amazon 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 that define the sources for the batch build.
	SecondarySources []*ProjectSource `locationName:"secondarySources" type:"list"`

	// The name of a service role used for builds in the batch.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

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

	// The identifier of the version of the source code to be built.
	SourceVersion *string `locationName:"sourceVersion" min:"1" type:"string"`

	// The date and time that the batch build started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// Information about the VPC configuration that CodeBuild accesses.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`
	// contains filtered or unexported fields
}

Contains information about a batch build.

func (BuildBatch) GoString added in v1.33.16

func (s BuildBatch) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildBatch) SetArn added in v1.33.16

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

SetArn sets the Arn field's value.

func (*BuildBatch) SetArtifacts added in v1.33.16

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

SetArtifacts sets the Artifacts field's value.

func (*BuildBatch) SetBuildBatchConfig added in v1.33.16

func (s *BuildBatch) SetBuildBatchConfig(v *ProjectBuildBatchConfig) *BuildBatch

SetBuildBatchConfig sets the BuildBatchConfig field's value.

func (*BuildBatch) SetBuildBatchNumber added in v1.33.16

func (s *BuildBatch) SetBuildBatchNumber(v int64) *BuildBatch

SetBuildBatchNumber sets the BuildBatchNumber field's value.

func (*BuildBatch) SetBuildBatchStatus added in v1.33.16

func (s *BuildBatch) SetBuildBatchStatus(v string) *BuildBatch

SetBuildBatchStatus sets the BuildBatchStatus field's value.

func (*BuildBatch) SetBuildGroups added in v1.33.16

func (s *BuildBatch) SetBuildGroups(v []*BuildGroup) *BuildBatch

SetBuildGroups sets the BuildGroups field's value.

func (*BuildBatch) SetBuildTimeoutInMinutes added in v1.33.16

func (s *BuildBatch) SetBuildTimeoutInMinutes(v int64) *BuildBatch

SetBuildTimeoutInMinutes sets the BuildTimeoutInMinutes field's value.

func (*BuildBatch) SetCache added in v1.33.16

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

SetCache sets the Cache field's value.

func (*BuildBatch) SetComplete added in v1.33.16

func (s *BuildBatch) SetComplete(v bool) *BuildBatch

SetComplete sets the Complete field's value.

func (*BuildBatch) SetCurrentPhase added in v1.33.16

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

SetCurrentPhase sets the CurrentPhase field's value.

func (*BuildBatch) SetDebugSessionEnabled added in v1.37.23

func (s *BuildBatch) SetDebugSessionEnabled(v bool) *BuildBatch

SetDebugSessionEnabled sets the DebugSessionEnabled field's value.

func (*BuildBatch) SetEncryptionKey added in v1.33.16

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

SetEncryptionKey sets the EncryptionKey field's value.

func (*BuildBatch) SetEndTime added in v1.33.16

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

SetEndTime sets the EndTime field's value.

func (*BuildBatch) SetEnvironment added in v1.33.16

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

SetEnvironment sets the Environment field's value.

func (*BuildBatch) SetFileSystemLocations added in v1.33.16

func (s *BuildBatch) SetFileSystemLocations(v []*ProjectFileSystemLocation) *BuildBatch

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*BuildBatch) SetId added in v1.33.16

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

SetId sets the Id field's value.

func (*BuildBatch) SetInitiator added in v1.33.16

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

SetInitiator sets the Initiator field's value.

func (*BuildBatch) SetLogConfig added in v1.33.16

func (s *BuildBatch) SetLogConfig(v *LogsConfig) *BuildBatch

SetLogConfig sets the LogConfig field's value.

func (*BuildBatch) SetPhases added in v1.33.16

func (s *BuildBatch) SetPhases(v []*BuildBatchPhase) *BuildBatch

SetPhases sets the Phases field's value.

func (*BuildBatch) SetProjectName added in v1.33.16

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

SetProjectName sets the ProjectName field's value.

func (*BuildBatch) SetQueuedTimeoutInMinutes added in v1.33.16

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*BuildBatch) SetResolvedSourceVersion added in v1.33.16

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

SetResolvedSourceVersion sets the ResolvedSourceVersion field's value.

func (*BuildBatch) SetSecondaryArtifacts added in v1.33.16

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*BuildBatch) SetSecondarySourceVersions added in v1.33.16

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*BuildBatch) SetSecondarySources added in v1.33.16

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

SetSecondarySources sets the SecondarySources field's value.

func (*BuildBatch) SetServiceRole added in v1.33.16

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

SetServiceRole sets the ServiceRole field's value.

func (*BuildBatch) SetSource added in v1.33.16

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

SetSource sets the Source field's value.

func (*BuildBatch) SetSourceVersion added in v1.33.16

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

SetSourceVersion sets the SourceVersion field's value.

func (*BuildBatch) SetStartTime added in v1.33.16

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

SetStartTime sets the StartTime field's value.

func (*BuildBatch) SetVpcConfig added in v1.33.16

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

SetVpcConfig sets the VpcConfig field's value.

func (BuildBatch) String added in v1.33.16

func (s BuildBatch) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildBatchFilter added in v1.33.16

type BuildBatchFilter struct {

	// The status of the batch builds to retrieve. Only batch builds that have this
	// status will be retrieved.
	Status *string `locationName:"status" type:"string" enum:"StatusType"`
	// contains filtered or unexported fields
}

Specifies filters when retrieving batch builds.

func (BuildBatchFilter) GoString added in v1.33.16

func (s BuildBatchFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildBatchFilter) SetStatus added in v1.33.16

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

SetStatus sets the Status field's value.

func (BuildBatchFilter) String added in v1.33.16

func (s BuildBatchFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildBatchPhase added in v1.33.16

type BuildBatchPhase struct {

	// Additional information about the batch build phase. Especially to help troubleshoot
	// a failed batch build.
	Contexts []*PhaseContext `locationName:"contexts" type:"list"`

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

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

	// The current status of the batch build phase. Valid values include:
	//
	// FAILED
	//
	// The build phase failed.
	//
	// FAULT
	//
	// The build phase faulted.
	//
	// IN_PROGRESS
	//
	// The build phase is still in progress.
	//
	// 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 batch build phase. Valid values include:
	//
	// COMBINE_ARTIFACTS
	//
	// Build output artifacts are being combined and uploaded to the output location.
	//
	// DOWNLOAD_BATCHSPEC
	//
	// The batch build specification is being downloaded.
	//
	// FAILED
	//
	// One or more of the builds failed.
	//
	// IN_PROGRESS
	//
	// The batch build is in progress.
	//
	// STOPPED
	//
	// The batch build was stopped.
	//
	// SUBMITTED
	//
	// The btach build has been submitted.
	//
	// SUCCEEDED
	//
	// The batch build succeeded.
	PhaseType *string `locationName:"phaseType" type:"string" enum:"BuildBatchPhaseType"`

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

Contains information about a stage for a batch build.

func (BuildBatchPhase) GoString added in v1.33.16

func (s BuildBatchPhase) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildBatchPhase) SetContexts added in v1.33.16

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

SetContexts sets the Contexts field's value.

func (*BuildBatchPhase) SetDurationInSeconds added in v1.33.16

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

SetDurationInSeconds sets the DurationInSeconds field's value.

func (*BuildBatchPhase) SetEndTime added in v1.33.16

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

SetEndTime sets the EndTime field's value.

func (*BuildBatchPhase) SetPhaseStatus added in v1.33.16

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

SetPhaseStatus sets the PhaseStatus field's value.

func (*BuildBatchPhase) SetPhaseType added in v1.33.16

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

SetPhaseType sets the PhaseType field's value.

func (*BuildBatchPhase) SetStartTime added in v1.33.16

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

SetStartTime sets the StartTime field's value.

func (BuildBatchPhase) String added in v1.33.16

func (s BuildBatchPhase) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildGroup added in v1.33.16

type BuildGroup struct {

	// A BuildSummary object that contains a summary of the current build group.
	CurrentBuildSummary *BuildSummary `locationName:"currentBuildSummary" type:"structure"`

	// An array of strings that contain the identifiers of the build groups that
	// this build group depends on.
	DependsOn []*string `locationName:"dependsOn" type:"list"`

	// Contains the identifier of the build group.
	Identifier *string `locationName:"identifier" type:"string"`

	// Specifies if failures in this build group can be ignored.
	IgnoreFailure *bool `locationName:"ignoreFailure" type:"boolean"`

	// An array of BuildSummary objects that contain summaries of previous build
	// groups.
	PriorBuildSummaryList []*BuildSummary `locationName:"priorBuildSummaryList" type:"list"`
	// contains filtered or unexported fields
}

Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups.

func (BuildGroup) GoString added in v1.33.16

func (s BuildGroup) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildGroup) SetCurrentBuildSummary added in v1.33.16

func (s *BuildGroup) SetCurrentBuildSummary(v *BuildSummary) *BuildGroup

SetCurrentBuildSummary sets the CurrentBuildSummary field's value.

func (*BuildGroup) SetDependsOn added in v1.33.16

func (s *BuildGroup) SetDependsOn(v []*string) *BuildGroup

SetDependsOn sets the DependsOn field's value.

func (*BuildGroup) SetIdentifier added in v1.33.16

func (s *BuildGroup) SetIdentifier(v string) *BuildGroup

SetIdentifier sets the Identifier field's value.

func (*BuildGroup) SetIgnoreFailure added in v1.33.16

func (s *BuildGroup) SetIgnoreFailure(v bool) *BuildGroup

SetIgnoreFailure sets the IgnoreFailure field's value.

func (*BuildGroup) SetPriorBuildSummaryList added in v1.33.16

func (s *BuildGroup) SetPriorBuildSummaryList(v []*BuildSummary) *BuildGroup

SetPriorBuildSummaryList sets the PriorBuildSummaryList field's value.

func (BuildGroup) String added in v1.33.16

func (s BuildGroup) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildStatusConfig added in v1.33.0

type BuildStatusConfig struct {

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

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

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

func (BuildStatusConfig) GoString added in v1.33.0

func (s BuildStatusConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildStatusConfig) SetContext added in v1.33.0

func (s *BuildStatusConfig) SetContext(v string) *BuildStatusConfig

SetContext sets the Context field's value.

func (*BuildStatusConfig) SetTargetUrl added in v1.33.0

func (s *BuildStatusConfig) SetTargetUrl(v string) *BuildStatusConfig

SetTargetUrl sets the TargetUrl field's value.

func (BuildStatusConfig) String added in v1.33.0

func (s BuildStatusConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BuildSummary added in v1.33.16

type BuildSummary struct {

	// The batch build ARN.
	Arn *string `locationName:"arn" type:"string"`

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

	// A ResolvedArtifact object that represents the primary build artifacts for
	// the build group.
	PrimaryArtifact *ResolvedArtifact `locationName:"primaryArtifact" type:"structure"`

	// When the build was started, expressed in Unix time format.
	RequestedOn *time.Time `locationName:"requestedOn" type:"timestamp"`

	// An array of ResolvedArtifact objects that represents the secondary build
	// artifacts for the build group.
	SecondaryArtifacts []*ResolvedArtifact `locationName:"secondaryArtifacts" type:"list"`
	// contains filtered or unexported fields
}

Contains summary information about a batch build group.

func (BuildSummary) GoString added in v1.33.16

func (s BuildSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BuildSummary) SetArn added in v1.33.16

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

SetArn sets the Arn field's value.

func (*BuildSummary) SetBuildStatus added in v1.33.16

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

SetBuildStatus sets the BuildStatus field's value.

func (*BuildSummary) SetPrimaryArtifact added in v1.33.16

func (s *BuildSummary) SetPrimaryArtifact(v *ResolvedArtifact) *BuildSummary

SetPrimaryArtifact sets the PrimaryArtifact field's value.

func (*BuildSummary) SetRequestedOn added in v1.33.16

func (s *BuildSummary) SetRequestedOn(v time.Time) *BuildSummary

SetRequestedOn sets the RequestedOn field's value.

func (*BuildSummary) SetSecondaryArtifacts added in v1.33.16

func (s *BuildSummary) SetSecondaryArtifacts(v []*ResolvedArtifact) *BuildSummary

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (BuildSummary) String added in v1.33.16

func (s BuildSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudWatchLogsConfig added in v1.15.36

type CloudWatchLogsConfig struct {

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

	// The current status of the logs in CloudWatch Logs for a build project. Valid
	// values are:
	//
	//    * ENABLED: CloudWatch Logs are enabled for this build project.
	//
	//    * DISABLED: 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 CloudWatch Logs. For more information,
	// see Working with Log Groups and Log Streams (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html).
	StreamName *string `locationName:"streamName" type:"string"`
	// contains filtered or unexported fields
}

Information about CloudWatch Logs for a build project.

func (CloudWatchLogsConfig) GoString added in v1.15.36

func (s CloudWatchLogsConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsConfig) SetGroupName added in v1.15.36

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

SetGroupName sets the GroupName field's value.

func (*CloudWatchLogsConfig) SetStatus added in v1.15.36

SetStatus sets the Status field's value.

func (*CloudWatchLogsConfig) SetStreamName added in v1.15.36

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

SetStreamName sets the StreamName field's value.

func (CloudWatchLogsConfig) String added in v1.15.36

func (s CloudWatchLogsConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchLogsConfig) Validate added in v1.15.36

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:

mySession := session.Must(session.NewSession())

// 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 Types:

  • 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) BatchGetBuildBatches added in v1.33.16

func (c *CodeBuild) BatchGetBuildBatches(input *BatchGetBuildBatchesInput) (*BatchGetBuildBatchesOutput, error)

BatchGetBuildBatches API operation for AWS CodeBuild.

Retrieves information about one or more batch 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 BatchGetBuildBatches for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) BatchGetBuildBatchesRequest added in v1.33.16

func (c *CodeBuild) BatchGetBuildBatchesRequest(input *BatchGetBuildBatchesInput) (req *request.Request, output *BatchGetBuildBatchesOutput)

BatchGetBuildBatchesRequest generates a "aws/request.Request" representing the client's request for the BatchGetBuildBatches 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 BatchGetBuildBatches for more information on using the BatchGetBuildBatches 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 BatchGetBuildBatchesRequest method.
req, resp := client.BatchGetBuildBatchesRequest(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/BatchGetBuildBatches

func (*CodeBuild) BatchGetBuildBatchesWithContext added in v1.33.16

func (c *CodeBuild) BatchGetBuildBatchesWithContext(ctx aws.Context, input *BatchGetBuildBatchesInput, opts ...request.Option) (*BatchGetBuildBatchesOutput, error)

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

See BatchGetBuildBatches 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 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 BatchGetBuilds for usage and error information.

Returned Error Types:

  • 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/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/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) BatchGetFleets added in v1.50.0

func (c *CodeBuild) BatchGetFleets(input *BatchGetFleetsInput) (*BatchGetFleetsOutput, error)

BatchGetFleets API operation for AWS CodeBuild.

Gets information about one or more compute fleets.

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 BatchGetFleets for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) BatchGetFleetsRequest added in v1.50.0

func (c *CodeBuild) BatchGetFleetsRequest(input *BatchGetFleetsInput) (req *request.Request, output *BatchGetFleetsOutput)

BatchGetFleetsRequest generates a "aws/request.Request" representing the client's request for the BatchGetFleets 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 BatchGetFleets for more information on using the BatchGetFleets 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 BatchGetFleetsRequest method.
req, resp := client.BatchGetFleetsRequest(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/BatchGetFleets

func (*CodeBuild) BatchGetFleetsWithContext added in v1.50.0

func (c *CodeBuild) BatchGetFleetsWithContext(ctx aws.Context, input *BatchGetFleetsInput, opts ...request.Option) (*BatchGetFleetsOutput, error)

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

See BatchGetFleets 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 one or more 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 Types:

  • 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) BatchGetReportGroups added in v1.25.42

func (c *CodeBuild) BatchGetReportGroups(input *BatchGetReportGroupsInput) (*BatchGetReportGroupsOutput, error)

BatchGetReportGroups API operation for AWS CodeBuild.

Returns an array of report groups.

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 BatchGetReportGroups for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) BatchGetReportGroupsRequest added in v1.25.42

func (c *CodeBuild) BatchGetReportGroupsRequest(input *BatchGetReportGroupsInput) (req *request.Request, output *BatchGetReportGroupsOutput)

BatchGetReportGroupsRequest generates a "aws/request.Request" representing the client's request for the BatchGetReportGroups 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 BatchGetReportGroups for more information on using the BatchGetReportGroups 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 BatchGetReportGroupsRequest method.
req, resp := client.BatchGetReportGroupsRequest(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/BatchGetReportGroups

func (*CodeBuild) BatchGetReportGroupsWithContext added in v1.25.42

func (c *CodeBuild) BatchGetReportGroupsWithContext(ctx aws.Context, input *BatchGetReportGroupsInput, opts ...request.Option) (*BatchGetReportGroupsOutput, error)

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

See BatchGetReportGroups 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) BatchGetReports added in v1.25.42

func (c *CodeBuild) BatchGetReports(input *BatchGetReportsInput) (*BatchGetReportsOutput, error)

BatchGetReports API operation for AWS CodeBuild.

Returns an array of reports.

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 BatchGetReports for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) BatchGetReportsRequest added in v1.25.42

func (c *CodeBuild) BatchGetReportsRequest(input *BatchGetReportsInput) (req *request.Request, output *BatchGetReportsOutput)

BatchGetReportsRequest generates a "aws/request.Request" representing the client's request for the BatchGetReports 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 BatchGetReports for more information on using the BatchGetReports 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 BatchGetReportsRequest method.
req, resp := client.BatchGetReportsRequest(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/BatchGetReports

func (*CodeBuild) BatchGetReportsWithContext added in v1.25.42

func (c *CodeBuild) BatchGetReportsWithContext(ctx aws.Context, input *BatchGetReportsInput, opts ...request.Option) (*BatchGetReportsOutput, error)

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

See BatchGetReports 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) CreateFleet added in v1.50.0

func (c *CodeBuild) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error)

CreateFleet API operation for AWS CodeBuild.

Creates a compute fleet.

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 CreateFleet for usage and error information.

Returned Error Types:

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

  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

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

func (*CodeBuild) CreateFleetRequest added in v1.50.0

func (c *CodeBuild) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput)

CreateFleetRequest generates a "aws/request.Request" representing the client's request for the CreateFleet 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 CreateFleet for more information on using the CreateFleet 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 CreateFleetRequest method.
req, resp := client.CreateFleetRequest(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/CreateFleet

func (*CodeBuild) CreateFleetWithContext added in v1.50.0

func (c *CodeBuild) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error)

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

See CreateFleet 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 Types:

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

  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services 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) CreateReportGroup added in v1.25.42

func (c *CodeBuild) CreateReportGroup(input *CreateReportGroupInput) (*CreateReportGroupOutput, error)

CreateReportGroup API operation for AWS CodeBuild.

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

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 CreateReportGroup for usage and error information.

Returned Error Types:

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

  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

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

func (*CodeBuild) CreateReportGroupRequest added in v1.25.42

func (c *CodeBuild) CreateReportGroupRequest(input *CreateReportGroupInput) (req *request.Request, output *CreateReportGroupOutput)

CreateReportGroupRequest generates a "aws/request.Request" representing the client's request for the CreateReportGroup 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 CreateReportGroup for more information on using the CreateReportGroup 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 CreateReportGroupRequest method.
req, resp := client.CreateReportGroupRequest(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/CreateReportGroup

func (*CodeBuild) CreateReportGroupWithContext added in v1.25.42

func (c *CodeBuild) CreateReportGroupWithContext(ctx aws.Context, input *CreateReportGroupInput, opts ...request.Option) (*CreateReportGroupOutput, error)

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

See CreateReportGroup 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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.

If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings (https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console).

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 Types:

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

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

  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

  • ResourceNotFoundException The specified Amazon Web Services 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) DeleteBuildBatch added in v1.33.16

func (c *CodeBuild) DeleteBuildBatch(input *DeleteBuildBatchInput) (*DeleteBuildBatchOutput, error)

DeleteBuildBatch API operation for AWS CodeBuild.

Deletes a batch 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 DeleteBuildBatch for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DeleteBuildBatchRequest added in v1.33.16

func (c *CodeBuild) DeleteBuildBatchRequest(input *DeleteBuildBatchInput) (req *request.Request, output *DeleteBuildBatchOutput)

DeleteBuildBatchRequest generates a "aws/request.Request" representing the client's request for the DeleteBuildBatch 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 DeleteBuildBatch for more information on using the DeleteBuildBatch 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 DeleteBuildBatchRequest method.
req, resp := client.DeleteBuildBatchRequest(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/DeleteBuildBatch

func (*CodeBuild) DeleteBuildBatchWithContext added in v1.33.16

func (c *CodeBuild) DeleteBuildBatchWithContext(ctx aws.Context, input *DeleteBuildBatchInput, opts ...request.Option) (*DeleteBuildBatchOutput, error)

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

See DeleteBuildBatch 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) DeleteFleet added in v1.50.0

func (c *CodeBuild) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error)

DeleteFleet API operation for AWS CodeBuild.

Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.

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 DeleteFleet for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DeleteFleetRequest added in v1.50.0

func (c *CodeBuild) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput)

DeleteFleetRequest generates a "aws/request.Request" representing the client's request for the DeleteFleet 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 DeleteFleet for more information on using the DeleteFleet 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 DeleteFleetRequest method.
req, resp := client.DeleteFleetRequest(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/DeleteFleet

func (*CodeBuild) DeleteFleetWithContext added in v1.50.0

func (c *CodeBuild) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error)

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

See DeleteFleet 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. When you delete a project, its builds are not deleted.

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 Types:

  • 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) DeleteReport added in v1.25.42

func (c *CodeBuild) DeleteReport(input *DeleteReportInput) (*DeleteReportOutput, error)

DeleteReport API operation for AWS CodeBuild.

Deletes a report.

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 DeleteReport for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DeleteReportGroup added in v1.25.42

func (c *CodeBuild) DeleteReportGroup(input *DeleteReportGroupInput) (*DeleteReportGroupOutput, error)

DeleteReportGroup API operation for AWS CodeBuild.

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

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 DeleteReportGroup for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DeleteReportGroupRequest added in v1.25.42

func (c *CodeBuild) DeleteReportGroupRequest(input *DeleteReportGroupInput) (req *request.Request, output *DeleteReportGroupOutput)

DeleteReportGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteReportGroup 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 DeleteReportGroup for more information on using the DeleteReportGroup 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 DeleteReportGroupRequest method.
req, resp := client.DeleteReportGroupRequest(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/DeleteReportGroup

func (*CodeBuild) DeleteReportGroupWithContext added in v1.25.42

func (c *CodeBuild) DeleteReportGroupWithContext(ctx aws.Context, input *DeleteReportGroupInput, opts ...request.Option) (*DeleteReportGroupOutput, error)

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

See DeleteReportGroup 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) DeleteReportRequest added in v1.25.42

func (c *CodeBuild) DeleteReportRequest(input *DeleteReportInput) (req *request.Request, output *DeleteReportOutput)

DeleteReportRequest generates a "aws/request.Request" representing the client's request for the DeleteReport 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 DeleteReport for more information on using the DeleteReport 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 DeleteReportRequest method.
req, resp := client.DeleteReportRequest(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/DeleteReport

func (*CodeBuild) DeleteReportWithContext added in v1.25.42

func (c *CodeBuild) DeleteReportWithContext(ctx aws.Context, input *DeleteReportInput, opts ...request.Option) (*DeleteReportOutput, error)

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

See DeleteReport 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) DeleteResourcePolicy added in v1.26.2

func (c *CodeBuild) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error)

DeleteResourcePolicy API operation for AWS CodeBuild.

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

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 DeleteResourcePolicy for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DeleteResourcePolicyRequest added in v1.26.2

func (c *CodeBuild) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput)

DeleteResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy 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 DeleteResourcePolicyRequest method.
req, resp := client.DeleteResourcePolicyRequest(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/DeleteResourcePolicy

func (*CodeBuild) DeleteResourcePolicyWithContext added in v1.26.2

func (c *CodeBuild) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error)

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

See DeleteResourcePolicy 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 added in v1.16.1

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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) DeleteSourceCredentialsRequest added in v1.16.1

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 added in v1.16.1

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 CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops 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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

  • 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) DescribeCodeCoverages added in v1.33.16

func (c *CodeBuild) DescribeCodeCoverages(input *DescribeCodeCoveragesInput) (*DescribeCodeCoveragesOutput, error)

DescribeCodeCoverages API operation for AWS CodeBuild.

Retrieves one or more code coverage reports.

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 DescribeCodeCoverages for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) DescribeCodeCoveragesPages added in v1.33.16

func (c *CodeBuild) DescribeCodeCoveragesPages(input *DescribeCodeCoveragesInput, fn func(*DescribeCodeCoveragesOutput, bool) bool) error

DescribeCodeCoveragesPages iterates over the pages of a DescribeCodeCoverages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeCodeCoverages method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a DescribeCodeCoverages operation.
pageNum := 0
err := client.DescribeCodeCoveragesPages(params,
    func(page *codebuild.DescribeCodeCoveragesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) DescribeCodeCoveragesPagesWithContext added in v1.33.16

func (c *CodeBuild) DescribeCodeCoveragesPagesWithContext(ctx aws.Context, input *DescribeCodeCoveragesInput, fn func(*DescribeCodeCoveragesOutput, bool) bool, opts ...request.Option) error

DescribeCodeCoveragesPagesWithContext same as DescribeCodeCoveragesPages except it takes a Context and allows setting request options on the pages.

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) DescribeCodeCoveragesRequest added in v1.33.16

func (c *CodeBuild) DescribeCodeCoveragesRequest(input *DescribeCodeCoveragesInput) (req *request.Request, output *DescribeCodeCoveragesOutput)

DescribeCodeCoveragesRequest generates a "aws/request.Request" representing the client's request for the DescribeCodeCoverages 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 DescribeCodeCoverages for more information on using the DescribeCodeCoverages 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 DescribeCodeCoveragesRequest method.
req, resp := client.DescribeCodeCoveragesRequest(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/DescribeCodeCoverages

func (*CodeBuild) DescribeCodeCoveragesWithContext added in v1.33.16

func (c *CodeBuild) DescribeCodeCoveragesWithContext(ctx aws.Context, input *DescribeCodeCoveragesInput, opts ...request.Option) (*DescribeCodeCoveragesOutput, error)

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

See DescribeCodeCoverages 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) DescribeTestCases added in v1.25.42

func (c *CodeBuild) DescribeTestCases(input *DescribeTestCasesInput) (*DescribeTestCasesOutput, error)

DescribeTestCases API operation for AWS CodeBuild.

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

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 DescribeTestCases for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) DescribeTestCasesPages added in v1.30.23

func (c *CodeBuild) DescribeTestCasesPages(input *DescribeTestCasesInput, fn func(*DescribeTestCasesOutput, bool) bool) error

DescribeTestCasesPages iterates over the pages of a DescribeTestCases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeTestCases method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a DescribeTestCases operation.
pageNum := 0
err := client.DescribeTestCasesPages(params,
    func(page *codebuild.DescribeTestCasesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) DescribeTestCasesPagesWithContext added in v1.30.23

func (c *CodeBuild) DescribeTestCasesPagesWithContext(ctx aws.Context, input *DescribeTestCasesInput, fn func(*DescribeTestCasesOutput, bool) bool, opts ...request.Option) error

DescribeTestCasesPagesWithContext same as DescribeTestCasesPages except it takes a Context and allows setting request options on the pages.

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) DescribeTestCasesRequest added in v1.25.42

func (c *CodeBuild) DescribeTestCasesRequest(input *DescribeTestCasesInput) (req *request.Request, output *DescribeTestCasesOutput)

DescribeTestCasesRequest generates a "aws/request.Request" representing the client's request for the DescribeTestCases 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 DescribeTestCases for more information on using the DescribeTestCases 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 DescribeTestCasesRequest method.
req, resp := client.DescribeTestCasesRequest(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/DescribeTestCases

func (*CodeBuild) DescribeTestCasesWithContext added in v1.25.42

func (c *CodeBuild) DescribeTestCasesWithContext(ctx aws.Context, input *DescribeTestCasesInput, opts ...request.Option) (*DescribeTestCasesOutput, error)

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

See DescribeTestCases 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) GetReportGroupTrend added in v1.35.35

func (c *CodeBuild) GetReportGroupTrend(input *GetReportGroupTrendInput) (*GetReportGroupTrendOutput, error)

GetReportGroupTrend API operation for AWS CodeBuild.

Analyzes and accumulates test report values for the specified test reports.

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 GetReportGroupTrend for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) GetReportGroupTrendRequest added in v1.35.35

func (c *CodeBuild) GetReportGroupTrendRequest(input *GetReportGroupTrendInput) (req *request.Request, output *GetReportGroupTrendOutput)

GetReportGroupTrendRequest generates a "aws/request.Request" representing the client's request for the GetReportGroupTrend 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 GetReportGroupTrend for more information on using the GetReportGroupTrend 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 GetReportGroupTrendRequest method.
req, resp := client.GetReportGroupTrendRequest(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/GetReportGroupTrend

func (*CodeBuild) GetReportGroupTrendWithContext added in v1.35.35

func (c *CodeBuild) GetReportGroupTrendWithContext(ctx aws.Context, input *GetReportGroupTrendInput, opts ...request.Option) (*GetReportGroupTrendOutput, error)

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

See GetReportGroupTrend 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) GetResourcePolicy added in v1.26.2

func (c *CodeBuild) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)

GetResourcePolicy API operation for AWS CodeBuild.

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

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 GetResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

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

func (*CodeBuild) GetResourcePolicyRequest added in v1.26.2

func (c *CodeBuild) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)

GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy 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 GetResourcePolicy for more information on using the GetResourcePolicy 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 GetResourcePolicyRequest method.
req, resp := client.GetResourcePolicyRequest(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/GetResourcePolicy

func (*CodeBuild) GetResourcePolicyWithContext added in v1.26.2

func (c *CodeBuild) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)

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

See GetResourcePolicy 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 added in v1.16.1

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

ImportSourceCredentials API operation for AWS CodeBuild.

Imports the source repository credentials for an 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 Types:

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

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

  • ResourceAlreadyExistsException The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

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

func (*CodeBuild) ImportSourceCredentialsRequest added in v1.16.1

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 added in v1.16.1

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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services 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) ListBuildBatches added in v1.33.16

func (c *CodeBuild) ListBuildBatches(input *ListBuildBatchesInput) (*ListBuildBatchesOutput, error)

ListBuildBatches API operation for AWS CodeBuild.

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

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 ListBuildBatches for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListBuildBatchesForProject added in v1.33.16

func (c *CodeBuild) ListBuildBatchesForProject(input *ListBuildBatchesForProjectInput) (*ListBuildBatchesForProjectOutput, error)

ListBuildBatchesForProject API operation for AWS CodeBuild.

Retrieves the identifiers of the build batches for a specific 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 ListBuildBatchesForProject for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) ListBuildBatchesForProjectPages added in v1.33.16

func (c *CodeBuild) ListBuildBatchesForProjectPages(input *ListBuildBatchesForProjectInput, fn func(*ListBuildBatchesForProjectOutput, bool) bool) error

ListBuildBatchesForProjectPages iterates over the pages of a ListBuildBatchesForProject operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuildBatchesForProject method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBuildBatchesForProject operation.
pageNum := 0
err := client.ListBuildBatchesForProjectPages(params,
    func(page *codebuild.ListBuildBatchesForProjectOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListBuildBatchesForProjectPagesWithContext added in v1.33.16

func (c *CodeBuild) ListBuildBatchesForProjectPagesWithContext(ctx aws.Context, input *ListBuildBatchesForProjectInput, fn func(*ListBuildBatchesForProjectOutput, bool) bool, opts ...request.Option) error

ListBuildBatchesForProjectPagesWithContext same as ListBuildBatchesForProjectPages except it takes a Context and allows setting request options on the pages.

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) ListBuildBatchesForProjectRequest added in v1.33.16

func (c *CodeBuild) ListBuildBatchesForProjectRequest(input *ListBuildBatchesForProjectInput) (req *request.Request, output *ListBuildBatchesForProjectOutput)

ListBuildBatchesForProjectRequest generates a "aws/request.Request" representing the client's request for the ListBuildBatchesForProject 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 ListBuildBatchesForProject for more information on using the ListBuildBatchesForProject 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 ListBuildBatchesForProjectRequest method.
req, resp := client.ListBuildBatchesForProjectRequest(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/ListBuildBatchesForProject

func (*CodeBuild) ListBuildBatchesForProjectWithContext added in v1.33.16

func (c *CodeBuild) ListBuildBatchesForProjectWithContext(ctx aws.Context, input *ListBuildBatchesForProjectInput, opts ...request.Option) (*ListBuildBatchesForProjectOutput, error)

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

See ListBuildBatchesForProject 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) ListBuildBatchesPages added in v1.33.16

func (c *CodeBuild) ListBuildBatchesPages(input *ListBuildBatchesInput, fn func(*ListBuildBatchesOutput, bool) bool) error

ListBuildBatchesPages iterates over the pages of a ListBuildBatches operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuildBatches method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBuildBatches operation.
pageNum := 0
err := client.ListBuildBatchesPages(params,
    func(page *codebuild.ListBuildBatchesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListBuildBatchesPagesWithContext added in v1.33.16

func (c *CodeBuild) ListBuildBatchesPagesWithContext(ctx aws.Context, input *ListBuildBatchesInput, fn func(*ListBuildBatchesOutput, bool) bool, opts ...request.Option) error

ListBuildBatchesPagesWithContext same as ListBuildBatchesPages except it takes a Context and allows setting request options on the pages.

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) ListBuildBatchesRequest added in v1.33.16

func (c *CodeBuild) ListBuildBatchesRequest(input *ListBuildBatchesInput) (req *request.Request, output *ListBuildBatchesOutput)

ListBuildBatchesRequest generates a "aws/request.Request" representing the client's request for the ListBuildBatches 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 ListBuildBatches for more information on using the ListBuildBatches 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 ListBuildBatchesRequest method.
req, resp := client.ListBuildBatchesRequest(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/ListBuildBatches

func (*CodeBuild) ListBuildBatchesWithContext added in v1.33.16

func (c *CodeBuild) ListBuildBatchesWithContext(ctx aws.Context, input *ListBuildBatchesInput, opts ...request.Option) (*ListBuildBatchesOutput, error)

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

See ListBuildBatches 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 Types:

  • 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 identifiers for the specified build project, with each build identifier 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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) ListBuildsForProjectPages added in v1.30.23

func (c *CodeBuild) ListBuildsForProjectPages(input *ListBuildsForProjectInput, fn func(*ListBuildsForProjectOutput, bool) bool) error

ListBuildsForProjectPages iterates over the pages of a ListBuildsForProject operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuildsForProject method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBuildsForProject operation.
pageNum := 0
err := client.ListBuildsForProjectPages(params,
    func(page *codebuild.ListBuildsForProjectOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListBuildsForProjectPagesWithContext added in v1.30.23

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

ListBuildsForProjectPagesWithContext same as ListBuildsForProjectPages except it takes a Context and allows setting request options on the pages.

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) 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) ListBuildsPages added in v1.30.23

func (c *CodeBuild) ListBuildsPages(input *ListBuildsInput, fn func(*ListBuildsOutput, bool) bool) error

ListBuildsPages iterates over the pages of a ListBuilds operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBuilds method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListBuilds operation.
pageNum := 0
err := client.ListBuildsPages(params,
    func(page *codebuild.ListBuildsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListBuildsPagesWithContext added in v1.30.23

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

ListBuildsPagesWithContext same as ListBuildsPages except it takes a Context and allows setting request options on the pages.

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 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) ListFleets added in v1.50.0

func (c *CodeBuild) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error)

ListFleets API operation for AWS CodeBuild.

Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.

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 ListFleets for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListFleetsPages added in v1.50.0

func (c *CodeBuild) ListFleetsPages(input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool) error

ListFleetsPages iterates over the pages of a ListFleets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFleets method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListFleets operation.
pageNum := 0
err := client.ListFleetsPages(params,
    func(page *codebuild.ListFleetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListFleetsPagesWithContext added in v1.50.0

func (c *CodeBuild) ListFleetsPagesWithContext(ctx aws.Context, input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool, opts ...request.Option) error

ListFleetsPagesWithContext same as ListFleetsPages except it takes a Context and allows setting request options on the pages.

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) ListFleetsRequest added in v1.50.0

func (c *CodeBuild) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput)

ListFleetsRequest generates a "aws/request.Request" representing the client's request for the ListFleets 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 ListFleets for more information on using the ListFleets 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 ListFleetsRequest method.
req, resp := client.ListFleetsRequest(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/ListFleets

func (*CodeBuild) ListFleetsWithContext added in v1.50.0

func (c *CodeBuild) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput, opts ...request.Option) (*ListFleetsOutput, error)

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

See ListFleets 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 Types:

  • 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) ListProjectsPages added in v1.30.23

func (c *CodeBuild) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error

ListProjectsPages iterates over the pages of a ListProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProjects method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListProjects operation.
pageNum := 0
err := client.ListProjectsPages(params,
    func(page *codebuild.ListProjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListProjectsPagesWithContext added in v1.30.23

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

ListProjectsPagesWithContext same as ListProjectsPages except it takes a Context and allows setting request options on the pages.

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) 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) ListReportGroups added in v1.25.42

func (c *CodeBuild) ListReportGroups(input *ListReportGroupsInput) (*ListReportGroupsOutput, error)

ListReportGroups API operation for AWS CodeBuild.

Gets a list ARNs for the report groups in the current Amazon Web Services account.

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 ListReportGroups for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListReportGroupsPages added in v1.30.23

func (c *CodeBuild) ListReportGroupsPages(input *ListReportGroupsInput, fn func(*ListReportGroupsOutput, bool) bool) error

ListReportGroupsPages iterates over the pages of a ListReportGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListReportGroups method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListReportGroups operation.
pageNum := 0
err := client.ListReportGroupsPages(params,
    func(page *codebuild.ListReportGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListReportGroupsPagesWithContext added in v1.30.23

func (c *CodeBuild) ListReportGroupsPagesWithContext(ctx aws.Context, input *ListReportGroupsInput, fn func(*ListReportGroupsOutput, bool) bool, opts ...request.Option) error

ListReportGroupsPagesWithContext same as ListReportGroupsPages except it takes a Context and allows setting request options on the pages.

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) ListReportGroupsRequest added in v1.25.42

func (c *CodeBuild) ListReportGroupsRequest(input *ListReportGroupsInput) (req *request.Request, output *ListReportGroupsOutput)

ListReportGroupsRequest generates a "aws/request.Request" representing the client's request for the ListReportGroups 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 ListReportGroups for more information on using the ListReportGroups 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 ListReportGroupsRequest method.
req, resp := client.ListReportGroupsRequest(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/ListReportGroups

func (*CodeBuild) ListReportGroupsWithContext added in v1.25.42

func (c *CodeBuild) ListReportGroupsWithContext(ctx aws.Context, input *ListReportGroupsInput, opts ...request.Option) (*ListReportGroupsOutput, error)

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

See ListReportGroups 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) ListReports added in v1.25.42

func (c *CodeBuild) ListReports(input *ListReportsInput) (*ListReportsOutput, error)

ListReports API operation for AWS CodeBuild.

Returns a list of ARNs for the reports in the current Amazon Web Services account.

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 ListReports for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListReportsForReportGroup added in v1.25.42

func (c *CodeBuild) ListReportsForReportGroup(input *ListReportsForReportGroupInput) (*ListReportsForReportGroupOutput, error)

ListReportsForReportGroup API operation for AWS CodeBuild.

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

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 ListReportsForReportGroup for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) ListReportsForReportGroupPages added in v1.30.23

func (c *CodeBuild) ListReportsForReportGroupPages(input *ListReportsForReportGroupInput, fn func(*ListReportsForReportGroupOutput, bool) bool) error

ListReportsForReportGroupPages iterates over the pages of a ListReportsForReportGroup operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListReportsForReportGroup method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListReportsForReportGroup operation.
pageNum := 0
err := client.ListReportsForReportGroupPages(params,
    func(page *codebuild.ListReportsForReportGroupOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListReportsForReportGroupPagesWithContext added in v1.30.23

func (c *CodeBuild) ListReportsForReportGroupPagesWithContext(ctx aws.Context, input *ListReportsForReportGroupInput, fn func(*ListReportsForReportGroupOutput, bool) bool, opts ...request.Option) error

ListReportsForReportGroupPagesWithContext same as ListReportsForReportGroupPages except it takes a Context and allows setting request options on the pages.

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) ListReportsForReportGroupRequest added in v1.25.42

func (c *CodeBuild) ListReportsForReportGroupRequest(input *ListReportsForReportGroupInput) (req *request.Request, output *ListReportsForReportGroupOutput)

ListReportsForReportGroupRequest generates a "aws/request.Request" representing the client's request for the ListReportsForReportGroup 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 ListReportsForReportGroup for more information on using the ListReportsForReportGroup 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 ListReportsForReportGroupRequest method.
req, resp := client.ListReportsForReportGroupRequest(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/ListReportsForReportGroup

func (*CodeBuild) ListReportsForReportGroupWithContext added in v1.25.42

func (c *CodeBuild) ListReportsForReportGroupWithContext(ctx aws.Context, input *ListReportsForReportGroupInput, opts ...request.Option) (*ListReportsForReportGroupOutput, error)

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

See ListReportsForReportGroup 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) ListReportsPages added in v1.30.23

func (c *CodeBuild) ListReportsPages(input *ListReportsInput, fn func(*ListReportsOutput, bool) bool) error

ListReportsPages iterates over the pages of a ListReports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListReports method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListReports operation.
pageNum := 0
err := client.ListReportsPages(params,
    func(page *codebuild.ListReportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListReportsPagesWithContext added in v1.30.23

func (c *CodeBuild) ListReportsPagesWithContext(ctx aws.Context, input *ListReportsInput, fn func(*ListReportsOutput, bool) bool, opts ...request.Option) error

ListReportsPagesWithContext same as ListReportsPages except it takes a Context and allows setting request options on the pages.

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) ListReportsRequest added in v1.25.42

func (c *CodeBuild) ListReportsRequest(input *ListReportsInput) (req *request.Request, output *ListReportsOutput)

ListReportsRequest generates a "aws/request.Request" representing the client's request for the ListReports 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 ListReports for more information on using the ListReports 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 ListReportsRequest method.
req, resp := client.ListReportsRequest(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/ListReports

func (*CodeBuild) ListReportsWithContext added in v1.25.42

func (c *CodeBuild) ListReportsWithContext(ctx aws.Context, input *ListReportsInput, opts ...request.Option) (*ListReportsOutput, error)

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

See ListReports 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) ListSharedProjects added in v1.26.2

func (c *CodeBuild) ListSharedProjects(input *ListSharedProjectsInput) (*ListSharedProjectsOutput, error)

ListSharedProjects API operation for AWS CodeBuild.

Gets a list of projects that are shared with other Amazon Web Services accounts or users.

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 ListSharedProjects for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListSharedProjectsPages added in v1.30.23

func (c *CodeBuild) ListSharedProjectsPages(input *ListSharedProjectsInput, fn func(*ListSharedProjectsOutput, bool) bool) error

ListSharedProjectsPages iterates over the pages of a ListSharedProjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSharedProjects method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListSharedProjects operation.
pageNum := 0
err := client.ListSharedProjectsPages(params,
    func(page *codebuild.ListSharedProjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListSharedProjectsPagesWithContext added in v1.30.23

func (c *CodeBuild) ListSharedProjectsPagesWithContext(ctx aws.Context, input *ListSharedProjectsInput, fn func(*ListSharedProjectsOutput, bool) bool, opts ...request.Option) error

ListSharedProjectsPagesWithContext same as ListSharedProjectsPages except it takes a Context and allows setting request options on the pages.

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) ListSharedProjectsRequest added in v1.26.2

func (c *CodeBuild) ListSharedProjectsRequest(input *ListSharedProjectsInput) (req *request.Request, output *ListSharedProjectsOutput)

ListSharedProjectsRequest generates a "aws/request.Request" representing the client's request for the ListSharedProjects 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 ListSharedProjects for more information on using the ListSharedProjects 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 ListSharedProjectsRequest method.
req, resp := client.ListSharedProjectsRequest(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/ListSharedProjects

func (*CodeBuild) ListSharedProjectsWithContext added in v1.26.2

func (c *CodeBuild) ListSharedProjectsWithContext(ctx aws.Context, input *ListSharedProjectsInput, opts ...request.Option) (*ListSharedProjectsOutput, error)

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

See ListSharedProjects 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) ListSharedReportGroups added in v1.26.2

func (c *CodeBuild) ListSharedReportGroups(input *ListSharedReportGroupsInput) (*ListSharedReportGroupsOutput, error)

ListSharedReportGroups API operation for AWS CodeBuild.

Gets a list of report groups that are shared with other Amazon Web Services accounts or users.

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 ListSharedReportGroups for usage and error information.

Returned Error Types:

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

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

func (*CodeBuild) ListSharedReportGroupsPages added in v1.30.23

func (c *CodeBuild) ListSharedReportGroupsPages(input *ListSharedReportGroupsInput, fn func(*ListSharedReportGroupsOutput, bool) bool) error

ListSharedReportGroupsPages iterates over the pages of a ListSharedReportGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSharedReportGroups method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListSharedReportGroups operation.
pageNum := 0
err := client.ListSharedReportGroupsPages(params,
    func(page *codebuild.ListSharedReportGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeBuild) ListSharedReportGroupsPagesWithContext added in v1.30.23

func (c *CodeBuild) ListSharedReportGroupsPagesWithContext(ctx aws.Context, input *ListSharedReportGroupsInput, fn func(*ListSharedReportGroupsOutput, bool) bool, opts ...request.Option) error

ListSharedReportGroupsPagesWithContext same as ListSharedReportGroupsPages except it takes a Context and allows setting request options on the pages.

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) ListSharedReportGroupsRequest added in v1.26.2

func (c *CodeBuild) ListSharedReportGroupsRequest(input *ListSharedReportGroupsInput) (req *request.Request, output *ListSharedReportGroupsOutput)

ListSharedReportGroupsRequest generates a "aws/request.Request" representing the client's request for the ListSharedReportGroups 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 ListSharedReportGroups for more information on using the ListSharedReportGroups 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 ListSharedReportGroupsRequest method.
req, resp := client.ListSharedReportGroupsRequest(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/ListSharedReportGroups

func (*CodeBuild) ListSharedReportGroupsWithContext added in v1.26.2

func (c *CodeBuild) ListSharedReportGroupsWithContext(ctx aws.Context, input *ListSharedReportGroupsInput, opts ...request.Option) (*ListSharedReportGroupsOutput, error)

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

See ListSharedReportGroups 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 added in v1.16.1

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.

Returned Error Types:

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

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

func (*CodeBuild) ListSourceCredentialsRequest added in v1.16.1

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 added in v1.16.1

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) PutResourcePolicy added in v1.26.2

func (c *CodeBuild) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error)

PutResourcePolicy API operation for AWS CodeBuild.

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

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 PutResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

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

func (*CodeBuild) PutResourcePolicyRequest added in v1.26.2

func (c *CodeBuild) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput)

PutResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the PutResourcePolicy 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 PutResourcePolicy for more information on using the PutResourcePolicy 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 PutResourcePolicyRequest method.
req, resp := client.PutResourcePolicyRequest(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/PutResourcePolicy

func (*CodeBuild) PutResourcePolicyWithContext added in v1.26.2

func (c *CodeBuild) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)

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

See PutResourcePolicy 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) RetryBuild added in v1.33.16

func (c *CodeBuild) RetryBuild(input *RetryBuildInput) (*RetryBuildOutput, error)

RetryBuild API operation for AWS CodeBuild.

Restarts 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 RetryBuild for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

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

func (*CodeBuild) RetryBuildBatch added in v1.33.16

func (c *CodeBuild) RetryBuildBatch(input *RetryBuildBatchInput) (*RetryBuildBatchOutput, error)

RetryBuildBatch API operation for AWS CodeBuild.

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

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 RetryBuildBatch for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) RetryBuildBatchRequest added in v1.33.16

func (c *CodeBuild) RetryBuildBatchRequest(input *RetryBuildBatchInput) (req *request.Request, output *RetryBuildBatchOutput)

RetryBuildBatchRequest generates a "aws/request.Request" representing the client's request for the RetryBuildBatch 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 RetryBuildBatch for more information on using the RetryBuildBatch 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 RetryBuildBatchRequest method.
req, resp := client.RetryBuildBatchRequest(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/RetryBuildBatch

func (*CodeBuild) RetryBuildBatchWithContext added in v1.33.16

func (c *CodeBuild) RetryBuildBatchWithContext(ctx aws.Context, input *RetryBuildBatchInput, opts ...request.Option) (*RetryBuildBatchOutput, error)

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

See RetryBuildBatch 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) RetryBuildRequest added in v1.33.16

func (c *CodeBuild) RetryBuildRequest(input *RetryBuildInput) (req *request.Request, output *RetryBuildOutput)

RetryBuildRequest generates a "aws/request.Request" representing the client's request for the RetryBuild 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 RetryBuild for more information on using the RetryBuild 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 RetryBuildRequest method.
req, resp := client.RetryBuildRequest(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/RetryBuild

func (*CodeBuild) RetryBuildWithContext added in v1.33.16

func (c *CodeBuild) RetryBuildWithContext(ctx aws.Context, input *RetryBuildInput, opts ...request.Option) (*RetryBuildOutput, error)

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

See RetryBuild 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 with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.

You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.

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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

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

func (*CodeBuild) StartBuildBatch added in v1.33.16

func (c *CodeBuild) StartBuildBatch(input *StartBuildBatchInput) (*StartBuildBatchOutput, error)

StartBuildBatch API operation for AWS CodeBuild.

Starts a batch build 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 StartBuildBatch for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) StartBuildBatchRequest added in v1.33.16

func (c *CodeBuild) StartBuildBatchRequest(input *StartBuildBatchInput) (req *request.Request, output *StartBuildBatchOutput)

StartBuildBatchRequest generates a "aws/request.Request" representing the client's request for the StartBuildBatch 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 StartBuildBatch for more information on using the StartBuildBatch 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 StartBuildBatchRequest method.
req, resp := client.StartBuildBatchRequest(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/StartBuildBatch

func (*CodeBuild) StartBuildBatchWithContext added in v1.33.16

func (c *CodeBuild) StartBuildBatchWithContext(ctx aws.Context, input *StartBuildBatchInput, opts ...request.Option) (*StartBuildBatchOutput, error)

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

See StartBuildBatch 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) 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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) StopBuildBatch added in v1.33.16

func (c *CodeBuild) StopBuildBatch(input *StopBuildBatchInput) (*StopBuildBatchOutput, error)

StopBuildBatch API operation for AWS CodeBuild.

Stops a running batch 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 StopBuildBatch for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) StopBuildBatchRequest added in v1.33.16

func (c *CodeBuild) StopBuildBatchRequest(input *StopBuildBatchInput) (req *request.Request, output *StopBuildBatchOutput)

StopBuildBatchRequest generates a "aws/request.Request" representing the client's request for the StopBuildBatch 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 StopBuildBatch for more information on using the StopBuildBatch 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 StopBuildBatchRequest method.
req, resp := client.StopBuildBatchRequest(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/StopBuildBatch

func (*CodeBuild) StopBuildBatchWithContext added in v1.33.16

func (c *CodeBuild) StopBuildBatchWithContext(ctx aws.Context, input *StopBuildBatchInput, opts ...request.Option) (*StopBuildBatchOutput, error)

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

See StopBuildBatch 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) 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) UpdateFleet added in v1.50.0

func (c *CodeBuild) UpdateFleet(input *UpdateFleetInput) (*UpdateFleetOutput, error)

UpdateFleet API operation for AWS CodeBuild.

Updates a compute fleet.

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 UpdateFleet for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

  • AccountLimitExceededException An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.

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

func (*CodeBuild) UpdateFleetRequest added in v1.50.0

func (c *CodeBuild) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Request, output *UpdateFleetOutput)

UpdateFleetRequest generates a "aws/request.Request" representing the client's request for the UpdateFleet 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 UpdateFleet for more information on using the UpdateFleet 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 UpdateFleetRequest method.
req, resp := client.UpdateFleetRequest(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/UpdateFleet

func (*CodeBuild) UpdateFleetWithContext added in v1.50.0

func (c *CodeBuild) UpdateFleetWithContext(ctx aws.Context, input *UpdateFleetInput, opts ...request.Option) (*UpdateFleetOutput, error)

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

See UpdateFleet 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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services 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) UpdateProjectVisibility added in v1.40.20

func (c *CodeBuild) UpdateProjectVisibility(input *UpdateProjectVisibilityInput) (*UpdateProjectVisibilityOutput, error)

UpdateProjectVisibility API operation for AWS CodeBuild.

Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects (https://docs.aws.amazon.com/codebuild/latest/userguide/public-builds.html) in the CodeBuild User Guide.

The following should be kept in mind when making your projects public:

  • All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.

  • All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are: Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values. Follow Best practices for using webhooks (https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices) in the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.

  • A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.

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 UpdateProjectVisibility for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) UpdateProjectVisibilityRequest added in v1.40.20

func (c *CodeBuild) UpdateProjectVisibilityRequest(input *UpdateProjectVisibilityInput) (req *request.Request, output *UpdateProjectVisibilityOutput)

UpdateProjectVisibilityRequest generates a "aws/request.Request" representing the client's request for the UpdateProjectVisibility 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 UpdateProjectVisibility for more information on using the UpdateProjectVisibility 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 UpdateProjectVisibilityRequest method.
req, resp := client.UpdateProjectVisibilityRequest(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/UpdateProjectVisibility

func (*CodeBuild) UpdateProjectVisibilityWithContext added in v1.40.20

func (c *CodeBuild) UpdateProjectVisibilityWithContext(ctx aws.Context, input *UpdateProjectVisibilityInput, opts ...request.Option) (*UpdateProjectVisibilityOutput, error)

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

See UpdateProjectVisibility 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) 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) UpdateReportGroup added in v1.25.42

func (c *CodeBuild) UpdateReportGroup(input *UpdateReportGroupInput) (*UpdateReportGroupOutput, error)

UpdateReportGroup API operation for AWS CodeBuild.

Updates a report group.

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 UpdateReportGroup for usage and error information.

Returned Error Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

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

func (*CodeBuild) UpdateReportGroupRequest added in v1.25.42

func (c *CodeBuild) UpdateReportGroupRequest(input *UpdateReportGroupInput) (req *request.Request, output *UpdateReportGroupOutput)

UpdateReportGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateReportGroup 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 UpdateReportGroup for more information on using the UpdateReportGroup 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 UpdateReportGroupRequest method.
req, resp := client.UpdateReportGroupRequest(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/UpdateReportGroup

func (*CodeBuild) UpdateReportGroupWithContext added in v1.25.42

func (c *CodeBuild) UpdateReportGroupWithContext(ctx aws.Context, input *UpdateReportGroupInput, opts ...request.Option) (*UpdateReportGroupOutput, error)

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

See UpdateReportGroup 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 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 Types:

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

  • ResourceNotFoundException The specified Amazon Web Services resource cannot be found.

  • 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 CodeCoverage added in v1.33.16

type CodeCoverage struct {

	// The percentage of branches that are covered by your tests.
	BranchCoveragePercentage *float64 `locationName:"branchCoveragePercentage" type:"double"`

	// The number of conditional branches that are covered by your tests.
	BranchesCovered *int64 `locationName:"branchesCovered" type:"integer"`

	// The number of conditional branches that are not covered by your tests.
	BranchesMissed *int64 `locationName:"branchesMissed" type:"integer"`

	// The date and time that the tests were run.
	Expired *time.Time `locationName:"expired" type:"timestamp"`

	// The path of the test report file.
	FilePath *string `locationName:"filePath" min:"1" type:"string"`

	// The identifier of the code coverage report.
	Id *string `locationName:"id" min:"1" type:"string"`

	// The percentage of lines that are covered by your tests.
	LineCoveragePercentage *float64 `locationName:"lineCoveragePercentage" type:"double"`

	// The number of lines that are covered by your tests.
	LinesCovered *int64 `locationName:"linesCovered" type:"integer"`

	// The number of lines that are not covered by your tests.
	LinesMissed *int64 `locationName:"linesMissed" type:"integer"`

	// The ARN of the report.
	ReportARN *string `locationName:"reportARN" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains code coverage report information.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement.

func (CodeCoverage) GoString added in v1.33.16

func (s CodeCoverage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeCoverage) SetBranchCoveragePercentage added in v1.33.16

func (s *CodeCoverage) SetBranchCoveragePercentage(v float64) *CodeCoverage

SetBranchCoveragePercentage sets the BranchCoveragePercentage field's value.

func (*CodeCoverage) SetBranchesCovered added in v1.33.16

func (s *CodeCoverage) SetBranchesCovered(v int64) *CodeCoverage

SetBranchesCovered sets the BranchesCovered field's value.

func (*CodeCoverage) SetBranchesMissed added in v1.33.16

func (s *CodeCoverage) SetBranchesMissed(v int64) *CodeCoverage

SetBranchesMissed sets the BranchesMissed field's value.

func (*CodeCoverage) SetExpired added in v1.33.16

func (s *CodeCoverage) SetExpired(v time.Time) *CodeCoverage

SetExpired sets the Expired field's value.

func (*CodeCoverage) SetFilePath added in v1.33.16

func (s *CodeCoverage) SetFilePath(v string) *CodeCoverage

SetFilePath sets the FilePath field's value.

func (*CodeCoverage) SetId added in v1.33.16

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

SetId sets the Id field's value.

func (*CodeCoverage) SetLineCoveragePercentage added in v1.33.16

func (s *CodeCoverage) SetLineCoveragePercentage(v float64) *CodeCoverage

SetLineCoveragePercentage sets the LineCoveragePercentage field's value.

func (*CodeCoverage) SetLinesCovered added in v1.33.16

func (s *CodeCoverage) SetLinesCovered(v int64) *CodeCoverage

SetLinesCovered sets the LinesCovered field's value.

func (*CodeCoverage) SetLinesMissed added in v1.33.16

func (s *CodeCoverage) SetLinesMissed(v int64) *CodeCoverage

SetLinesMissed sets the LinesMissed field's value.

func (*CodeCoverage) SetReportARN added in v1.33.16

func (s *CodeCoverage) SetReportARN(v string) *CodeCoverage

SetReportARN sets the ReportARN field's value.

func (CodeCoverage) String added in v1.33.16

func (s CodeCoverage) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeCoverageReportSummary added in v1.33.16

type CodeCoverageReportSummary struct {

	// The percentage of branches that are covered by your tests.
	BranchCoveragePercentage *float64 `locationName:"branchCoveragePercentage" type:"double"`

	// The number of conditional branches that are covered by your tests.
	BranchesCovered *int64 `locationName:"branchesCovered" type:"integer"`

	// The number of conditional branches that are not covered by your tests.
	BranchesMissed *int64 `locationName:"branchesMissed" type:"integer"`

	// The percentage of lines that are covered by your tests.
	LineCoveragePercentage *float64 `locationName:"lineCoveragePercentage" type:"double"`

	// The number of lines that are covered by your tests.
	LinesCovered *int64 `locationName:"linesCovered" type:"integer"`

	// The number of lines that are not covered by your tests.
	LinesMissed *int64 `locationName:"linesMissed" type:"integer"`
	// contains filtered or unexported fields
}

Contains a summary of a code coverage report.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement.

func (CodeCoverageReportSummary) GoString added in v1.33.16

func (s CodeCoverageReportSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CodeCoverageReportSummary) SetBranchCoveragePercentage added in v1.33.16

func (s *CodeCoverageReportSummary) SetBranchCoveragePercentage(v float64) *CodeCoverageReportSummary

SetBranchCoveragePercentage sets the BranchCoveragePercentage field's value.

func (*CodeCoverageReportSummary) SetBranchesCovered added in v1.33.16

func (s *CodeCoverageReportSummary) SetBranchesCovered(v int64) *CodeCoverageReportSummary

SetBranchesCovered sets the BranchesCovered field's value.

func (*CodeCoverageReportSummary) SetBranchesMissed added in v1.33.16

SetBranchesMissed sets the BranchesMissed field's value.

func (*CodeCoverageReportSummary) SetLineCoveragePercentage added in v1.33.16

func (s *CodeCoverageReportSummary) SetLineCoveragePercentage(v float64) *CodeCoverageReportSummary

SetLineCoveragePercentage sets the LineCoveragePercentage field's value.

func (*CodeCoverageReportSummary) SetLinesCovered added in v1.33.16

SetLinesCovered sets the LinesCovered field's value.

func (*CodeCoverageReportSummary) SetLinesMissed added in v1.33.16

SetLinesMissed sets the LinesMissed field's value.

func (CodeCoverageReportSummary) String added in v1.33.16

func (s CodeCoverageReportSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateFleetInput added in v1.50.0

type CreateFleetInput struct {

	// The initial number of machines allocated to the fleet, which defines the
	// number of builds that can run in parallel.
	//
	// BaseCapacity is a required field
	BaseCapacity *int64 `locationName:"baseCapacity" min:"1" type:"integer" required:"true"`

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

	// The environment type of the compute fleet.
	//
	//    * The environment type ARM_CONTAINER is available only in regions US East
	//    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
	//    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), EU (Frankfurt), and South America (São Paulo).
	//
	//    * The environment type LINUX_CONTAINER is available only in regions US
	//    East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU
	//    (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	//
	//    * The environment type LINUX_GPU_CONTAINER is available only in regions
	//    US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
	//    EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	//
	//    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia
	//    Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	//
	//    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
	//    (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore),
	//    Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, see Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild user guide.
	//
	// EnvironmentType is a required field
	EnvironmentType *string `locationName:"environmentType" type:"string" required:"true" enum:"EnvironmentType"`

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

	// The compute fleet overflow behavior.
	//
	//    * For overflow behavior QUEUE, your overflow builds need to wait on the
	//    existing fleet instance to become available.
	//
	//    * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild
	//    on-demand.
	OverflowBehavior *string `locationName:"overflowBehavior" type:"string" enum:"FleetOverflowBehavior"`

	// The scaling configuration of the compute fleet.
	ScalingConfiguration *ScalingConfigurationInput_ `locationName:"scalingConfiguration" type:"structure"`

	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateFleetInput) GoString added in v1.50.0

func (s CreateFleetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetInput) SetBaseCapacity added in v1.50.0

func (s *CreateFleetInput) SetBaseCapacity(v int64) *CreateFleetInput

SetBaseCapacity sets the BaseCapacity field's value.

func (*CreateFleetInput) SetComputeType added in v1.50.0

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

SetComputeType sets the ComputeType field's value.

func (*CreateFleetInput) SetEnvironmentType added in v1.50.0

func (s *CreateFleetInput) SetEnvironmentType(v string) *CreateFleetInput

SetEnvironmentType sets the EnvironmentType field's value.

func (*CreateFleetInput) SetName added in v1.50.0

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

SetName sets the Name field's value.

func (*CreateFleetInput) SetOverflowBehavior added in v1.51.1

func (s *CreateFleetInput) SetOverflowBehavior(v string) *CreateFleetInput

SetOverflowBehavior sets the OverflowBehavior field's value.

func (*CreateFleetInput) SetScalingConfiguration added in v1.50.0

func (s *CreateFleetInput) SetScalingConfiguration(v *ScalingConfigurationInput_) *CreateFleetInput

SetScalingConfiguration sets the ScalingConfiguration field's value.

func (*CreateFleetInput) SetTags added in v1.50.0

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

SetTags sets the Tags field's value.

func (CreateFleetInput) String added in v1.50.0

func (s CreateFleetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetInput) Validate added in v1.50.0

func (s *CreateFleetInput) Validate() error

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

type CreateFleetOutput added in v1.50.0

type CreateFleetOutput struct {

	// Information about the compute fleet
	Fleet *Fleet `locationName:"fleet" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateFleetOutput) GoString added in v1.50.0

func (s CreateFleetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateFleetOutput) SetFleet added in v1.50.0

func (s *CreateFleetOutput) SetFleet(v *Fleet) *CreateFleetOutput

SetFleet sets the Fleet field's value.

func (CreateFleetOutput) String added in v1.50.0

func (s CreateFleetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// A ProjectBuildBatchConfig object that defines the batch build options for
	// the project.
	BuildBatchConfig *ProjectBuildBatchConfig `locationName:"buildBatchConfig" type:"structure"`

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

	// The maximum number of concurrent builds that are allowed for this project.
	//
	// New builds are only started if the current number of builds is less than
	// or equal to this limit. If the current build count meets this limit, new
	// builds are throttled and are not run.
	ConcurrentBuildLimit *int64 `locationName:"concurrentBuildLimit" type:"integer"`

	// A description that makes the build project easy to identify.
	Description *string `locationName:"description" type:"string"`

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

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

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

	// Information about logs for the build project. These can be logs in CloudWatch
	// Logs, logs uploaded to a specified S3 bucket, or both.
	LogsConfig *LogsConfig `locationName:"logsConfig" type:"structure"`

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

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

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

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

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

	// The ARN of the IAM role that enables CodeBuild to interact with dependent
	// Amazon Web Services services on behalf of the Amazon Web Services account.
	//
	// ServiceRole is a required field
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string" required:"true"`

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

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

	// A list of tag key and value pairs associated with this build project.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`

	// How long, in minutes, from 5 to 480 (8 hours), for 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 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetBuildBatchConfig added in v1.33.16

SetBuildBatchConfig sets the BuildBatchConfig field's value.

func (*CreateProjectInput) SetCache added in v1.12.32

SetCache sets the Cache field's value.

func (*CreateProjectInput) SetConcurrentBuildLimit added in v1.37.12

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

SetConcurrentBuildLimit sets the ConcurrentBuildLimit 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) SetFileSystemLocations added in v1.28.12

func (s *CreateProjectInput) SetFileSystemLocations(v []*ProjectFileSystemLocation) *CreateProjectInput

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*CreateProjectInput) SetLogsConfig added in v1.15.36

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 added in v1.15.77

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*CreateProjectInput) SetSecondaryArtifacts added in v1.15.25

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*CreateProjectInput) SetSecondarySourceVersions added in v1.19.47

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*CreateProjectInput) SetSecondarySources added in v1.15.25

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) SetSourceVersion added in v1.19.47

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

SetSourceVersion sets the SourceVersion 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateReportGroupInput added in v1.25.42

type CreateReportGroupInput struct {

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

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

	// A list of tag key and value pairs associated with this report group.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild report group tags.
	Tags []*Tag `locationName:"tags" type:"list"`

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

func (CreateReportGroupInput) GoString added in v1.25.42

func (s CreateReportGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReportGroupInput) SetExportConfig added in v1.25.42

SetExportConfig sets the ExportConfig field's value.

func (*CreateReportGroupInput) SetName added in v1.25.42

SetName sets the Name field's value.

func (*CreateReportGroupInput) SetTags added in v1.31.3

SetTags sets the Tags field's value.

func (*CreateReportGroupInput) SetType added in v1.25.42

SetType sets the Type field's value.

func (CreateReportGroupInput) String added in v1.25.42

func (s CreateReportGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReportGroupInput) Validate added in v1.25.42

func (s *CreateReportGroupInput) Validate() error

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

type CreateReportGroupOutput added in v1.25.42

type CreateReportGroupOutput struct {

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

func (CreateReportGroupOutput) GoString added in v1.25.42

func (s CreateReportGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateReportGroupOutput) SetReportGroup added in v1.25.42

SetReportGroup sets the ReportGroup field's value.

func (CreateReportGroupOutput) String added in v1.25.42

func (s CreateReportGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.
	//
	// It is recommended that you use filterGroups instead of branchFilter.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// Specifies the type of build this webhook will trigger.
	BuildType *string `locationName:"buildType" type:"string" enum:"WebhookBuildType"`

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

	// The name of the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateWebhookInput) SetBranchFilter added in v1.13.19

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

SetBranchFilter sets the BranchFilter field's value.

func (*CreateWebhookInput) SetBuildType added in v1.33.16

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

SetBuildType sets the BuildType field's value.

func (*CreateWebhookInput) SetFilterGroups added in v1.16.32

func (s *CreateWebhookInput) SetFilterGroups(v [][]*WebhookFilter) *CreateWebhookInput

SetFilterGroups sets the FilterGroups 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DebugSession added in v1.33.8

type DebugSession struct {

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

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

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

func (DebugSession) GoString added in v1.33.8

func (s DebugSession) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DebugSession) SetSessionEnabled added in v1.33.8

func (s *DebugSession) SetSessionEnabled(v bool) *DebugSession

SetSessionEnabled sets the SessionEnabled field's value.

func (*DebugSession) SetSessionTarget added in v1.33.8

func (s *DebugSession) SetSessionTarget(v string) *DebugSession

SetSessionTarget sets the SessionTarget field's value.

func (DebugSession) String added in v1.33.8

func (s DebugSession) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteBuildBatchInput added in v1.33.16

type DeleteBuildBatchInput struct {

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

func (DeleteBuildBatchInput) GoString added in v1.33.16

func (s DeleteBuildBatchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBuildBatchInput) SetId added in v1.33.16

SetId sets the Id field's value.

func (DeleteBuildBatchInput) String added in v1.33.16

func (s DeleteBuildBatchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBuildBatchInput) Validate added in v1.33.16

func (s *DeleteBuildBatchInput) Validate() error

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

type DeleteBuildBatchOutput added in v1.33.16

type DeleteBuildBatchOutput struct {

	// An array of strings that contain the identifiers of the builds that were
	// deleted.
	BuildsDeleted []*string `locationName:"buildsDeleted" min:"1" type:"list"`

	// An array of BuildNotDeleted objects that specify the builds that could not
	// be deleted.
	BuildsNotDeleted []*BuildNotDeleted `locationName:"buildsNotDeleted" type:"list"`

	// The status code.
	StatusCode *string `locationName:"statusCode" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBuildBatchOutput) GoString added in v1.33.16

func (s DeleteBuildBatchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBuildBatchOutput) SetBuildsDeleted added in v1.33.16

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

SetBuildsDeleted sets the BuildsDeleted field's value.

func (*DeleteBuildBatchOutput) SetBuildsNotDeleted added in v1.33.16

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

SetBuildsNotDeleted sets the BuildsNotDeleted field's value.

func (*DeleteBuildBatchOutput) SetStatusCode added in v1.33.16

SetStatusCode sets the StatusCode field's value.

func (DeleteBuildBatchOutput) String added in v1.33.16

func (s DeleteBuildBatchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteFleetInput added in v1.50.0

type DeleteFleetInput struct {

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

func (DeleteFleetInput) GoString added in v1.50.0

func (s DeleteFleetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetInput) SetArn added in v1.50.0

SetArn sets the Arn field's value.

func (DeleteFleetInput) String added in v1.50.0

func (s DeleteFleetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteFleetInput) Validate added in v1.50.0

func (s *DeleteFleetInput) Validate() error

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

type DeleteFleetOutput added in v1.50.0

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

func (DeleteFleetOutput) GoString added in v1.50.0

func (s DeleteFleetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteFleetOutput) String added in v1.50.0

func (s DeleteFleetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteProjectInput) SetName

SetName sets the Name field's value.

func (DeleteProjectInput) String

func (s DeleteProjectInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteProjectOutput) String

func (s DeleteProjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReportGroupInput added in v1.25.42

type DeleteReportGroupInput struct {

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

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

func (DeleteReportGroupInput) GoString added in v1.25.42

func (s DeleteReportGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReportGroupInput) SetArn added in v1.25.42

SetArn sets the Arn field's value.

func (*DeleteReportGroupInput) SetDeleteReports added in v1.34.19

func (s *DeleteReportGroupInput) SetDeleteReports(v bool) *DeleteReportGroupInput

SetDeleteReports sets the DeleteReports field's value.

func (DeleteReportGroupInput) String added in v1.25.42

func (s DeleteReportGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReportGroupInput) Validate added in v1.25.42

func (s *DeleteReportGroupInput) Validate() error

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

type DeleteReportGroupOutput added in v1.25.42

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

func (DeleteReportGroupOutput) GoString added in v1.25.42

func (s DeleteReportGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteReportGroupOutput) String added in v1.25.42

func (s DeleteReportGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteReportInput added in v1.25.42

type DeleteReportInput struct {

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

func (DeleteReportInput) GoString added in v1.25.42

func (s DeleteReportInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReportInput) SetArn added in v1.25.42

SetArn sets the Arn field's value.

func (DeleteReportInput) String added in v1.25.42

func (s DeleteReportInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteReportInput) Validate added in v1.25.42

func (s *DeleteReportInput) Validate() error

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

type DeleteReportOutput added in v1.25.42

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

func (DeleteReportOutput) GoString added in v1.25.42

func (s DeleteReportOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteReportOutput) String added in v1.25.42

func (s DeleteReportOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteResourcePolicyInput added in v1.26.2

type DeleteResourcePolicyInput struct {

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

func (DeleteResourcePolicyInput) GoString added in v1.26.2

func (s DeleteResourcePolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourcePolicyInput) SetResourceArn added in v1.26.2

SetResourceArn sets the ResourceArn field's value.

func (DeleteResourcePolicyInput) String added in v1.26.2

func (s DeleteResourcePolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourcePolicyInput) Validate added in v1.26.2

func (s *DeleteResourcePolicyInput) Validate() error

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

type DeleteResourcePolicyOutput added in v1.26.2

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

func (DeleteResourcePolicyOutput) GoString added in v1.26.2

func (s DeleteResourcePolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteResourcePolicyOutput) String added in v1.26.2

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSourceCredentialsInput added in v1.16.1

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 added in v1.16.1

func (s DeleteSourceCredentialsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSourceCredentialsInput) SetArn added in v1.16.1

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsInput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSourceCredentialsInput) Validate added in v1.16.1

func (s *DeleteSourceCredentialsInput) Validate() error

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

type DeleteSourceCredentialsOutput added in v1.16.1

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 added in v1.16.1

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSourceCredentialsOutput) SetArn added in v1.16.1

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsOutput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteWebhookInput added in v1.12.2

type DeleteWebhookInput struct {

	// The name of the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteWebhookOutput) String added in v1.12.2

func (s DeleteWebhookOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeCodeCoveragesInput added in v1.33.16

type DescribeCodeCoveragesInput struct {

	// The maximum line coverage percentage to report.
	MaxLineCoveragePercentage *float64 `locationName:"maxLineCoveragePercentage" type:"double"`

	// The maximum number of results to return.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The minimum line coverage percentage to report.
	MinLineCoveragePercentage *float64 `locationName:"minLineCoveragePercentage" type:"double"`

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

	// The ARN of the report for which test cases are returned.
	//
	// ReportArn is a required field
	ReportArn *string `locationName:"reportArn" min:"1" type:"string" required:"true"`

	// Specifies how the results are sorted. Possible values are:
	//
	// FILE_PATH
	//
	// The results are sorted by file path.
	//
	// LINE_COVERAGE_PERCENTAGE
	//
	// The results are sorted by the percentage of lines that are covered.
	SortBy *string `locationName:"sortBy" type:"string" enum:"ReportCodeCoverageSortByType"`

	// Specifies if the results are sorted in ascending or descending order.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
	// contains filtered or unexported fields
}

func (DescribeCodeCoveragesInput) GoString added in v1.33.16

func (s DescribeCodeCoveragesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCodeCoveragesInput) SetMaxLineCoveragePercentage added in v1.33.16

func (s *DescribeCodeCoveragesInput) SetMaxLineCoveragePercentage(v float64) *DescribeCodeCoveragesInput

SetMaxLineCoveragePercentage sets the MaxLineCoveragePercentage field's value.

func (*DescribeCodeCoveragesInput) SetMaxResults added in v1.33.16

SetMaxResults sets the MaxResults field's value.

func (*DescribeCodeCoveragesInput) SetMinLineCoveragePercentage added in v1.33.16

func (s *DescribeCodeCoveragesInput) SetMinLineCoveragePercentage(v float64) *DescribeCodeCoveragesInput

SetMinLineCoveragePercentage sets the MinLineCoveragePercentage field's value.

func (*DescribeCodeCoveragesInput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*DescribeCodeCoveragesInput) SetReportArn added in v1.33.16

SetReportArn sets the ReportArn field's value.

func (*DescribeCodeCoveragesInput) SetSortBy added in v1.33.16

SetSortBy sets the SortBy field's value.

func (*DescribeCodeCoveragesInput) SetSortOrder added in v1.33.16

SetSortOrder sets the SortOrder field's value.

func (DescribeCodeCoveragesInput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCodeCoveragesInput) Validate added in v1.33.16

func (s *DescribeCodeCoveragesInput) Validate() error

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

type DescribeCodeCoveragesOutput added in v1.33.16

type DescribeCodeCoveragesOutput struct {

	// An array of CodeCoverage objects that contain the results.
	CodeCoverages []*CodeCoverage `locationName:"codeCoverages" type:"list"`

	// If there are more items to return, this contains a token that is passed to
	// a subsequent call to DescribeCodeCoverages to retrieve the next set of items.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCodeCoveragesOutput) GoString added in v1.33.16

func (s DescribeCodeCoveragesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeCodeCoveragesOutput) SetCodeCoverages added in v1.33.16

SetCodeCoverages sets the CodeCoverages field's value.

func (*DescribeCodeCoveragesOutput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (DescribeCodeCoveragesOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTestCasesInput added in v1.25.42

type DescribeTestCasesInput struct {

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

	// The maximum number of paginated test cases returned per response. Use nextToken
	// to iterate pages in the list of returned TestCase objects. The default value
	// is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

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

func (DescribeTestCasesInput) GoString added in v1.25.42

func (s DescribeTestCasesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTestCasesInput) SetFilter added in v1.25.42

SetFilter sets the Filter field's value.

func (*DescribeTestCasesInput) SetMaxResults added in v1.25.42

SetMaxResults sets the MaxResults field's value.

func (*DescribeTestCasesInput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*DescribeTestCasesInput) SetReportArn added in v1.25.42

SetReportArn sets the ReportArn field's value.

func (DescribeTestCasesInput) String added in v1.25.42

func (s DescribeTestCasesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTestCasesInput) Validate added in v1.25.42

func (s *DescribeTestCasesInput) Validate() error

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

type DescribeTestCasesOutput added in v1.25.42

type DescribeTestCasesOutput struct {

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

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

func (DescribeTestCasesOutput) GoString added in v1.25.42

func (s DescribeTestCasesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTestCasesOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*DescribeTestCasesOutput) SetTestCases added in v1.25.42

SetTestCases sets the TestCases field's value.

func (DescribeTestCasesOutput) String added in v1.25.42

func (s DescribeTestCasesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

func (EnvironmentImage) GoString

func (s EnvironmentImage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

func (EnvironmentLanguage) GoString

func (s EnvironmentLanguage) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

func (EnvironmentPlatform) GoString

func (s EnvironmentPlatform) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 Systems Manager Parameter
	//    Store. For environment variables of this type, specify the name of the
	//    parameter as the value of the EnvironmentVariable. The parameter value
	//    will be substituted for the name at runtime. You can also define Parameter
	//    Store environment variables in the buildspec. To learn how to do so, see
	//    env/parameter-store (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store)
	//    in the CodeBuild User Guide.
	//
	//    * PLAINTEXT: An environment variable in plain text format. This is the
	//    default value.
	//
	//    * SECRETS_MANAGER: An environment variable stored in Secrets Manager.
	//    For environment variables of this type, specify the name of the secret
	//    as the value of the EnvironmentVariable. The secret value will be substituted
	//    for the name at runtime. You can also define Secrets Manager environment
	//    variables in the buildspec. To learn how to do so, see env/secrets-manager
	//    (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager)
	//    in the CodeBuild User Guide.
	Type *string `locationName:"type" type:"string" enum:"EnvironmentVariableType"`

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

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

func (EnvironmentVariable) GoString

func (s EnvironmentVariable) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnvironmentVariable) Validate

func (s *EnvironmentVariable) Validate() error

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

type ExportedEnvironmentVariable added in v1.25.28

type ExportedEnvironmentVariable struct {

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

	// The value assigned to the exported environment variable.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Contains information about an exported environment variable.

Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables (https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html) in the CodePipeline User Guide.

During a build, the value of a variable is available starting with the install phase. It can be updated between the start of the install phase and the end of the post_build phase. After the post_build phase ends, the value of exported variables cannot change.

func (ExportedEnvironmentVariable) GoString added in v1.25.28

func (s ExportedEnvironmentVariable) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExportedEnvironmentVariable) SetName added in v1.25.28

SetName sets the Name field's value.

func (*ExportedEnvironmentVariable) SetValue added in v1.25.28

SetValue sets the Value field's value.

func (ExportedEnvironmentVariable) String added in v1.25.28

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Fleet added in v1.50.0

type Fleet struct {

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

	// The initial number of machines allocated to the compute fleet, which defines
	// the number of builds that can run in parallel.
	BaseCapacity *int64 `locationName:"baseCapacity" min:"1" type:"integer"`

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

	// The time at which the compute fleet was created.
	Created *time.Time `locationName:"created" type:"timestamp"`

	// The environment type of the compute fleet.
	//
	//    * The environment type ARM_CONTAINER is available only in regions US East
	//    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
	//    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), EU (Frankfurt), and South America (São Paulo).
	//
	//    * The environment type LINUX_CONTAINER is available only in regions US
	//    East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU
	//    (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	//
	//    * The environment type LINUX_GPU_CONTAINER is available only in regions
	//    US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
	//    EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	//
	//    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia
	//    Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	//
	//    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
	//    (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore),
	//    Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, see Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild user guide.
	EnvironmentType *string `locationName:"environmentType" type:"string" enum:"EnvironmentType"`

	// The ID of the compute fleet.
	Id *string `locationName:"id" min:"1" type:"string"`

	// The time at which the compute fleet was last modified.
	LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

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

	// The compute fleet overflow behavior.
	//
	//    * For overflow behavior QUEUE, your overflow builds need to wait on the
	//    existing fleet instance to become available.
	//
	//    * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild
	//    on-demand.
	OverflowBehavior *string `locationName:"overflowBehavior" type:"string" enum:"FleetOverflowBehavior"`

	// The scaling configuration of the compute fleet.
	ScalingConfiguration *ScalingConfigurationOutput_ `locationName:"scalingConfiguration" type:"structure"`

	// The status of the compute fleet.
	Status *FleetStatus `locationName:"status" type:"structure"`

	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

A set of dedicated instances for your build environment.

func (Fleet) GoString added in v1.50.0

func (s Fleet) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Fleet) SetArn added in v1.50.0

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

SetArn sets the Arn field's value.

func (*Fleet) SetBaseCapacity added in v1.50.0

func (s *Fleet) SetBaseCapacity(v int64) *Fleet

SetBaseCapacity sets the BaseCapacity field's value.

func (*Fleet) SetComputeType added in v1.50.0

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

SetComputeType sets the ComputeType field's value.

func (*Fleet) SetCreated added in v1.50.0

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

SetCreated sets the Created field's value.

func (*Fleet) SetEnvironmentType added in v1.50.0

func (s *Fleet) SetEnvironmentType(v string) *Fleet

SetEnvironmentType sets the EnvironmentType field's value.

func (*Fleet) SetId added in v1.50.0

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

SetId sets the Id field's value.

func (*Fleet) SetLastModified added in v1.50.0

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

SetLastModified sets the LastModified field's value.

func (*Fleet) SetName added in v1.50.0

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

SetName sets the Name field's value.

func (*Fleet) SetOverflowBehavior added in v1.51.1

func (s *Fleet) SetOverflowBehavior(v string) *Fleet

SetOverflowBehavior sets the OverflowBehavior field's value.

func (*Fleet) SetScalingConfiguration added in v1.50.0

func (s *Fleet) SetScalingConfiguration(v *ScalingConfigurationOutput_) *Fleet

SetScalingConfiguration sets the ScalingConfiguration field's value.

func (*Fleet) SetStatus added in v1.50.0

func (s *Fleet) SetStatus(v *FleetStatus) *Fleet

SetStatus sets the Status field's value.

func (*Fleet) SetTags added in v1.50.0

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

SetTags sets the Tags field's value.

func (Fleet) String added in v1.50.0

func (s Fleet) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FleetStatus added in v1.50.0

type FleetStatus struct {

	// Additional information about a compute fleet. Valid values include:
	//
	//    * CREATE_FAILED: The compute fleet has failed to create.
	//
	//    * UPDATE_FAILED: The compute fleet has failed to update.
	Context *string `locationName:"context" type:"string" enum:"FleetContextCode"`

	// A message associated with the status of a compute fleet.
	Message *string `locationName:"message" type:"string"`

	// The status code of the compute fleet. Valid values include:
	//
	//    * CREATING: The compute fleet is being created.
	//
	//    * UPDATING: The compute fleet is being updated.
	//
	//    * ROTATING: The compute fleet is being rotated.
	//
	//    * PENDING_DELETION: The compute fleet is pending deletion.
	//
	//    * DELETING: The compute fleet is being deleted.
	//
	//    * CREATE_FAILED: The compute fleet has failed to create.
	//
	//    * UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could
	//    not rollback to previous state.
	//
	//    * ACTIVE: The compute fleet has succeeded and is active.
	StatusCode *string `locationName:"statusCode" type:"string" enum:"FleetStatusCode"`
	// contains filtered or unexported fields
}

The status of the compute fleet.

func (FleetStatus) GoString added in v1.50.0

func (s FleetStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FleetStatus) SetContext added in v1.50.0

func (s *FleetStatus) SetContext(v string) *FleetStatus

SetContext sets the Context field's value.

func (*FleetStatus) SetMessage added in v1.50.0

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

SetMessage sets the Message field's value.

func (*FleetStatus) SetStatusCode added in v1.50.0

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

SetStatusCode sets the StatusCode field's value.

func (FleetStatus) String added in v1.50.0

func (s FleetStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetReportGroupTrendInput added in v1.35.35

type GetReportGroupTrendInput struct {

	// The number of reports to analyze. This operation always retrieves the most
	// recent reports.
	//
	// If this parameter is omitted, the most recent 100 reports are analyzed.
	NumOfReports *int64 `locationName:"numOfReports" min:"1" type:"integer"`

	// The ARN of the report group that contains the reports to analyze.
	//
	// ReportGroupArn is a required field
	ReportGroupArn *string `locationName:"reportGroupArn" min:"1" type:"string" required:"true"`

	// The test report value to accumulate. This must be one of the following values:
	//
	// Test reports:
	//
	// DURATION
	//
	// Accumulate the test run times for the specified reports.
	//
	// PASS_RATE
	//
	// Accumulate the percentage of tests that passed for the specified test reports.
	//
	// TOTAL
	//
	// Accumulate the total number of tests for the specified test reports.
	//
	// Code coverage reports:
	//
	// BRANCH_COVERAGE
	//
	// Accumulate the branch coverage percentages for the specified test reports.
	//
	// BRANCHES_COVERED
	//
	// Accumulate the branches covered values for the specified test reports.
	//
	// BRANCHES_MISSED
	//
	// Accumulate the branches missed values for the specified test reports.
	//
	// LINE_COVERAGE
	//
	// Accumulate the line coverage percentages for the specified test reports.
	//
	// LINES_COVERED
	//
	// Accumulate the lines covered values for the specified test reports.
	//
	// LINES_MISSED
	//
	// Accumulate the lines not covered values for the specified test reports.
	//
	// TrendField is a required field
	TrendField *string `locationName:"trendField" type:"string" required:"true" enum:"ReportGroupTrendFieldType"`
	// contains filtered or unexported fields
}

func (GetReportGroupTrendInput) GoString added in v1.35.35

func (s GetReportGroupTrendInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetReportGroupTrendInput) SetNumOfReports added in v1.35.35

SetNumOfReports sets the NumOfReports field's value.

func (*GetReportGroupTrendInput) SetReportGroupArn added in v1.35.35

func (s *GetReportGroupTrendInput) SetReportGroupArn(v string) *GetReportGroupTrendInput

SetReportGroupArn sets the ReportGroupArn field's value.

func (*GetReportGroupTrendInput) SetTrendField added in v1.35.35

SetTrendField sets the TrendField field's value.

func (GetReportGroupTrendInput) String added in v1.35.35

func (s GetReportGroupTrendInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetReportGroupTrendInput) Validate added in v1.35.35

func (s *GetReportGroupTrendInput) Validate() error

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

type GetReportGroupTrendOutput added in v1.35.35

type GetReportGroupTrendOutput struct {

	// An array that contains the raw data for each report.
	RawData []*ReportWithRawData `locationName:"rawData" type:"list"`

	// Contains the accumulated trend data.
	Stats *ReportGroupTrendStats `locationName:"stats" type:"structure"`
	// contains filtered or unexported fields
}

func (GetReportGroupTrendOutput) GoString added in v1.35.35

func (s GetReportGroupTrendOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetReportGroupTrendOutput) SetRawData added in v1.35.35

SetRawData sets the RawData field's value.

func (*GetReportGroupTrendOutput) SetStats added in v1.35.35

SetStats sets the Stats field's value.

func (GetReportGroupTrendOutput) String added in v1.35.35

func (s GetReportGroupTrendOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetResourcePolicyInput added in v1.26.2

type GetResourcePolicyInput struct {

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

func (GetResourcePolicyInput) GoString added in v1.26.2

func (s GetResourcePolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyInput) SetResourceArn added in v1.26.2

SetResourceArn sets the ResourceArn field's value.

func (GetResourcePolicyInput) String added in v1.26.2

func (s GetResourcePolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyInput) Validate added in v1.26.2

func (s *GetResourcePolicyInput) Validate() error

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

type GetResourcePolicyOutput added in v1.26.2

type GetResourcePolicyOutput struct {

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

func (GetResourcePolicyOutput) GoString added in v1.26.2

func (s GetResourcePolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyOutput) SetPolicy added in v1.26.2

SetPolicy sets the Policy field's value.

func (GetResourcePolicyOutput) String added in v1.26.2

func (s GetResourcePolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GitSubmodulesConfig added in v1.17.14

type GitSubmodulesConfig struct {

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

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

func (GitSubmodulesConfig) GoString added in v1.17.14

func (s GitSubmodulesConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GitSubmodulesConfig) SetFetchSubmodules added in v1.17.14

func (s *GitSubmodulesConfig) SetFetchSubmodules(v bool) *GitSubmodulesConfig

SetFetchSubmodules sets the FetchSubmodules field's value.

func (GitSubmodulesConfig) String added in v1.17.14

func (s GitSubmodulesConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GitSubmodulesConfig) Validate added in v1.17.14

func (s *GitSubmodulesConfig) Validate() error

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

type ImportSourceCredentialsInput added in v1.16.1

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

	// Set to false to prevent overwriting the repository source credentials. Set
	// to true to overwrite the repository source credentials. The default value
	// is true.
	ShouldOverwrite *bool `locationName:"shouldOverwrite" type:"boolean"`

	// For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
	// this is either the access token or the app password.
	//
	// Token is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ImportSourceCredentialsInput's
	// String and GoString methods.
	//
	// 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 added in v1.16.1

func (s ImportSourceCredentialsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportSourceCredentialsInput) SetAuthType added in v1.16.1

SetAuthType sets the AuthType field's value.

func (*ImportSourceCredentialsInput) SetServerType added in v1.16.1

SetServerType sets the ServerType field's value.

func (*ImportSourceCredentialsInput) SetShouldOverwrite added in v1.22.2

SetShouldOverwrite sets the ShouldOverwrite field's value.

func (*ImportSourceCredentialsInput) SetToken added in v1.16.1

SetToken sets the Token field's value.

func (*ImportSourceCredentialsInput) SetUsername added in v1.16.1

SetUsername sets the Username field's value.

func (ImportSourceCredentialsInput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportSourceCredentialsInput) Validate added in v1.16.1

func (s *ImportSourceCredentialsInput) Validate() error

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

type ImportSourceCredentialsOutput added in v1.16.1

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 added in v1.16.1

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportSourceCredentialsOutput) SetArn added in v1.16.1

SetArn sets the Arn field's value.

func (ImportSourceCredentialsOutput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidInputException added in v1.28.0

type InvalidInputException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The input value that was provided is not valid.

func (*InvalidInputException) Code added in v1.28.0

func (s *InvalidInputException) Code() string

Code returns the exception type name.

func (*InvalidInputException) Error added in v1.28.0

func (s *InvalidInputException) Error() string

func (InvalidInputException) GoString added in v1.28.0

func (s InvalidInputException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidInputException) Message added in v1.28.0

func (s *InvalidInputException) Message() string

Message returns the exception's message.

func (*InvalidInputException) OrigErr added in v1.28.0

func (s *InvalidInputException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidInputException) RequestID added in v1.28.0

func (s *InvalidInputException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidInputException) StatusCode added in v1.28.0

func (s *InvalidInputException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidInputException) String added in v1.28.0

func (s InvalidInputException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidateProjectCacheInput added in v1.12.32

type InvalidateProjectCacheInput struct {

	// The name of the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (InvalidateProjectCacheOutput) String added in v1.12.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBuildBatchesForProjectInput added in v1.33.16

type ListBuildBatchesForProjectInput struct {

	// A BuildBatchFilter object that specifies the filters for the search.
	Filter *BuildBatchFilter `locationName:"filter" type:"structure"`

	// The maximum number of results to return.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

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

	// Specifies the sort order of the returned items. Valid values include:
	//
	//    * ASCENDING: List the batch build identifiers in ascending order by identifier.
	//
	//    * DESCENDING: List the batch build identifiers in descending order by
	//    identifier.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
	// contains filtered or unexported fields
}

func (ListBuildBatchesForProjectInput) GoString added in v1.33.16

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesForProjectInput) SetFilter added in v1.33.16

SetFilter sets the Filter field's value.

func (*ListBuildBatchesForProjectInput) SetMaxResults added in v1.33.16

SetMaxResults sets the MaxResults field's value.

func (*ListBuildBatchesForProjectInput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*ListBuildBatchesForProjectInput) SetProjectName added in v1.33.16

SetProjectName sets the ProjectName field's value.

func (*ListBuildBatchesForProjectInput) SetSortOrder added in v1.33.16

SetSortOrder sets the SortOrder field's value.

func (ListBuildBatchesForProjectInput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesForProjectInput) Validate added in v1.33.16

func (s *ListBuildBatchesForProjectInput) Validate() error

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

type ListBuildBatchesForProjectOutput added in v1.33.16

type ListBuildBatchesForProjectOutput struct {

	// An array of strings that contains the batch build identifiers.
	Ids []*string `locationName:"ids" type:"list"`

	// If there are more items to return, this contains a token that is passed to
	// a subsequent call to ListBuildBatchesForProject to retrieve the next set
	// of items.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildBatchesForProjectOutput) GoString added in v1.33.16

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesForProjectOutput) SetIds added in v1.33.16

SetIds sets the Ids field's value.

func (*ListBuildBatchesForProjectOutput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (ListBuildBatchesForProjectOutput) String added in v1.33.16

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBuildBatchesInput added in v1.33.16

type ListBuildBatchesInput struct {

	// A BuildBatchFilter object that specifies the filters for the search.
	Filter *BuildBatchFilter `locationName:"filter" type:"structure"`

	// The maximum number of results to return.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

	// Specifies the sort order of the returned items. Valid values include:
	//
	//    * ASCENDING: List the batch build identifiers in ascending order by identifier.
	//
	//    * DESCENDING: List the batch build identifiers in descending order by
	//    identifier.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
	// contains filtered or unexported fields
}

func (ListBuildBatchesInput) GoString added in v1.33.16

func (s ListBuildBatchesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesInput) SetFilter added in v1.33.16

SetFilter sets the Filter field's value.

func (*ListBuildBatchesInput) SetMaxResults added in v1.33.16

func (s *ListBuildBatchesInput) SetMaxResults(v int64) *ListBuildBatchesInput

SetMaxResults sets the MaxResults field's value.

func (*ListBuildBatchesInput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (*ListBuildBatchesInput) SetSortOrder added in v1.33.16

SetSortOrder sets the SortOrder field's value.

func (ListBuildBatchesInput) String added in v1.33.16

func (s ListBuildBatchesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesInput) Validate added in v1.33.16

func (s *ListBuildBatchesInput) Validate() error

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

type ListBuildBatchesOutput added in v1.33.16

type ListBuildBatchesOutput struct {

	// An array of strings that contains the batch build identifiers.
	Ids []*string `locationName:"ids" type:"list"`

	// If there are more items to return, this contains a token that is passed to
	// a subsequent call to ListBuildBatches to retrieve the next set of items.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildBatchesOutput) GoString added in v1.33.16

func (s ListBuildBatchesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBuildBatchesOutput) SetIds added in v1.33.16

SetIds sets the Ids field's value.

func (*ListBuildBatchesOutput) SetNextToken added in v1.33.16

SetNextToken sets the NextToken field's value.

func (ListBuildBatchesOutput) String added in v1.33.16

func (s ListBuildBatchesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBuildsForProjectInput

type ListBuildsForProjectInput struct {

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

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

	// The order to sort the results in. The results are sorted by build number,
	// not the build identifier. If this is not specified, the results are sorted
	// in descending order.
	//
	// Valid values include:
	//
	//    * ASCENDING: List the build identifiers in ascending order, by build number.
	//
	//    * DESCENDING: List the build identifiers in descending order, by build
	//    number.
	//
	// If the project has more than 100 builds, setting the sort order will result
	// in an error.
	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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 identifiers for the specified build project, with each build
	// ID representing a single build.
	Ids []*string `locationName:"ids" min:"1" type:"list"`

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next
	// batch of items in the list, call this operation again, adding the next token
	// to the call.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildsForProjectOutput) GoString

func (s ListBuildsForProjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBuildsInput

type ListBuildsInput struct {

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

	// The order to list build IDs. Valid values include:
	//
	//    * ASCENDING: List the build IDs in ascending order by build ID.
	//
	//    * DESCENDING: List the build IDs in descending order by build ID.
	SortOrder *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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBuildsOutput

type ListBuildsOutput struct {

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

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next
	// batch of items in the list, call this operation again, adding the next token
	// to the call.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBuildsOutput) GoString

func (s ListBuildsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCuratedEnvironmentImagesInput

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

func (ListCuratedEnvironmentImagesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ListCuratedEnvironmentImagesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCuratedEnvironmentImagesOutput

type ListCuratedEnvironmentImagesOutput struct {

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

func (ListCuratedEnvironmentImagesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCuratedEnvironmentImagesOutput) SetPlatforms

SetPlatforms sets the Platforms field's value.

func (ListCuratedEnvironmentImagesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListFleetsInput added in v1.50.0

type ListFleetsInput struct {

	// The maximum number of paginated compute fleets returned per response. Use
	// nextToken to iterate pages in the list of returned compute fleets.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// During a previous call, if there are more than 100 items in the list, only
	// the first 100 items are returned, along with a unique string called a nextToken.
	// To get the next batch of items in the list, call this operation again, adding
	// the next token to the call. To get all of the items in the list, keep calling
	// this operation with each subsequent next token that is returned, until no
	// more next tokens are returned.
	//
	// NextToken is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ListFleetsInput's
	// String and GoString methods.
	NextToken *string `locationName:"nextToken" type:"string" sensitive:"true"`

	// The criterion to be used to list compute fleet names. Valid values include:
	//
	//    * CREATED_TIME: List based on when each compute fleet was created.
	//
	//    * LAST_MODIFIED_TIME: List based on when information about each compute
	//    fleet was last changed.
	//
	//    * NAME: List based on each compute fleet's name.
	//
	// Use sortOrder to specify in what order to list the compute fleet names based
	// on the preceding criteria.
	SortBy *string `locationName:"sortBy" type:"string" enum:"FleetSortByType"`

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

func (ListFleetsInput) GoString added in v1.50.0

func (s ListFleetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFleetsInput) SetMaxResults added in v1.50.0

func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFleetsInput) SetNextToken added in v1.50.0

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

SetNextToken sets the NextToken field's value.

func (*ListFleetsInput) SetSortBy added in v1.50.0

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

SetSortBy sets the SortBy field's value.

func (*ListFleetsInput) SetSortOrder added in v1.50.0

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

SetSortOrder sets the SortOrder field's value.

func (ListFleetsInput) String added in v1.50.0

func (s ListFleetsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFleetsInput) Validate added in v1.50.0

func (s *ListFleetsInput) Validate() error

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

type ListFleetsOutput added in v1.50.0

type ListFleetsOutput struct {

	// The list of compute fleet names.
	Fleets []*string `locationName:"fleets" min:"1" type:"list"`

	// If there are more than 100 items in the list, only the first 100 items are
	// returned, along with a unique string called a nextToken. To get the next
	// batch of items in the list, call this operation again, adding the next token
	// to the call.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFleetsOutput) GoString added in v1.50.0

func (s ListFleetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListFleetsOutput) SetFleets added in v1.50.0

func (s *ListFleetsOutput) SetFleets(v []*string) *ListFleetsOutput

SetFleets sets the Fleets field's value.

func (*ListFleetsOutput) SetNextToken added in v1.50.0

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

SetNextToken sets the NextToken field's value.

func (ListFleetsOutput) String added in v1.50.0

func (s ListFleetsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListProjectsInput

type ListProjectsInput struct {

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

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProjectsInput) Validate

func (s *ListProjectsInput) Validate() error

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

type ListProjectsOutput

type ListProjectsOutput struct {

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

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

func (ListProjectsOutput) GoString

func (s ListProjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListReportGroupsInput added in v1.25.42

type ListReportGroupsInput struct {

	// The maximum number of paginated report groups returned per response. Use
	// nextToken to iterate pages in the list of returned ReportGroup objects. The
	// default value is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

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

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

func (ListReportGroupsInput) GoString added in v1.25.42

func (s ListReportGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportGroupsInput) SetMaxResults added in v1.25.42

func (s *ListReportGroupsInput) SetMaxResults(v int64) *ListReportGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportGroupsInput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListReportGroupsInput) SetSortBy added in v1.25.42

SetSortBy sets the SortBy field's value.

func (*ListReportGroupsInput) SetSortOrder added in v1.25.42

SetSortOrder sets the SortOrder field's value.

func (ListReportGroupsInput) String added in v1.25.42

func (s ListReportGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportGroupsInput) Validate added in v1.25.42

func (s *ListReportGroupsInput) Validate() error

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

type ListReportGroupsOutput added in v1.25.42

type ListReportGroupsOutput struct {

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

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

func (ListReportGroupsOutput) GoString added in v1.25.42

func (s ListReportGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportGroupsOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListReportGroupsOutput) SetReportGroups added in v1.25.42

func (s *ListReportGroupsOutput) SetReportGroups(v []*string) *ListReportGroupsOutput

SetReportGroups sets the ReportGroups field's value.

func (ListReportGroupsOutput) String added in v1.25.42

func (s ListReportGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListReportsForReportGroupInput added in v1.25.42

type ListReportsForReportGroupInput struct {

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

	// The maximum number of paginated reports in this report group returned per
	// response. Use nextToken to iterate pages in the list of returned Report objects.
	// The default value is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

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

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

func (ListReportsForReportGroupInput) GoString added in v1.25.42

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsForReportGroupInput) SetFilter added in v1.25.42

SetFilter sets the Filter field's value.

func (*ListReportsForReportGroupInput) SetMaxResults added in v1.25.42

SetMaxResults sets the MaxResults field's value.

func (*ListReportsForReportGroupInput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListReportsForReportGroupInput) SetReportGroupArn added in v1.25.42

SetReportGroupArn sets the ReportGroupArn field's value.

func (*ListReportsForReportGroupInput) SetSortOrder added in v1.25.42

SetSortOrder sets the SortOrder field's value.

func (ListReportsForReportGroupInput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsForReportGroupInput) Validate added in v1.25.42

func (s *ListReportsForReportGroupInput) Validate() error

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

type ListReportsForReportGroupOutput added in v1.25.42

type ListReportsForReportGroupOutput struct {

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

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

func (ListReportsForReportGroupOutput) GoString added in v1.25.42

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsForReportGroupOutput) SetNextToken added in v1.25.42

SetNextToken sets the NextToken field's value.

func (*ListReportsForReportGroupOutput) SetReports added in v1.25.42

SetReports sets the Reports field's value.

func (ListReportsForReportGroupOutput) String added in v1.25.42

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListReportsInput added in v1.25.42

type ListReportsInput struct {

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

	// The maximum number of paginated reports returned per response. Use nextToken
	// to iterate pages in the list of returned Report objects. The default value
	// is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

	// Specifies the sort order for the list of returned reports. Valid values are:
	//
	//    * ASCENDING: return reports in chronological order based on their creation
	//    date.
	//
	//    * DESCENDING: return reports in the reverse chronological order based
	//    on their creation date.
	SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
	// contains filtered or unexported fields
}

func (ListReportsInput) GoString added in v1.25.42

func (s ListReportsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsInput) SetFilter added in v1.25.42

SetFilter sets the Filter field's value.

func (*ListReportsInput) SetMaxResults added in v1.25.42

func (s *ListReportsInput) SetMaxResults(v int64) *ListReportsInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportsInput) SetNextToken added in v1.25.42

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

SetNextToken sets the NextToken field's value.

func (*ListReportsInput) SetSortOrder added in v1.25.42

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

SetSortOrder sets the SortOrder field's value.

func (ListReportsInput) String added in v1.25.42

func (s ListReportsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsInput) Validate added in v1.25.42

func (s *ListReportsInput) Validate() error

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

type ListReportsOutput added in v1.25.42

type ListReportsOutput struct {

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

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

func (ListReportsOutput) GoString added in v1.25.42

func (s ListReportsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReportsOutput) SetNextToken added in v1.25.42

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

SetNextToken sets the NextToken field's value.

func (*ListReportsOutput) SetReports added in v1.25.42

func (s *ListReportsOutput) SetReports(v []*string) *ListReportsOutput

SetReports sets the Reports field's value.

func (ListReportsOutput) String added in v1.25.42

func (s ListReportsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSharedProjectsInput added in v1.26.2

type ListSharedProjectsInput struct {

	// The maximum number of paginated shared build projects returned per response.
	// Use nextToken to iterate pages in the list of returned Project objects. The
	// default value is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

	// The criterion to be used to list build projects shared with the current Amazon
	// Web Services account or user. Valid values include:
	//
	//    * ARN: List based on the ARN.
	//
	//    * MODIFIED_TIME: List based on when information about the shared project
	//    was last changed.
	SortBy *string `locationName:"sortBy" type:"string" enum:"SharedResourceSortByType"`

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

func (ListSharedProjectsInput) GoString added in v1.26.2

func (s ListSharedProjectsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedProjectsInput) SetMaxResults added in v1.26.2

SetMaxResults sets the MaxResults field's value.

func (*ListSharedProjectsInput) SetNextToken added in v1.26.2

SetNextToken sets the NextToken field's value.

func (*ListSharedProjectsInput) SetSortBy added in v1.26.2

SetSortBy sets the SortBy field's value.

func (*ListSharedProjectsInput) SetSortOrder added in v1.26.2

SetSortOrder sets the SortOrder field's value.

func (ListSharedProjectsInput) String added in v1.26.2

func (s ListSharedProjectsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedProjectsInput) Validate added in v1.26.2

func (s *ListSharedProjectsInput) Validate() error

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

type ListSharedProjectsOutput added in v1.26.2

type ListSharedProjectsOutput struct {

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

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

func (ListSharedProjectsOutput) GoString added in v1.26.2

func (s ListSharedProjectsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedProjectsOutput) SetNextToken added in v1.26.2

SetNextToken sets the NextToken field's value.

func (*ListSharedProjectsOutput) SetProjects added in v1.26.2

SetProjects sets the Projects field's value.

func (ListSharedProjectsOutput) String added in v1.26.2

func (s ListSharedProjectsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSharedReportGroupsInput added in v1.26.2

type ListSharedReportGroupsInput struct {

	// The maximum number of paginated shared report groups per response. Use nextToken
	// to iterate pages in the list of returned ReportGroup objects. The default
	// value is 100.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

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

	// The criterion to be used to list report groups shared with the current Amazon
	// Web Services account or user. Valid values include:
	//
	//    * ARN: List based on the ARN.
	//
	//    * MODIFIED_TIME: List based on when information about the shared report
	//    group was last changed.
	SortBy *string `locationName:"sortBy" type:"string" enum:"SharedResourceSortByType"`

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

func (ListSharedReportGroupsInput) GoString added in v1.26.2

func (s ListSharedReportGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedReportGroupsInput) SetMaxResults added in v1.26.2

SetMaxResults sets the MaxResults field's value.

func (*ListSharedReportGroupsInput) SetNextToken added in v1.26.2

SetNextToken sets the NextToken field's value.

func (*ListSharedReportGroupsInput) SetSortBy added in v1.26.2

SetSortBy sets the SortBy field's value.

func (*ListSharedReportGroupsInput) SetSortOrder added in v1.26.2

SetSortOrder sets the SortOrder field's value.

func (ListSharedReportGroupsInput) String added in v1.26.2

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedReportGroupsInput) Validate added in v1.26.2

func (s *ListSharedReportGroupsInput) Validate() error

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

type ListSharedReportGroupsOutput added in v1.26.2

type ListSharedReportGroupsOutput struct {

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

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

func (ListSharedReportGroupsOutput) GoString added in v1.26.2

func (s ListSharedReportGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSharedReportGroupsOutput) SetNextToken added in v1.26.2

SetNextToken sets the NextToken field's value.

func (*ListSharedReportGroupsOutput) SetReportGroups added in v1.26.2

SetReportGroups sets the ReportGroups field's value.

func (ListSharedReportGroupsOutput) String added in v1.26.2

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSourceCredentialsInput added in v1.16.1

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

func (ListSourceCredentialsInput) GoString added in v1.16.1

func (s ListSourceCredentialsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ListSourceCredentialsInput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSourceCredentialsOutput added in v1.16.1

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 added in v1.16.1

func (s ListSourceCredentialsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSourceCredentialsOutput) SetSourceCredentialsInfos added in v1.16.1

SetSourceCredentialsInfos sets the SourceCredentialsInfos field's value.

func (ListSourceCredentialsOutput) String added in v1.16.1

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LogsConfig added in v1.15.36

type LogsConfig struct {

	// Information about CloudWatch Logs for a build project. 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 CloudWatch Logs, built in a specified S3 bucket, or both.

func (LogsConfig) GoString added in v1.15.36

func (s LogsConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogsConfig) SetCloudWatchLogs added in v1.15.36

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

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*LogsConfig) SetS3Logs added in v1.15.36

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

SetS3Logs sets the S3Logs field's value.

func (LogsConfig) String added in v1.15.36

func (s LogsConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogsConfig) Validate added in v1.15.36

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 CloudWatch Logs for a build project.
	CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"`

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

	// The URL to an individual build log in CloudWatch Logs. The log stream is
	// created during the PROVISIONING phase of a build and the deeplink will not
	// be valid until it is created.
	DeepLink *string `locationName:"deepLink" type:"string"`

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

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

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

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

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

Information about build logs in CloudWatch Logs.

func (LogsLocation) GoString

func (s LogsLocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LogsLocation) SetCloudWatchLogs added in v1.15.36

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

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*LogsLocation) SetCloudWatchLogsArn added in v1.25.41

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

SetCloudWatchLogsArn sets the CloudWatchLogsArn 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 added in v1.15.36

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

SetS3Logs sets the S3Logs field's value.

func (*LogsLocation) SetS3LogsArn added in v1.25.41

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

SetS3LogsArn sets the S3LogsArn 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OAuthProviderException added in v1.28.0

type OAuthProviderException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

There was a problem with the underlying OAuth provider.

func (*OAuthProviderException) Code added in v1.28.0

func (s *OAuthProviderException) Code() string

Code returns the exception type name.

func (*OAuthProviderException) Error added in v1.28.0

func (s *OAuthProviderException) Error() string

func (OAuthProviderException) GoString added in v1.28.0

func (s OAuthProviderException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OAuthProviderException) Message added in v1.28.0

func (s *OAuthProviderException) Message() string

Message returns the exception's message.

func (*OAuthProviderException) OrigErr added in v1.28.0

func (s *OAuthProviderException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OAuthProviderException) RequestID added in v1.28.0

func (s *OAuthProviderException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OAuthProviderException) StatusCode added in v1.28.0

func (s *OAuthProviderException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OAuthProviderException) String added in v1.28.0

func (s OAuthProviderException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// A ProjectBuildBatchConfig object that defines the batch build options for
	// the project.
	BuildBatchConfig *ProjectBuildBatchConfig `locationName:"buildBatchConfig" type:"structure"`

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

	// The maximum number of concurrent builds that are allowed for this project.
	//
	// New builds are only started if the current number of builds is less than
	// or equal to this limit. If the current build count meets this limit, new
	// builds are throttled and are not run.
	ConcurrentBuildLimit *int64 `locationName:"concurrentBuildLimit" type:"integer"`

	// 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 Key Management Service customer master key (CMK) to be used for encrypting
	// the build output artifacts.
	//
	// You can use a cross-account KMS key to encrypt the build output artifacts
	// if your service role has permission to that key.
	//
	// You can specify either the Amazon Resource Name (ARN) of the CMK or, if available,
	// the CMK's alias (using the format alias/<alias-name>). If you don't specify
	// a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service
	// (Amazon S3).
	EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

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

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

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

	// Information about logs for the build project. A project can create logs in
	// 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"`

	// Specifies the visibility of the project's builds. Possible values are:
	//
	// PUBLIC_READ
	//
	// The project builds are visible to the public.
	//
	// PRIVATE
	//
	// The project builds are not visible to the public.
	ProjectVisibility *string `locationName:"projectVisibility" type:"string" enum:"ProjectVisibilityType"`

	// Contains the project identifier used with the public build APIs.
	PublicProjectAlias *string `locationName:"publicProjectAlias" min:"1" 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"`

	// The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs
	// and Amazon S3 artifacts for the project's builds.
	ResourceAccessRole *string `locationName:"resourceAccessRole" min:"1" type:"string"`

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

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

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

	// The ARN of the IAM role that enables CodeBuild to interact with dependent
	// Amazon Web Services services on behalf of the Amazon Web Services account.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

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

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

	// A list of tag key and value pairs associated with this build project.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`

	// How long, in minutes, from 5 to 480 (8 hours), for 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 CodeBuild accesses.
	VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`

	// Information about a webhook that connects repository events to a build project
	// in 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetBuildBatchConfig added in v1.33.16

func (s *Project) SetBuildBatchConfig(v *ProjectBuildBatchConfig) *Project

SetBuildBatchConfig sets the BuildBatchConfig 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) SetConcurrentBuildLimit added in v1.37.12

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

SetConcurrentBuildLimit sets the ConcurrentBuildLimit 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) SetFileSystemLocations added in v1.28.12

func (s *Project) SetFileSystemLocations(v []*ProjectFileSystemLocation) *Project

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*Project) SetLastModified

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

SetLastModified sets the LastModified field's value.

func (*Project) SetLogsConfig added in v1.15.36

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) SetProjectVisibility added in v1.40.20

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

SetProjectVisibility sets the ProjectVisibility field's value.

func (*Project) SetPublicProjectAlias added in v1.40.20

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

SetPublicProjectAlias sets the PublicProjectAlias field's value.

func (*Project) SetQueuedTimeoutInMinutes added in v1.15.77

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Project) SetResourceAccessRole added in v1.40.20

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

SetResourceAccessRole sets the ResourceAccessRole field's value.

func (*Project) SetSecondaryArtifacts added in v1.15.25

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Project) SetSecondarySourceVersions added in v1.19.47

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*Project) SetSecondarySources added in v1.15.25

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) SetSourceVersion added in v1.19.47

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

SetSourceVersion sets the SourceVersion 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectArtifacts

type ProjectArtifacts struct {

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

	// Specifies the bucket owner's access for objects that another account uploads
	// to their Amazon S3 bucket. By default, only the account that uploads the
	// objects to the bucket has access to these objects. This property allows you
	// to give the bucket owner access to these objects.
	//
	// To use this property, your CodeBuild service role must have the s3:PutBucketAcl
	// permission. This permission allows CodeBuild to modify the access control
	// list for the bucket.
	//
	// This property can be one of the following values:
	//
	// NONE
	//
	// The bucket owner does not have access to the objects. This is the default.
	//
	// READ_ONLY
	//
	// The bucket owner has read-only access to the objects. The uploading account
	// retains ownership of the objects.
	//
	// FULL
	//
	// The bucket owner has full access to the objects. Object ownership is determined
	// by the following criteria:
	//
	//    * If the bucket is configured with the Bucket owner preferred setting,
	//    the bucket owner owns the objects. The uploading account will have object
	//    access as specified by the bucket's policy.
	//
	//    * Otherwise, the uploading account retains ownership of the objects.
	//
	// For more information about Amazon S3 object ownership, see Controlling ownership
	// of uploaded objects using S3 Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
	// in the Amazon Simple Storage Service User Guide.
	BucketOwnerAccess *string `locationName:"bucketOwnerAccess" type:"string" enum:"BucketOwnerAccess"`

	// Set to true if you do not want your output artifacts encrypted. This option
	// is valid only if your artifacts type is 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, CodePipeline ignores this value if specified.
	//    This is because CodePipeline manages its build output locations instead
	//    of 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 CodeBuild uses to name
	// and store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, CodePipeline ignores this value if specified.
	//    This is because CodePipeline manages its build output names instead of
	//    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 CodeBuild uses to determine the
	// name and location to store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, CodePipeline ignores this value if specified.
	//    This is because CodePipeline manages its build output names instead of
	//    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 buildspec file overrides the
	// artifact name. The name specified in a buildspec file is calculated at build
	// time and uses the Shell Command Language. For example, you can append a date
	// and time to your artifact name so that it is always unique.
	OverrideArtifactName *bool `locationName:"overrideArtifactName" type:"boolean"`

	// The type of build output artifact to create:
	//
	//    * If type is set to CODEPIPELINE, CodePipeline ignores this value if specified.
	//    This is because CodePipeline manages its build output artifacts instead
	//    of 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: CodeBuild creates
	//    in the output bucket a folder that contains the build output. This is
	//    the default if packaging is not specified. ZIP: 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 CodeBuild uses to name
	// and store the output artifact:
	//
	//    * If type is set to CODEPIPELINE, CodePipeline ignores this value if specified.
	//    This is because CodePipeline manages its build output names instead of
	//    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 CodePipeline.
	//    The CODEPIPELINE type is not supported for secondaryArtifacts.
	//
	//    * NO_ARTIFACTS: The build project does not produce any build output.
	//
	//    * S3: The build project stores build output in Amazon 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectArtifacts) SetArtifactIdentifier added in v1.15.25

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

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*ProjectArtifacts) SetBucketOwnerAccess added in v1.38.18

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

SetBucketOwnerAccess sets the BucketOwnerAccess field's value.

func (*ProjectArtifacts) SetEncryptionDisabled added in v1.15.0

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 added in v1.15.7

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectBuildBatchConfig added in v1.33.16

type ProjectBuildBatchConfig struct {

	// Specifies how build status reports are sent to the source provider for the
	// batch build. This property is only used when the source provider for your
	// project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured
	// to report build statuses to the source provider.
	//
	// REPORT_AGGREGATED_BATCH
	//
	// (Default) Aggregate all of the build statuses into a single status report.
	//
	// REPORT_INDIVIDUAL_BUILDS
	//
	// Send a separate status report for each individual build.
	BatchReportMode *string `locationName:"batchReportMode" type:"string" enum:"BatchReportModeType"`

	// Specifies if the build artifacts for the batch build should be combined into
	// a single artifact location.
	CombineArtifacts *bool `locationName:"combineArtifacts" type:"boolean"`

	// A BatchRestrictions object that specifies the restrictions for the batch
	// build.
	Restrictions *BatchRestrictions `locationName:"restrictions" type:"structure"`

	// Specifies the service role ARN for the batch build project.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

	// Specifies the maximum amount of time, in minutes, that the batch build must
	// be completed in.
	TimeoutInMins *int64 `locationName:"timeoutInMins" type:"integer"`
	// contains filtered or unexported fields
}

Contains configuration information about a batch build project.

func (ProjectBuildBatchConfig) GoString added in v1.33.16

func (s ProjectBuildBatchConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectBuildBatchConfig) SetBatchReportMode added in v1.40.23

func (s *ProjectBuildBatchConfig) SetBatchReportMode(v string) *ProjectBuildBatchConfig

SetBatchReportMode sets the BatchReportMode field's value.

func (*ProjectBuildBatchConfig) SetCombineArtifacts added in v1.33.16

func (s *ProjectBuildBatchConfig) SetCombineArtifacts(v bool) *ProjectBuildBatchConfig

SetCombineArtifacts sets the CombineArtifacts field's value.

func (*ProjectBuildBatchConfig) SetRestrictions added in v1.33.16

SetRestrictions sets the Restrictions field's value.

func (*ProjectBuildBatchConfig) SetServiceRole added in v1.33.16

SetServiceRole sets the ServiceRole field's value.

func (*ProjectBuildBatchConfig) SetTimeoutInMins added in v1.33.16

func (s *ProjectBuildBatchConfig) SetTimeoutInMins(v int64) *ProjectBuildBatchConfig

SetTimeoutInMins sets the TimeoutInMins field's value.

func (ProjectBuildBatchConfig) String added in v1.33.16

func (s ProjectBuildBatchConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectBuildBatchConfig) Validate added in v1.33.16

func (s *ProjectBuildBatchConfig) Validate() error

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

type ProjectCache added in v1.12.32

type ProjectCache struct {

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

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

	// The type of cache used by the build project. Valid values include:
	//
	//    * NO_CACHE: The build project does not use any cache.
	//
	//    * S3: The build project reads and writes from and to S3.
	//
	//    * LOCAL: The build project stores a cache locally on a build host that
	//    is only available to that build host.
	//
	// Type is a required field
	Type *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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectCache) SetLocation added in v1.12.32

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

SetLocation sets the Location field's value.

func (*ProjectCache) SetModes added in v1.17.3

func (s *ProjectCache) SetModes(v []*string) *ProjectCache

SetModes sets the Modes 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 ARN of the Amazon S3 bucket, path prefix, and object key that contains
	// the PEM-encoded certificate for the build project. For more information,
	// see certificate (https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate)
	// in the CodeBuild User Guide.
	Certificate *string `locationName:"certificate" type:"string"`

	// Information about the compute resources the build project uses. Available
	// values include:
	//
	//    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds.
	//
	//    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds.
	//
	//    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds,
	//    depending on your environment type.
	//
	//    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds,
	//    depending on your environment type.
	//
	//    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB
	//    of SSD storage for builds. This compute type supports Docker images up
	//    to 100 GB uncompressed.
	//
	//    * BUILD_LAMBDA_1GB: Use up to 1 GB memory for builds. Only available for
	//    environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER.
	//
	//    * BUILD_LAMBDA_2GB: Use up to 2 GB memory for builds. Only available for
	//    environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER.
	//
	//    * BUILD_LAMBDA_4GB: Use up to 4 GB memory for builds. Only available for
	//    environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER.
	//
	//    * BUILD_LAMBDA_8GB: Use up to 8 GB memory for builds. Only available for
	//    environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER.
	//
	//    * BUILD_LAMBDA_10GB: Use up to 10 GB memory for builds. Only available
	//    for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER.
	//
	// If you use BUILD_GENERAL1_SMALL:
	//
	//    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory
	//    and 2 vCPUs for builds.
	//
	//    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory,
	//    4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
	//
	//    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and
	//    2 vCPUs on ARM-based processors for builds.
	//
	// If you use BUILD_GENERAL1_LARGE:
	//
	//    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory
	//    and 8 vCPUs for builds.
	//
	//    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory,
	//    32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
	//
	//    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and
	//    8 vCPUs on ARM-based processors for builds.
	//
	// If you're using compute fleets during project creation, computeType will
	// be ignored.
	//
	// For more information, see Build Environment Compute Types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild User Guide.
	//
	// 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"`

	// A ProjectFleet object to use for this build project.
	Fleet *ProjectFleet `locationName:"fleet" type:"structure"`

	// The image tag or image digest that identifies the Docker image to use for
	// this build project. Use the following formats:
	//
	//    * For an image tag: <registry>/<repository>:<tag>. For example, in the
	//    Docker repository that CodeBuild uses to manage its Docker images, this
	//    would be aws/codebuild/standard:4.0.
	//
	//    * For an image digest: <registry>/<repository>@<digest>. For example,
	//    to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
	//    use <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
	//
	// For more information, see Docker images provided by CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html)
	// in the CodeBuild user guide.
	//
	// Image is a required field
	Image *string `locationName:"image" min:"1" type:"string" required:"true"`

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

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

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

	// The type of build environment to use for related builds.
	//
	//    * The environment type ARM_CONTAINER is available only in regions US East
	//    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
	//    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).
	//
	//    * The environment type LINUX_CONTAINER is available only in regions US
	//    East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central),
	//    EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
	//    Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China
	//    (Beijing), and China (Ningxia).
	//
	//    * The environment type LINUX_GPU_CONTAINER is available only in regions
	//    US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central),
	//    EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
	//    Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China
	//    (Beijing), and China (Ningxia).
	//
	//    * The environment types ARM_LAMBDA_CONTAINER and LINUX_LAMBDA_CONTAINER
	//    are available only in regions US East (N. Virginia), US East (Ohio), US
	//    West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South
	//    America (São Paulo).
	//
	//    * The environment types WINDOWS_CONTAINER and WINDOWS_SERVER_2019_CONTAINER
	//    are available only in regions US East (N. Virginia), US East (Ohio), US
	//    West (Oregon), and EU (Ireland).
	//
	// If you're using compute fleets during project creation, type will be ignored.
	//
	// For more information, see Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild user guide.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetFleet added in v1.50.0

SetFleet sets the Fleet field's value.

func (*ProjectEnvironment) SetImage

SetImage sets the Image field's value.

func (*ProjectEnvironment) SetImagePullCredentialsType added in v1.16.25

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

SetImagePullCredentialsType sets the ImagePullCredentialsType 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) SetRegistryCredential added in v1.16.25

func (s *ProjectEnvironment) SetRegistryCredential(v *RegistryCredential) *ProjectEnvironment

SetRegistryCredential sets the RegistryCredential 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectEnvironment) Validate

func (s *ProjectEnvironment) Validate() error

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

type ProjectFileSystemLocation added in v1.28.12

type ProjectFileSystemLocation struct {

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

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

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

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

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

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

func (ProjectFileSystemLocation) GoString added in v1.28.12

func (s ProjectFileSystemLocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectFileSystemLocation) SetIdentifier added in v1.28.12

SetIdentifier sets the Identifier field's value.

func (*ProjectFileSystemLocation) SetLocation added in v1.28.12

SetLocation sets the Location field's value.

func (*ProjectFileSystemLocation) SetMountOptions added in v1.28.12

SetMountOptions sets the MountOptions field's value.

func (*ProjectFileSystemLocation) SetMountPoint added in v1.28.12

SetMountPoint sets the MountPoint field's value.

func (*ProjectFileSystemLocation) SetType added in v1.28.12

SetType sets the Type field's value.

func (ProjectFileSystemLocation) String added in v1.28.12

func (s ProjectFileSystemLocation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectFleet added in v1.50.0

type ProjectFleet struct {

	// Specifies the compute fleet ARN for the build project.
	FleetArn *string `locationName:"fleetArn" type:"string"`
	// contains filtered or unexported fields
}

Information about the compute fleet of the build project. For more information, see Working with reserved capacity in CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html).

func (ProjectFleet) GoString added in v1.50.0

func (s ProjectFleet) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectFleet) SetFleetArn added in v1.50.0

func (s *ProjectFleet) SetFleetArn(v string) *ProjectFleet

SetFleetArn sets the FleetArn field's value.

func (ProjectFleet) String added in v1.50.0

func (s ProjectFleet) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ProjectSource

type ProjectSource struct {

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

	// Contains information that defines how the build project reports the build
	// status to the source provider. This option is only used when the source provider
	// is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
	BuildStatusConfig *BuildStatusConfig `locationName:"buildStatusConfig" type:"structure"`

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

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

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

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

	// Information about the location of the source code to be built. Valid values
	// include:
	//
	//    * For source code settings that are specified in the source action of
	//    a pipeline in CodePipeline, location should not be specified. If it is
	//    specified, CodePipeline ignores it. This is because CodePipeline uses
	//    the settings in a pipeline's source action instead of this value.
	//
	//    * For source code in an CodeCommit repository, the HTTPS clone URL to
	//    the repository that contains the source code and the buildspec file (for
	//    example, https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
	//
	//    * For source code in an Amazon S3 input bucket, one of the following.
	//    The path to the ZIP file that contains the source code (for example, <bucket-name>/<path>/<object-name>.zip).
	//    The path to the folder that contains the source code (for example, <bucket-name>/<path-to-source-code>/<folder>/).
	//
	//    * For source code in a GitHub repository, the HTTPS clone URL to the repository
	//    that contains the source and the buildspec file. You must connect your
	//    Amazon Web Services account to your GitHub account. Use the 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 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 CodeBuild
	//    console.) To instruct CodeBuild to use this connection, in the source
	//    object, set the auth object's type value to OAUTH.
	//
	//    * For source code in an GitLab or self-managed GitLab repository, the
	//    HTTPS clone URL to the repository that contains the source and the buildspec
	//    file. You must connect your Amazon Web Services account to your GitLab
	//    account. Use the CodeBuild console to start creating a build project.
	//    When you use the console to connect (or reconnect) with GitLab, on the
	//    Connections Authorize application page, choose Authorize. Then on the
	//    CodeConnections Create GitLab connection page, choose Connect to GitLab.
	//    (After you have connected to your GitLab account, you do not need to finish
	//    creating the build project. You can leave the CodeBuild console.) To instruct
	//    CodeBuild to override the default connection and use this connection instead,
	//    set the auth object's type value to CODECONNECTIONS in the source object.
	//
	//    * For source code in a Bitbucket repository, the HTTPS clone URL to the
	//    repository that contains the source and the buildspec file. You must connect
	//    your Amazon Web Services account to your Bitbucket account. Use the 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 CodeBuild console.) To instruct CodeBuild to use this
	//    connection, in the source object, set the auth object's type value to
	//    OAUTH.
	//
	// If you specify CODEPIPELINE for the Type property, don't specify this property.
	// For all of the other types, you must specify Location.
	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, GitLab, GitLab Self Managed, or Bitbucket. If this is
	// set and you use a different source provider, an invalidInputException is
	// thrown.
	//
	// To be able to report the build status to the source provider, the user associated
	// with the source provider must have write access to the repo. If the user
	// does not have write access, the build status cannot be updated. For more
	// information, see Source provider access (https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html)
	// in the CodeBuild User Guide.
	//
	// The status of a build triggered by a webhook is always reported to your source
	// provider.
	//
	// If your project's builds are triggered by a webhook, you must push a new
	// commit to the repo for a change to this property to take effect.
	ReportBuildStatus *bool `locationName:"reportBuildStatus" type:"boolean"`

	// An identifier for this project source. The identifier can only contain alphanumeric
	// characters and underscores, and must be less than 128 characters in length.
	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 CodeCommit repository.
	//
	//    * CODEPIPELINE: The source code settings are specified in the source action
	//    of a pipeline in CodePipeline.
	//
	//    * GITHUB: The source code is in a GitHub repository.
	//
	//    * GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server
	//    repository.
	//
	//    * GITLAB: The source code is in a GitLab repository.
	//
	//    * GITLAB_SELF_MANAGED: The source code is in a self-managed GitLab repository.
	//
	//    * NO_SOURCE: The project does not have input source code.
	//
	//    * S3: The source code is in an Amazon S3 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectSource) SetAuth

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

SetAuth sets the Auth field's value.

func (*ProjectSource) SetBuildStatusConfig added in v1.33.0

func (s *ProjectSource) SetBuildStatusConfig(v *BuildStatusConfig) *ProjectSource

SetBuildStatusConfig sets the BuildStatusConfig 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) SetGitSubmodulesConfig added in v1.17.14

func (s *ProjectSource) SetGitSubmodulesConfig(v *GitSubmodulesConfig) *ProjectSource

SetGitSubmodulesConfig sets the GitSubmodulesConfig 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 added in v1.15.25

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectSource) Validate

func (s *ProjectSource) Validate() error

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

type ProjectSourceVersion added in v1.15.25

type ProjectSourceVersion struct {

	// An identifier for a source in the build project. The identifier can only
	// contain alphanumeric characters and underscores, and must be less than 128
	// characters in length.
	//
	// 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 CodeCommit: the commit ID, branch, or Git tag to use.
	//
	//    * For GitHub or GitLab: 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 S3: the version ID of the object that represents the build
	//    input ZIP file to use.
	//
	// For more information, see Source Version Sample with CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the CodeBuild User Guide.
	//
	// SourceVersion is a required field
	SourceVersion *string `locationName:"sourceVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A source identifier and its corresponding version.

func (ProjectSourceVersion) GoString added in v1.15.25

func (s ProjectSourceVersion) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectSourceVersion) SetSourceIdentifier added in v1.15.25

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

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*ProjectSourceVersion) SetSourceVersion added in v1.15.25

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

SetSourceVersion sets the SourceVersion field's value.

func (ProjectSourceVersion) String added in v1.15.25

func (s ProjectSourceVersion) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ProjectSourceVersion) Validate added in v1.15.25

func (s *ProjectSourceVersion) Validate() error

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

type PutResourcePolicyInput added in v1.26.2

type PutResourcePolicyInput struct {

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

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

func (PutResourcePolicyInput) GoString added in v1.26.2

func (s PutResourcePolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutResourcePolicyInput) SetPolicy added in v1.26.2

SetPolicy sets the Policy field's value.

func (*PutResourcePolicyInput) SetResourceArn added in v1.26.2

SetResourceArn sets the ResourceArn field's value.

func (PutResourcePolicyInput) String added in v1.26.2

func (s PutResourcePolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutResourcePolicyInput) Validate added in v1.26.2

func (s *PutResourcePolicyInput) Validate() error

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

type PutResourcePolicyOutput added in v1.26.2

type PutResourcePolicyOutput struct {

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

func (PutResourcePolicyOutput) GoString added in v1.26.2

func (s PutResourcePolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutResourcePolicyOutput) SetResourceArn added in v1.26.2

SetResourceArn sets the ResourceArn field's value.

func (PutResourcePolicyOutput) String added in v1.26.2

func (s PutResourcePolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistryCredential added in v1.16.25

type RegistryCredential struct {

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

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

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

  • imagePullCredentialsType must be set to SERVICE_ROLE.

  • images cannot be curated or an Amazon ECR image.

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

func (RegistryCredential) GoString added in v1.16.25

func (s RegistryCredential) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistryCredential) SetCredential added in v1.16.25

func (s *RegistryCredential) SetCredential(v string) *RegistryCredential

SetCredential sets the Credential field's value.

func (*RegistryCredential) SetCredentialProvider added in v1.16.25

func (s *RegistryCredential) SetCredentialProvider(v string) *RegistryCredential

SetCredentialProvider sets the CredentialProvider field's value.

func (RegistryCredential) String added in v1.16.25

func (s RegistryCredential) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistryCredential) Validate added in v1.16.25

func (s *RegistryCredential) Validate() error

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

type Report added in v1.25.42

type Report struct {

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

	// A CodeCoverageReportSummary object that contains a code coverage summary
	// for this report.
	CodeCoverageSummary *CodeCoverageReportSummary `locationName:"codeCoverageSummary" type:"structure"`

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

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

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

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

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

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

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

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

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

	// The type of the report that was run.
	//
	// CODE_COVERAGE
	//
	// A code coverage report.
	//
	// TEST
	//
	// A test report.
	Type *string `locationName:"type" type:"string" enum:"ReportType"`
	// contains filtered or unexported fields
}

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

func (Report) GoString added in v1.25.42

func (s Report) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Report) SetArn added in v1.25.42

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

SetArn sets the Arn field's value.

func (*Report) SetCodeCoverageSummary added in v1.33.16

func (s *Report) SetCodeCoverageSummary(v *CodeCoverageReportSummary) *Report

SetCodeCoverageSummary sets the CodeCoverageSummary field's value.

func (*Report) SetCreated added in v1.25.42

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

SetCreated sets the Created field's value.

func (*Report) SetExecutionId added in v1.25.42

func (s *Report) SetExecutionId(v string) *Report

SetExecutionId sets the ExecutionId field's value.

func (*Report) SetExpired added in v1.25.42

func (s *Report) SetExpired(v time.Time) *Report

SetExpired sets the Expired field's value.

func (*Report) SetExportConfig added in v1.25.42

func (s *Report) SetExportConfig(v *ReportExportConfig) *Report

SetExportConfig sets the ExportConfig field's value.

func (*Report) SetName added in v1.25.42

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

SetName sets the Name field's value.

func (*Report) SetReportGroupArn added in v1.25.42

func (s *Report) SetReportGroupArn(v string) *Report

SetReportGroupArn sets the ReportGroupArn field's value.

func (*Report) SetStatus added in v1.25.42

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

SetStatus sets the Status field's value.

func (*Report) SetTestSummary added in v1.25.42

func (s *Report) SetTestSummary(v *TestReportSummary) *Report

SetTestSummary sets the TestSummary field's value.

func (*Report) SetTruncated added in v1.25.42

func (s *Report) SetTruncated(v bool) *Report

SetTruncated sets the Truncated field's value.

func (*Report) SetType added in v1.25.42

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

SetType sets the Type field's value.

func (Report) String added in v1.25.42

func (s Report) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportExportConfig added in v1.25.42

type ReportExportConfig struct {

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

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

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

func (ReportExportConfig) GoString added in v1.25.42

func (s ReportExportConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportExportConfig) SetExportConfigType added in v1.25.42

func (s *ReportExportConfig) SetExportConfigType(v string) *ReportExportConfig

SetExportConfigType sets the ExportConfigType field's value.

func (*ReportExportConfig) SetS3Destination added in v1.25.42

SetS3Destination sets the S3Destination field's value.

func (ReportExportConfig) String added in v1.25.42

func (s ReportExportConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportExportConfig) Validate added in v1.25.42

func (s *ReportExportConfig) Validate() error

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

type ReportFilter added in v1.25.42

type ReportFilter struct {

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

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

func (ReportFilter) GoString added in v1.25.42

func (s ReportFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportFilter) SetStatus added in v1.25.42

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

SetStatus sets the Status field's value.

func (ReportFilter) String added in v1.25.42

func (s ReportFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportGroup added in v1.25.42

type ReportGroup struct {

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

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

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

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

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

	// The status of the report group. This property is read-only.
	//
	// This can be one of the following values:
	//
	// ACTIVE
	//
	// The report group is active.
	//
	// DELETING
	//
	// The report group is in the process of being deleted.
	Status *string `locationName:"status" type:"string" enum:"ReportGroupStatusType"`

	// A list of tag key and value pairs associated with this report group.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild report group tags.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The type of the ReportGroup. This can be one of the following values:
	//
	// CODE_COVERAGE
	//
	// The report group contains code coverage reports.
	//
	// TEST
	//
	// The report group contains test reports.
	Type *string `locationName:"type" type:"string" enum:"ReportType"`
	// contains filtered or unexported fields
}

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

func (ReportGroup) GoString added in v1.25.42

func (s ReportGroup) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportGroup) SetArn added in v1.25.42

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

SetArn sets the Arn field's value.

func (*ReportGroup) SetCreated added in v1.25.42

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

SetCreated sets the Created field's value.

func (*ReportGroup) SetExportConfig added in v1.25.42

func (s *ReportGroup) SetExportConfig(v *ReportExportConfig) *ReportGroup

SetExportConfig sets the ExportConfig field's value.

func (*ReportGroup) SetLastModified added in v1.25.42

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

SetLastModified sets the LastModified field's value.

func (*ReportGroup) SetName added in v1.25.42

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

SetName sets the Name field's value.

func (*ReportGroup) SetStatus added in v1.35.31

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

SetStatus sets the Status field's value.

func (*ReportGroup) SetTags added in v1.31.3

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

SetTags sets the Tags field's value.

func (*ReportGroup) SetType added in v1.25.42

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

SetType sets the Type field's value.

func (ReportGroup) String added in v1.25.42

func (s ReportGroup) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportGroupTrendStats added in v1.35.35

type ReportGroupTrendStats struct {

	// Contains the average of all values analyzed.
	Average *string `locationName:"average" type:"string"`

	// Contains the maximum value analyzed.
	Max *string `locationName:"max" type:"string"`

	// Contains the minimum value analyzed.
	Min *string `locationName:"min" type:"string"`
	// contains filtered or unexported fields
}

Contains trend statistics for a set of reports. The actual values depend on the type of trend being collected. For more information, see .

func (ReportGroupTrendStats) GoString added in v1.35.35

func (s ReportGroupTrendStats) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportGroupTrendStats) SetAverage added in v1.35.35

SetAverage sets the Average field's value.

func (*ReportGroupTrendStats) SetMax added in v1.35.35

SetMax sets the Max field's value.

func (*ReportGroupTrendStats) SetMin added in v1.35.35

SetMin sets the Min field's value.

func (ReportGroupTrendStats) String added in v1.35.35

func (s ReportGroupTrendStats) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReportWithRawData added in v1.35.35

type ReportWithRawData struct {

	// The value of the requested data field from the report.
	Data *string `locationName:"data" type:"string"`

	// The ARN of the report.
	ReportArn *string `locationName:"reportArn" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Contains the unmodified data for the report. For more information, see .

func (ReportWithRawData) GoString added in v1.35.35

func (s ReportWithRawData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReportWithRawData) SetData added in v1.35.35

SetData sets the Data field's value.

func (*ReportWithRawData) SetReportArn added in v1.35.35

func (s *ReportWithRawData) SetReportArn(v string) *ReportWithRawData

SetReportArn sets the ReportArn field's value.

func (ReportWithRawData) String added in v1.35.35

func (s ReportWithRawData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResolvedArtifact added in v1.33.16

type ResolvedArtifact struct {

	// The identifier of the artifact.
	Identifier *string `locationName:"identifier" type:"string"`

	// The location of the artifact.
	Location *string `locationName:"location" type:"string"`

	// Specifies the type of artifact.
	Type *string `locationName:"type" type:"string" enum:"ArtifactsType"`
	// contains filtered or unexported fields
}

Represents a resolved build artifact. A resolved artifact is an artifact that is built and deployed to the destination, such as Amazon S3.

func (ResolvedArtifact) GoString added in v1.33.16

func (s ResolvedArtifact) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResolvedArtifact) SetIdentifier added in v1.33.16

func (s *ResolvedArtifact) SetIdentifier(v string) *ResolvedArtifact

SetIdentifier sets the Identifier field's value.

func (*ResolvedArtifact) SetLocation added in v1.33.16

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

SetLocation sets the Location field's value.

func (*ResolvedArtifact) SetType added in v1.33.16

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

SetType sets the Type field's value.

func (ResolvedArtifact) String added in v1.33.16

func (s ResolvedArtifact) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceAlreadyExistsException added in v1.28.0

type ResourceAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.

func (*ResourceAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error added in v1.28.0

func (ResourceAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID added in v1.28.0

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode added in v1.28.0

func (s *ResourceAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceAlreadyExistsException) String added in v1.28.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified Amazon Web Services resource cannot be found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RetryBuildBatchInput added in v1.33.16

type RetryBuildBatchInput struct {

	// Specifies the identifier of the batch build to restart.
	Id *string `locationName:"id" min:"1" type:"string"`

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

	// Specifies the type of retry to perform.
	RetryType *string `locationName:"retryType" type:"string" enum:"RetryBuildBatchType"`
	// contains filtered or unexported fields
}

func (RetryBuildBatchInput) GoString added in v1.33.16

func (s RetryBuildBatchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildBatchInput) SetId added in v1.33.16

SetId sets the Id field's value.

func (*RetryBuildBatchInput) SetIdempotencyToken added in v1.33.16

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

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*RetryBuildBatchInput) SetRetryType added in v1.33.16

func (s *RetryBuildBatchInput) SetRetryType(v string) *RetryBuildBatchInput

SetRetryType sets the RetryType field's value.

func (RetryBuildBatchInput) String added in v1.33.16

func (s RetryBuildBatchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildBatchInput) Validate added in v1.33.16

func (s *RetryBuildBatchInput) Validate() error

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

type RetryBuildBatchOutput added in v1.33.16

type RetryBuildBatchOutput struct {

	// Contains information about a batch build.
	BuildBatch *BuildBatch `locationName:"buildBatch" type:"structure"`
	// contains filtered or unexported fields
}

func (RetryBuildBatchOutput) GoString added in v1.33.16

func (s RetryBuildBatchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildBatchOutput) SetBuildBatch added in v1.33.16

SetBuildBatch sets the BuildBatch field's value.

func (RetryBuildBatchOutput) String added in v1.33.16

func (s RetryBuildBatchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RetryBuildInput added in v1.33.16

type RetryBuildInput struct {

	// Specifies the identifier of the build to restart.
	Id *string `locationName:"id" min:"1" type:"string"`

	// A unique, case sensitive identifier you provide to ensure the idempotency
	// of the RetryBuild request. The token is included in the RetryBuild request
	// and is valid for five minutes. If you repeat the RetryBuild request with
	// the same token, but change a parameter, CodeBuild returns a parameter mismatch
	// error.
	IdempotencyToken *string `locationName:"idempotencyToken" type:"string"`
	// contains filtered or unexported fields
}

func (RetryBuildInput) GoString added in v1.33.16

func (s RetryBuildInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildInput) SetId added in v1.33.16

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

SetId sets the Id field's value.

func (*RetryBuildInput) SetIdempotencyToken added in v1.33.16

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

SetIdempotencyToken sets the IdempotencyToken field's value.

func (RetryBuildInput) String added in v1.33.16

func (s RetryBuildInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildInput) Validate added in v1.33.16

func (s *RetryBuildInput) Validate() error

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

type RetryBuildOutput added in v1.33.16

type RetryBuildOutput struct {

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

func (RetryBuildOutput) GoString added in v1.33.16

func (s RetryBuildOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RetryBuildOutput) SetBuild added in v1.33.16

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

SetBuild sets the Build field's value.

func (RetryBuildOutput) String added in v1.33.16

func (s RetryBuildOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type S3LogsConfig added in v1.15.36

type S3LogsConfig struct {

	// Specifies the bucket owner's access for objects that another account uploads
	// to their Amazon S3 bucket. By default, only the account that uploads the
	// objects to the bucket has access to these objects. This property allows you
	// to give the bucket owner access to these objects.
	//
	// To use this property, your CodeBuild service role must have the s3:PutBucketAcl
	// permission. This permission allows CodeBuild to modify the access control
	// list for the bucket.
	//
	// This property can be one of the following values:
	//
	// NONE
	//
	// The bucket owner does not have access to the objects. This is the default.
	//
	// READ_ONLY
	//
	// The bucket owner has read-only access to the objects. The uploading account
	// retains ownership of the objects.
	//
	// FULL
	//
	// The bucket owner has full access to the objects. Object ownership is determined
	// by the following criteria:
	//
	//    * If the bucket is configured with the Bucket owner preferred setting,
	//    the bucket owner owns the objects. The uploading account will have object
	//    access as specified by the bucket's policy.
	//
	//    * Otherwise, the uploading account retains ownership of the objects.
	//
	// For more information about Amazon S3 object ownership, see Controlling ownership
	// of uploaded objects using S3 Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
	// in the Amazon Simple Storage Service User Guide.
	BucketOwnerAccess *string `locationName:"bucketOwnerAccess" type:"string" enum:"BucketOwnerAccess"`

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

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

	// The current status of the S3 build logs. Valid values are:
	//
	//    * ENABLED: S3 build logs are enabled for this build project.
	//
	//    * DISABLED: S3 build logs are not enabled for this build project.
	//
	// Status is a required field
	Status *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 added in v1.15.36

func (s S3LogsConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3LogsConfig) SetBucketOwnerAccess added in v1.38.18

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

SetBucketOwnerAccess sets the BucketOwnerAccess field's value.

func (*S3LogsConfig) SetEncryptionDisabled added in v1.17.14

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

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*S3LogsConfig) SetLocation added in v1.15.36

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

SetLocation sets the Location field's value.

func (*S3LogsConfig) SetStatus added in v1.15.36

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

SetStatus sets the Status field's value.

func (S3LogsConfig) String added in v1.15.36

func (s S3LogsConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3LogsConfig) Validate added in v1.15.36

func (s *S3LogsConfig) Validate() error

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

type S3ReportExportConfig added in v1.25.42

type S3ReportExportConfig struct {

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

	// The Amazon Web Services account identifier of the owner of the Amazon S3
	// bucket. This allows report data to be exported to an Amazon S3 bucket that
	// is owned by an account other than the account running the build.
	BucketOwner *string `locationName:"bucketOwner" type:"string"`

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

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

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

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

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

func (S3ReportExportConfig) GoString added in v1.25.42

func (s S3ReportExportConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ReportExportConfig) SetBucket added in v1.25.42

SetBucket sets the Bucket field's value.

func (*S3ReportExportConfig) SetBucketOwner added in v1.37.14

func (s *S3ReportExportConfig) SetBucketOwner(v string) *S3ReportExportConfig

SetBucketOwner sets the BucketOwner field's value.

func (*S3ReportExportConfig) SetEncryptionDisabled added in v1.25.42

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

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*S3ReportExportConfig) SetEncryptionKey added in v1.25.42

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

SetEncryptionKey sets the EncryptionKey field's value.

func (*S3ReportExportConfig) SetPackaging added in v1.25.42

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

SetPackaging sets the Packaging field's value.

func (*S3ReportExportConfig) SetPath added in v1.25.42

SetPath sets the Path field's value.

func (S3ReportExportConfig) String added in v1.25.42

func (s S3ReportExportConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3ReportExportConfig) Validate added in v1.25.42

func (s *S3ReportExportConfig) Validate() error

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

type ScalingConfigurationInput_ added in v1.50.0

type ScalingConfigurationInput_ struct {

	// The maximum number of instances in the fleet when auto-scaling.
	MaxCapacity *int64 `locationName:"maxCapacity" min:"1" type:"integer"`

	// The scaling type for a compute fleet.
	ScalingType *string `locationName:"scalingType" type:"string" enum:"FleetScalingType"`

	// A list of TargetTrackingScalingConfiguration objects.
	TargetTrackingScalingConfigs []*TargetTrackingScalingConfiguration `locationName:"targetTrackingScalingConfigs" type:"list"`
	// contains filtered or unexported fields
}

The scaling configuration input of a compute fleet.

func (ScalingConfigurationInput_) GoString added in v1.50.0

func (s ScalingConfigurationInput_) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingConfigurationInput_) SetMaxCapacity added in v1.50.0

SetMaxCapacity sets the MaxCapacity field's value.

func (*ScalingConfigurationInput_) SetScalingType added in v1.50.0

SetScalingType sets the ScalingType field's value.

func (*ScalingConfigurationInput_) SetTargetTrackingScalingConfigs added in v1.50.0

SetTargetTrackingScalingConfigs sets the TargetTrackingScalingConfigs field's value.

func (ScalingConfigurationInput_) String added in v1.50.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingConfigurationInput_) Validate added in v1.50.0

func (s *ScalingConfigurationInput_) Validate() error

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

type ScalingConfigurationOutput_ added in v1.50.0

type ScalingConfigurationOutput_ struct {

	// The desired number of instances in the fleet when auto-scaling.
	DesiredCapacity *int64 `locationName:"desiredCapacity" min:"1" type:"integer"`

	// The maximum number of instances in the fleet when auto-scaling.
	MaxCapacity *int64 `locationName:"maxCapacity" min:"1" type:"integer"`

	// The scaling type for a compute fleet.
	ScalingType *string `locationName:"scalingType" type:"string" enum:"FleetScalingType"`

	// A list of TargetTrackingScalingConfiguration objects.
	TargetTrackingScalingConfigs []*TargetTrackingScalingConfiguration `locationName:"targetTrackingScalingConfigs" type:"list"`
	// contains filtered or unexported fields
}

The scaling configuration output of a compute fleet.

func (ScalingConfigurationOutput_) GoString added in v1.50.0

func (s ScalingConfigurationOutput_) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingConfigurationOutput_) SetDesiredCapacity added in v1.50.0

SetDesiredCapacity sets the DesiredCapacity field's value.

func (*ScalingConfigurationOutput_) SetMaxCapacity added in v1.50.0

SetMaxCapacity sets the MaxCapacity field's value.

func (*ScalingConfigurationOutput_) SetScalingType added in v1.50.0

SetScalingType sets the ScalingType field's value.

func (*ScalingConfigurationOutput_) SetTargetTrackingScalingConfigs added in v1.50.0

SetTargetTrackingScalingConfigs sets the TargetTrackingScalingConfigs field's value.

func (ScalingConfigurationOutput_) String added in v1.50.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SourceAuth

type SourceAuth struct {

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

	// The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
	//
	// 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 CodeBuild to access the source code to be built.

This information is for the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceAuth) Validate

func (s *SourceAuth) Validate() error

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

type SourceCredentialsInfo added in v1.16.1

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, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
	AuthType *string `locationName:"authType" type:"string" enum:"AuthType"`

	// The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED
	// and your authType is CODECONNECTIONS.
	Resource *string `locationName:"resource" type:"string"`

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

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

func (SourceCredentialsInfo) GoString added in v1.16.1

func (s SourceCredentialsInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SourceCredentialsInfo) SetArn added in v1.16.1

SetArn sets the Arn field's value.

func (*SourceCredentialsInfo) SetAuthType added in v1.16.1

SetAuthType sets the AuthType field's value.

func (*SourceCredentialsInfo) SetResource added in v1.51.7

SetResource sets the Resource field's value.

func (*SourceCredentialsInfo) SetServerType added in v1.16.1

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

SetServerType sets the ServerType field's value.

func (SourceCredentialsInfo) String added in v1.16.1

func (s SourceCredentialsInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartBuildBatchInput added in v1.33.16

type StartBuildBatchInput struct {

	// An array of ProjectArtifacts objects that contains information about the
	// build output artifact overrides for the build project.
	ArtifactsOverride *ProjectArtifacts `locationName:"artifactsOverride" type:"structure"`

	// A BuildBatchConfigOverride object that contains batch build configuration
	// overrides.
	BuildBatchConfigOverride *ProjectBuildBatchConfig `locationName:"buildBatchConfigOverride" type:"structure"`

	// Overrides the build timeout specified in the batch build project.
	BuildTimeoutInMinutesOverride *int64 `locationName:"buildTimeoutInMinutesOverride" min:"5" type:"integer"`

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

	// A ProjectCache object that specifies cache overrides.
	CacheOverride *ProjectCache `locationName:"cacheOverride" type:"structure"`

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

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

	// Specifies if session debugging is enabled for this batch build. For more
	// information, see Viewing a running build in Session Manager (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html).
	// Batch session debugging is not supported for matrix batch builds.
	DebugSessionEnabled *bool `locationName:"debugSessionEnabled" type:"boolean"`

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

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

	// An array of EnvironmentVariable objects that override, or add to, the environment
	// variables defined in the batch build project.
	EnvironmentVariablesOverride []*EnvironmentVariable `locationName:"environmentVariablesOverride" type:"list"`

	// The user-defined depth of history, with a minimum value of 0, that overrides,
	// for this batch build only, any previous depth of history defined in the batch
	// build project.
	GitCloneDepthOverride *int64 `locationName:"gitCloneDepthOverride" type:"integer"`

	// A GitSubmodulesConfig object that overrides the Git submodules configuration
	// for this batch build.
	GitSubmodulesConfigOverride *GitSubmodulesConfig `locationName:"gitSubmodulesConfigOverride" type:"structure"`

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

	// The name of an image for this batch build that overrides the one specified
	// in the batch build project.
	ImageOverride *string `locationName:"imageOverride" min:"1" type:"string"`

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

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

	// A LogsConfig object that override the log settings defined in the batch build
	// project.
	LogsConfigOverride *LogsConfig `locationName:"logsConfigOverride" type:"structure"`

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

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

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

	// A RegistryCredential object that overrides credentials for access to a private
	// registry.
	RegistryCredentialOverride *RegistryCredential `locationName:"registryCredentialOverride" type:"structure"`

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

	// An array of ProjectArtifacts objects that override the secondary artifacts
	// defined in the batch build project.
	SecondaryArtifactsOverride []*ProjectArtifacts `locationName:"secondaryArtifactsOverride" type:"list"`

	// An array of ProjectSource objects that override the secondary sources defined
	// in the batch build project.
	SecondarySourcesOverride []*ProjectSource `locationName:"secondarySourcesOverride" type:"list"`

	// An array of ProjectSourceVersion objects that override the secondary source
	// versions in the batch build project.
	SecondarySourcesVersionOverride []*ProjectSourceVersion `locationName:"secondarySourcesVersionOverride" type:"list"`

	// The name of a service role for this batch build that overrides the one specified
	// in the batch build project.
	ServiceRoleOverride *string `locationName:"serviceRoleOverride" min:"1" type:"string"`

	// A SourceAuth object that overrides the one defined in the batch build project.
	// This override applies only if the build project's source is BitBucket or
	// GitHub.
	SourceAuthOverride *SourceAuth `locationName:"sourceAuthOverride" type:"structure"`

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

	// The source input type that overrides the source input defined in the batch
	// build project.
	SourceTypeOverride *string `locationName:"sourceTypeOverride" type:"string" enum:"SourceType"`

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

func (StartBuildBatchInput) GoString added in v1.33.16

func (s StartBuildBatchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartBuildBatchInput) SetArtifactsOverride added in v1.33.16

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

SetArtifactsOverride sets the ArtifactsOverride field's value.

func (*StartBuildBatchInput) SetBuildBatchConfigOverride added in v1.33.16

func (s *StartBuildBatchInput) SetBuildBatchConfigOverride(v *ProjectBuildBatchConfig) *StartBuildBatchInput

SetBuildBatchConfigOverride sets the BuildBatchConfigOverride field's value.

func (*StartBuildBatchInput) SetBuildTimeoutInMinutesOverride added in v1.33.16

func (s *StartBuildBatchInput) SetBuildTimeoutInMinutesOverride(v int64) *StartBuildBatchInput

SetBuildTimeoutInMinutesOverride sets the BuildTimeoutInMinutesOverride field's value.

func (*StartBuildBatchInput) SetBuildspecOverride added in v1.33.16

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

SetBuildspecOverride sets the BuildspecOverride field's value.

func (*StartBuildBatchInput) SetCacheOverride added in v1.33.16

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

SetCacheOverride sets the CacheOverride field's value.

func (*StartBuildBatchInput) SetCertificateOverride added in v1.33.16

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

SetCertificateOverride sets the CertificateOverride field's value.

func (*StartBuildBatchInput) SetComputeTypeOverride added in v1.33.16

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

SetComputeTypeOverride sets the ComputeTypeOverride field's value.

func (*StartBuildBatchInput) SetDebugSessionEnabled added in v1.37.23

func (s *StartBuildBatchInput) SetDebugSessionEnabled(v bool) *StartBuildBatchInput

SetDebugSessionEnabled sets the DebugSessionEnabled field's value.

func (*StartBuildBatchInput) SetEncryptionKeyOverride added in v1.33.16

func (s *StartBuildBatchInput) SetEncryptionKeyOverride(v string) *StartBuildBatchInput

SetEncryptionKeyOverride sets the EncryptionKeyOverride field's value.

func (*StartBuildBatchInput) SetEnvironmentTypeOverride added in v1.33.16

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

SetEnvironmentTypeOverride sets the EnvironmentTypeOverride field's value.

func (*StartBuildBatchInput) SetEnvironmentVariablesOverride added in v1.33.16

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

SetEnvironmentVariablesOverride sets the EnvironmentVariablesOverride field's value.

func (*StartBuildBatchInput) SetGitCloneDepthOverride added in v1.33.16

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

SetGitCloneDepthOverride sets the GitCloneDepthOverride field's value.

func (*StartBuildBatchInput) SetGitSubmodulesConfigOverride added in v1.33.16

func (s *StartBuildBatchInput) SetGitSubmodulesConfigOverride(v *GitSubmodulesConfig) *StartBuildBatchInput

SetGitSubmodulesConfigOverride sets the GitSubmodulesConfigOverride field's value.

func (*StartBuildBatchInput) SetIdempotencyToken added in v1.33.16

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

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*StartBuildBatchInput) SetImageOverride added in v1.33.16

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

SetImageOverride sets the ImageOverride field's value.

func (*StartBuildBatchInput) SetImagePullCredentialsTypeOverride added in v1.33.16

func (s *StartBuildBatchInput) SetImagePullCredentialsTypeOverride(v string) *StartBuildBatchInput

SetImagePullCredentialsTypeOverride sets the ImagePullCredentialsTypeOverride field's value.

func (*StartBuildBatchInput) SetInsecureSslOverride added in v1.33.16

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

SetInsecureSslOverride sets the InsecureSslOverride field's value.

func (*StartBuildBatchInput) SetLogsConfigOverride added in v1.33.16

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

SetLogsConfigOverride sets the LogsConfigOverride field's value.

func (*StartBuildBatchInput) SetPrivilegedModeOverride added in v1.33.16

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

SetPrivilegedModeOverride sets the PrivilegedModeOverride field's value.

func (*StartBuildBatchInput) SetProjectName added in v1.33.16

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

SetProjectName sets the ProjectName field's value.

func (*StartBuildBatchInput) SetQueuedTimeoutInMinutesOverride added in v1.33.16

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

SetQueuedTimeoutInMinutesOverride sets the QueuedTimeoutInMinutesOverride field's value.

func (*StartBuildBatchInput) SetRegistryCredentialOverride added in v1.33.16

func (s *StartBuildBatchInput) SetRegistryCredentialOverride(v *RegistryCredential) *StartBuildBatchInput

SetRegistryCredentialOverride sets the RegistryCredentialOverride field's value.

func (*StartBuildBatchInput) SetReportBuildBatchStatusOverride added in v1.33.16

func (s *StartBuildBatchInput) SetReportBuildBatchStatusOverride(v bool) *StartBuildBatchInput

SetReportBuildBatchStatusOverride sets the ReportBuildBatchStatusOverride field's value.

func (*StartBuildBatchInput) SetSecondaryArtifactsOverride added in v1.33.16

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

SetSecondaryArtifactsOverride sets the SecondaryArtifactsOverride field's value.

func (*StartBuildBatchInput) SetSecondarySourcesOverride added in v1.33.16

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

SetSecondarySourcesOverride sets the SecondarySourcesOverride field's value.

func (*StartBuildBatchInput) SetSecondarySourcesVersionOverride added in v1.33.16

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

SetSecondarySourcesVersionOverride sets the SecondarySourcesVersionOverride field's value.

func (*StartBuildBatchInput) SetServiceRoleOverride added in v1.33.16

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

SetServiceRoleOverride sets the ServiceRoleOverride field's value.

func (*StartBuildBatchInput) SetSourceAuthOverride added in v1.33.16

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

SetSourceAuthOverride sets the SourceAuthOverride field's value.

func (*StartBuildBatchInput) SetSourceLocationOverride added in v1.33.16

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

SetSourceLocationOverride sets the SourceLocationOverride field's value.

func (*StartBuildBatchInput) SetSourceTypeOverride added in v1.33.16

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

SetSourceTypeOverride sets the SourceTypeOverride field's value.

func (*StartBuildBatchInput) SetSourceVersion added in v1.33.16

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

SetSourceVersion sets the SourceVersion field's value.

func (StartBuildBatchInput) String added in v1.33.16

func (s StartBuildBatchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartBuildBatchInput) Validate added in v1.33.16

func (s *StartBuildBatchInput) Validate() error

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

type StartBuildBatchOutput added in v1.33.16

type StartBuildBatchOutput struct {

	// A BuildBatch object that contains information about the batch build.
	BuildBatch *BuildBatch `locationName:"buildBatch" type:"structure"`
	// contains filtered or unexported fields
}

func (StartBuildBatchOutput) GoString added in v1.33.16

func (s StartBuildBatchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartBuildBatchOutput) SetBuildBatch added in v1.33.16

SetBuildBatch sets the BuildBatch field's value.

func (StartBuildBatchOutput) String added in v1.33.16

func (s StartBuildBatchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StartBuildInput

type StartBuildInput struct {

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

	// Contains information that defines how the build project reports the build
	// status to the source provider. This option is only used when the source provider
	// is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
	BuildStatusConfigOverride *BuildStatusConfig `locationName:"buildStatusConfigOverride" type:"structure"`

	// A buildspec file declaration that overrides the latest one defined in the
	// build project, for this build only. The buildspec defined on the project
	// is not changed.
	//
	// If this value is set, it can be either an inline buildspec definition, the
	// path to an alternate buildspec file relative to the value of the built-in
	// CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The
	// bucket must be in the same Amazon Web Services Region as the build project.
	// Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml).
	// If this value is not provided or is set to an empty string, the source code
	// must contain a buildspec file in its root directory. For more information,
	// see Buildspec File Name and Storage Location (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage).
	//
	// Since this property allows you to change the build commands that will run
	// in the container, you should note that an IAM principal with the ability
	// to call this API and set this parameter can override the default settings.
	// Moreover, we encourage that you use a trustworthy buildspec location like
	// a file in your source repository or a Amazon S3 bucket.
	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"`

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

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

	// A container type for this build that overrides the one specified in the build
	// project.
	EnvironmentTypeOverride *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"`

	// A ProjectFleet object specified for this build that overrides the one defined
	// in the build project.
	FleetOverride *ProjectFleet `locationName:"fleetOverride" type:"structure"`

	// The user-defined depth of history, with a minimum value of 0, that overrides,
	// for this build only, any previous depth of history defined in the build project.
	GitCloneDepthOverride *int64 `locationName:"gitCloneDepthOverride" type:"integer"`

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

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

	// The name of an image for this build that overrides the one specified in the
	// build project.
	ImageOverride *string `locationName:"imageOverride" min:"1" type:"string"`

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

	// Enable this flag to override the insecure SSL setting that is specified in
	// the build project. The insecure SSL setting determines whether to ignore
	// SSL warnings while connecting to the project source code. This override applies
	// only if the build's source is GitHub Enterprise.
	InsecureSslOverride *bool `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 CodeBuild build project to start running a build.
	//
	// ProjectName is a required field
	ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`

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

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

	// Set to true to report to your source provider the status of a build's start
	// and completion. If you use this option with a source provider other than
	// GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown.
	//
	// To be able to report the build status to the source provider, the user associated
	// with the source provider must have write access to the repo. If the user
	// does not have write access, the build status cannot be updated. For more
	// information, see Source provider access (https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html)
	// in the CodeBuild User Guide.
	//
	// The status of a build triggered by a webhook is always reported to your source
	// provider.
	ReportBuildStatusOverride *bool `locationName:"reportBuildStatusOverride" type:"boolean"`

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

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

	// An array of ProjectSourceVersion objects that specify one or more versions
	// of the project's secondary sources to be used for this build only.
	SecondarySourcesVersionOverride []*ProjectSourceVersion `locationName:"secondarySourcesVersionOverride" type:"list"`

	// The name of a service role for this build that overrides the one specified
	// in the build project.
	ServiceRoleOverride *string `locationName:"serviceRoleOverride" min:"1" type:"string"`

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

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

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

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

	// The number of build timeout minutes, from 5 to 480 (8 hours), that overrides,
	// for this build only, the latest setting already defined in the build project.
	TimeoutInMinutesOverride *int64 `locationName:"timeoutInMinutesOverride" min:"5" type:"integer"`
	// contains filtered or unexported fields
}

func (StartBuildInput) GoString

func (s StartBuildInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartBuildInput) SetArtifactsOverride

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

SetArtifactsOverride sets the ArtifactsOverride field's value.

func (*StartBuildInput) SetBuildStatusConfigOverride added in v1.33.0

func (s *StartBuildInput) SetBuildStatusConfigOverride(v *BuildStatusConfig) *StartBuildInput

SetBuildStatusConfigOverride sets the BuildStatusConfigOverride 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) SetDebugSessionEnabled added in v1.33.8

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

SetDebugSessionEnabled sets the DebugSessionEnabled field's value.

func (*StartBuildInput) SetEncryptionKeyOverride added in v1.27.2

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

SetEncryptionKeyOverride sets the EncryptionKeyOverride 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) SetFleetOverride added in v1.50.0

func (s *StartBuildInput) SetFleetOverride(v *ProjectFleet) *StartBuildInput

SetFleetOverride sets the FleetOverride 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) SetGitSubmodulesConfigOverride added in v1.17.14

func (s *StartBuildInput) SetGitSubmodulesConfigOverride(v *GitSubmodulesConfig) *StartBuildInput

SetGitSubmodulesConfigOverride sets the GitSubmodulesConfigOverride 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) SetImagePullCredentialsTypeOverride added in v1.16.25

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

SetImagePullCredentialsTypeOverride sets the ImagePullCredentialsTypeOverride 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 added in v1.15.36

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 added in v1.15.77

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

SetQueuedTimeoutInMinutesOverride sets the QueuedTimeoutInMinutesOverride field's value.

func (*StartBuildInput) SetRegistryCredentialOverride added in v1.16.25

func (s *StartBuildInput) SetRegistryCredentialOverride(v *RegistryCredential) *StartBuildInput

SetRegistryCredentialOverride sets the RegistryCredentialOverride 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 added in v1.15.25

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

SetSecondaryArtifactsOverride sets the SecondaryArtifactsOverride field's value.

func (*StartBuildInput) SetSecondarySourcesOverride added in v1.15.25

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

SetSecondarySourcesOverride sets the SecondarySourcesOverride field's value.

func (*StartBuildInput) SetSecondarySourcesVersionOverride added in v1.15.25

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StopBuildBatchInput added in v1.33.16

type StopBuildBatchInput struct {

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

func (StopBuildBatchInput) GoString added in v1.33.16

func (s StopBuildBatchInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopBuildBatchInput) SetId added in v1.33.16

SetId sets the Id field's value.

func (StopBuildBatchInput) String added in v1.33.16

func (s StopBuildBatchInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopBuildBatchInput) Validate added in v1.33.16

func (s *StopBuildBatchInput) Validate() error

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

type StopBuildBatchOutput added in v1.33.16

type StopBuildBatchOutput struct {

	// Contains information about a batch build.
	BuildBatch *BuildBatch `locationName:"buildBatch" type:"structure"`
	// contains filtered or unexported fields
}

func (StopBuildBatchOutput) GoString added in v1.33.16

func (s StopBuildBatchOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopBuildBatchOutput) SetBuildBatch added in v1.33.16

SetBuildBatch sets the BuildBatch field's value.

func (StopBuildBatchOutput) String added in v1.33.16

func (s StopBuildBatchOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

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

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

A tag, consisting of a key and a value.

This tag is available for use by Amazon Web Services services that support tags in CodeBuild.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TargetTrackingScalingConfiguration added in v1.50.0

type TargetTrackingScalingConfiguration struct {

	// The metric type to determine auto-scaling.
	MetricType *string `locationName:"metricType" type:"string" enum:"FleetScalingMetricType"`

	// The value of metricType when to start scaling.
	TargetValue *float64 `locationName:"targetValue" type:"double"`
	// contains filtered or unexported fields
}

Defines when a new instance is auto-scaled into the compute fleet.

func (TargetTrackingScalingConfiguration) GoString added in v1.50.0

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TargetTrackingScalingConfiguration) SetMetricType added in v1.50.0

SetMetricType sets the MetricType field's value.

func (*TargetTrackingScalingConfiguration) SetTargetValue added in v1.50.0

SetTargetValue sets the TargetValue field's value.

func (TargetTrackingScalingConfiguration) String added in v1.50.0

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestCase added in v1.25.42

type TestCase struct {

	// The number of nanoseconds it took to run this test case.
	DurationInNanoSeconds *int64 `locationName:"durationInNanoSeconds" type:"long"`

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

	// A message associated with a test case. For example, an error message or stack
	// trace.
	Message *string `locationName:"message" type:"string"`

	// The name of the test case.
	Name *string `locationName:"name" type:"string"`

	// A string that is applied to a series of related test cases. CodeBuild generates
	// the prefix. The prefix depends on the framework used to generate the tests.
	Prefix *string `locationName:"prefix" type:"string"`

	// The ARN of the report to which the test case belongs.
	ReportArn *string `locationName:"reportArn" min:"1" type:"string"`

	// The status returned by the test case after it was run. Valid statuses are
	// SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
	Status *string `locationName:"status" type:"string"`

	// The path to the raw data file that contains the test result.
	TestRawDataPath *string `locationName:"testRawDataPath" type:"string"`
	// contains filtered or unexported fields
}

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

func (TestCase) GoString added in v1.25.42

func (s TestCase) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestCase) SetDurationInNanoSeconds added in v1.25.42

func (s *TestCase) SetDurationInNanoSeconds(v int64) *TestCase

SetDurationInNanoSeconds sets the DurationInNanoSeconds field's value.

func (*TestCase) SetExpired added in v1.25.42

func (s *TestCase) SetExpired(v time.Time) *TestCase

SetExpired sets the Expired field's value.

func (*TestCase) SetMessage added in v1.25.42

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

SetMessage sets the Message field's value.

func (*TestCase) SetName added in v1.25.42

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

SetName sets the Name field's value.

func (*TestCase) SetPrefix added in v1.25.42

func (s *TestCase) SetPrefix(v string) *TestCase

SetPrefix sets the Prefix field's value.

func (*TestCase) SetReportArn added in v1.25.42

func (s *TestCase) SetReportArn(v string) *TestCase

SetReportArn sets the ReportArn field's value.

func (*TestCase) SetStatus added in v1.25.42

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

SetStatus sets the Status field's value.

func (*TestCase) SetTestRawDataPath added in v1.25.42

func (s *TestCase) SetTestRawDataPath(v string) *TestCase

SetTestRawDataPath sets the TestRawDataPath field's value.

func (TestCase) String added in v1.25.42

func (s TestCase) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestCaseFilter added in v1.25.42

type TestCaseFilter struct {

	// A keyword that is used to filter on the name or the prefix of the test cases.
	// Only test cases where the keyword is a substring of the name or the prefix
	// will be returned.
	Keyword *string `locationName:"keyword" type:"string"`

	// The status used to filter test cases. A TestCaseFilter can have one status.
	// Valid values are:
	//
	//    * SUCCEEDED
	//
	//    * FAILED
	//
	//    * ERROR
	//
	//    * SKIPPED
	//
	//    * UNKNOWN
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

A filter used to return specific types of test cases. In order to pass the filter, the report must meet all of the filter properties.

func (TestCaseFilter) GoString added in v1.25.42

func (s TestCaseFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestCaseFilter) SetKeyword added in v1.34.19

func (s *TestCaseFilter) SetKeyword(v string) *TestCaseFilter

SetKeyword sets the Keyword field's value.

func (*TestCaseFilter) SetStatus added in v1.25.42

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

SetStatus sets the Status field's value.

func (TestCaseFilter) String added in v1.25.42

func (s TestCaseFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestReportSummary added in v1.25.42

type TestReportSummary struct {

	// The number of nanoseconds it took to run all of the test cases in this report.
	//
	// DurationInNanoSeconds is a required field
	DurationInNanoSeconds *int64 `locationName:"durationInNanoSeconds" type:"long" required:"true"`

	// A map that contains the number of each type of status returned by the test
	// results in this TestReportSummary.
	//
	// StatusCounts is a required field
	StatusCounts map[string]*int64 `locationName:"statusCounts" type:"map" required:"true"`

	// The number of test cases in this TestReportSummary. The total includes truncated
	// test cases.
	//
	// Total is a required field
	Total *int64 `locationName:"total" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Information about a test report.

func (TestReportSummary) GoString added in v1.25.42

func (s TestReportSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestReportSummary) SetDurationInNanoSeconds added in v1.25.42

func (s *TestReportSummary) SetDurationInNanoSeconds(v int64) *TestReportSummary

SetDurationInNanoSeconds sets the DurationInNanoSeconds field's value.

func (*TestReportSummary) SetStatusCounts added in v1.25.42

func (s *TestReportSummary) SetStatusCounts(v map[string]*int64) *TestReportSummary

SetStatusCounts sets the StatusCounts field's value.

func (*TestReportSummary) SetTotal added in v1.25.42

func (s *TestReportSummary) SetTotal(v int64) *TestReportSummary

SetTotal sets the Total field's value.

func (TestReportSummary) String added in v1.25.42

func (s TestReportSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateFleetInput added in v1.50.0

type UpdateFleetInput struct {

	// The ARN of the compute fleet.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

	// The initial number of machines allocated to the compute fleet, which defines
	// the number of builds that can run in parallel.
	BaseCapacity *int64 `locationName:"baseCapacity" min:"1" type:"integer"`

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

	// The environment type of the compute fleet.
	//
	//    * The environment type ARM_CONTAINER is available only in regions US East
	//    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
	//    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), EU (Frankfurt), and South America (São Paulo).
	//
	//    * The environment type LINUX_CONTAINER is available only in regions US
	//    East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU
	//    (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific
	//    (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	//
	//    * The environment type LINUX_GPU_CONTAINER is available only in regions
	//    US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),
	//    EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	//
	//    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia
	//    Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	//
	//    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only
	//    in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
	//    (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore),
	//    Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, see Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the CodeBuild user guide.
	EnvironmentType *string `locationName:"environmentType" type:"string" enum:"EnvironmentType"`

	// The compute fleet overflow behavior.
	//
	//    * For overflow behavior QUEUE, your overflow builds need to wait on the
	//    existing fleet instance to become available.
	//
	//    * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild
	//    on-demand.
	OverflowBehavior *string `locationName:"overflowBehavior" type:"string" enum:"FleetOverflowBehavior"`

	// The scaling configuration of the compute fleet.
	ScalingConfiguration *ScalingConfigurationInput_ `locationName:"scalingConfiguration" type:"structure"`

	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateFleetInput) GoString added in v1.50.0

func (s UpdateFleetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFleetInput) SetArn added in v1.50.0

SetArn sets the Arn field's value.

func (*UpdateFleetInput) SetBaseCapacity added in v1.50.0

func (s *UpdateFleetInput) SetBaseCapacity(v int64) *UpdateFleetInput

SetBaseCapacity sets the BaseCapacity field's value.

func (*UpdateFleetInput) SetComputeType added in v1.50.0

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

SetComputeType sets the ComputeType field's value.

func (*UpdateFleetInput) SetEnvironmentType added in v1.50.0

func (s *UpdateFleetInput) SetEnvironmentType(v string) *UpdateFleetInput

SetEnvironmentType sets the EnvironmentType field's value.

func (*UpdateFleetInput) SetOverflowBehavior added in v1.51.1

func (s *UpdateFleetInput) SetOverflowBehavior(v string) *UpdateFleetInput

SetOverflowBehavior sets the OverflowBehavior field's value.

func (*UpdateFleetInput) SetScalingConfiguration added in v1.50.0

func (s *UpdateFleetInput) SetScalingConfiguration(v *ScalingConfigurationInput_) *UpdateFleetInput

SetScalingConfiguration sets the ScalingConfiguration field's value.

func (*UpdateFleetInput) SetTags added in v1.50.0

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

SetTags sets the Tags field's value.

func (UpdateFleetInput) String added in v1.50.0

func (s UpdateFleetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFleetInput) Validate added in v1.50.0

func (s *UpdateFleetInput) Validate() error

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

type UpdateFleetOutput added in v1.50.0

type UpdateFleetOutput struct {

	// A Fleet object.
	Fleet *Fleet `locationName:"fleet" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateFleetOutput) GoString added in v1.50.0

func (s UpdateFleetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateFleetOutput) SetFleet added in v1.50.0

func (s *UpdateFleetOutput) SetFleet(v *Fleet) *UpdateFleetOutput

SetFleet sets the Fleet field's value.

func (UpdateFleetOutput) String added in v1.50.0

func (s UpdateFleetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// Contains configuration information about a batch build project.
	BuildBatchConfig *ProjectBuildBatchConfig `locationName:"buildBatchConfig" type:"structure"`

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

	// The maximum number of concurrent builds that are allowed for this project.
	//
	// New builds are only started if the current number of builds is less than
	// or equal to this limit. If the current build count meets this limit, new
	// builds are throttled and are not run.
	//
	// To remove this limit, set this value to -1.
	ConcurrentBuildLimit *int64 `locationName:"concurrentBuildLimit" type:"integer"`

	// A new or replacement description of the build project.
	Description *string `locationName:"description" type:"string"`

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

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

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

	// Information about logs for the build project. A project can create logs in
	// 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 ProjectArtifact objects.
	SecondaryArtifacts []*ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

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

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

	// The replacement ARN of the IAM role that enables CodeBuild to interact with
	// dependent Amazon Web Services services on behalf of the Amazon Web Services
	// account.
	ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

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

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

	// An updated list of tag key and value pairs associated with this build project.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild build project tags.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The replacement value in minutes, from 5 to 480 (8 hours), for 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 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetBuildBatchConfig added in v1.33.16

SetBuildBatchConfig sets the BuildBatchConfig field's value.

func (*UpdateProjectInput) SetCache added in v1.12.32

SetCache sets the Cache field's value.

func (*UpdateProjectInput) SetConcurrentBuildLimit added in v1.37.12

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

SetConcurrentBuildLimit sets the ConcurrentBuildLimit 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) SetFileSystemLocations added in v1.28.12

func (s *UpdateProjectInput) SetFileSystemLocations(v []*ProjectFileSystemLocation) *UpdateProjectInput

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*UpdateProjectInput) SetLogsConfig added in v1.15.36

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 added in v1.15.77

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*UpdateProjectInput) SetSecondaryArtifacts added in v1.15.25

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*UpdateProjectInput) SetSecondarySourceVersions added in v1.19.47

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*UpdateProjectInput) SetSecondarySources added in v1.15.25

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) SetSourceVersion added in v1.19.47

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

SetSourceVersion sets the SourceVersion 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateProjectVisibilityInput added in v1.40.20

type UpdateProjectVisibilityInput struct {

	// The Amazon Resource Name (ARN) of the build project.
	//
	// ProjectArn is a required field
	ProjectArn *string `locationName:"projectArn" min:"1" type:"string" required:"true"`

	// Specifies the visibility of the project's builds. Possible values are:
	//
	// PUBLIC_READ
	//
	// The project builds are visible to the public.
	//
	// PRIVATE
	//
	// The project builds are not visible to the public.
	//
	// ProjectVisibility is a required field
	ProjectVisibility *string `locationName:"projectVisibility" type:"string" required:"true" enum:"ProjectVisibilityType"`

	// The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs
	// and Amazon S3 artifacts for the project's builds.
	ResourceAccessRole *string `locationName:"resourceAccessRole" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateProjectVisibilityInput) GoString added in v1.40.20

func (s UpdateProjectVisibilityInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectVisibilityInput) SetProjectArn added in v1.40.20

SetProjectArn sets the ProjectArn field's value.

func (*UpdateProjectVisibilityInput) SetProjectVisibility added in v1.40.20

SetProjectVisibility sets the ProjectVisibility field's value.

func (*UpdateProjectVisibilityInput) SetResourceAccessRole added in v1.40.20

SetResourceAccessRole sets the ResourceAccessRole field's value.

func (UpdateProjectVisibilityInput) String added in v1.40.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectVisibilityInput) Validate added in v1.40.20

func (s *UpdateProjectVisibilityInput) Validate() error

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

type UpdateProjectVisibilityOutput added in v1.40.20

type UpdateProjectVisibilityOutput struct {

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

	// Specifies the visibility of the project's builds. Possible values are:
	//
	// PUBLIC_READ
	//
	// The project builds are visible to the public.
	//
	// PRIVATE
	//
	// The project builds are not visible to the public.
	ProjectVisibility *string `locationName:"projectVisibility" type:"string" enum:"ProjectVisibilityType"`

	// Contains the project identifier used with the public build APIs.
	PublicProjectAlias *string `locationName:"publicProjectAlias" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateProjectVisibilityOutput) GoString added in v1.40.20

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateProjectVisibilityOutput) SetProjectArn added in v1.40.20

SetProjectArn sets the ProjectArn field's value.

func (*UpdateProjectVisibilityOutput) SetProjectVisibility added in v1.40.20

SetProjectVisibility sets the ProjectVisibility field's value.

func (*UpdateProjectVisibilityOutput) SetPublicProjectAlias added in v1.40.20

SetPublicProjectAlias sets the PublicProjectAlias field's value.

func (UpdateProjectVisibilityOutput) String added in v1.40.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateReportGroupInput added in v1.25.42

type UpdateReportGroupInput struct {

	// The ARN of the report group to update.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`

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

	// An updated list of tag key and value pairs associated with this report group.
	//
	// These tags are available for use by Amazon Web Services services that support
	// CodeBuild report group tags.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateReportGroupInput) GoString added in v1.25.42

func (s UpdateReportGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateReportGroupInput) SetArn added in v1.25.42

SetArn sets the Arn field's value.

func (*UpdateReportGroupInput) SetExportConfig added in v1.25.42

SetExportConfig sets the ExportConfig field's value.

func (*UpdateReportGroupInput) SetTags added in v1.31.3

SetTags sets the Tags field's value.

func (UpdateReportGroupInput) String added in v1.25.42

func (s UpdateReportGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateReportGroupInput) Validate added in v1.25.42

func (s *UpdateReportGroupInput) Validate() error

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

type UpdateReportGroupOutput added in v1.25.42

type UpdateReportGroupOutput struct {

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

func (UpdateReportGroupOutput) GoString added in v1.25.42

func (s UpdateReportGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateReportGroupOutput) SetReportGroup added in v1.25.42

SetReportGroup sets the ReportGroup field's value.

func (UpdateReportGroupOutput) String added in v1.25.42

func (s UpdateReportGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.
	//
	// It is recommended that you use filterGroups instead of branchFilter.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// Specifies the type of build this webhook will trigger.
	BuildType *string `locationName:"buildType" type:"string" enum:"WebhookBuildType"`

	// An array of arrays of WebhookFilter objects used to determine if a webhook
	// event can trigger a build. A filter group must contain at least one EVENT
	// WebhookFilter.
	FilterGroups [][]*WebhookFilter `locationName:"filterGroups" type:"list"`

	// The name of the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateWebhookInput) SetBranchFilter added in v1.13.19

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

SetBranchFilter sets the BranchFilter field's value.

func (*UpdateWebhookInput) SetBuildType added in v1.33.16

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

SetBuildType sets the BuildType field's value.

func (*UpdateWebhookInput) SetFilterGroups added in v1.16.32

func (s *UpdateWebhookInput) SetFilterGroups(v [][]*WebhookFilter) *UpdateWebhookInput

SetFilterGroups sets the FilterGroups 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 CodeBuild accesses.

func (VpcConfig) GoString added in v1.12.32

func (s VpcConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.
	//
	// It is recommended that you use filterGroups instead of branchFilter.
	BranchFilter *string `locationName:"branchFilter" type:"string"`

	// Specifies the type of build this webhook will trigger.
	BuildType *string `locationName:"buildType" type:"string" enum:"WebhookBuildType"`

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

	// A timestamp that indicates the last time a repository's secret token was
	// modified.
	LastModifiedSecret *time.Time `locationName:"lastModifiedSecret" type:"timestamp"`

	// The 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 CodeBuild.

func (Webhook) GoString added in v1.12.2

func (s Webhook) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Webhook) SetBranchFilter added in v1.13.19

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

SetBranchFilter sets the BranchFilter field's value.

func (*Webhook) SetBuildType added in v1.33.16

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

SetBuildType sets the BuildType field's value.

func (*Webhook) SetFilterGroups added in v1.16.32

func (s *Webhook) SetFilterGroups(v [][]*WebhookFilter) *Webhook

SetFilterGroups sets the FilterGroups 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type WebhookFilter added in v1.16.32

type WebhookFilter struct {

	// Used to indicate that the pattern determines which webhook events do not
	// trigger a build. If true, then a webhook event that does not match the pattern
	// triggers a build. If false, then a webhook event that matches the pattern
	// triggers a build.
	ExcludeMatchedPattern *bool `locationName:"excludeMatchedPattern" type:"boolean"`

	// For a WebHookFilter that uses EVENT type, a comma-separated string that specifies
	// one or more events. For example, the webhook filter PUSH, PULL_REQUEST_CREATED,
	// PULL_REQUEST_UPDATED allows all push, pull request created, and pull request
	// updated events to trigger a build.
	//
	// For a WebHookFilter that uses any of the other filter types, a regular expression
	// pattern. For example, a WebHookFilter that uses HEAD_REF for its type and
	// the pattern ^refs/heads/ triggers a build when the head reference is a branch
	// with a reference name refs/heads/branch-name.
	//
	// Pattern is a required field
	Pattern *string `locationName:"pattern" type:"string" required:"true"`

	// The type of webhook filter. There are nine webhook filter types: EVENT, ACTOR_ACCOUNT_ID,
	// HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, RELEASE_NAME, and
	// WORKFLOW_NAME.
	//
	//    * EVENT A webhook event triggers a build when the provided pattern matches
	//    one of nine event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
	//    PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, PULL_REQUEST_MERGED, RELEASED,
	//    PRERELEASED, and WORKFLOW_JOB_QUEUED. The EVENT patterns are specified
	//    as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED,
	//    PULL_REQUEST_UPDATED filters all push, pull request created, and pull
	//    request updated events. The PULL_REQUEST_REOPENED works with GitHub and
	//    GitHub Enterprise only. The RELEASED, PRERELEASED, and WORKFLOW_JOB_QUEUED
	//    work with GitHub only.
	//
	//    * ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub
	//    Enterprise, or Bitbucket account ID matches the regular expression pattern.
	//
	//    * HEAD_REF A webhook event triggers a build when the head reference matches
	//    the regular expression pattern. For example, refs/heads/branch-name and
	//    refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub
	//    and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull
	//    request events.
	//
	//    * BASE_REF A webhook event triggers a build when the base reference matches
	//    the regular expression pattern. For example, refs/heads/branch-name. Works
	//    with pull request events only.
	//
	//    * FILE_PATH A webhook triggers a build when the path of a changed file
	//    matches the regular expression pattern. Works with GitHub and Bitbucket
	//    events push and pull requests events. Also works with GitHub Enterprise
	//    push events, but does not work with GitHub Enterprise pull request events.
	//
	//    * COMMIT_MESSAGE A webhook triggers a build when the head commit message
	//    matches the regular expression pattern. Works with GitHub and Bitbucket
	//    events push and pull requests events. Also works with GitHub Enterprise
	//    push events, but does not work with GitHub Enterprise pull request events.
	//
	//    * TAG_NAME A webhook triggers a build when the tag name of the release
	//    matches the regular expression pattern. Works with RELEASED and PRERELEASED
	//    events only.
	//
	//    * RELEASE_NAME A webhook triggers a build when the release name matches
	//    the regular expression pattern. Works with RELEASED and PRERELEASED events
	//    only.
	//
	//    * WORKFLOW_NAME A webhook triggers a build when the workflow name matches
	//    the regular expression pattern. Works with WORKFLOW_JOB_QUEUED events
	//    only.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"WebhookFilterType"`
	// contains filtered or unexported fields
}

A filter used to determine which webhooks trigger a build.

func (WebhookFilter) GoString added in v1.16.32

func (s WebhookFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*WebhookFilter) SetExcludeMatchedPattern added in v1.16.32

func (s *WebhookFilter) SetExcludeMatchedPattern(v bool) *WebhookFilter

SetExcludeMatchedPattern sets the ExcludeMatchedPattern field's value.

func (*WebhookFilter) SetPattern added in v1.16.32

func (s *WebhookFilter) SetPattern(v string) *WebhookFilter

SetPattern sets the Pattern field's value.

func (*WebhookFilter) SetType added in v1.16.32

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

SetType sets the Type field's value.

func (WebhookFilter) String added in v1.16.32

func (s WebhookFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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