Documentation ¶
Overview ¶
Package codebuild provides the client and types for making API requests to AWS CodeBuild.
AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests, and you pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide.
AWS CodeBuild supports these operations:
BatchDeleteBuilds: Deletes one or more builds.
BatchGetProjects: Gets information about one or more build projects. A build project defines how AWS CodeBuild will run a build. This includes information such as where to get the source code to build, the build environment to use, the build commands to run, and where to store the build output. A build environment represents a combination of operating system, programming language runtime, and tools that AWS CodeBuild will use to run a build. Also, you can add tags to build projects to help manage your resources and costs.
CreateProject: Creates a build project.
CreateWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
UpdateWebhook: Changes the settings of an existing webhook.
DeleteProject: Deletes a build project.
DeleteWebhook: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
ListProjects: Gets a list of build project names, with each build project name representing a single build project.
UpdateProject: Changes the settings of an existing build project.
BatchGetBuilds: Gets information about one or more builds.
ListBuilds: Gets a list of build IDs, with each build ID representing a single build.
ListBuildsForProject: Gets a list of build IDs for the specified build project, with each build ID representing a single build.
StartBuild: Starts running a build.
StopBuild: Attempts to stop running a build.
ListCuratedEnvironmentImages: Gets information about Docker images that are managed by AWS CodeBuild.
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 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 ¶
- Constants
- type ArtifactNamespace
- type ArtifactPackaging
- type ArtifactsType
- type BatchDeleteBuildsInput
- type BatchDeleteBuildsOutput
- type BatchDeleteBuildsRequest
- type BatchGetBuildsInput
- type BatchGetBuildsOutput
- type BatchGetBuildsRequest
- type BatchGetProjectsInput
- type BatchGetProjectsOutput
- type BatchGetProjectsRequest
- type Build
- type BuildArtifacts
- type BuildNotDeleted
- type BuildPhase
- type BuildPhaseType
- type CacheType
- type CodeBuild
- func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) BatchDeleteBuildsRequest
- func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) BatchGetBuildsRequest
- func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) BatchGetProjectsRequest
- func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) CreateProjectRequest
- func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) CreateWebhookRequest
- func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) DeleteProjectRequest
- func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) DeleteWebhookRequest
- func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) InvalidateProjectCacheRequest
- func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) ListBuildsForProjectRequest
- func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) ListBuildsRequest
- func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) ListCuratedEnvironmentImagesRequest
- func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) ListProjectsRequest
- func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) StartBuildRequest
- func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) StopBuildRequest
- func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) UpdateProjectRequest
- func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) UpdateWebhookRequest
- type ComputeType
- type CreateProjectInput
- type CreateProjectOutput
- type CreateProjectRequest
- type CreateWebhookInput
- type CreateWebhookOutput
- type CreateWebhookRequest
- type DeleteProjectInput
- type DeleteProjectOutput
- type DeleteProjectRequest
- type DeleteWebhookInput
- type DeleteWebhookOutput
- type DeleteWebhookRequest
- type EnvironmentImage
- type EnvironmentLanguage
- type EnvironmentPlatform
- type EnvironmentType
- type EnvironmentVariable
- type EnvironmentVariableType
- type InvalidateProjectCacheInput
- type InvalidateProjectCacheOutput
- type InvalidateProjectCacheRequest
- type LanguageType
- type ListBuildsForProjectInput
- type ListBuildsForProjectOutput
- type ListBuildsForProjectRequest
- type ListBuildsInput
- type ListBuildsOutput
- type ListBuildsRequest
- type ListCuratedEnvironmentImagesInput
- type ListCuratedEnvironmentImagesOutput
- type ListCuratedEnvironmentImagesRequest
- type ListProjectsInput
- type ListProjectsOutput
- type ListProjectsRequest
- type LogsLocation
- type NetworkInterface
- type PhaseContext
- type PlatformType
- type Project
- type ProjectArtifacts
- type ProjectBadge
- type ProjectCache
- type ProjectEnvironment
- type ProjectSortByType
- type ProjectSource
- type SortOrderType
- type SourceAuth
- type SourceAuthType
- type SourceType
- type StartBuildInput
- type StartBuildOutput
- type StartBuildRequest
- type StatusType
- type StopBuildInput
- type StopBuildOutput
- type StopBuildRequest
- type Tag
- type UpdateProjectInput
- type UpdateProjectOutput
- type UpdateProjectRequest
- type UpdateWebhookInput
- type UpdateWebhookOutput
- type UpdateWebhookRequest
- type VpcConfig
- type Webhook
Examples ¶
Constants ¶
const ( // ErrCodeAccountLimitExceededException for service response error code // "AccountLimitExceededException". // // An AWS service limit was exceeded for the calling AWS account. ErrCodeAccountLimitExceededException = "AccountLimitExceededException" // ErrCodeInvalidInputException for service response error code // "InvalidInputException". // // The input value that was provided is not valid. ErrCodeInvalidInputException = "InvalidInputException" // ErrCodeOAuthProviderException for service response error code // "OAuthProviderException". // // There was a problem with the underlying OAuth provider. ErrCodeOAuthProviderException = "OAuthProviderException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // The specified AWS resource cannot be created, because an AWS resource with // the same settings already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified AWS resource cannot be found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" )
const ( ServiceName = "codebuild" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactNamespace ¶
type ArtifactNamespace string
const ( ArtifactNamespaceNone ArtifactNamespace = "NONE" ArtifactNamespaceBuildId ArtifactNamespace = "BUILD_ID" )
Enum values for ArtifactNamespace
func (ArtifactNamespace) MarshalValue ¶ added in v0.3.0
func (enum ArtifactNamespace) MarshalValue() (string, error)
func (ArtifactNamespace) MarshalValueBuf ¶ added in v0.3.0
func (enum ArtifactNamespace) MarshalValueBuf(b []byte) ([]byte, error)
type ArtifactPackaging ¶
type ArtifactPackaging string
const ( ArtifactPackagingNone ArtifactPackaging = "NONE" ArtifactPackagingZip ArtifactPackaging = "ZIP" )
Enum values for ArtifactPackaging
func (ArtifactPackaging) MarshalValue ¶ added in v0.3.0
func (enum ArtifactPackaging) MarshalValue() (string, error)
func (ArtifactPackaging) MarshalValueBuf ¶ added in v0.3.0
func (enum ArtifactPackaging) MarshalValueBuf(b []byte) ([]byte, error)
type ArtifactsType ¶
type ArtifactsType string
const ( ArtifactsTypeCodepipeline ArtifactsType = "CODEPIPELINE" ArtifactsTypeS3 ArtifactsType = "S3" ArtifactsTypeNoArtifacts ArtifactsType = "NO_ARTIFACTS" )
Enum values for ArtifactsType
func (ArtifactsType) MarshalValue ¶ added in v0.3.0
func (enum ArtifactsType) MarshalValue() (string, error)
func (ArtifactsType) MarshalValueBuf ¶ added in v0.3.0
func (enum ArtifactsType) MarshalValueBuf(b []byte) ([]byte, error)
type BatchDeleteBuildsInput ¶
type BatchDeleteBuildsInput struct { // The IDs of the builds to delete. // // Ids is a required field Ids []string `locationName:"ids" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsInput
func (BatchDeleteBuildsInput) GoString ¶
func (s BatchDeleteBuildsInput) GoString() string
GoString returns the string representation
func (BatchDeleteBuildsInput) String ¶
func (s BatchDeleteBuildsInput) String() string
String returns the string representation
func (*BatchDeleteBuildsInput) Validate ¶
func (s *BatchDeleteBuildsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchDeleteBuildsOutput ¶
type BatchDeleteBuildsOutput struct { // The IDs of the builds that were successfully deleted. BuildsDeleted []string `locationName:"buildsDeleted" min:"1" type:"list"` // Information about any builds that could not be successfully deleted. BuildsNotDeleted []BuildNotDeleted `locationName:"buildsNotDeleted" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsOutput
func (BatchDeleteBuildsOutput) GoString ¶
func (s BatchDeleteBuildsOutput) GoString() string
GoString returns the string representation
func (BatchDeleteBuildsOutput) SDKResponseMetadata ¶
func (s BatchDeleteBuildsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (BatchDeleteBuildsOutput) String ¶
func (s BatchDeleteBuildsOutput) String() string
String returns the string representation
type BatchDeleteBuildsRequest ¶
type BatchDeleteBuildsRequest struct { *aws.Request Input *BatchDeleteBuildsInput Copy func(*BatchDeleteBuildsInput) BatchDeleteBuildsRequest }
BatchDeleteBuildsRequest is a API request type for the BatchDeleteBuilds API operation.
func (BatchDeleteBuildsRequest) Send ¶
func (r BatchDeleteBuildsRequest) Send() (*BatchDeleteBuildsOutput, error)
Send marshals and sends the BatchDeleteBuilds API request.
type BatchGetBuildsInput ¶
type BatchGetBuildsInput struct { // The IDs of the builds. // // Ids is a required field Ids []string `locationName:"ids" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsInput
func (BatchGetBuildsInput) GoString ¶
func (s BatchGetBuildsInput) GoString() string
GoString returns the string representation
func (BatchGetBuildsInput) String ¶
func (s BatchGetBuildsInput) String() string
String returns the string representation
func (*BatchGetBuildsInput) Validate ¶
func (s *BatchGetBuildsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetBuildsOutput ¶
type BatchGetBuildsOutput struct { // Information about the requested builds. Builds []Build `locationName:"builds" type:"list"` // The IDs of builds for which information could not be found. BuildsNotFound []string `locationName:"buildsNotFound" min:"1" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsOutput
func (BatchGetBuildsOutput) GoString ¶
func (s BatchGetBuildsOutput) GoString() string
GoString returns the string representation
func (BatchGetBuildsOutput) SDKResponseMetadata ¶
func (s BatchGetBuildsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (BatchGetBuildsOutput) String ¶
func (s BatchGetBuildsOutput) String() string
String returns the string representation
type BatchGetBuildsRequest ¶
type BatchGetBuildsRequest struct { *aws.Request Input *BatchGetBuildsInput Copy func(*BatchGetBuildsInput) BatchGetBuildsRequest }
BatchGetBuildsRequest is a API request type for the BatchGetBuilds API operation.
func (BatchGetBuildsRequest) Send ¶
func (r BatchGetBuildsRequest) Send() (*BatchGetBuildsOutput, error)
Send marshals and sends the BatchGetBuilds API request.
type BatchGetProjectsInput ¶
type BatchGetProjectsInput struct { // The names of the build projects. // // Names is a required field Names []string `locationName:"names" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput
func (BatchGetProjectsInput) GoString ¶
func (s BatchGetProjectsInput) GoString() string
GoString returns the string representation
func (BatchGetProjectsInput) String ¶
func (s BatchGetProjectsInput) String() string
String returns the string representation
func (*BatchGetProjectsInput) Validate ¶
func (s *BatchGetProjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetProjectsOutput ¶
type BatchGetProjectsOutput struct { // Information about the requested build projects. Projects []Project `locationName:"projects" type:"list"` // The names of build projects for which information could not be found. ProjectsNotFound []string `locationName:"projectsNotFound" min:"1" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsOutput
func (BatchGetProjectsOutput) GoString ¶
func (s BatchGetProjectsOutput) GoString() string
GoString returns the string representation
func (BatchGetProjectsOutput) SDKResponseMetadata ¶
func (s BatchGetProjectsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (BatchGetProjectsOutput) String ¶
func (s BatchGetProjectsOutput) String() string
String returns the string representation
type BatchGetProjectsRequest ¶
type BatchGetProjectsRequest struct { *aws.Request Input *BatchGetProjectsInput Copy func(*BatchGetProjectsInput) BatchGetProjectsRequest }
BatchGetProjectsRequest is a API request type for the BatchGetProjects API operation.
func (BatchGetProjectsRequest) Send ¶
func (r BatchGetProjectsRequest) Send() (*BatchGetProjectsOutput, error)
Send marshals and sends the BatchGetProjects API request.
type Build ¶
type Build struct { // The Amazon Resource Name (ARN) of the build. Arn *string `locationName:"arn" min:"1" type:"string"` // Information about the output artifacts for the build. Artifacts *BuildArtifacts `locationName:"artifacts" type:"structure"` // Whether the build has finished. True if completed; otherwise, false. BuildComplete *bool `locationName:"buildComplete" type:"boolean"` // The current status of the build. Valid values include: // // * FAILED: The build failed. // // * FAULT: The build faulted. // // * IN_PROGRESS: The build is still in progress. // // * STOPPED: The build stopped. // // * SUCCEEDED: The build succeeded. // // * TIMED_OUT: The build timed out. BuildStatus StatusType `locationName:"buildStatus" type:"string" enum:"true"` // Information about the cache for the build. Cache *ProjectCache `locationName:"cache" type:"structure"` // The current build phase. CurrentPhase *string `locationName:"currentPhase" type:"string"` // When the build process ended, expressed in Unix time format. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // Information about the build environment for this build. Environment *ProjectEnvironment `locationName:"environment" type:"structure"` // The unique ID for the build. Id *string `locationName:"id" min:"1" type:"string"` // The entity that started the build. Valid values include: // // * If AWS CodePipeline started the build, the pipeline's name (for example, // codepipeline/my-demo-pipeline). // // * If an AWS Identity and Access Management (IAM) user started the build, // the user's name (for example MyUserName). // // * If the Jenkins plugin for AWS CodeBuild started the build, the string // CodeBuild-Jenkins-Plugin. Initiator *string `locationName:"initiator" type:"string"` // Information about the build's logs in Amazon CloudWatch Logs. Logs *LogsLocation `locationName:"logs" type:"structure"` // Describes a network interface. NetworkInterface *NetworkInterface `locationName:"networkInterface" type:"structure"` // Information about all previous build phases that are completed and information // about any current build phase that is not yet complete. Phases []BuildPhase `locationName:"phases" type:"list"` // The name of the AWS CodeBuild project. ProjectName *string `locationName:"projectName" min:"1" type:"string"` // The name of a service role used for this build. ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"` // Information about the source code to be built. Source *ProjectSource `locationName:"source" type:"structure"` // Any version identifier for the version of the source code to be built. SourceVersion *string `locationName:"sourceVersion" min:"1" type:"string"` // When the build process started, expressed in Unix time format. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // How long, in minutes, for AWS CodeBuild to wait before timing out this build // if it does not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" type:"integer"` // If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide // this parameter that identifies the VPC ID and the list of security group // IDs and subnet IDs. The security groups and subnets must belong to the same // VPC. You must provide at least one security group and one subnet ID. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
Information about a build. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build
type BuildArtifacts ¶
type BuildArtifacts struct { // 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 both 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"` // The SHA-256 hash of the build artifact. // // You can use this hash along with a checksum tool to confirm both 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts
func (BuildArtifacts) GoString ¶
func (s BuildArtifacts) GoString() string
GoString returns the string representation
func (BuildArtifacts) String ¶
func (s BuildArtifacts) String() string
String returns the string representation
type BuildNotDeleted ¶
type BuildNotDeleted struct { // The ID of the build that could not be successfully deleted. Id *string `locationName:"id" min:"1" type:"string"` // Additional information about the build that could not be successfully deleted. StatusCode *string `locationName:"statusCode" type:"string"` // contains filtered or unexported fields }
Information about a build that could not be successfully deleted. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildNotDeleted
func (BuildNotDeleted) GoString ¶
func (s BuildNotDeleted) GoString() string
GoString returns the string representation
func (BuildNotDeleted) String ¶
func (s BuildNotDeleted) String() string
String returns the string representation
type BuildPhase ¶
type BuildPhase struct { // Additional information about a build phase, especially to help troubleshoot // a failed build. Contexts []PhaseContext `locationName:"contexts" type:"list"` // How long, in seconds, between the starting and ending times of the build's // phase. DurationInSeconds *int64 `locationName:"durationInSeconds" type:"long"` // When the build phase ended, expressed in Unix time format. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // 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 StatusType `locationName:"phaseStatus" type:"string" enum:"true"` // The name of the build phase. Valid values include: // // * BUILD: Core build activities typically occur in this build phase. // // * COMPLETED: The build has been completed. // // * DOWNLOAD_SOURCE: Source code is being downloaded in this build phase. // // * FINALIZING: The build process is completing in this build phase. // // * INSTALL: Installation activities typically occur in this build phase. // // * POST_BUILD: Post-build activities typically occur in this build phase. // // * PRE_BUILD: Pre-build activities typically occur in this build phase. // // * PROVISIONING: The build environment is being set up. // // * SUBMITTED: The build has been submitted. // // * UPLOAD_ARTIFACTS: Build output artifacts are being uploaded to the output // location. PhaseType BuildPhaseType `locationName:"phaseType" type:"string" enum:"true"` // When the build phase started, expressed in Unix time format. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Information about a stage for a build. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildPhase
func (BuildPhase) GoString ¶
func (s BuildPhase) GoString() string
GoString returns the string representation
func (BuildPhase) String ¶
func (s BuildPhase) String() string
String returns the string representation
type BuildPhaseType ¶
type BuildPhaseType string
const ( BuildPhaseTypeSubmitted BuildPhaseType = "SUBMITTED" BuildPhaseTypeProvisioning BuildPhaseType = "PROVISIONING" BuildPhaseTypeDownloadSource BuildPhaseType = "DOWNLOAD_SOURCE" BuildPhaseTypeInstall BuildPhaseType = "INSTALL" BuildPhaseTypePreBuild BuildPhaseType = "PRE_BUILD" BuildPhaseTypeBuild BuildPhaseType = "BUILD" BuildPhaseTypePostBuild BuildPhaseType = "POST_BUILD" BuildPhaseTypeUploadArtifacts BuildPhaseType = "UPLOAD_ARTIFACTS" BuildPhaseTypeFinalizing BuildPhaseType = "FINALIZING" BuildPhaseTypeCompleted BuildPhaseType = "COMPLETED" )
Enum values for BuildPhaseType
func (BuildPhaseType) MarshalValue ¶ added in v0.3.0
func (enum BuildPhaseType) MarshalValue() (string, error)
func (BuildPhaseType) MarshalValueBuf ¶ added in v0.3.0
func (enum BuildPhaseType) MarshalValueBuf(b []byte) ([]byte, error)
type CacheType ¶ added in v0.2.0
type CacheType string
Enum values for CacheType
func (CacheType) MarshalValue ¶ added in v0.3.0
type CodeBuild ¶
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 ¶
New creates a new instance of the CodeBuild client with a config.
Example:
// Create a CodeBuild client from just a config. svc := codebuild.New(myConfig)
func (*CodeBuild) BatchDeleteBuildsRequest ¶
func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) BatchDeleteBuildsRequest
BatchDeleteBuildsRequest returns a request value for making API operation for AWS CodeBuild.
Deletes one or more builds.
// Example sending a request using the BatchDeleteBuildsRequest method. req := client.BatchDeleteBuildsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds
func (*CodeBuild) BatchGetBuildsRequest ¶
func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) BatchGetBuildsRequest
BatchGetBuildsRequest returns a request value for making API operation for AWS CodeBuild.
Gets information about builds.
// Example sending a request using the BatchGetBuildsRequest method. req := client.BatchGetBuildsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds
func (*CodeBuild) BatchGetProjectsRequest ¶
func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) BatchGetProjectsRequest
BatchGetProjectsRequest returns a request value for making API operation for AWS CodeBuild.
Gets information about build projects.
// Example sending a request using the BatchGetProjectsRequest method. req := client.BatchGetProjectsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects
func (*CodeBuild) CreateProjectRequest ¶
func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) CreateProjectRequest
CreateProjectRequest returns a request value for making API operation for AWS CodeBuild.
Creates a build project.
// Example sending a request using the CreateProjectRequest method. req := client.CreateProjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject
func (*CodeBuild) CreateWebhookRequest ¶
func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) CreateWebhookRequest
CreateWebhookRequest returns a request value for making API operation for AWS CodeBuild.
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings (http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console).
// Example sending a request using the CreateWebhookRequest method. req := client.CreateWebhookRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook
func (*CodeBuild) DeleteProjectRequest ¶
func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) DeleteProjectRequest
DeleteProjectRequest returns a request value for making API operation for AWS CodeBuild.
Deletes a build project.
// Example sending a request using the DeleteProjectRequest method. req := client.DeleteProjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject
func (*CodeBuild) DeleteWebhookRequest ¶
func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) DeleteWebhookRequest
DeleteWebhookRequest returns a request value for making API operation for AWS CodeBuild.
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.
// Example sending a request using the DeleteWebhookRequest method. req := client.DeleteWebhookRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook
func (*CodeBuild) InvalidateProjectCacheRequest ¶ added in v0.2.0
func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) InvalidateProjectCacheRequest
InvalidateProjectCacheRequest returns a request value for making API operation for AWS CodeBuild.
Resets the cache for a project.
// Example sending a request using the InvalidateProjectCacheRequest method. req := client.InvalidateProjectCacheRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache
func (*CodeBuild) ListBuildsForProjectRequest ¶
func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) ListBuildsForProjectRequest
ListBuildsForProjectRequest returns a request value for making API operation for AWS CodeBuild.
Gets a list of build IDs for the specified build project, with each build ID representing a single build.
// Example sending a request using the ListBuildsForProjectRequest method. req := client.ListBuildsForProjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject
func (*CodeBuild) ListBuildsRequest ¶
func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) ListBuildsRequest
ListBuildsRequest returns a request value for making API operation for AWS CodeBuild.
Gets a list of build IDs, with each build ID representing a single build.
// Example sending a request using the ListBuildsRequest method. req := client.ListBuildsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds
func (*CodeBuild) ListCuratedEnvironmentImagesRequest ¶
func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) ListCuratedEnvironmentImagesRequest
ListCuratedEnvironmentImagesRequest returns a request value for making API operation for AWS CodeBuild.
Gets information about Docker images that are managed by AWS CodeBuild.
// Example sending a request using the ListCuratedEnvironmentImagesRequest method. req := client.ListCuratedEnvironmentImagesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages
func (*CodeBuild) ListProjectsRequest ¶
func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) ListProjectsRequest
ListProjectsRequest returns a request value for making API operation for AWS CodeBuild.
Gets a list of build project names, with each build project name representing a single build project.
// Example sending a request using the ListProjectsRequest method. req := client.ListProjectsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects
func (*CodeBuild) StartBuildRequest ¶
func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) StartBuildRequest
StartBuildRequest returns a request value for making API operation for AWS CodeBuild.
Starts running a build.
// Example sending a request using the StartBuildRequest method. req := client.StartBuildRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild
func (*CodeBuild) StopBuildRequest ¶
func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) StopBuildRequest
StopBuildRequest returns a request value for making API operation for AWS CodeBuild.
Attempts to stop running a build.
// Example sending a request using the StopBuildRequest method. req := client.StopBuildRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild
func (*CodeBuild) UpdateProjectRequest ¶
func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) UpdateProjectRequest
UpdateProjectRequest returns a request value for making API operation for AWS CodeBuild.
Changes the settings of a build project.
// Example sending a request using the UpdateProjectRequest method. req := client.UpdateProjectRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject
func (*CodeBuild) UpdateWebhookRequest ¶ added in v0.4.0
func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) UpdateWebhookRequest
UpdateWebhookRequest returns a request value for making API operation for AWS CodeBuild.
Updates the webhook associated with an AWS CodeBuild build project.
// Example sending a request using the UpdateWebhookRequest method. req := client.UpdateWebhookRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook
type ComputeType ¶
type ComputeType string
const ( ComputeTypeBuildGeneral1Small ComputeType = "BUILD_GENERAL1_SMALL" ComputeTypeBuildGeneral1Medium ComputeType = "BUILD_GENERAL1_MEDIUM" ComputeTypeBuildGeneral1Large ComputeType = "BUILD_GENERAL1_LARGE" )
Enum values for ComputeType
func (ComputeType) MarshalValue ¶ added in v0.3.0
func (enum ComputeType) MarshalValue() (string, error)
func (ComputeType) MarshalValueBuf ¶ added in v0.3.0
func (enum ComputeType) MarshalValueBuf(b []byte) ([]byte, error)
type CreateProjectInput ¶
type CreateProjectInput struct { // Information about the build output artifacts for the build project. // // Artifacts is a required field Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure" required:"true"` // Set this to true to generate a publicly-accessible URL for your project's // build badge. BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` // Stores recently used information so that it can be quickly accessed at a // later time. Cache *ProjectCache `locationName:"cache" type:"structure"` // A description that makes the build project easy to identify. Description *string `locationName:"description" type:"string"` // The AWS Key Management Service (AWS KMS) customer master key (CMK) to be // used for encrypting the build output artifacts. // // You can specify either the CMK's Amazon Resource Name (ARN) 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"` // The name of the build project. // // Name is a required field Name *string `locationName:"name" min:"2" type:"string" required:"true"` // The ARN of the AWS Identity and Access Management (IAM) role that enables // AWS CodeBuild to interact with dependent AWS services on behalf of the AWS // account. ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"` // Information about the build input source code for the build project. // // Source is a required field Source *ProjectSource `locationName:"source" type:"structure" required:"true"` // A set of tags for this build project. // // These tags are available for use by AWS services that support AWS CodeBuild // build project tags. Tags []Tag `locationName:"tags" type:"list"` // How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait // until timing out any build that has not been marked as completed. The default // is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` // VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput
func (CreateProjectInput) GoString ¶
func (s CreateProjectInput) GoString() string
GoString returns the string representation
func (CreateProjectInput) String ¶
func (s CreateProjectInput) String() string
String returns the string representation
func (*CreateProjectInput) Validate ¶
func (s *CreateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProjectOutput ¶
type CreateProjectOutput struct { // Information about the build project that was created. Project *Project `locationName:"project" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectOutput
func (CreateProjectOutput) GoString ¶
func (s CreateProjectOutput) GoString() string
GoString returns the string representation
func (CreateProjectOutput) SDKResponseMetadata ¶
func (s CreateProjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateProjectOutput) String ¶
func (s CreateProjectOutput) String() string
String returns the string representation
type CreateProjectRequest ¶
type CreateProjectRequest struct { *aws.Request Input *CreateProjectInput Copy func(*CreateProjectInput) CreateProjectRequest }
CreateProjectRequest is a API request type for the CreateProject API operation.
func (CreateProjectRequest) Send ¶
func (r CreateProjectRequest) Send() (*CreateProjectOutput, error)
Send marshals and sends the CreateProject API request.
type CreateWebhookInput ¶
type CreateWebhookInput struct { // A regular expression used to determine which branches in a repository are // built when a webhook is triggered. If the name of a branch matches the regular // expression, then it is built. If it doesn't match, then it is not. If branchFilter // is empty, then all branches are built. BranchFilter *string `locationName:"branchFilter" type:"string"` // The name of the AWS CodeBuild project. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput
func (CreateWebhookInput) GoString ¶
func (s CreateWebhookInput) GoString() string
GoString returns the string representation
func (CreateWebhookInput) String ¶
func (s CreateWebhookInput) String() string
String returns the string representation
func (*CreateWebhookInput) Validate ¶
func (s *CreateWebhookInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWebhookOutput ¶
type CreateWebhookOutput struct { // Information about a webhook in GitHub that connects repository events to // a build project in AWS CodeBuild. Webhook *Webhook `locationName:"webhook" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput
func (CreateWebhookOutput) GoString ¶
func (s CreateWebhookOutput) GoString() string
GoString returns the string representation
func (CreateWebhookOutput) SDKResponseMetadata ¶
func (s CreateWebhookOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateWebhookOutput) String ¶
func (s CreateWebhookOutput) String() string
String returns the string representation
type CreateWebhookRequest ¶
type CreateWebhookRequest struct { *aws.Request Input *CreateWebhookInput Copy func(*CreateWebhookInput) CreateWebhookRequest }
CreateWebhookRequest is a API request type for the CreateWebhook API operation.
func (CreateWebhookRequest) Send ¶
func (r CreateWebhookRequest) Send() (*CreateWebhookOutput, error)
Send marshals and sends the CreateWebhook API request.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectInput
func (DeleteProjectInput) GoString ¶
func (s DeleteProjectInput) GoString() string
GoString returns the string representation
func (DeleteProjectInput) String ¶
func (s DeleteProjectInput) String() string
String returns the string representation
func (*DeleteProjectInput) Validate ¶
func (s *DeleteProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProjectOutput ¶
type DeleteProjectOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectOutput
func (DeleteProjectOutput) GoString ¶
func (s DeleteProjectOutput) GoString() string
GoString returns the string representation
func (DeleteProjectOutput) SDKResponseMetadata ¶
func (s DeleteProjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteProjectOutput) String ¶
func (s DeleteProjectOutput) String() string
String returns the string representation
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *aws.Request Input *DeleteProjectInput Copy func(*DeleteProjectInput) DeleteProjectRequest }
DeleteProjectRequest is a API request type for the DeleteProject API operation.
func (DeleteProjectRequest) Send ¶
func (r DeleteProjectRequest) Send() (*DeleteProjectOutput, error)
Send marshals and sends the DeleteProject API request.
type DeleteWebhookInput ¶
type DeleteWebhookInput struct { // The name of the AWS CodeBuild project. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput
func (DeleteWebhookInput) GoString ¶
func (s DeleteWebhookInput) GoString() string
GoString returns the string representation
func (DeleteWebhookInput) String ¶
func (s DeleteWebhookInput) String() string
String returns the string representation
func (*DeleteWebhookInput) Validate ¶
func (s *DeleteWebhookInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWebhookOutput ¶
type DeleteWebhookOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookOutput
func (DeleteWebhookOutput) GoString ¶
func (s DeleteWebhookOutput) GoString() string
GoString returns the string representation
func (DeleteWebhookOutput) SDKResponseMetadata ¶
func (s DeleteWebhookOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteWebhookOutput) String ¶
func (s DeleteWebhookOutput) String() string
String returns the string representation
type DeleteWebhookRequest ¶
type DeleteWebhookRequest struct { *aws.Request Input *DeleteWebhookInput Copy func(*DeleteWebhookInput) DeleteWebhookRequest }
DeleteWebhookRequest is a API request type for the DeleteWebhook API operation.
func (DeleteWebhookRequest) Send ¶
func (r DeleteWebhookRequest) Send() (*DeleteWebhookOutput, error)
Send marshals and sends the DeleteWebhook API request.
type EnvironmentImage ¶
type EnvironmentImage struct { // The description of the Docker image. Description *string `locationName:"description" type:"string"` // The name of the Docker image. Name *string `locationName:"name" type:"string"` // A list of environment image versions. Versions []string `locationName:"versions" type:"list"` // contains filtered or unexported fields }
Information about a Docker image that is managed by AWS CodeBuild. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentImage
func (EnvironmentImage) GoString ¶
func (s EnvironmentImage) GoString() string
GoString returns the string representation
func (EnvironmentImage) String ¶
func (s EnvironmentImage) String() string
String returns the string representation
type EnvironmentLanguage ¶
type EnvironmentLanguage struct { // The list of Docker images that are related by the specified programming language. Images []EnvironmentImage `locationName:"images" type:"list"` // The programming language for the Docker images. Language LanguageType `locationName:"language" type:"string" enum:"true"` // contains filtered or unexported fields }
A set of Docker images that are related by programming language and are managed by AWS CodeBuild. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentLanguage
func (EnvironmentLanguage) GoString ¶
func (s EnvironmentLanguage) GoString() string
GoString returns the string representation
func (EnvironmentLanguage) String ¶
func (s EnvironmentLanguage) String() string
String returns the string representation
type EnvironmentPlatform ¶
type EnvironmentPlatform struct { // The list of programming languages that are available for the specified platform. Languages []EnvironmentLanguage `locationName:"languages" type:"list"` // The platform's name. Platform PlatformType `locationName:"platform" type:"string" enum:"true"` // contains filtered or unexported fields }
A set of Docker images that are related by platform and are managed by AWS CodeBuild. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentPlatform
func (EnvironmentPlatform) GoString ¶
func (s EnvironmentPlatform) GoString() string
GoString returns the string representation
func (EnvironmentPlatform) String ¶
func (s EnvironmentPlatform) String() string
String returns the string representation
type EnvironmentType ¶
type EnvironmentType string
const ( EnvironmentTypeWindowsContainer EnvironmentType = "WINDOWS_CONTAINER" EnvironmentTypeLinuxContainer EnvironmentType = "LINUX_CONTAINER" )
Enum values for EnvironmentType
func (EnvironmentType) MarshalValue ¶ added in v0.3.0
func (enum EnvironmentType) MarshalValue() (string, error)
func (EnvironmentType) MarshalValueBuf ¶ added in v0.3.0
func (enum EnvironmentType) MarshalValueBuf(b []byte) ([]byte, error)
type EnvironmentVariable ¶
type EnvironmentVariable struct { // The name or key of the environment variable. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The type of environment variable. Valid values include: // // * PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems // Manager Parameter Store. // // * PLAINTEXT: An environment variable in plaintext format. Type EnvironmentVariableType `locationName:"type" type:"string" enum:"true"` // The value of the environment variable. // // We strongly discourage using environment variables to store sensitive values, // especially AWS secret key IDs and secret access keys. Environment variables // can be displayed in plain text using tools such as the AWS CodeBuild console // and the AWS Command Line Interface (AWS CLI). // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
Information about an environment variable for a build project or a build. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable
func (EnvironmentVariable) GoString ¶
func (s EnvironmentVariable) GoString() string
GoString returns the string representation
func (EnvironmentVariable) String ¶
func (s EnvironmentVariable) String() string
String returns the string representation
func (*EnvironmentVariable) Validate ¶
func (s *EnvironmentVariable) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnvironmentVariableType ¶
type EnvironmentVariableType string
const ( EnvironmentVariableTypePlaintext EnvironmentVariableType = "PLAINTEXT" EnvironmentVariableTypeParameterStore EnvironmentVariableType = "PARAMETER_STORE" )
Enum values for EnvironmentVariableType
func (EnvironmentVariableType) MarshalValue ¶ added in v0.3.0
func (enum EnvironmentVariableType) MarshalValue() (string, error)
func (EnvironmentVariableType) MarshalValueBuf ¶ added in v0.3.0
func (enum EnvironmentVariableType) MarshalValueBuf(b []byte) ([]byte, error)
type InvalidateProjectCacheInput ¶ added in v0.2.0
type InvalidateProjectCacheInput struct { // The name of the AWS CodeBuild build project that the cache will be reset // for. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput
func (InvalidateProjectCacheInput) GoString ¶ added in v0.2.0
func (s InvalidateProjectCacheInput) GoString() string
GoString returns the string representation
func (InvalidateProjectCacheInput) String ¶ added in v0.2.0
func (s InvalidateProjectCacheInput) String() string
String returns the string representation
func (*InvalidateProjectCacheInput) Validate ¶ added in v0.2.0
func (s *InvalidateProjectCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InvalidateProjectCacheOutput ¶ added in v0.2.0
type InvalidateProjectCacheOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheOutput
func (InvalidateProjectCacheOutput) GoString ¶ added in v0.2.0
func (s InvalidateProjectCacheOutput) GoString() string
GoString returns the string representation
func (InvalidateProjectCacheOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s InvalidateProjectCacheOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (InvalidateProjectCacheOutput) String ¶ added in v0.2.0
func (s InvalidateProjectCacheOutput) String() string
String returns the string representation
type InvalidateProjectCacheRequest ¶ added in v0.2.0
type InvalidateProjectCacheRequest struct { *aws.Request Input *InvalidateProjectCacheInput Copy func(*InvalidateProjectCacheInput) InvalidateProjectCacheRequest }
InvalidateProjectCacheRequest is a API request type for the InvalidateProjectCache API operation.
func (InvalidateProjectCacheRequest) Send ¶ added in v0.2.0
func (r InvalidateProjectCacheRequest) Send() (*InvalidateProjectCacheOutput, error)
Send marshals and sends the InvalidateProjectCache API request.
type LanguageType ¶
type LanguageType string
const ( LanguageTypeJava LanguageType = "JAVA" LanguageTypePython LanguageType = "PYTHON" LanguageTypeNodeJs LanguageType = "NODE_JS" LanguageTypeRuby LanguageType = "RUBY" LanguageTypeGolang LanguageType = "GOLANG" LanguageTypeDocker LanguageType = "DOCKER" LanguageTypeAndroid LanguageType = "ANDROID" LanguageTypeDotnet LanguageType = "DOTNET" LanguageTypeBase LanguageType = "BASE" )
Enum values for LanguageType
func (LanguageType) MarshalValue ¶ added in v0.3.0
func (enum LanguageType) MarshalValue() (string, error)
func (LanguageType) MarshalValueBuf ¶ added in v0.3.0
func (enum LanguageType) MarshalValueBuf(b []byte) ([]byte, error)
type ListBuildsForProjectInput ¶
type ListBuildsForProjectInput struct { // During a previous call, if there are more than 100 items in the list, only // the first 100 items are returned, along with a unique string called a next // token. To get the next batch of items in the list, call this operation again, // adding the next token to the call. To get all of the items in the list, keep // calling this operation with each subsequent next token that is returned, // until no more next tokens are returned. NextToken *string `locationName:"nextToken" type:"string"` // The name of the AWS CodeBuild project. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` // The order to list build IDs. Valid values include: // // * ASCENDING: List the build IDs in ascending order by build ID. // // * DESCENDING: List the build IDs in descending order by build ID. SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectInput
func (ListBuildsForProjectInput) GoString ¶
func (s ListBuildsForProjectInput) GoString() string
GoString returns the string representation
func (ListBuildsForProjectInput) String ¶
func (s ListBuildsForProjectInput) String() string
String returns the string representation
func (*ListBuildsForProjectInput) Validate ¶
func (s *ListBuildsForProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBuildsForProjectOutput ¶
type ListBuildsForProjectOutput struct { // A list of build IDs for the specified build project, with each build ID representing // a single build. Ids []string `locationName:"ids" min:"1" type:"list"` // If there are more than 100 items in the list, only the first 100 items are // returned, along with a unique string called a next token. To get the next // batch of items in the list, call this operation again, adding the next token // to the call. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectOutput
func (ListBuildsForProjectOutput) GoString ¶
func (s ListBuildsForProjectOutput) GoString() string
GoString returns the string representation
func (ListBuildsForProjectOutput) SDKResponseMetadata ¶
func (s ListBuildsForProjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBuildsForProjectOutput) String ¶
func (s ListBuildsForProjectOutput) String() string
String returns the string representation
type ListBuildsForProjectRequest ¶
type ListBuildsForProjectRequest struct { *aws.Request Input *ListBuildsForProjectInput Copy func(*ListBuildsForProjectInput) ListBuildsForProjectRequest }
ListBuildsForProjectRequest is a API request type for the ListBuildsForProject API operation.
func (ListBuildsForProjectRequest) Send ¶
func (r ListBuildsForProjectRequest) Send() (*ListBuildsForProjectOutput, error)
Send marshals and sends the ListBuildsForProject API request.
type ListBuildsInput ¶
type ListBuildsInput struct { // During a previous call, if there are more than 100 items in the list, only // the first 100 items are returned, along with a unique string called a next // token. To get the next batch of items in the list, call this operation again, // adding the next token to the call. To get all of the items in the list, keep // calling this operation with each subsequent next token that is returned, // until no more next tokens are returned. NextToken *string `locationName:"nextToken" type:"string"` // The order to list build IDs. Valid values include: // // * ASCENDING: List the build IDs in ascending order by build ID. // // * DESCENDING: List the build IDs in descending order by build ID. SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsInput
func (ListBuildsInput) GoString ¶
func (s ListBuildsInput) GoString() string
GoString returns the string representation
func (ListBuildsInput) String ¶
func (s ListBuildsInput) String() string
String returns the string representation
type ListBuildsOutput ¶
type ListBuildsOutput struct { // A list of build IDs, with each build ID representing a single build. Ids []string `locationName:"ids" min:"1" type:"list"` // If there are more than 100 items in the list, only the first 100 items are // returned, along with a unique string called a next token. To get the next // batch of items in the list, call this operation again, adding the next token // to the call. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsOutput
func (ListBuildsOutput) GoString ¶
func (s ListBuildsOutput) GoString() string
GoString returns the string representation
func (ListBuildsOutput) SDKResponseMetadata ¶
func (s ListBuildsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBuildsOutput) String ¶
func (s ListBuildsOutput) String() string
String returns the string representation
type ListBuildsRequest ¶
type ListBuildsRequest struct { *aws.Request Input *ListBuildsInput Copy func(*ListBuildsInput) ListBuildsRequest }
ListBuildsRequest is a API request type for the ListBuilds API operation.
func (ListBuildsRequest) Send ¶
func (r ListBuildsRequest) Send() (*ListBuildsOutput, error)
Send marshals and sends the ListBuilds API request.
type ListCuratedEnvironmentImagesInput ¶
type ListCuratedEnvironmentImagesInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput
func (ListCuratedEnvironmentImagesInput) GoString ¶
func (s ListCuratedEnvironmentImagesInput) GoString() string
GoString returns the string representation
func (ListCuratedEnvironmentImagesInput) String ¶
func (s ListCuratedEnvironmentImagesInput) String() string
String returns the string representation
type ListCuratedEnvironmentImagesOutput ¶
type ListCuratedEnvironmentImagesOutput struct { // Information about supported platforms for Docker images that are managed // by AWS CodeBuild. Platforms []EnvironmentPlatform `locationName:"platforms" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesOutput
func (ListCuratedEnvironmentImagesOutput) GoString ¶
func (s ListCuratedEnvironmentImagesOutput) GoString() string
GoString returns the string representation
func (ListCuratedEnvironmentImagesOutput) SDKResponseMetadata ¶
func (s ListCuratedEnvironmentImagesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListCuratedEnvironmentImagesOutput) String ¶
func (s ListCuratedEnvironmentImagesOutput) String() string
String returns the string representation
type ListCuratedEnvironmentImagesRequest ¶
type ListCuratedEnvironmentImagesRequest struct { *aws.Request Input *ListCuratedEnvironmentImagesInput Copy func(*ListCuratedEnvironmentImagesInput) ListCuratedEnvironmentImagesRequest }
ListCuratedEnvironmentImagesRequest is a API request type for the ListCuratedEnvironmentImages API operation.
func (ListCuratedEnvironmentImagesRequest) Send ¶
func (r ListCuratedEnvironmentImagesRequest) Send() (*ListCuratedEnvironmentImagesOutput, error)
Send marshals and sends the ListCuratedEnvironmentImages API request.
type ListProjectsInput ¶
type ListProjectsInput struct { // During a previous call, if there are more than 100 items in the list, only // the first 100 items are returned, along with a unique string called a next // token. To get the next batch of items in the list, call this operation again, // adding the next token to the call. To get all of the items in the list, keep // calling this operation with each subsequent next token that is returned, // until no more next tokens are returned. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The criterion to be used to list build project names. Valid values include: // // * CREATED_TIME: List the build project names based on when each build // project was created. // // * LAST_MODIFIED_TIME: List the build project names based on when information // about each build project was last changed. // // * NAME: List the build project names based on each build project's name. // // Use sortOrder to specify in what order to list the build project names based // on the preceding criteria. SortBy ProjectSortByType `locationName:"sortBy" type:"string" enum:"true"` // The order in which to list build projects. Valid values include: // // * ASCENDING: List the build project names in ascending order. // // * DESCENDING: List the build project names in descending order. // // Use sortBy to specify the criterion to be used to list build project names. SortOrder SortOrderType `locationName:"sortOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsInput
func (ListProjectsInput) GoString ¶
func (s ListProjectsInput) GoString() string
GoString returns the string representation
func (ListProjectsInput) String ¶
func (s ListProjectsInput) String() string
String returns the string representation
func (*ListProjectsInput) Validate ¶
func (s *ListProjectsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProjectsOutput ¶
type ListProjectsOutput struct { // If there are more than 100 items in the list, only the first 100 items are // returned, along with a unique string called a next token. To get the next // batch of items in the list, call this operation again, adding the next token // to the call. NextToken *string `locationName:"nextToken" type:"string"` // The list of build project names, with each build project name representing // a single build project. Projects []string `locationName:"projects" min:"1" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsOutput
func (ListProjectsOutput) GoString ¶
func (s ListProjectsOutput) GoString() string
GoString returns the string representation
func (ListProjectsOutput) SDKResponseMetadata ¶
func (s ListProjectsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListProjectsOutput) String ¶
func (s ListProjectsOutput) String() string
String returns the string representation
type ListProjectsRequest ¶
type ListProjectsRequest struct { *aws.Request Input *ListProjectsInput Copy func(*ListProjectsInput) ListProjectsRequest }
ListProjectsRequest is a API request type for the ListProjects API operation.
func (ListProjectsRequest) Send ¶
func (r ListProjectsRequest) Send() (*ListProjectsOutput, error)
Send marshals and sends the ListProjects API request.
type LogsLocation ¶
type LogsLocation struct { // The URL to an individual build log in Amazon CloudWatch Logs. DeepLink *string `locationName:"deepLink" type:"string"` // The name of the Amazon CloudWatch Logs group for the build logs. GroupName *string `locationName:"groupName" type:"string"` // The name of the Amazon CloudWatch Logs stream for the build logs. StreamName *string `locationName:"streamName" type:"string"` // contains filtered or unexported fields }
Information about build logs in Amazon CloudWatch Logs. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation
func (LogsLocation) GoString ¶
func (s LogsLocation) GoString() string
GoString returns the string representation
func (LogsLocation) String ¶
func (s LogsLocation) String() string
String returns the string representation
type NetworkInterface ¶ added in v0.2.0
type NetworkInterface struct { // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" min:"1" type:"string"` // The ID of the subnet. SubnetId *string `locationName:"subnetId" min:"1" type:"string"` // contains filtered or unexported fields }
Describes a network interface. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/NetworkInterface
func (NetworkInterface) GoString ¶ added in v0.2.0
func (s NetworkInterface) GoString() string
GoString returns the string representation
func (NetworkInterface) String ¶ added in v0.2.0
func (s NetworkInterface) String() string
String returns the string representation
type PhaseContext ¶
type PhaseContext struct { // An explanation of the build phase's context. This explanation 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 to help troubleshoot a failed build. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PhaseContext
func (PhaseContext) GoString ¶
func (s PhaseContext) GoString() string
GoString returns the string representation
func (PhaseContext) String ¶
func (s PhaseContext) String() string
String returns the string representation
type PlatformType ¶
type PlatformType string
const ( PlatformTypeDebian PlatformType = "DEBIAN" PlatformTypeAmazonLinux PlatformType = "AMAZON_LINUX" PlatformTypeUbuntu PlatformType = "UBUNTU" PlatformTypeWindowsServer PlatformType = "WINDOWS_SERVER" )
Enum values for PlatformType
func (PlatformType) MarshalValue ¶ added in v0.3.0
func (enum PlatformType) MarshalValue() (string, error)
func (PlatformType) MarshalValueBuf ¶ added in v0.3.0
func (enum PlatformType) MarshalValueBuf(b []byte) ([]byte, error)
type Project ¶
type Project struct { // The Amazon Resource Name (ARN) of the build project. Arn *string `locationName:"arn" type:"string"` // Information about the build output artifacts for the build project. Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"` // Information about the build badge for the build project. Badge *ProjectBadge `locationName:"badge" type:"structure"` // Information about the cache for the build project. Cache *ProjectCache `locationName:"cache" type:"structure"` // When the build project was created, expressed in Unix time format. Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // A description that makes the build project easy to identify. Description *string `locationName:"description" type:"string"` // The AWS Key Management Service (AWS KMS) customer master key (CMK) to be // used for encrypting the build output artifacts. // // This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, // the CMK's alias (using the format alias/alias-name). EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"` // Information about the build environment for this build project. Environment *ProjectEnvironment `locationName:"environment" type:"structure"` // When the build project's settings were last modified, expressed in Unix time // format. LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"unix"` // The name of the build project. Name *string `locationName:"name" min:"2" type:"string"` // The ARN of the AWS Identity and Access Management (IAM) role that enables // AWS CodeBuild to interact with dependent AWS services on behalf of the AWS // account. ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"` // Information about the build input source code for this build project. Source *ProjectSource `locationName:"source" type:"structure"` // The tags for this build project. // // These tags are available for use by AWS services that support AWS CodeBuild // build project tags. Tags []Tag `locationName:"tags" type:"list"` // How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait // before timing out any related build that did not get marked as completed. // The default is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` // Information about the VPC configuration that AWS CodeBuild will access. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // Information about a webhook in GitHub that connects repository events to // a build project in AWS CodeBuild. Webhook *Webhook `locationName:"webhook" type:"structure"` // contains filtered or unexported fields }
Information about a build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project
type ProjectArtifacts ¶
type ProjectArtifacts struct { // Information about the build output artifact location, as follows: // // * If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this // value if specified. This is because AWS CodePipeline manages its build // output locations instead of AWS CodeBuild. // // * If type is set to NO_ARTIFACTS, then this value will be ignored if specified, // because no build output will be produced. // // * If type is set to S3, this is the name of the output bucket. Location *string `locationName:"location" type:"string"` // Along with path and namespaceType, the pattern that AWS CodeBuild will use // to name and store the output artifact, as follows: // // * If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this // value if specified. This is because AWS CodePipeline manages its build // output names instead of AWS CodeBuild. // // * If type is set to NO_ARTIFACTS, then this value will be ignored if specified, // because no build output will be 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 ("/"), then 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 would be stored // in MyArtifacts/build-ID/MyArtifact.zip. // // * If path is empty, namespaceType is set to NONE, and name is set to // "/", then the output artifact would be 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 "/", then the output artifact would be stored in MyArtifacts/build-ID. Name *string `locationName:"name" type:"string"` // Along with path and name, the pattern that AWS CodeBuild will use to determine // the name and location to store the output artifact, as follows: // // * If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this // value if specified. This is because AWS CodePipeline manages its build // output names instead of AWS CodeBuild. // // * If type is set to NO_ARTIFACTS, then this value will be ignored if specified, // because no build output will be produced. // // * If type is set to S3, then 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, then the output artifact would be stored // in MyArtifacts/build-ID/MyArtifact.zip. NamespaceType ArtifactNamespace `locationName:"namespaceType" type:"string" enum:"true"` // The type of build output artifact to create, as follows: // // * If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this // value if specified. This is because AWS CodePipeline manages its build // output artifacts instead of AWS CodeBuild. // // * If type is set to NO_ARTIFACTS, then this value will be ignored if specified, // because no build output will be produced. // // * If type is set to S3, valid values include: // // NONE: AWS CodeBuild will create in the output bucket a folder containing // the build output. This is the default if packaging is not specified. // // ZIP: AWS CodeBuild will create in the output bucket a ZIP file containing // the build output. Packaging ArtifactPackaging `locationName:"packaging" type:"string" enum:"true"` // Along with namespaceType and name, the pattern that AWS CodeBuild will use // to name and store the output artifact, as follows: // // * If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this // value if specified. This is because AWS CodePipeline manages its build // output names instead of AWS CodeBuild. // // * If type is set to NO_ARTIFACTS, then this value will be ignored if specified, // because no build output will be produced. // // * If type is set to S3, this is the path to the output artifact. If path // is not specified, then path will not be used. // // For example, if path is set to MyArtifacts, namespaceType is set to NONE, // and name is set to MyArtifact.zip, then the output artifact would be 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 will have build output generated through // AWS CodePipeline. // // * NO_ARTIFACTS: The build project will not produce any build output. // // * S3: The build project will store build output in Amazon Simple Storage // Service (Amazon S3). // // Type is a required field Type ArtifactsType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Information about the build output artifacts for the build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts
func (ProjectArtifacts) GoString ¶
func (s ProjectArtifacts) GoString() string
GoString returns the string representation
func (ProjectArtifacts) String ¶
func (s ProjectArtifacts) String() string
String returns the string representation
func (*ProjectArtifacts) Validate ¶
func (s *ProjectArtifacts) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProjectBadge ¶ added in v0.2.0
type ProjectBadge struct { // Set this to true to generate a publicly-accessible URL for your project's // build badge. BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` // The publicly-accessible URL through which you can access the build badge // for your project. BadgeRequestUrl *string `locationName:"badgeRequestUrl" type:"string"` // contains filtered or unexported fields }
Information about the build badge for the build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge
func (ProjectBadge) GoString ¶ added in v0.2.0
func (s ProjectBadge) GoString() string
GoString returns the string representation
func (ProjectBadge) String ¶ added in v0.2.0
func (s ProjectBadge) String() string
String returns the string representation
type ProjectCache ¶ added in v0.2.0
type ProjectCache struct { // Information about the cache location, as follows: // // * NO_CACHE: This value will be ignored. // // * S3: This is the S3 bucket name/prefix. Location *string `locationName:"location" type:"string"` // The type of cache used by the build project. Valid values include: // // * NO_CACHE: The build project will not use any cache. // // * S3: The build project will read and write from/to S3. // // Type is a required field Type CacheType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Information about the cache for the build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache
func (ProjectCache) GoString ¶ added in v0.2.0
func (s ProjectCache) GoString() string
GoString returns the string representation
func (ProjectCache) String ¶ added in v0.2.0
func (s ProjectCache) String() string
String returns the string representation
func (*ProjectCache) Validate ¶ added in v0.2.0
func (s *ProjectCache) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProjectEnvironment ¶
type ProjectEnvironment struct { // The certificate to use with this build project. Certificate *string `locationName:"certificate" type:"string"` // Information about the compute resources the build project will use. Available // values include: // // * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. // // * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. // // * BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds. // // ComputeType is a required field ComputeType ComputeType `locationName:"computeType" type:"string" required:"true" enum:"true"` // A set of environment variables to make available to builds for this build // project. EnvironmentVariables []EnvironmentVariable `locationName:"environmentVariables" type:"list"` // The ID of the Docker image to use for this build project. // // Image is a required field Image *string `locationName:"image" min:"1" type:"string" required:"true"` // Enables running the Docker daemon inside a Docker container. Set to true // only if the build project is be used to build Docker images, and the specified // build environment image is not provided by AWS CodeBuild with Docker support. // Otherwise, all associated builds that attempt to interact with the Docker // daemon will fail. Note that you must also start the Docker daemon so that // builds can interact with it. One way to do this is to initialize the Docker // daemon during the install phase of your build spec by running the following // build commands. (Do not run the following build commands if the specified // build environment image is provided by AWS CodeBuild with Docker support.) // // - 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 type of build environment to use for related builds. // // Type is a required field Type EnvironmentType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Information about the build environment of the build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment
func (ProjectEnvironment) GoString ¶
func (s ProjectEnvironment) GoString() string
GoString returns the string representation
func (ProjectEnvironment) String ¶
func (s ProjectEnvironment) String() string
String returns the string representation
func (*ProjectEnvironment) Validate ¶
func (s *ProjectEnvironment) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProjectSortByType ¶
type ProjectSortByType string
const ( ProjectSortByTypeName ProjectSortByType = "NAME" ProjectSortByTypeCreatedTime ProjectSortByType = "CREATED_TIME" ProjectSortByTypeLastModifiedTime ProjectSortByType = "LAST_MODIFIED_TIME" )
Enum values for ProjectSortByType
func (ProjectSortByType) MarshalValue ¶ added in v0.3.0
func (enum ProjectSortByType) MarshalValue() (string, error)
func (ProjectSortByType) MarshalValueBuf ¶ added in v0.3.0
func (enum ProjectSortByType) MarshalValueBuf(b []byte) ([]byte, error)
type ProjectSource ¶
type ProjectSource struct { // Information about the authorization settings for AWS CodeBuild to access // the source code to be built. // // This information is for the AWS CodeBuild console's use only. Your code should // not get or set this information directly (unless the build project's source // type value is BITBUCKET or GITHUB). Auth *SourceAuth `locationName:"auth" type:"structure"` // The build spec declaration to use for the builds in this build project. // // If this value is not specified, a build spec must be included along with // the source code to be built. Buildspec *string `locationName:"buildspec" type:"string"` // Information about the git clone depth for the build project. GitCloneDepth *int64 `locationName:"gitCloneDepth" type:"integer"` // Enable this flag to ignore SSL warnings while connecting to the project source // code. InsecureSsl *bool `locationName:"insecureSsl" type:"boolean"` // Information about the location of the source code to be built. Valid values // include: // // * For source code settings that are specified in the source action of // a pipeline in AWS CodePipeline, location should not be specified. If it // is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline // uses the settings in a pipeline's source action instead of this value. // // * For source code in an AWS CodeCommit repository, the HTTPS clone URL // to the repository that contains the source code and the build spec (for // example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name). // // * For source code in an Amazon Simple Storage Service (Amazon S3) input // bucket, the path to the ZIP file that contains the source code (for example, // bucket-name/path/to/object-name.zip) // // * For source code in a GitHub repository, the HTTPS clone URL to the repository // that contains the source and the build spec. Also, you must connect your // AWS account to your GitHub account. To do this, use the AWS CodeBuild // console to begin creating a build project. When you use the console to // connect (or reconnect) with GitHub, on the GitHub Authorize application // page that displays, for Organization access, choose Request access next // to each repository you want to allow AWS CodeBuild to have access to. // Then choose Authorize application. (After you have connected to your GitHub // account, you do not need to finish creating the build project, and you // may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to // then use this connection, in the source object, set the auth object's // type value to OAUTH. // // * For source code in a Bitbucket repository, the HTTPS clone URL to the // repository that contains the source and the build spec. Also, you must // connect your AWS account to your Bitbucket account. To do this, use the // AWS CodeBuild console to begin creating a build project. When you use // the console to connect (or reconnect) with Bitbucket, on the Bitbucket // Confirm access to your account page that displays, choose Grant access. // (After you have connected to your Bitbucket account, you do not need to // finish creating the build project, and you may then leave the AWS CodeBuild // console.) To instruct AWS CodeBuild to then use this connection, in the // source object, set the auth object's type value to OAUTH. Location *string `locationName:"location" type:"string"` // The type of repository that contains the source code to be built. Valid values // include: // // * BITBUCKET: The source code is in a Bitbucket repository. // // * CODECOMMIT: The source code is in an AWS CodeCommit repository. // // * CODEPIPELINE: The source code settings are specified in the source action // of a pipeline in AWS CodePipeline. // // * GITHUB: The source code is in a GitHub repository. // // * S3: The source code is in an Amazon Simple Storage Service (Amazon S3) // input bucket. // // Type is a required field Type SourceType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Information about the build input source code for the build project. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource
func (ProjectSource) GoString ¶
func (s ProjectSource) GoString() string
GoString returns the string representation
func (ProjectSource) String ¶
func (s ProjectSource) String() string
String returns the string representation
func (*ProjectSource) Validate ¶
func (s *ProjectSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SortOrderType ¶
type SortOrderType string
const ( SortOrderTypeAscending SortOrderType = "ASCENDING" SortOrderTypeDescending SortOrderType = "DESCENDING" )
Enum values for SortOrderType
func (SortOrderType) MarshalValue ¶ added in v0.3.0
func (enum SortOrderType) MarshalValue() (string, error)
func (SortOrderType) MarshalValueBuf ¶ added in v0.3.0
func (enum SortOrderType) MarshalValueBuf(b []byte) ([]byte, error)
type SourceAuth ¶
type SourceAuth struct { // The resource value that applies to the specified authorization type. Resource *string `locationName:"resource" type:"string"` // The authorization type to use. The only valid value is OAUTH, which represents // the OAuth authorization type. // // Type is a required field Type SourceAuthType `locationName:"type" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Information about the authorization settings for AWS CodeBuild to access the source code to be built.
This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source type value is BITBUCKET or GITHUB). Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/SourceAuth
func (SourceAuth) GoString ¶
func (s SourceAuth) GoString() string
GoString returns the string representation
func (SourceAuth) String ¶
func (s SourceAuth) String() string
String returns the string representation
func (*SourceAuth) Validate ¶
func (s *SourceAuth) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SourceAuthType ¶
type SourceAuthType string
const (
SourceAuthTypeOauth SourceAuthType = "OAUTH"
)
Enum values for SourceAuthType
func (SourceAuthType) MarshalValue ¶ added in v0.3.0
func (enum SourceAuthType) MarshalValue() (string, error)
func (SourceAuthType) MarshalValueBuf ¶ added in v0.3.0
func (enum SourceAuthType) MarshalValueBuf(b []byte) ([]byte, error)
type SourceType ¶
type SourceType string
const ( SourceTypeCodecommit SourceType = "CODECOMMIT" SourceTypeCodepipeline SourceType = "CODEPIPELINE" SourceTypeGithub SourceType = "GITHUB" SourceTypeS3 SourceType = "S3" SourceTypeBitbucket SourceType = "BITBUCKET" SourceTypeGithubEnterprise SourceType = "GITHUB_ENTERPRISE" )
Enum values for SourceType
func (SourceType) MarshalValue ¶ added in v0.3.0
func (enum SourceType) MarshalValue() (string, error)
func (SourceType) MarshalValueBuf ¶ added in v0.3.0
func (enum SourceType) MarshalValueBuf(b []byte) ([]byte, error)
type StartBuildInput ¶
type StartBuildInput struct { // Build output artifact settings that override, for this build only, the latest // ones already defined in the build project. ArtifactsOverride *ProjectArtifacts `locationName:"artifactsOverride" type:"structure"` // A build spec declaration that overrides, for this build only, the latest // one already defined in the build project. BuildspecOverride *string `locationName:"buildspecOverride" type:"string"` // A ProjectCache object specified for this build that overrides the one defined // in the build project. CacheOverride *ProjectCache `locationName:"cacheOverride" type:"structure"` // The name of a certificate for this build that overrides the one specified // in the build project. CertificateOverride *string `locationName:"certificateOverride" type:"string"` // The name of a compute type for this build that overrides the one specified // in the build project. ComputeTypeOverride ComputeType `locationName:"computeTypeOverride" type:"string" enum:"true"` // A container type for this build that overrides the one specified in the build // project. EnvironmentTypeOverride EnvironmentType `locationName:"environmentTypeOverride" type:"string" enum:"true"` // A set of environment variables that overrides, for this build only, the latest // ones already defined in the build project. EnvironmentVariablesOverride []EnvironmentVariable `locationName:"environmentVariablesOverride" type:"list"` // The user-defined depth of history, with a minimum value of 0, that overrides, // for this build only, any previous depth of history defined in the build project. GitCloneDepthOverride *int64 `locationName:"gitCloneDepthOverride" type:"integer"` // A unique, case sensitive identifier you provide to ensure the idempotency // of the StartBuild request. The token is included in the StartBuild request // and is valid for 12 hours. If you repeat the StartBuild request with the // same token, but change a parameter, AWS CodeBuild returns a parameter mismatch // error. IdempotencyToken *string `locationName:"idempotencyToken" type:"string"` // The name of an image for this build that overrides the one specified in the // build project. ImageOverride *string `locationName:"imageOverride" min:"1" type:"string"` // Enable this flag to override the insecure SSL setting that is specified in // the build project. The insecure SSL setting determines whether to ignore // SSL warnings while connecting to the project source code. This override applies // only if the build's source is GitHub Enterprise. InsecureSslOverride *bool `locationName:"insecureSslOverride" type:"boolean"` // Enable this flag to override privileged mode in the build project. PrivilegedModeOverride *bool `locationName:"privilegedModeOverride" type:"boolean"` // The name of the AWS CodeBuild build project to start running a build. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` // The name of a service role for this build that overrides the one specified // in the build project. ServiceRoleOverride *string `locationName:"serviceRoleOverride" min:"1" type:"string"` // An authorization type for this build that overrides the one defined in the // build project. This override applies only if the build project's source is // BitBucket or GitHub. SourceAuthOverride *SourceAuth `locationName:"sourceAuthOverride" type:"structure"` // A location that overrides for this build the source location for the one // defined in the build project. SourceLocationOverride *string `locationName:"sourceLocationOverride" type:"string"` // A source input type for this build that overrides the source input defined // in the build project SourceTypeOverride SourceType `locationName:"sourceTypeOverride" type:"string" enum:"true"` // A version of the build input to be built, for this build only. If not specified, // the latest version will be used. If specified, must be one of: // // * For AWS CodeCommit: the commit ID to use. // // * For GitHub: the commit ID, pull request ID, branch name, or tag name // that corresponds to the version of the source code you want to build. // If a pull request ID is specified, it must use the format pr/pull-request-ID // (for example pr/25). If a branch name is specified, the branch's HEAD // commit ID will be used. If not specified, the default branch's HEAD commit // ID will be 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 will be used. If not specified, // the default branch's HEAD commit ID will be used. // // * For Amazon Simple Storage Service (Amazon S3): the version ID of the // object representing the build input ZIP file to use. SourceVersion *string `locationName:"sourceVersion" type:"string"` // The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, // for this build only, the latest setting already defined in the build project. TimeoutInMinutesOverride *int64 `locationName:"timeoutInMinutesOverride" min:"5" type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput
func (StartBuildInput) GoString ¶
func (s StartBuildInput) GoString() string
GoString returns the string representation
func (StartBuildInput) String ¶
func (s StartBuildInput) String() string
String returns the string representation
func (*StartBuildInput) Validate ¶
func (s *StartBuildInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartBuildOutput ¶
type StartBuildOutput struct { // Information about the build to be run. Build *Build `locationName:"build" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildOutput
func (StartBuildOutput) GoString ¶
func (s StartBuildOutput) GoString() string
GoString returns the string representation
func (StartBuildOutput) SDKResponseMetadata ¶
func (s StartBuildOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StartBuildOutput) String ¶
func (s StartBuildOutput) String() string
String returns the string representation
type StartBuildRequest ¶
type StartBuildRequest struct { *aws.Request Input *StartBuildInput Copy func(*StartBuildInput) StartBuildRequest }
StartBuildRequest is a API request type for the StartBuild API operation.
func (StartBuildRequest) Send ¶
func (r StartBuildRequest) Send() (*StartBuildOutput, error)
Send marshals and sends the StartBuild API request.
type StatusType ¶
type StatusType string
const ( StatusTypeSucceeded StatusType = "SUCCEEDED" StatusTypeFailed StatusType = "FAILED" StatusTypeFault StatusType = "FAULT" StatusTypeTimedOut StatusType = "TIMED_OUT" StatusTypeInProgress StatusType = "IN_PROGRESS" StatusTypeStopped StatusType = "STOPPED" )
Enum values for StatusType
func (StatusType) MarshalValue ¶ added in v0.3.0
func (enum StatusType) MarshalValue() (string, error)
func (StatusType) MarshalValueBuf ¶ added in v0.3.0
func (enum StatusType) MarshalValueBuf(b []byte) ([]byte, error)
type StopBuildInput ¶
type StopBuildInput struct { // The ID of the build. // // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildInput
func (StopBuildInput) GoString ¶
func (s StopBuildInput) GoString() string
GoString returns the string representation
func (StopBuildInput) String ¶
func (s StopBuildInput) String() string
String returns the string representation
func (*StopBuildInput) Validate ¶
func (s *StopBuildInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopBuildOutput ¶
type StopBuildOutput struct { // Information about the build. Build *Build `locationName:"build" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildOutput
func (StopBuildOutput) GoString ¶
func (s StopBuildOutput) GoString() string
GoString returns the string representation
func (StopBuildOutput) SDKResponseMetadata ¶
func (s StopBuildOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StopBuildOutput) String ¶
func (s StopBuildOutput) String() string
String returns the string representation
type StopBuildRequest ¶
type StopBuildRequest struct { *aws.Request Input *StopBuildInput Copy func(*StopBuildInput) StopBuildRequest }
StopBuildRequest is a API request type for the StopBuild API operation.
func (StopBuildRequest) Send ¶
func (r StopBuildRequest) Send() (*StopBuildOutput, error)
Send marshals and sends the StopBuild API request.
type Tag ¶
type Tag struct { // The tag's key. Key *string `locationName:"key" min:"1" type:"string"` // The tag's value. Value *string `locationName:"value" min:"1" type:"string"` // contains filtered or unexported fields }
A tag, consisting of a key and a value.
This tag is available for use by AWS services that support tags in AWS CodeBuild. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Tag
type UpdateProjectInput ¶
type UpdateProjectInput struct { // Information to be changed about the build output artifacts for the build // project. Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"` // Set this to true to generate a publicly-accessible URL for your project's // build badge. BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"` // Stores recently used information so that it can be quickly accessed at a // later time. Cache *ProjectCache `locationName:"cache" type:"structure"` // A new or replacement description of the build project. Description *string `locationName:"description" type:"string"` // The replacement AWS Key Management Service (AWS KMS) customer master key // (CMK) to be used for encrypting the build output artifacts. // // You can specify either the CMK's Amazon Resource Name (ARN) 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"` // 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 replacement ARN of the AWS Identity and Access Management (IAM) role // that enables AWS CodeBuild to interact with dependent AWS services on behalf // of the AWS account. ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"` // Information to be changed about the build input source code for the build // project. Source *ProjectSource `locationName:"source" type:"structure"` // The replacement set of tags for this build project. // // These tags are available for use by AWS services that support AWS CodeBuild // build project tags. Tags []Tag `locationName:"tags" type:"list"` // The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild // to wait before timing out any related build that did not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` // VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput
func (UpdateProjectInput) GoString ¶
func (s UpdateProjectInput) GoString() string
GoString returns the string representation
func (UpdateProjectInput) String ¶
func (s UpdateProjectInput) String() string
String returns the string representation
func (*UpdateProjectInput) Validate ¶
func (s *UpdateProjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateProjectOutput ¶
type UpdateProjectOutput struct { // Information about the build project that was changed. Project *Project `locationName:"project" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectOutput
func (UpdateProjectOutput) GoString ¶
func (s UpdateProjectOutput) GoString() string
GoString returns the string representation
func (UpdateProjectOutput) SDKResponseMetadata ¶
func (s UpdateProjectOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateProjectOutput) String ¶
func (s UpdateProjectOutput) String() string
String returns the string representation
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { *aws.Request Input *UpdateProjectInput Copy func(*UpdateProjectInput) UpdateProjectRequest }
UpdateProjectRequest is a API request type for the UpdateProject API operation.
func (UpdateProjectRequest) Send ¶
func (r UpdateProjectRequest) Send() (*UpdateProjectOutput, error)
Send marshals and sends the UpdateProject API request.
type UpdateWebhookInput ¶ added in v0.4.0
type UpdateWebhookInput struct { // A regular expression used to determine which branches in a repository are // built when a webhook is triggered. If the name of a branch matches the regular // expression, then it is built. If it doesn't match, then it is not. If branchFilter // is empty, then all branches are built. BranchFilter *string `locationName:"branchFilter" type:"string"` // The name of the AWS CodeBuild project. // // ProjectName is a required field ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"` // A boolean value that specifies whether the associated repository's secret // token should be updated. RotateSecret *bool `locationName:"rotateSecret" type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookInput
func (UpdateWebhookInput) GoString ¶ added in v0.4.0
func (s UpdateWebhookInput) GoString() string
GoString returns the string representation
func (UpdateWebhookInput) String ¶ added in v0.4.0
func (s UpdateWebhookInput) String() string
String returns the string representation
func (*UpdateWebhookInput) Validate ¶ added in v0.4.0
func (s *UpdateWebhookInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWebhookOutput ¶ added in v0.4.0
type UpdateWebhookOutput struct { // Information about a repository's webhook that is associated with a project // in AWS CodeBuild. Webhook *Webhook `locationName:"webhook" type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput
func (UpdateWebhookOutput) GoString ¶ added in v0.4.0
func (s UpdateWebhookOutput) GoString() string
GoString returns the string representation
func (UpdateWebhookOutput) SDKResponseMetadata ¶ added in v0.4.0
func (s UpdateWebhookOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateWebhookOutput) String ¶ added in v0.4.0
func (s UpdateWebhookOutput) String() string
String returns the string representation
type UpdateWebhookRequest ¶ added in v0.4.0
type UpdateWebhookRequest struct { *aws.Request Input *UpdateWebhookInput Copy func(*UpdateWebhookInput) UpdateWebhookRequest }
UpdateWebhookRequest is a API request type for the UpdateWebhook API operation.
func (UpdateWebhookRequest) Send ¶ added in v0.4.0
func (r UpdateWebhookRequest) Send() (*UpdateWebhookOutput, error)
Send marshals and sends the UpdateWebhook API request.
type VpcConfig ¶ added in v0.2.0
type VpcConfig struct { // A list of one or more security groups IDs in your Amazon VPC. SecurityGroupIds []string `locationName:"securityGroupIds" type:"list"` // A list of one or more subnet IDs in your Amazon VPC. Subnets []string `locationName:"subnets" type:"list"` // The ID of the Amazon VPC. VpcId *string `locationName:"vpcId" min:"1" type:"string"` // contains filtered or unexported fields }
Information about the VPC configuration that AWS CodeBuild will access. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/VpcConfig
type Webhook ¶
type Webhook struct { // A regular expression used to determine which branches in a repository are // built when a webhook is triggered. If the name of a branch matches the regular // expression, then it is built. If it doesn't match, then it is not. If branchFilter // is empty, then all branches are built. BranchFilter *string `locationName:"branchFilter" type:"string"` // A timestamp indicating the last time a repository's secret token was modified. LastModifiedSecret *time.Time `locationName:"lastModifiedSecret" type:"timestamp" timestampFormat:"unix"` // The CodeBuild endpoint where webhook events are sent. PayloadUrl *string `locationName:"payloadUrl" min:"1" type:"string"` // The secret token of the associated repository. 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 in GitHub that connects repository events to a build project in AWS CodeBuild. Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook
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. |