aws-sdk-go: github.com/aws/aws-sdk-go/service/codebuild Index | Examples | Files | Directories

package codebuild

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

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

AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about AWS CodeBuild, see the AWS CodeBuild User Guide (https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html).

AWS CodeBuild supports these operations:

* BatchDeleteBuilds: Deletes one or more builds.

* BatchGetBuilds: Gets information about one or more builds.

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

* BatchGetReportGroups: Returns an array of report groups.

* BatchGetReports: Returns an array of reports.

* CreateProject: Creates a build project.

* CreateReportGroup: Creates a report group. A report group contains a
collection of reports.

* CreateWebhook: For an existing AWS CodeBuild build project that has
its source code stored in a GitHub or Bitbucket repository, enables AWS
CodeBuild to start rebuilding the source code every time a code change
is pushed to the repository.

* DeleteProject: Deletes a build project.

* DeleteReport: Deletes a report.

* DeleteReportGroup: Deletes a report group.

* DeleteResourcePolicy: Deletes a resource policy that is identified by
its resource ARN.

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

* DeleteWebhook: For an existing AWS CodeBuild build project that has
its source code stored in a GitHub or Bitbucket repository, stops AWS
CodeBuild from rebuilding the source code every time a code change is
pushed to the repository.

* DescribeTestCases: Returns a list of details about test cases for a
report.

* GetResourcePolicy: Gets a resource policy that is identified by its
resource ARN.

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

* InvalidateProjectCache: Resets the cache for a project.

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

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

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

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

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

* ListReports: Gets a list ARNs for the reports in the current AWS account.

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

* ListSharedProjects: Gets a list of ARNs associated with projects shared
with the current AWS account or user.

* ListSharedReportGroups: Gets a list of ARNs associated with report groups
shared with the current AWS account or user

* ListSourceCredentials: Returns a list of SourceCredentialsInfo objects.
Each SourceCredentialsInfo object includes the authentication type, token
ARN, and type of source provider for one set of credentials.

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

* StartBuild: Starts running a build.

* StopBuild: Attempts to stop running a build.

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

* UpdateReportGroup: Changes a report group.

* UpdateWebhook: Changes the settings of an existing webhook.

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

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

Using the Client

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

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

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

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

Index

Examples

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // ArtifactNamespaceNone is a ArtifactNamespace enum value
    ArtifactNamespaceNone = "NONE"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // BuildPhaseTypeCompleted is a BuildPhaseType enum value
    BuildPhaseTypeCompleted = "COMPLETED"
)
const (
    // CacheModeLocalDockerLayerCache is a CacheMode enum value
    CacheModeLocalDockerLayerCache = "LOCAL_DOCKER_LAYER_CACHE"

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

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

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

    // CacheTypeLocal is a CacheType enum value
    CacheTypeLocal = "LOCAL"
)
const (
    // ComputeTypeBuildGeneral1Small is a ComputeType enum value
    ComputeTypeBuildGeneral1Small = "BUILD_GENERAL1_SMALL"

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

    // ComputeTypeBuildGeneral1Large is a ComputeType enum value
    ComputeTypeBuildGeneral1Large = "BUILD_GENERAL1_LARGE"

    // ComputeTypeBuildGeneral12xlarge is a ComputeType enum value
    ComputeTypeBuildGeneral12xlarge = "BUILD_GENERAL1_2XLARGE"
)
const (
    // EnvironmentTypeWindowsContainer is a EnvironmentType enum value
    EnvironmentTypeWindowsContainer = "WINDOWS_CONTAINER"

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

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

    // EnvironmentTypeArmContainer is a EnvironmentType enum value
    EnvironmentTypeArmContainer = "ARM_CONTAINER"
)
const (
    // EnvironmentVariableTypePlaintext is a EnvironmentVariableType enum value
    EnvironmentVariableTypePlaintext = "PLAINTEXT"

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

    // EnvironmentVariableTypeSecretsManager is a EnvironmentVariableType enum value
    EnvironmentVariableTypeSecretsManager = "SECRETS_MANAGER"
)
const (
    // ImagePullCredentialsTypeCodebuild is a ImagePullCredentialsType enum value
    ImagePullCredentialsTypeCodebuild = "CODEBUILD"

    // ImagePullCredentialsTypeServiceRole is a ImagePullCredentialsType enum value
    ImagePullCredentialsTypeServiceRole = "SERVICE_ROLE"
)
const (
    // LanguageTypeJava is a LanguageType enum value
    LanguageTypeJava = "JAVA"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ProjectSortByTypeLastModifiedTime is a ProjectSortByType enum value
    ProjectSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME"
)
const (
    // ReportExportConfigTypeS3 is a ReportExportConfigType enum value
    ReportExportConfigTypeS3 = "S3"

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

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

    // ReportGroupSortByTypeLastModifiedTime is a ReportGroupSortByType enum value
    ReportGroupSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME"
)
const (
    // ReportPackagingTypeZip is a ReportPackagingType enum value
    ReportPackagingTypeZip = "ZIP"

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

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

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

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

    // ReportStatusTypeDeleting is a ReportStatusType enum value
    ReportStatusTypeDeleting = "DELETING"
)
const (
    // ServerTypeGithub is a ServerType enum value
    ServerTypeGithub = "GITHUB"

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

    // ServerTypeGithubEnterprise is a ServerType enum value
    ServerTypeGithubEnterprise = "GITHUB_ENTERPRISE"
)
const (
    // SharedResourceSortByTypeArn is a SharedResourceSortByType enum value
    SharedResourceSortByTypeArn = "ARN"

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

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

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

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

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

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

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

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

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

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

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

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

    // StatusTypeStopped is a StatusType enum value
    StatusTypeStopped = "STOPPED"
)
const (
    // WebhookFilterTypeEvent is a WebhookFilterType enum value
    WebhookFilterTypeEvent = "EVENT"

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

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

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

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

    // WebhookFilterTypeCommitMessage is a WebhookFilterType enum value
    WebhookFilterTypeCommitMessage = "COMMIT_MESSAGE"
)
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" // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "CodeBuild" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // CredentialProviderTypeSecretsManager is a CredentialProviderType enum value
    CredentialProviderTypeSecretsManager = "SECRETS_MANAGER"
)
const (
    // FileSystemTypeEfs is a FileSystemType enum value
    FileSystemTypeEfs = "EFS"
)
const (
    // ReportTypeTest is a ReportType enum value
    ReportTypeTest = "TEST"
)
const (
    // SourceAuthTypeOauth is a SourceAuthType enum value
    SourceAuthTypeOauth = "OAUTH"
)

type AccountLimitExceededException Uses

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

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

An AWS service limit was exceeded for the calling AWS account.

func (*AccountLimitExceededException) Code Uses

func (s *AccountLimitExceededException) Code() string

Code returns the exception type name.

func (*AccountLimitExceededException) Error Uses

func (s *AccountLimitExceededException) Error() string

func (AccountLimitExceededException) GoString Uses

func (s AccountLimitExceededException) GoString() string

GoString returns the string representation

func (*AccountLimitExceededException) Message Uses

func (s *AccountLimitExceededException) Message() string

Message returns the exception's message.

func (*AccountLimitExceededException) OrigErr Uses

func (s *AccountLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccountLimitExceededException) RequestID Uses

func (s *AccountLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccountLimitExceededException) StatusCode Uses

func (s *AccountLimitExceededException) StatusCode() int

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

func (AccountLimitExceededException) String Uses

func (s AccountLimitExceededException) String() string

String returns the string representation

type BatchDeleteBuildsInput Uses

type BatchDeleteBuildsInput struct {

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

func (BatchDeleteBuildsInput) GoString Uses

func (s BatchDeleteBuildsInput) GoString() string

GoString returns the string representation

func (*BatchDeleteBuildsInput) SetIds Uses

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

SetIds sets the Ids field's value.

func (BatchDeleteBuildsInput) String Uses

func (s BatchDeleteBuildsInput) String() string

String returns the string representation

func (*BatchDeleteBuildsInput) Validate Uses

func (s *BatchDeleteBuildsInput) Validate() error

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

type BatchDeleteBuildsOutput Uses

type BatchDeleteBuildsOutput struct {

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

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

func (BatchDeleteBuildsOutput) GoString Uses

func (s BatchDeleteBuildsOutput) GoString() string

GoString returns the string representation

func (*BatchDeleteBuildsOutput) SetBuildsDeleted Uses

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

SetBuildsDeleted sets the BuildsDeleted field's value.

func (*BatchDeleteBuildsOutput) SetBuildsNotDeleted Uses

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

SetBuildsNotDeleted sets the BuildsNotDeleted field's value.

func (BatchDeleteBuildsOutput) String Uses

func (s BatchDeleteBuildsOutput) String() string

String returns the string representation

type BatchGetBuildsInput Uses

type BatchGetBuildsInput struct {

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

func (BatchGetBuildsInput) GoString Uses

func (s BatchGetBuildsInput) GoString() string

GoString returns the string representation

func (*BatchGetBuildsInput) SetIds Uses

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

SetIds sets the Ids field's value.

func (BatchGetBuildsInput) String Uses

func (s BatchGetBuildsInput) String() string

String returns the string representation

func (*BatchGetBuildsInput) Validate Uses

func (s *BatchGetBuildsInput) Validate() error

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

type BatchGetBuildsOutput Uses

type BatchGetBuildsOutput struct {

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

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

func (BatchGetBuildsOutput) GoString Uses

func (s BatchGetBuildsOutput) GoString() string

GoString returns the string representation

func (*BatchGetBuildsOutput) SetBuilds Uses

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

SetBuilds sets the Builds field's value.

func (*BatchGetBuildsOutput) SetBuildsNotFound Uses

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

SetBuildsNotFound sets the BuildsNotFound field's value.

func (BatchGetBuildsOutput) String Uses

func (s BatchGetBuildsOutput) String() string

String returns the string representation

type BatchGetProjectsInput Uses

type BatchGetProjectsInput struct {

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

func (BatchGetProjectsInput) GoString Uses

func (s BatchGetProjectsInput) GoString() string

GoString returns the string representation

func (*BatchGetProjectsInput) SetNames Uses

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

SetNames sets the Names field's value.

func (BatchGetProjectsInput) String Uses

func (s BatchGetProjectsInput) String() string

String returns the string representation

func (*BatchGetProjectsInput) Validate Uses

func (s *BatchGetProjectsInput) Validate() error

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

type BatchGetProjectsOutput Uses

type BatchGetProjectsOutput struct {

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

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

func (BatchGetProjectsOutput) GoString Uses

func (s BatchGetProjectsOutput) GoString() string

GoString returns the string representation

func (*BatchGetProjectsOutput) SetProjects Uses

func (s *BatchGetProjectsOutput) SetProjects(v []*Project) *BatchGetProjectsOutput

SetProjects sets the Projects field's value.

func (*BatchGetProjectsOutput) SetProjectsNotFound Uses

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

SetProjectsNotFound sets the ProjectsNotFound field's value.

func (BatchGetProjectsOutput) String Uses

func (s BatchGetProjectsOutput) String() string

String returns the string representation

type BatchGetReportGroupsInput Uses

type BatchGetReportGroupsInput struct {

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

func (BatchGetReportGroupsInput) GoString Uses

func (s BatchGetReportGroupsInput) GoString() string

GoString returns the string representation

func (*BatchGetReportGroupsInput) SetReportGroupArns Uses

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

SetReportGroupArns sets the ReportGroupArns field's value.

func (BatchGetReportGroupsInput) String Uses

func (s BatchGetReportGroupsInput) String() string

String returns the string representation

func (*BatchGetReportGroupsInput) Validate Uses

func (s *BatchGetReportGroupsInput) Validate() error

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

type BatchGetReportGroupsOutput Uses

type BatchGetReportGroupsOutput struct {

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

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

func (BatchGetReportGroupsOutput) GoString Uses

func (s BatchGetReportGroupsOutput) GoString() string

GoString returns the string representation

func (*BatchGetReportGroupsOutput) SetReportGroups Uses

func (s *BatchGetReportGroupsOutput) SetReportGroups(v []*ReportGroup) *BatchGetReportGroupsOutput

SetReportGroups sets the ReportGroups field's value.

func (*BatchGetReportGroupsOutput) SetReportGroupsNotFound Uses

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

SetReportGroupsNotFound sets the ReportGroupsNotFound field's value.

func (BatchGetReportGroupsOutput) String Uses

func (s BatchGetReportGroupsOutput) String() string

String returns the string representation

type BatchGetReportsInput Uses

type BatchGetReportsInput struct {

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

func (BatchGetReportsInput) GoString Uses

func (s BatchGetReportsInput) GoString() string

GoString returns the string representation

func (*BatchGetReportsInput) SetReportArns Uses

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

SetReportArns sets the ReportArns field's value.

func (BatchGetReportsInput) String Uses

func (s BatchGetReportsInput) String() string

String returns the string representation

func (*BatchGetReportsInput) Validate Uses

func (s *BatchGetReportsInput) Validate() error

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

type BatchGetReportsOutput Uses

type BatchGetReportsOutput struct {

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

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

func (BatchGetReportsOutput) GoString Uses

func (s BatchGetReportsOutput) GoString() string

GoString returns the string representation

func (*BatchGetReportsOutput) SetReports Uses

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

SetReports sets the Reports field's value.

func (*BatchGetReportsOutput) SetReportsNotFound Uses

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

SetReportsNotFound sets the ReportsNotFound field's value.

func (BatchGetReportsOutput) String Uses

func (s BatchGetReportsOutput) String() string

String returns the string representation

type Build Uses

type Build struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // An array of ProjectSourceVersion objects. Each ProjectSourceVersion must
    // be one of:
    //
    //    * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
    //
    //    * For GitHub: the commit ID, pull request ID, branch name, or tag name
    //    that corresponds to the version of the source code you want to build.
    //    If a pull request ID is specified, it must use the format pr/pull-request-ID
    //    (for example, pr/25). If a branch name is specified, the branch's HEAD
    //    commit ID is used. If not specified, the default branch's HEAD commit
    //    ID is used.
    //
    //    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
    //    to the version of the source code you want to build. If a branch name
    //    is specified, the branch's HEAD commit ID is used. If not specified, the
    //    default branch's HEAD commit ID is used.
    //
    //    * For Amazon Simple Storage Service (Amazon S3): the version ID of the
    //    object that represents the build input ZIP file to use.
    SecondarySourceVersions []*ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

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

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

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

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

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

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

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

Information about a build.

func (Build) GoString Uses

func (s Build) GoString() string

GoString returns the string representation

func (*Build) SetArn Uses

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

SetArn sets the Arn field's value.

func (*Build) SetArtifacts Uses

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

SetArtifacts sets the Artifacts field's value.

func (*Build) SetBuildComplete Uses

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

SetBuildComplete sets the BuildComplete field's value.

func (*Build) SetBuildNumber Uses

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

SetBuildNumber sets the BuildNumber field's value.

func (*Build) SetBuildStatus Uses

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

SetBuildStatus sets the BuildStatus field's value.

func (*Build) SetCache Uses

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

SetCache sets the Cache field's value.

func (*Build) SetCurrentPhase Uses

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

SetCurrentPhase sets the CurrentPhase field's value.

func (*Build) SetEncryptionKey Uses

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

SetEncryptionKey sets the EncryptionKey field's value.

func (*Build) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*Build) SetEnvironment Uses

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

SetEnvironment sets the Environment field's value.

func (*Build) SetExportedEnvironmentVariables Uses

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

SetExportedEnvironmentVariables sets the ExportedEnvironmentVariables field's value.

func (*Build) SetFileSystemLocations Uses

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

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*Build) SetId Uses

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

SetId sets the Id field's value.

func (*Build) SetInitiator Uses

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

SetInitiator sets the Initiator field's value.

func (*Build) SetLogs Uses

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

SetLogs sets the Logs field's value.

func (*Build) SetNetworkInterface Uses

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

SetNetworkInterface sets the NetworkInterface field's value.

func (*Build) SetPhases Uses

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

SetPhases sets the Phases field's value.

func (*Build) SetProjectName Uses

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

SetProjectName sets the ProjectName field's value.

func (*Build) SetQueuedTimeoutInMinutes Uses

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

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Build) SetReportArns Uses

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

SetReportArns sets the ReportArns field's value.

func (*Build) SetResolvedSourceVersion Uses

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

SetResolvedSourceVersion sets the ResolvedSourceVersion field's value.

func (*Build) SetSecondaryArtifacts Uses

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

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Build) SetSecondarySourceVersions Uses

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

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*Build) SetSecondarySources Uses

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

SetSecondarySources sets the SecondarySources field's value.

func (*Build) SetServiceRole Uses

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

SetServiceRole sets the ServiceRole field's value.

func (*Build) SetSource Uses

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

SetSource sets the Source field's value.

func (*Build) SetSourceVersion Uses

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

SetSourceVersion sets the SourceVersion field's value.

func (*Build) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (*Build) SetTimeoutInMinutes Uses

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

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*Build) SetVpcConfig Uses

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

SetVpcConfig sets the VpcConfig field's value.

func (Build) String Uses

func (s Build) String() string

String returns the string representation

type BuildArtifacts Uses

type BuildArtifacts struct {

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

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

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

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

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

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

Information about build output artifacts.

func (BuildArtifacts) GoString Uses

func (s BuildArtifacts) GoString() string

GoString returns the string representation

func (*BuildArtifacts) SetArtifactIdentifier Uses

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

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*BuildArtifacts) SetEncryptionDisabled Uses

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

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*BuildArtifacts) SetLocation Uses

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

SetLocation sets the Location field's value.

func (*BuildArtifacts) SetMd5sum Uses

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

SetMd5sum sets the Md5sum field's value.

func (*BuildArtifacts) SetOverrideArtifactName Uses

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

SetOverrideArtifactName sets the OverrideArtifactName field's value.

func (*BuildArtifacts) SetSha256sum Uses

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

SetSha256sum sets the Sha256sum field's value.

func (BuildArtifacts) String Uses

func (s BuildArtifacts) String() string

String returns the string representation

type BuildNotDeleted Uses

type BuildNotDeleted struct {

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

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

Information about a build that could not be successfully deleted.

func (BuildNotDeleted) GoString Uses

func (s BuildNotDeleted) GoString() string

GoString returns the string representation

func (*BuildNotDeleted) SetId Uses

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

SetId sets the Id field's value.

func (*BuildNotDeleted) SetStatusCode Uses

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

SetStatusCode sets the StatusCode field's value.

func (BuildNotDeleted) String Uses

func (s BuildNotDeleted) String() string

String returns the string representation

type BuildPhase Uses

type BuildPhase struct {

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

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

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

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

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

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

Information about a stage for a build.

func (BuildPhase) GoString Uses

func (s BuildPhase) GoString() string

GoString returns the string representation

func (*BuildPhase) SetContexts Uses

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

SetContexts sets the Contexts field's value.

func (*BuildPhase) SetDurationInSeconds Uses

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

SetDurationInSeconds sets the DurationInSeconds field's value.

func (*BuildPhase) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*BuildPhase) SetPhaseStatus Uses

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

SetPhaseStatus sets the PhaseStatus field's value.

func (*BuildPhase) SetPhaseType Uses

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

SetPhaseType sets the PhaseType field's value.

func (*BuildPhase) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (BuildPhase) String Uses

func (s BuildPhase) String() string

String returns the string representation

type CloudWatchLogsConfig Uses

type CloudWatchLogsConfig struct {

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

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

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

Information about Amazon CloudWatch Logs for a build project.

func (CloudWatchLogsConfig) GoString Uses

func (s CloudWatchLogsConfig) GoString() string

GoString returns the string representation

func (*CloudWatchLogsConfig) SetGroupName Uses

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

SetGroupName sets the GroupName field's value.

func (*CloudWatchLogsConfig) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CloudWatchLogsConfig) SetStreamName Uses

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

SetStreamName sets the StreamName field's value.

func (CloudWatchLogsConfig) String Uses

func (s CloudWatchLogsConfig) String() string

String returns the string representation

func (*CloudWatchLogsConfig) Validate Uses

func (s *CloudWatchLogsConfig) Validate() error

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

type CodeBuild Uses

type CodeBuild struct {
    *client.Client
}

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

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

func New Uses

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

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

Example:

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

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

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

func (*CodeBuild) BatchDeleteBuilds Uses

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

BatchDeleteBuilds API operation for AWS CodeBuild.

Deletes one or more builds.

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

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

Returned Error Types:

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

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

func (*CodeBuild) BatchDeleteBuildsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) BatchDeleteBuildsWithContext Uses

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

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

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

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

func (*CodeBuild) BatchGetBuilds Uses

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

BatchGetBuilds API operation for AWS CodeBuild.

Gets information about one or more builds.

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

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

Returned Error Types:

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

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

To get information about builds

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

Code:

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

package main

import (
    "fmt"
    "strings"
    "time"

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

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

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

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

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

    fmt.Println(result)
}

func (*CodeBuild) BatchGetBuildsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) BatchGetBuildsWithContext Uses

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

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

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

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

func (*CodeBuild) BatchGetProjects Uses

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

BatchGetProjects API operation for AWS CodeBuild.

Gets information about one or more build projects.

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

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

Returned Error Types:

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

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

func (*CodeBuild) BatchGetProjectsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) BatchGetProjectsWithContext Uses

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

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

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

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

func (*CodeBuild) BatchGetReportGroups Uses

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

BatchGetReportGroups API operation for AWS CodeBuild.

Returns an array of report groups.

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

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

Returned Error Types:

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

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

func (*CodeBuild) BatchGetReportGroupsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) BatchGetReportGroupsWithContext Uses

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

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

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

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

func (*CodeBuild) BatchGetReports Uses

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

BatchGetReports API operation for AWS CodeBuild.

Returns an array of reports.

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

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

Returned Error Types:

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

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

func (*CodeBuild) BatchGetReportsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) BatchGetReportsWithContext Uses

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

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

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

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

func (*CodeBuild) CreateProject Uses

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

CreateProject API operation for AWS CodeBuild.

Creates a build project.

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

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

Returned Error Types:

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

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

* AccountLimitExceededException
An AWS service limit was exceeded for the calling AWS account.

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

func (*CodeBuild) CreateProjectRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) CreateProjectWithContext Uses

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

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

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

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

func (*CodeBuild) CreateReportGroup Uses

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

CreateReportGroup API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

* AccountLimitExceededException
An AWS service limit was exceeded for the calling AWS account.

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

func (*CodeBuild) CreateReportGroupRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) CreateReportGroupWithContext Uses

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

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

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

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

func (*CodeBuild) CreateWebhook Uses

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

CreateWebhook API operation for AWS CodeBuild.

For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.

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

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

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

Returned Error Types:

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

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

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) CreateWebhookRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) CreateWebhookWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteProject Uses

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

DeleteProject API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) DeleteProjectRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteProjectWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteReport Uses

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

DeleteReport API operation for AWS CodeBuild.

Deletes a report.

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

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

Returned Error Types:

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

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

func (*CodeBuild) DeleteReportGroup Uses

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

DeleteReportGroup API operation for AWS CodeBuild.

DeleteReportGroup: Deletes a report group. Before you delete a report group, you must delete its reports. Use ListReportsForReportGroup (https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html) to get the reports in a report group. Use DeleteReport (https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html) to delete the reports. If you call DeleteReportGroup for a report group that contains one or more reports, an exception is thrown.

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

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

Returned Error Types:

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

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

func (*CodeBuild) DeleteReportGroupRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteReportGroupWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteReportRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteReportWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteResourcePolicy Uses

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

DeleteResourcePolicy API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) DeleteResourcePolicyRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteResourcePolicyWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteSourceCredentials Uses

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

DeleteSourceCredentials API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) DeleteSourceCredentialsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteSourceCredentialsWithContext Uses

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

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

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

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

func (*CodeBuild) DeleteWebhook Uses

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

DeleteWebhook API operation for AWS CodeBuild.

For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository.

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

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

func (*CodeBuild) DeleteWebhookRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DeleteWebhookWithContext Uses

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

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

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

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

func (*CodeBuild) DescribeTestCases Uses

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

DescribeTestCases API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) DescribeTestCasesPages Uses

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

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

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

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

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

func (*CodeBuild) DescribeTestCasesPagesWithContext Uses

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

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

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

func (*CodeBuild) DescribeTestCasesRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) DescribeTestCasesWithContext Uses

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

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

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

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

func (*CodeBuild) GetResourcePolicy Uses

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

GetResourcePolicy API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

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

func (*CodeBuild) GetResourcePolicyRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) GetResourcePolicyWithContext Uses

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

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

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

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

func (*CodeBuild) ImportSourceCredentials Uses

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

ImportSourceCredentials API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

* AccountLimitExceededException
An AWS service limit was exceeded for the calling AWS account.

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

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

func (*CodeBuild) ImportSourceCredentialsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ImportSourceCredentialsWithContext Uses

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

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

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

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

func (*CodeBuild) InvalidateProjectCache Uses

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

InvalidateProjectCache API operation for AWS CodeBuild.

Resets the cache for a project.

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) InvalidateProjectCacheRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) InvalidateProjectCacheWithContext Uses

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

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

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

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

func (*CodeBuild) ListBuilds Uses

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

ListBuilds API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListBuildsForProject Uses

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

ListBuildsForProject API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) ListBuildsForProjectPages Uses

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

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

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

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

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

func (*CodeBuild) ListBuildsForProjectPagesWithContext Uses

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

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

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

func (*CodeBuild) ListBuildsForProjectRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListBuildsForProjectWithContext Uses

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

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

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

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

func (*CodeBuild) ListBuildsPages Uses

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

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

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

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

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

func (*CodeBuild) ListBuildsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListBuildsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListBuildsWithContext Uses

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

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

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

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

func (*CodeBuild) ListCuratedEnvironmentImages Uses

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

ListCuratedEnvironmentImages API operation for AWS CodeBuild.

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

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

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

func (*CodeBuild) ListCuratedEnvironmentImagesRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListCuratedEnvironmentImagesWithContext Uses

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

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

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

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

func (*CodeBuild) ListProjects Uses

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

ListProjects API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListProjectsPages Uses

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

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

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

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

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

func (*CodeBuild) ListProjectsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListProjectsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListProjectsWithContext Uses

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

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

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

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

func (*CodeBuild) ListReportGroups Uses

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

ListReportGroups API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListReportGroupsPages Uses

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

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

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

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

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

func (*CodeBuild) ListReportGroupsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListReportGroupsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListReportGroupsWithContext Uses

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

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

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

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

func (*CodeBuild) ListReports Uses

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

ListReports API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListReportsForReportGroup Uses

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

ListReportsForReportGroup API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

func (*CodeBuild) ListReportsForReportGroupPages Uses

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

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

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

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

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

func (*CodeBuild) ListReportsForReportGroupPagesWithContext Uses

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

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

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

func (*CodeBuild) ListReportsForReportGroupRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListReportsForReportGroupWithContext Uses

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

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

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

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

func (*CodeBuild) ListReportsPages Uses

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

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

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

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

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

func (*CodeBuild) ListReportsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListReportsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListReportsWithContext Uses

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

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

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

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

func (*CodeBuild) ListSharedProjects Uses

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

ListSharedProjects API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListSharedProjectsPages Uses

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

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

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

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

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

func (*CodeBuild) ListSharedProjectsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListSharedProjectsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListSharedProjectsWithContext Uses

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

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

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

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

func (*CodeBuild) ListSharedReportGroups Uses

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

ListSharedReportGroups API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

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

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

func (*CodeBuild) ListSharedReportGroupsPages Uses

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

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

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

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

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

func (*CodeBuild) ListSharedReportGroupsPagesWithContext Uses

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

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

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

func (*CodeBuild) ListSharedReportGroupsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListSharedReportGroupsWithContext Uses

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

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

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

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

func (*CodeBuild) ListSourceCredentials Uses

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

ListSourceCredentials API operation for AWS CodeBuild.

Returns a list of SourceCredentialsInfo objects.

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

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

func (*CodeBuild) ListSourceCredentialsRequest Uses

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

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

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

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

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

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

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

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

func (*CodeBuild) ListSourceCredentialsWithContext Uses

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

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

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

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

func (*CodeBuild) PutResourcePolicy Uses

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

PutResourcePolicy API operation for AWS CodeBuild.

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

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

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

Returned Error Types:

* ResourceNotFoundException
The specified AWS resource cannot be found.

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

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

func (*CodeBuild) PutResourcePolicyRequest Uses

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

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

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

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

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

// Example sending a request using the PutResourcePolicyRequest method.
req, resp := client.PutResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PutResourcePolicy

func (*CodeBuild) PutResourcePolicyWithContext Uses

func (c *CodeBuild) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error)

PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of the ability to pass a context and additional request options.

See PutResourcePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) StartBuild Uses

func (c *CodeBuild) StartBuild(input *StartBuildInput) (*StartBuildOutput, error)

StartBuild API operation for AWS CodeBuild.

Starts running a build.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation StartBuild for usage and error information.

Returned Error Types:

* InvalidInputException
The input value that was provided is not valid.

* ResourceNotFoundException
The specified AWS resource cannot be found.

* AccountLimitExceededException
An AWS service limit was exceeded for the calling AWS account.

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild

func (*CodeBuild) StartBuildRequest Uses

func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Request, output *StartBuildOutput)

StartBuildRequest generates a "aws/request.Request" representing the client's request for the StartBuild operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartBuild for more information on using the StartBuild API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartBuildRequest method.
req, resp := client.StartBuildRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild

func (*CodeBuild) StartBuildWithContext Uses

func (c *CodeBuild) StartBuildWithContext(ctx aws.Context, input *StartBuildInput, opts ...request.Option) (*StartBuildOutput, error)

StartBuildWithContext is the same as StartBuild with the addition of the ability to pass a context and additional request options.

See StartBuild for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) StopBuild Uses

func (c *CodeBuild) StopBuild(input *StopBuildInput) (*StopBuildOutput, error)

StopBuild API operation for AWS CodeBuild.

Attempts to stop running a build.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation StopBuild for usage and error information.

Returned Error Types:

* InvalidInputException
The input value that was provided is not valid.

* ResourceNotFoundException
The specified AWS resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild

func (*CodeBuild) StopBuildRequest Uses

func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Request, output *StopBuildOutput)

StopBuildRequest generates a "aws/request.Request" representing the client's request for the StopBuild operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopBuild for more information on using the StopBuild API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopBuildRequest method.
req, resp := client.StopBuildRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild

func (*CodeBuild) StopBuildWithContext Uses

func (c *CodeBuild) StopBuildWithContext(ctx aws.Context, input *StopBuildInput, opts ...request.Option) (*StopBuildOutput, error)

StopBuildWithContext is the same as StopBuild with the addition of the ability to pass a context and additional request options.

See StopBuild for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) UpdateProject Uses

func (c *CodeBuild) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error)

UpdateProject API operation for AWS CodeBuild.

Changes the settings of a build project.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation UpdateProject for usage and error information.

Returned Error Types:

* InvalidInputException
The input value that was provided is not valid.

* ResourceNotFoundException
The specified AWS resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject

func (*CodeBuild) UpdateProjectRequest Uses

func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput)

UpdateProjectRequest generates a "aws/request.Request" representing the client's request for the UpdateProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateProject for more information on using the UpdateProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateProjectRequest method.
req, resp := client.UpdateProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject

func (*CodeBuild) UpdateProjectWithContext Uses

func (c *CodeBuild) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error)

UpdateProjectWithContext is the same as UpdateProject with the addition of the ability to pass a context and additional request options.

See UpdateProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) UpdateReportGroup Uses

func (c *CodeBuild) UpdateReportGroup(input *UpdateReportGroupInput) (*UpdateReportGroupOutput, error)

UpdateReportGroup API operation for AWS CodeBuild.

Updates a report group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation UpdateReportGroup for usage and error information.

Returned Error Types:

* InvalidInputException
The input value that was provided is not valid.

* ResourceNotFoundException
The specified AWS resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup

func (*CodeBuild) UpdateReportGroupRequest Uses

func (c *CodeBuild) UpdateReportGroupRequest(input *UpdateReportGroupInput) (req *request.Request, output *UpdateReportGroupOutput)

UpdateReportGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateReportGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateReportGroup for more information on using the UpdateReportGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateReportGroupRequest method.
req, resp := client.UpdateReportGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup

func (*CodeBuild) UpdateReportGroupWithContext Uses

func (c *CodeBuild) UpdateReportGroupWithContext(ctx aws.Context, input *UpdateReportGroupInput, opts ...request.Option) (*UpdateReportGroupOutput, error)

UpdateReportGroupWithContext is the same as UpdateReportGroup with the addition of the ability to pass a context and additional request options.

See UpdateReportGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeBuild) UpdateWebhook Uses

func (c *CodeBuild) UpdateWebhook(input *UpdateWebhookInput) (*UpdateWebhookOutput, error)

UpdateWebhook API operation for AWS CodeBuild.

Updates the webhook associated with an AWS CodeBuild build project.

If you use Bitbucket for your repository, rotateSecret is ignored.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeBuild's API operation UpdateWebhook for usage and error information.

Returned Error Types:

* InvalidInputException
The input value that was provided is not valid.

* ResourceNotFoundException
The specified AWS resource cannot be found.

* OAuthProviderException
There was a problem with the underlying OAuth provider.

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook

func (*CodeBuild) UpdateWebhookRequest Uses

func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request.Request, output *UpdateWebhookOutput)

UpdateWebhookRequest generates a "aws/request.Request" representing the client's request for the UpdateWebhook operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateWebhook for more information on using the UpdateWebhook API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateWebhookRequest method.
req, resp := client.UpdateWebhookRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook

func (*CodeBuild) UpdateWebhookWithContext Uses

func (c *CodeBuild) UpdateWebhookWithContext(ctx aws.Context, input *UpdateWebhookInput, opts ...request.Option) (*UpdateWebhookOutput, error)

UpdateWebhookWithContext is the same as UpdateWebhook with the addition of the ability to pass a context and additional request options.

See UpdateWebhook for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type CreateProjectInput Uses

type CreateProjectInput struct {

    // Information about the build output artifacts for the build project.
    //
    // Artifacts is a required field
    Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure" required:"true"`

    // Set this to true to generate a publicly accessible URL for your project's
    // build badge.
    BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"`

    // Stores recently used information so that it can be quickly accessed at a
    // later time.
    Cache *ProjectCache `locationName:"cache" type:"structure"`

    // A description that makes the build project easy to identify.
    Description *string `locationName:"description" type:"string"`

    // The AWS Key Management Service (AWS KMS) customer master key (CMK) to be
    // used for encrypting the build output artifacts.
    //
    // You can use a cross-account KMS key to encrypt the build output artifacts
    // if your service role has permission to that key.
    //
    // You can specify either the Amazon Resource Name (ARN) of the CMK or, if available,
    // the CMK's alias (using the format alias/alias-name ).
    EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

    // Information about the build environment for the build project.
    //
    // Environment is a required field
    Environment *ProjectEnvironment `locationName:"environment" type:"structure" required:"true"`

    // An array of ProjectFileSystemLocation objects for a CodeBuild build project.
    // A ProjectFileSystemLocation object specifies the identifier, location, mountOptions,
    // mountPoint, and type of a file system created using Amazon Elastic File System.
    FileSystemLocations []*ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

    // Information about logs for the build project. These can be logs in Amazon
    // CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
    LogsConfig *LogsConfig `locationName:"logsConfig" type:"structure"`

    // The name of the build project.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"2" type:"string" required:"true"`

    // The number of minutes a build is allowed to be queued before it times out.
    QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" min:"5" type:"integer"`

    // An array of ProjectArtifacts objects.
    SecondaryArtifacts []*ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

    // An array of ProjectSourceVersion objects. If secondarySourceVersions is specified
    // at the build level, then they take precedence over these secondarySourceVersions
    // (at the project level).
    SecondarySourceVersions []*ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

    // An array of ProjectSource objects.
    SecondarySources []*ProjectSource `locationName:"secondarySources" type:"list"`

    // The ARN of the AWS Identity and Access Management (IAM) role that enables
    // AWS CodeBuild to interact with dependent AWS services on behalf of the AWS
    // account.
    //
    // ServiceRole is a required field
    ServiceRole *string `locationName:"serviceRole" min:"1" type:"string" required:"true"`

    // Information about the build input source code for the build project.
    //
    // Source is a required field
    Source *ProjectSource `locationName:"source" type:"structure" required:"true"`

    // A version of the build input to be built for this project. If not specified,
    // the latest version is used. If specified, it must be one of:
    //
    //    * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
    //
    //    * For GitHub: the commit ID, pull request ID, branch name, or tag name
    //    that corresponds to the version of the source code you want to build.
    //    If a pull request ID is specified, it must use the format pr/pull-request-ID
    //    (for example pr/25). If a branch name is specified, the branch's HEAD
    //    commit ID is used. If not specified, the default branch's HEAD commit
    //    ID is used.
    //
    //    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
    //    to the version of the source code you want to build. If a branch name
    //    is specified, the branch's HEAD commit ID is used. If not specified, the
    //    default branch's HEAD commit ID is used.
    //
    //    * For Amazon Simple Storage Service (Amazon S3): the version ID of the
    //    object that represents the build input ZIP file to use.
    //
    // If sourceVersion is specified at the build level, then that version takes
    // precedence over this sourceVersion (at the project level).
    //
    // For more information, see Source Version Sample with CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
    // in the AWS CodeBuild User Guide.
    SourceVersion *string `locationName:"sourceVersion" type:"string"`

    // A list of tag key and value pairs associated with this build project.
    //
    // These tags are available for use by AWS services that support AWS CodeBuild
    // build project tags.
    Tags []*Tag `locationName:"tags" type:"list"`

    // How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
    // before it times out any build that has not been marked as completed. The
    // default is 60 minutes.
    TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"`

    // VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
    VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateProjectInput) GoString Uses

func (s CreateProjectInput) GoString() string

GoString returns the string representation

func (*CreateProjectInput) SetArtifacts Uses

func (s *CreateProjectInput) SetArtifacts(v *ProjectArtifacts) *CreateProjectInput

SetArtifacts sets the Artifacts field's value.

func (*CreateProjectInput) SetBadgeEnabled Uses

func (s *CreateProjectInput) SetBadgeEnabled(v bool) *CreateProjectInput

SetBadgeEnabled sets the BadgeEnabled field's value.

func (*CreateProjectInput) SetCache Uses

func (s *CreateProjectInput) SetCache(v *ProjectCache) *CreateProjectInput

SetCache sets the Cache field's value.

func (*CreateProjectInput) SetDescription Uses

func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput

SetDescription sets the Description field's value.

func (*CreateProjectInput) SetEncryptionKey Uses

func (s *CreateProjectInput) SetEncryptionKey(v string) *CreateProjectInput

SetEncryptionKey sets the EncryptionKey field's value.

func (*CreateProjectInput) SetEnvironment Uses

func (s *CreateProjectInput) SetEnvironment(v *ProjectEnvironment) *CreateProjectInput

SetEnvironment sets the Environment field's value.

func (*CreateProjectInput) SetFileSystemLocations Uses

func (s *CreateProjectInput) SetFileSystemLocations(v []*ProjectFileSystemLocation) *CreateProjectInput

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*CreateProjectInput) SetLogsConfig Uses

func (s *CreateProjectInput) SetLogsConfig(v *LogsConfig) *CreateProjectInput

SetLogsConfig sets the LogsConfig field's value.

func (*CreateProjectInput) SetName Uses

func (s *CreateProjectInput) SetName(v string) *CreateProjectInput

SetName sets the Name field's value.

func (*CreateProjectInput) SetQueuedTimeoutInMinutes Uses

func (s *CreateProjectInput) SetQueuedTimeoutInMinutes(v int64) *CreateProjectInput

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*CreateProjectInput) SetSecondaryArtifacts Uses

func (s *CreateProjectInput) SetSecondaryArtifacts(v []*ProjectArtifacts) *CreateProjectInput

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*CreateProjectInput) SetSecondarySourceVersions Uses

func (s *CreateProjectInput) SetSecondarySourceVersions(v []*ProjectSourceVersion) *CreateProjectInput

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*CreateProjectInput) SetSecondarySources Uses

func (s *CreateProjectInput) SetSecondarySources(v []*ProjectSource) *CreateProjectInput

SetSecondarySources sets the SecondarySources field's value.

func (*CreateProjectInput) SetServiceRole Uses

func (s *CreateProjectInput) SetServiceRole(v string) *CreateProjectInput

SetServiceRole sets the ServiceRole field's value.

func (*CreateProjectInput) SetSource Uses

func (s *CreateProjectInput) SetSource(v *ProjectSource) *CreateProjectInput

SetSource sets the Source field's value.

func (*CreateProjectInput) SetSourceVersion Uses

func (s *CreateProjectInput) SetSourceVersion(v string) *CreateProjectInput

SetSourceVersion sets the SourceVersion field's value.

func (*CreateProjectInput) SetTags Uses

func (s *CreateProjectInput) SetTags(v []*Tag) *CreateProjectInput

SetTags sets the Tags field's value.

func (*CreateProjectInput) SetTimeoutInMinutes Uses

func (s *CreateProjectInput) SetTimeoutInMinutes(v int64) *CreateProjectInput

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*CreateProjectInput) SetVpcConfig Uses

func (s *CreateProjectInput) SetVpcConfig(v *VpcConfig) *CreateProjectInput

SetVpcConfig sets the VpcConfig field's value.

func (CreateProjectInput) String Uses

func (s CreateProjectInput) String() string

String returns the string representation

func (*CreateProjectInput) Validate Uses

func (s *CreateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProjectOutput Uses

type CreateProjectOutput struct {

    // Information about the build project that was created.
    Project *Project `locationName:"project" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateProjectOutput) GoString Uses

func (s CreateProjectOutput) GoString() string

GoString returns the string representation

func (*CreateProjectOutput) SetProject Uses

func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput

SetProject sets the Project field's value.

func (CreateProjectOutput) String Uses

func (s CreateProjectOutput) String() string

String returns the string representation

type CreateReportGroupInput Uses

type CreateReportGroupInput struct {

    // A ReportExportConfig object that contains information about where the report
    // group test results are exported.
    //
    // ExportConfig is a required field
    ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure" required:"true"`

    // The name of the report group.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"2" type:"string" required:"true"`

    // A list of tag key and value pairs associated with this report group.
    //
    // These tags are available for use by AWS services that support AWS CodeBuild
    // report group tags.
    Tags []*Tag `locationName:"tags" type:"list"`

    // The type of report group.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"ReportType"`
    // contains filtered or unexported fields
}

func (CreateReportGroupInput) GoString Uses

func (s CreateReportGroupInput) GoString() string

GoString returns the string representation

func (*CreateReportGroupInput) SetExportConfig Uses

func (s *CreateReportGroupInput) SetExportConfig(v *ReportExportConfig) *CreateReportGroupInput

SetExportConfig sets the ExportConfig field's value.

func (*CreateReportGroupInput) SetName Uses

func (s *CreateReportGroupInput) SetName(v string) *CreateReportGroupInput

SetName sets the Name field's value.

func (*CreateReportGroupInput) SetTags Uses

func (s *CreateReportGroupInput) SetTags(v []*Tag) *CreateReportGroupInput

SetTags sets the Tags field's value.

func (*CreateReportGroupInput) SetType Uses

func (s *CreateReportGroupInput) SetType(v string) *CreateReportGroupInput

SetType sets the Type field's value.

func (CreateReportGroupInput) String Uses

func (s CreateReportGroupInput) String() string

String returns the string representation

func (*CreateReportGroupInput) Validate Uses

func (s *CreateReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateReportGroupOutput Uses

type CreateReportGroupOutput struct {

    // Information about the report group that was created.
    ReportGroup *ReportGroup `locationName:"reportGroup" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateReportGroupOutput) GoString Uses

func (s CreateReportGroupOutput) GoString() string

GoString returns the string representation

func (*CreateReportGroupOutput) SetReportGroup Uses

func (s *CreateReportGroupOutput) SetReportGroup(v *ReportGroup) *CreateReportGroupOutput

SetReportGroup sets the ReportGroup field's value.

func (CreateReportGroupOutput) String Uses

func (s CreateReportGroupOutput) String() string

String returns the string representation

type CreateWebhookInput Uses

type CreateWebhookInput struct {

    // A regular expression used to determine which repository branches are built
    // when a webhook is triggered. If the name of a branch matches the regular
    // expression, then it is built. If branchFilter is empty, then all branches
    // are built.
    //
    // It is recommended that you use filterGroups instead of branchFilter.
    BranchFilter *string `locationName:"branchFilter" type:"string"`

    // An array of arrays of WebhookFilter objects used to determine which webhooks
    // are triggered. At least one WebhookFilter in the array must specify EVENT
    // as its type.
    //
    // For a build to be triggered, at least one filter group in the filterGroups
    // array must pass. For a filter group to pass, each of its filters must pass.
    FilterGroups [][]*WebhookFilter `locationName:"filterGroups" type:"list"`

    // The name of the AWS CodeBuild project.
    //
    // ProjectName is a required field
    ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateWebhookInput) GoString Uses

func (s CreateWebhookInput) GoString() string

GoString returns the string representation

func (*CreateWebhookInput) SetBranchFilter Uses

func (s *CreateWebhookInput) SetBranchFilter(v string) *CreateWebhookInput

SetBranchFilter sets the BranchFilter field's value.

func (*CreateWebhookInput) SetFilterGroups Uses

func (s *CreateWebhookInput) SetFilterGroups(v [][]*WebhookFilter) *CreateWebhookInput

SetFilterGroups sets the FilterGroups field's value.

func (*CreateWebhookInput) SetProjectName Uses

func (s *CreateWebhookInput) SetProjectName(v string) *CreateWebhookInput

SetProjectName sets the ProjectName field's value.

func (CreateWebhookInput) String Uses

func (s CreateWebhookInput) String() string

String returns the string representation

func (*CreateWebhookInput) Validate Uses

func (s *CreateWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateWebhookOutput Uses

type CreateWebhookOutput struct {

    // Information about a webhook that connects repository events to a build project
    // in AWS CodeBuild.
    Webhook *Webhook `locationName:"webhook" type:"structure"`
    // contains filtered or unexported fields
}

func (CreateWebhookOutput) GoString Uses

func (s CreateWebhookOutput) GoString() string

GoString returns the string representation

func (*CreateWebhookOutput) SetWebhook Uses

func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput

SetWebhook sets the Webhook field's value.

func (CreateWebhookOutput) String Uses

func (s CreateWebhookOutput) String() string

String returns the string representation

type DeleteProjectInput Uses

type DeleteProjectInput struct {

    // The name of the build project.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteProjectInput) GoString Uses

func (s DeleteProjectInput) GoString() string

GoString returns the string representation

func (*DeleteProjectInput) SetName Uses

func (s *DeleteProjectInput) SetName(v string) *DeleteProjectInput

SetName sets the Name field's value.

func (DeleteProjectInput) String Uses

func (s DeleteProjectInput) String() string

String returns the string representation

func (*DeleteProjectInput) Validate Uses

func (s *DeleteProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteProjectOutput Uses

type DeleteProjectOutput struct {
    // contains filtered or unexported fields
}

func (DeleteProjectOutput) GoString Uses

func (s DeleteProjectOutput) GoString() string

GoString returns the string representation

func (DeleteProjectOutput) String Uses

func (s DeleteProjectOutput) String() string

String returns the string representation

type DeleteReportGroupInput Uses

type DeleteReportGroupInput struct {

    // The ARN of the report group to delete.
    //
    // Arn is a required field
    Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReportGroupInput) GoString Uses

func (s DeleteReportGroupInput) GoString() string

GoString returns the string representation

func (*DeleteReportGroupInput) SetArn Uses

func (s *DeleteReportGroupInput) SetArn(v string) *DeleteReportGroupInput

SetArn sets the Arn field's value.

func (DeleteReportGroupInput) String Uses

func (s DeleteReportGroupInput) String() string

String returns the string representation

func (*DeleteReportGroupInput) Validate Uses

func (s *DeleteReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReportGroupOutput Uses

type DeleteReportGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteReportGroupOutput) GoString Uses

func (s DeleteReportGroupOutput) GoString() string

GoString returns the string representation

func (DeleteReportGroupOutput) String Uses

func (s DeleteReportGroupOutput) String() string

String returns the string representation

type DeleteReportInput Uses

type DeleteReportInput struct {

    // The ARN of the report to delete.
    //
    // Arn is a required field
    Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteReportInput) GoString Uses

func (s DeleteReportInput) GoString() string

GoString returns the string representation

func (*DeleteReportInput) SetArn Uses

func (s *DeleteReportInput) SetArn(v string) *DeleteReportInput

SetArn sets the Arn field's value.

func (DeleteReportInput) String Uses

func (s DeleteReportInput) String() string

String returns the string representation

func (*DeleteReportInput) Validate Uses

func (s *DeleteReportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteReportOutput Uses

type DeleteReportOutput struct {
    // contains filtered or unexported fields
}

func (DeleteReportOutput) GoString Uses

func (s DeleteReportOutput) GoString() string

GoString returns the string representation

func (DeleteReportOutput) String Uses

func (s DeleteReportOutput) String() string

String returns the string representation

type DeleteResourcePolicyInput Uses

type DeleteResourcePolicyInput struct {

    // The ARN of the resource that is associated with the resource policy.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteResourcePolicyInput) GoString Uses

func (s DeleteResourcePolicyInput) GoString() string

GoString returns the string representation

func (*DeleteResourcePolicyInput) SetResourceArn Uses

func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput

SetResourceArn sets the ResourceArn field's value.

func (DeleteResourcePolicyInput) String Uses

func (s DeleteResourcePolicyInput) String() string

String returns the string representation

func (*DeleteResourcePolicyInput) Validate Uses

func (s *DeleteResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteResourcePolicyOutput Uses

type DeleteResourcePolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteResourcePolicyOutput) GoString Uses

func (s DeleteResourcePolicyOutput) GoString() string

GoString returns the string representation

func (DeleteResourcePolicyOutput) String Uses

func (s DeleteResourcePolicyOutput) String() string

String returns the string representation

type DeleteSourceCredentialsInput Uses

type DeleteSourceCredentialsInput struct {

    // The Amazon Resource Name (ARN) of the token.
    //
    // Arn is a required field
    Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSourceCredentialsInput) GoString Uses

func (s DeleteSourceCredentialsInput) GoString() string

GoString returns the string representation

func (*DeleteSourceCredentialsInput) SetArn Uses

func (s *DeleteSourceCredentialsInput) SetArn(v string) *DeleteSourceCredentialsInput

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsInput) String Uses

func (s DeleteSourceCredentialsInput) String() string

String returns the string representation

func (*DeleteSourceCredentialsInput) Validate Uses

func (s *DeleteSourceCredentialsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSourceCredentialsOutput Uses

type DeleteSourceCredentialsOutput struct {

    // The Amazon Resource Name (ARN) of the token.
    Arn *string `locationName:"arn" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteSourceCredentialsOutput) GoString Uses

func (s DeleteSourceCredentialsOutput) GoString() string

GoString returns the string representation

func (*DeleteSourceCredentialsOutput) SetArn Uses

func (s *DeleteSourceCredentialsOutput) SetArn(v string) *DeleteSourceCredentialsOutput

SetArn sets the Arn field's value.

func (DeleteSourceCredentialsOutput) String Uses

func (s DeleteSourceCredentialsOutput) String() string

String returns the string representation

type DeleteWebhookInput Uses

type DeleteWebhookInput struct {

    // The name of the AWS CodeBuild project.
    //
    // ProjectName is a required field
    ProjectName *string `locationName:"projectName" min:"2" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteWebhookInput) GoString Uses

func (s DeleteWebhookInput) GoString() string

GoString returns the string representation

func (*DeleteWebhookInput) SetProjectName Uses

func (s *DeleteWebhookInput) SetProjectName(v string) *DeleteWebhookInput

SetProjectName sets the ProjectName field's value.

func (DeleteWebhookInput) String Uses

func (s DeleteWebhookInput) String() string

String returns the string representation

func (*DeleteWebhookInput) Validate Uses

func (s *DeleteWebhookInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteWebhookOutput Uses

type DeleteWebhookOutput struct {
    // contains filtered or unexported fields
}

func (DeleteWebhookOutput) GoString Uses

func (s DeleteWebhookOutput) GoString() string

GoString returns the string representation

func (DeleteWebhookOutput) String Uses

func (s DeleteWebhookOutput) String() string

String returns the string representation

type DescribeTestCasesInput Uses

type DescribeTestCasesInput struct {

    // A TestCaseFilter object used to filter the returned reports.
    Filter *TestCaseFilter `locationName:"filter" type:"structure"`

    // The maximum number of paginated test cases returned per response. Use nextToken
    // to iterate pages in the list of returned TestCase objects. The default value
    // is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The ARN of the report for which test cases are returned.
    //
    // ReportArn is a required field
    ReportArn *string `locationName:"reportArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeTestCasesInput) GoString Uses

func (s DescribeTestCasesInput) GoString() string

GoString returns the string representation

func (*DescribeTestCasesInput) SetFilter Uses

func (s *DescribeTestCasesInput) SetFilter(v *TestCaseFilter) *DescribeTestCasesInput

SetFilter sets the Filter field's value.

func (*DescribeTestCasesInput) SetMaxResults Uses

func (s *DescribeTestCasesInput) SetMaxResults(v int64) *DescribeTestCasesInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeTestCasesInput) SetNextToken Uses

func (s *DescribeTestCasesInput) SetNextToken(v string) *DescribeTestCasesInput

SetNextToken sets the NextToken field's value.

func (*DescribeTestCasesInput) SetReportArn Uses

func (s *DescribeTestCasesInput) SetReportArn(v string) *DescribeTestCasesInput

SetReportArn sets the ReportArn field's value.

func (DescribeTestCasesInput) String Uses

func (s DescribeTestCasesInput) String() string

String returns the string representation

func (*DescribeTestCasesInput) Validate Uses

func (s *DescribeTestCasesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTestCasesOutput Uses

type DescribeTestCasesOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The returned list of test cases.
    TestCases []*TestCase `locationName:"testCases" type:"list"`
    // contains filtered or unexported fields
}

func (DescribeTestCasesOutput) GoString Uses

func (s DescribeTestCasesOutput) GoString() string

GoString returns the string representation

func (*DescribeTestCasesOutput) SetNextToken Uses

func (s *DescribeTestCasesOutput) SetNextToken(v string) *DescribeTestCasesOutput

SetNextToken sets the NextToken field's value.

func (*DescribeTestCasesOutput) SetTestCases Uses

func (s *DescribeTestCasesOutput) SetTestCases(v []*TestCase) *DescribeTestCasesOutput

SetTestCases sets the TestCases field's value.

func (DescribeTestCasesOutput) String Uses

func (s DescribeTestCasesOutput) String() string

String returns the string representation

type EnvironmentImage Uses

type EnvironmentImage struct {

    // The description of the Docker image.
    Description *string `locationName:"description" type:"string"`

    // The name of the Docker image.
    Name *string `locationName:"name" type:"string"`

    // A list of environment image versions.
    Versions []*string `locationName:"versions" type:"list"`
    // contains filtered or unexported fields
}

Information about a Docker image that is managed by AWS CodeBuild.

func (EnvironmentImage) GoString Uses

func (s EnvironmentImage) GoString() string

GoString returns the string representation

func (*EnvironmentImage) SetDescription Uses

func (s *EnvironmentImage) SetDescription(v string) *EnvironmentImage

SetDescription sets the Description field's value.

func (*EnvironmentImage) SetName Uses

func (s *EnvironmentImage) SetName(v string) *EnvironmentImage

SetName sets the Name field's value.

func (*EnvironmentImage) SetVersions Uses

func (s *EnvironmentImage) SetVersions(v []*string) *EnvironmentImage

SetVersions sets the Versions field's value.

func (EnvironmentImage) String Uses

func (s EnvironmentImage) String() string

String returns the string representation

type EnvironmentLanguage Uses

type EnvironmentLanguage struct {

    // The list of Docker images that are related by the specified programming language.
    Images []*EnvironmentImage `locationName:"images" type:"list"`

    // The programming language for the Docker images.
    Language *string `locationName:"language" type:"string" enum:"LanguageType"`
    // contains filtered or unexported fields
}

A set of Docker images that are related by programming language and are managed by AWS CodeBuild.

func (EnvironmentLanguage) GoString Uses

func (s EnvironmentLanguage) GoString() string

GoString returns the string representation

func (*EnvironmentLanguage) SetImages Uses

func (s *EnvironmentLanguage) SetImages(v []*EnvironmentImage) *EnvironmentLanguage

SetImages sets the Images field's value.

func (*EnvironmentLanguage) SetLanguage Uses

func (s *EnvironmentLanguage) SetLanguage(v string) *EnvironmentLanguage

SetLanguage sets the Language field's value.

func (EnvironmentLanguage) String Uses

func (s EnvironmentLanguage) String() string

String returns the string representation

type EnvironmentPlatform Uses

type EnvironmentPlatform struct {

    // The list of programming languages that are available for the specified platform.
    Languages []*EnvironmentLanguage `locationName:"languages" type:"list"`

    // The platform's name.
    Platform *string `locationName:"platform" type:"string" enum:"PlatformType"`
    // contains filtered or unexported fields
}

A set of Docker images that are related by platform and are managed by AWS CodeBuild.

func (EnvironmentPlatform) GoString Uses

func (s EnvironmentPlatform) GoString() string

GoString returns the string representation

func (*EnvironmentPlatform) SetLanguages Uses

func (s *EnvironmentPlatform) SetLanguages(v []*EnvironmentLanguage) *EnvironmentPlatform

SetLanguages sets the Languages field's value.

func (*EnvironmentPlatform) SetPlatform Uses

func (s *EnvironmentPlatform) SetPlatform(v string) *EnvironmentPlatform

SetPlatform sets the Platform field's value.

func (EnvironmentPlatform) String Uses

func (s EnvironmentPlatform) String() string

String returns the string representation

type EnvironmentVariable Uses

type EnvironmentVariable struct {

    // The name or key of the environment variable.
    //
    // Name is a required field
    Name *string `locationName:"name" min:"1" type:"string" required:"true"`

    // The type of environment variable. Valid values include:
    //
    //    * PARAMETER_STORE: An environment variable stored in Amazon EC2 Systems
    //    Manager Parameter Store. To learn how to specify a parameter store environment
    //    variable, see parameter store reference-key in the buildspec file (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec).
    //
    //    * PLAINTEXT: An environment variable in plain text format. This is the
    //    default value.
    //
    //    * SECRETS_MANAGER: An environment variable stored in AWS Secrets Manager.
    //    To learn how to specify a secrets manager environment variable, see secrets
    //    manager reference-key in the buildspec file (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec).
    Type *string `locationName:"type" type:"string" enum:"EnvironmentVariableType"`

    // The value of the environment variable.
    //
    // We strongly discourage the use of PLAINTEXT environment variables to store
    // sensitive values, especially AWS secret key IDs and secret access keys. PLAINTEXT
    // environment variables can be displayed in plain text using the AWS CodeBuild
    // console and the AWS Command Line Interface (AWS CLI). For sensitive values,
    // we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER.
    //
    // Value is a required field
    Value *string `locationName:"value" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Information about an environment variable for a build project or a build.

func (EnvironmentVariable) GoString Uses

func (s EnvironmentVariable) GoString() string

GoString returns the string representation

func (*EnvironmentVariable) SetName Uses

func (s *EnvironmentVariable) SetName(v string) *EnvironmentVariable

SetName sets the Name field's value.

func (*EnvironmentVariable) SetType Uses

func (s *EnvironmentVariable) SetType(v string) *EnvironmentVariable

SetType sets the Type field's value.

func (*EnvironmentVariable) SetValue Uses

func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable

SetValue sets the Value field's value.

func (EnvironmentVariable) String Uses

func (s EnvironmentVariable) String() string

String returns the string representation

func (*EnvironmentVariable) Validate Uses

func (s *EnvironmentVariable) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportedEnvironmentVariable Uses

type ExportedEnvironmentVariable struct {

    // The name of this exported environment variable.
    Name *string `locationName:"name" min:"1" type:"string"`

    // The value assigned to this exported environment variable.
    //
    // During a build, the value of a variable is available starting with the install
    // phase. It can be updated between the start of the install phase and the end
    // of the post_build phase. After the post_build phase ends, the value of exported
    // variables cannot change.
    Value *string `locationName:"value" type:"string"`
    // contains filtered or unexported fields
}

Information about an exported environment variable.

func (ExportedEnvironmentVariable) GoString Uses

func (s ExportedEnvironmentVariable) GoString() string

GoString returns the string representation

func (*ExportedEnvironmentVariable) SetName Uses

func (s *ExportedEnvironmentVariable) SetName(v string) *ExportedEnvironmentVariable

SetName sets the Name field's value.

func (*ExportedEnvironmentVariable) SetValue Uses

func (s *ExportedEnvironmentVariable) SetValue(v string) *ExportedEnvironmentVariable

SetValue sets the Value field's value.

func (ExportedEnvironmentVariable) String Uses

func (s ExportedEnvironmentVariable) String() string

String returns the string representation

type GetResourcePolicyInput Uses

type GetResourcePolicyInput struct {

    // The ARN of the resource that is associated with the resource policy.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetResourcePolicyInput) GoString Uses

func (s GetResourcePolicyInput) GoString() string

GoString returns the string representation

func (*GetResourcePolicyInput) SetResourceArn Uses

func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput

SetResourceArn sets the ResourceArn field's value.

func (GetResourcePolicyInput) String Uses

func (s GetResourcePolicyInput) String() string

String returns the string representation

func (*GetResourcePolicyInput) Validate Uses

func (s *GetResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResourcePolicyOutput Uses

type GetResourcePolicyOutput struct {

    // The resource policy for the resource identified by the input ARN parameter.
    Policy *string `locationName:"policy" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetResourcePolicyOutput) GoString Uses

func (s GetResourcePolicyOutput) GoString() string

GoString returns the string representation

func (*GetResourcePolicyOutput) SetPolicy Uses

func (s *GetResourcePolicyOutput) SetPolicy(v string) *GetResourcePolicyOutput

SetPolicy sets the Policy field's value.

func (GetResourcePolicyOutput) String Uses

func (s GetResourcePolicyOutput) String() string

String returns the string representation

type GitSubmodulesConfig Uses

type GitSubmodulesConfig struct {

    // Set to true to fetch Git submodules for your AWS CodeBuild build project.
    //
    // FetchSubmodules is a required field
    FetchSubmodules *bool `locationName:"fetchSubmodules" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

Information about the Git submodules configuration for an AWS CodeBuild build project.

func (GitSubmodulesConfig) GoString Uses

func (s GitSubmodulesConfig) GoString() string

GoString returns the string representation

func (*GitSubmodulesConfig) SetFetchSubmodules Uses

func (s *GitSubmodulesConfig) SetFetchSubmodules(v bool) *GitSubmodulesConfig

SetFetchSubmodules sets the FetchSubmodules field's value.

func (GitSubmodulesConfig) String Uses

func (s GitSubmodulesConfig) String() string

String returns the string representation

func (*GitSubmodulesConfig) Validate Uses

func (s *GitSubmodulesConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportSourceCredentialsInput Uses

type ImportSourceCredentialsInput struct {

    // The type of authentication used to connect to a GitHub, GitHub Enterprise,
    // or Bitbucket repository. An OAUTH connection is not supported by the API
    // and must be created using the AWS CodeBuild console.
    //
    // AuthType is a required field
    AuthType *string `locationName:"authType" type:"string" required:"true" enum:"AuthType"`

    // The source provider used for this project.
    //
    // ServerType is a required field
    ServerType *string `locationName:"serverType" type:"string" required:"true" enum:"ServerType"`

    // Set to false to prevent overwriting the repository source credentials. Set
    // to true to overwrite the repository source credentials. The default value
    // is true.
    ShouldOverwrite *bool `locationName:"shouldOverwrite" type:"boolean"`

    // For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
    // this is the app password.
    //
    // Token is a required field
    Token *string `locationName:"token" min:"1" type:"string" required:"true" sensitive:"true"`

    // The Bitbucket username when the authType is BASIC_AUTH. This parameter is
    // not valid for other types of source providers or connections.
    Username *string `locationName:"username" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ImportSourceCredentialsInput) GoString Uses

func (s ImportSourceCredentialsInput) GoString() string

GoString returns the string representation

func (*ImportSourceCredentialsInput) SetAuthType Uses

func (s *ImportSourceCredentialsInput) SetAuthType(v string) *ImportSourceCredentialsInput

SetAuthType sets the AuthType field's value.

func (*ImportSourceCredentialsInput) SetServerType Uses

func (s *ImportSourceCredentialsInput) SetServerType(v string) *ImportSourceCredentialsInput

SetServerType sets the ServerType field's value.

func (*ImportSourceCredentialsInput) SetShouldOverwrite Uses

func (s *ImportSourceCredentialsInput) SetShouldOverwrite(v bool) *ImportSourceCredentialsInput

SetShouldOverwrite sets the ShouldOverwrite field's value.

func (*ImportSourceCredentialsInput) SetToken Uses

func (s *ImportSourceCredentialsInput) SetToken(v string) *ImportSourceCredentialsInput

SetToken sets the Token field's value.

func (*ImportSourceCredentialsInput) SetUsername Uses

func (s *ImportSourceCredentialsInput) SetUsername(v string) *ImportSourceCredentialsInput

SetUsername sets the Username field's value.

func (ImportSourceCredentialsInput) String Uses

func (s ImportSourceCredentialsInput) String() string

String returns the string representation

func (*ImportSourceCredentialsInput) Validate Uses

func (s *ImportSourceCredentialsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportSourceCredentialsOutput Uses

type ImportSourceCredentialsOutput struct {

    // The Amazon Resource Name (ARN) of the token.
    Arn *string `locationName:"arn" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ImportSourceCredentialsOutput) GoString Uses

func (s ImportSourceCredentialsOutput) GoString() string

GoString returns the string representation

func (*ImportSourceCredentialsOutput) SetArn Uses

func (s *ImportSourceCredentialsOutput) SetArn(v string) *ImportSourceCredentialsOutput

SetArn sets the Arn field's value.

func (ImportSourceCredentialsOutput) String Uses

func (s ImportSourceCredentialsOutput) String() string

String returns the string representation

type InvalidInputException Uses

type InvalidInputException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The input value that was provided is not valid.

func (*InvalidInputException) Code Uses

func (s *InvalidInputException) Code() string

Code returns the exception type name.

func (*InvalidInputException) Error Uses

func (s *InvalidInputException) Error() string

func (InvalidInputException) GoString Uses

func (s InvalidInputException) GoString() string

GoString returns the string representation

func (*InvalidInputException) Message Uses

func (s *InvalidInputException) Message() string

Message returns the exception's message.

func (*InvalidInputException) OrigErr Uses

func (s *InvalidInputException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidInputException) RequestID Uses

func (s *InvalidInputException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidInputException) StatusCode Uses

func (s *InvalidInputException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidInputException) String Uses

func (s InvalidInputException) String() string

String returns the string representation

type InvalidateProjectCacheInput Uses

type InvalidateProjectCacheInput struct {

    // The name of the AWS CodeBuild build project that the cache is reset for.
    //
    // ProjectName is a required field
    ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (InvalidateProjectCacheInput) GoString Uses

func (s InvalidateProjectCacheInput) GoString() string

GoString returns the string representation

func (*InvalidateProjectCacheInput) SetProjectName Uses

func (s *InvalidateProjectCacheInput) SetProjectName(v string) *InvalidateProjectCacheInput

SetProjectName sets the ProjectName field's value.

func (InvalidateProjectCacheInput) String Uses

func (s InvalidateProjectCacheInput) String() string

String returns the string representation

func (*InvalidateProjectCacheInput) Validate Uses

func (s *InvalidateProjectCacheInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InvalidateProjectCacheOutput Uses

type InvalidateProjectCacheOutput struct {
    // contains filtered or unexported fields
}

func (InvalidateProjectCacheOutput) GoString Uses

func (s InvalidateProjectCacheOutput) GoString() string

GoString returns the string representation

func (InvalidateProjectCacheOutput) String Uses

func (s InvalidateProjectCacheOutput) String() string

String returns the string representation

type ListBuildsForProjectInput Uses

type ListBuildsForProjectInput struct {

    // During a previous call, if there are more than 100 items in the list, only
    // the first 100 items are returned, along with a unique string called a nextToken.
    // To get the next batch of items in the list, call this operation again, adding
    // the next token to the call. To get all of the items in the list, keep calling
    // this operation with each subsequent next token that is returned, until no
    // more next tokens are returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The name of the AWS CodeBuild project.
    //
    // ProjectName is a required field
    ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"`

    // The order to list build IDs. Valid values include:
    //
    //    * ASCENDING: List the build IDs in ascending order by build ID.
    //
    //    * DESCENDING: List the build IDs in descending order by build ID.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListBuildsForProjectInput) GoString Uses

func (s ListBuildsForProjectInput) GoString() string

GoString returns the string representation

func (*ListBuildsForProjectInput) SetNextToken Uses

func (s *ListBuildsForProjectInput) SetNextToken(v string) *ListBuildsForProjectInput

SetNextToken sets the NextToken field's value.

func (*ListBuildsForProjectInput) SetProjectName Uses

func (s *ListBuildsForProjectInput) SetProjectName(v string) *ListBuildsForProjectInput

SetProjectName sets the ProjectName field's value.

func (*ListBuildsForProjectInput) SetSortOrder Uses

func (s *ListBuildsForProjectInput) SetSortOrder(v string) *ListBuildsForProjectInput

SetSortOrder sets the SortOrder field's value.

func (ListBuildsForProjectInput) String Uses

func (s ListBuildsForProjectInput) String() string

String returns the string representation

func (*ListBuildsForProjectInput) Validate Uses

func (s *ListBuildsForProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBuildsForProjectOutput Uses

type ListBuildsForProjectOutput struct {

    // A list of build IDs for the specified build project, with each build ID representing
    // a single build.
    Ids []*string `locationName:"ids" min:"1" type:"list"`

    // If there are more than 100 items in the list, only the first 100 items are
    // returned, along with a unique string called a nextToken. To get the next
    // batch of items in the list, call this operation again, adding the next token
    // to the call.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBuildsForProjectOutput) GoString Uses

func (s ListBuildsForProjectOutput) GoString() string

GoString returns the string representation

func (*ListBuildsForProjectOutput) SetIds Uses

func (s *ListBuildsForProjectOutput) SetIds(v []*string) *ListBuildsForProjectOutput

SetIds sets the Ids field's value.

func (*ListBuildsForProjectOutput) SetNextToken Uses

func (s *ListBuildsForProjectOutput) SetNextToken(v string) *ListBuildsForProjectOutput

SetNextToken sets the NextToken field's value.

func (ListBuildsForProjectOutput) String Uses

func (s ListBuildsForProjectOutput) String() string

String returns the string representation

type ListBuildsInput Uses

type ListBuildsInput struct {

    // During a previous call, if there are more than 100 items in the list, only
    // the first 100 items are returned, along with a unique string called a nextToken.
    // To get the next batch of items in the list, call this operation again, adding
    // the next token to the call. To get all of the items in the list, keep calling
    // this operation with each subsequent next token that is returned, until no
    // more next tokens are returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The order to list build IDs. Valid values include:
    //
    //    * ASCENDING: List the build IDs in ascending order by build ID.
    //
    //    * DESCENDING: List the build IDs in descending order by build ID.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListBuildsInput) GoString Uses

func (s ListBuildsInput) GoString() string

GoString returns the string representation

func (*ListBuildsInput) SetNextToken Uses

func (s *ListBuildsInput) SetNextToken(v string) *ListBuildsInput

SetNextToken sets the NextToken field's value.

func (*ListBuildsInput) SetSortOrder Uses

func (s *ListBuildsInput) SetSortOrder(v string) *ListBuildsInput

SetSortOrder sets the SortOrder field's value.

func (ListBuildsInput) String Uses

func (s ListBuildsInput) String() string

String returns the string representation

type ListBuildsOutput Uses

type ListBuildsOutput struct {

    // A list of build IDs, with each build ID representing a single build.
    Ids []*string `locationName:"ids" min:"1" type:"list"`

    // If there are more than 100 items in the list, only the first 100 items are
    // returned, along with a unique string called a nextToken. To get the next
    // batch of items in the list, call this operation again, adding the next token
    // to the call.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListBuildsOutput) GoString Uses

func (s ListBuildsOutput) GoString() string

GoString returns the string representation

func (*ListBuildsOutput) SetIds Uses

func (s *ListBuildsOutput) SetIds(v []*string) *ListBuildsOutput

SetIds sets the Ids field's value.

func (*ListBuildsOutput) SetNextToken Uses

func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput

SetNextToken sets the NextToken field's value.

func (ListBuildsOutput) String Uses

func (s ListBuildsOutput) String() string

String returns the string representation

type ListCuratedEnvironmentImagesInput Uses

type ListCuratedEnvironmentImagesInput struct {
    // contains filtered or unexported fields
}

func (ListCuratedEnvironmentImagesInput) GoString Uses

func (s ListCuratedEnvironmentImagesInput) GoString() string

GoString returns the string representation

func (ListCuratedEnvironmentImagesInput) String Uses

func (s ListCuratedEnvironmentImagesInput) String() string

String returns the string representation

type ListCuratedEnvironmentImagesOutput Uses

type ListCuratedEnvironmentImagesOutput struct {

    // Information about supported platforms for Docker images that are managed
    // by AWS CodeBuild.
    Platforms []*EnvironmentPlatform `locationName:"platforms" type:"list"`
    // contains filtered or unexported fields
}

func (ListCuratedEnvironmentImagesOutput) GoString Uses

func (s ListCuratedEnvironmentImagesOutput) GoString() string

GoString returns the string representation

func (*ListCuratedEnvironmentImagesOutput) SetPlatforms Uses

func (s *ListCuratedEnvironmentImagesOutput) SetPlatforms(v []*EnvironmentPlatform) *ListCuratedEnvironmentImagesOutput

SetPlatforms sets the Platforms field's value.

func (ListCuratedEnvironmentImagesOutput) String Uses

func (s ListCuratedEnvironmentImagesOutput) String() string

String returns the string representation

type ListProjectsInput Uses

type ListProjectsInput struct {

    // During a previous call, if there are more than 100 items in the list, only
    // the first 100 items are returned, along with a unique string called a nextToken.
    // To get the next batch of items in the list, call this operation again, adding
    // the next token to the call. To get all of the items in the list, keep calling
    // this operation with each subsequent next token that is returned, until no
    // more next tokens are returned.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // The criterion to be used to list build project names. Valid values include:
    //
    //    * CREATED_TIME: List based on when each build project was created.
    //
    //    * LAST_MODIFIED_TIME: List based on when information about each build
    //    project was last changed.
    //
    //    * NAME: List based on each build project's name.
    //
    // Use sortOrder to specify in what order to list the build project names based
    // on the preceding criteria.
    SortBy *string `locationName:"sortBy" type:"string" enum:"ProjectSortByType"`

    // The order in which to list build projects. Valid values include:
    //
    //    * ASCENDING: List in ascending order.
    //
    //    * DESCENDING: List in descending order.
    //
    // Use sortBy to specify the criterion to be used to list build project names.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListProjectsInput) GoString Uses

func (s ListProjectsInput) GoString() string

GoString returns the string representation

func (*ListProjectsInput) SetNextToken Uses

func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput

SetNextToken sets the NextToken field's value.

func (*ListProjectsInput) SetSortBy Uses

func (s *ListProjectsInput) SetSortBy(v string) *ListProjectsInput

SetSortBy sets the SortBy field's value.

func (*ListProjectsInput) SetSortOrder Uses

func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput

SetSortOrder sets the SortOrder field's value.

func (ListProjectsInput) String Uses

func (s ListProjectsInput) String() string

String returns the string representation

func (*ListProjectsInput) Validate Uses

func (s *ListProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListProjectsOutput Uses

type ListProjectsOutput struct {

    // If there are more than 100 items in the list, only the first 100 items are
    // returned, along with a unique string called a nextToken. To get the next
    // batch of items in the list, call this operation again, adding the next token
    // to the call.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of build project names, with each build project name representing
    // a single build project.
    Projects []*string `locationName:"projects" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListProjectsOutput) GoString Uses

func (s ListProjectsOutput) GoString() string

GoString returns the string representation

func (*ListProjectsOutput) SetNextToken Uses

func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput

SetNextToken sets the NextToken field's value.

func (*ListProjectsOutput) SetProjects Uses

func (s *ListProjectsOutput) SetProjects(v []*string) *ListProjectsOutput

SetProjects sets the Projects field's value.

func (ListProjectsOutput) String Uses

func (s ListProjectsOutput) String() string

String returns the string representation

type ListReportGroupsInput Uses

type ListReportGroupsInput struct {

    // The maximum number of paginated report groups returned per response. Use
    // nextToken to iterate pages in the list of returned ReportGroup objects. The
    // default value is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The criterion to be used to list build report groups. Valid values include:
    //
    //    * CREATED_TIME: List based on when each report group was created.
    //
    //    * LAST_MODIFIED_TIME: List based on when each report group was last changed.
    //
    //    * NAME: List based on each report group's name.
    SortBy *string `locationName:"sortBy" type:"string" enum:"ReportGroupSortByType"`

    // Used to specify the order to sort the list of returned report groups. Valid
    // values are ASCENDING and DESCENDING.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListReportGroupsInput) GoString Uses

func (s ListReportGroupsInput) GoString() string

GoString returns the string representation

func (*ListReportGroupsInput) SetMaxResults Uses

func (s *ListReportGroupsInput) SetMaxResults(v int64) *ListReportGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportGroupsInput) SetNextToken Uses

func (s *ListReportGroupsInput) SetNextToken(v string) *ListReportGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListReportGroupsInput) SetSortBy Uses

func (s *ListReportGroupsInput) SetSortBy(v string) *ListReportGroupsInput

SetSortBy sets the SortBy field's value.

func (*ListReportGroupsInput) SetSortOrder Uses

func (s *ListReportGroupsInput) SetSortOrder(v string) *ListReportGroupsInput

SetSortOrder sets the SortOrder field's value.

func (ListReportGroupsInput) String Uses

func (s ListReportGroupsInput) String() string

String returns the string representation

func (*ListReportGroupsInput) Validate Uses

func (s *ListReportGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportGroupsOutput Uses

type ListReportGroupsOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of ARNs for the report groups in the current AWS account.
    ReportGroups []*string `locationName:"reportGroups" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListReportGroupsOutput) GoString Uses

func (s ListReportGroupsOutput) GoString() string

GoString returns the string representation

func (*ListReportGroupsOutput) SetNextToken Uses

func (s *ListReportGroupsOutput) SetNextToken(v string) *ListReportGroupsOutput

SetNextToken sets the NextToken field's value.

func (*ListReportGroupsOutput) SetReportGroups Uses

func (s *ListReportGroupsOutput) SetReportGroups(v []*string) *ListReportGroupsOutput

SetReportGroups sets the ReportGroups field's value.

func (ListReportGroupsOutput) String Uses

func (s ListReportGroupsOutput) String() string

String returns the string representation

type ListReportsForReportGroupInput Uses

type ListReportsForReportGroupInput struct {

    // A ReportFilter object used to filter the returned reports.
    Filter *ReportFilter `locationName:"filter" type:"structure"`

    // The maximum number of paginated reports in this report group returned per
    // response. Use nextToken to iterate pages in the list of returned Report objects.
    // The default value is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The ARN of the report group for which you want to return report ARNs.
    //
    // ReportGroupArn is a required field
    ReportGroupArn *string `locationName:"reportGroupArn" type:"string" required:"true"`

    // Use to specify whether the results are returned in ascending or descending
    // order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListReportsForReportGroupInput) GoString Uses

func (s ListReportsForReportGroupInput) GoString() string

GoString returns the string representation

func (*ListReportsForReportGroupInput) SetFilter Uses

func (s *ListReportsForReportGroupInput) SetFilter(v *ReportFilter) *ListReportsForReportGroupInput

SetFilter sets the Filter field's value.

func (*ListReportsForReportGroupInput) SetMaxResults Uses

func (s *ListReportsForReportGroupInput) SetMaxResults(v int64) *ListReportsForReportGroupInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportsForReportGroupInput) SetNextToken Uses

func (s *ListReportsForReportGroupInput) SetNextToken(v string) *ListReportsForReportGroupInput

SetNextToken sets the NextToken field's value.

func (*ListReportsForReportGroupInput) SetReportGroupArn Uses

func (s *ListReportsForReportGroupInput) SetReportGroupArn(v string) *ListReportsForReportGroupInput

SetReportGroupArn sets the ReportGroupArn field's value.

func (*ListReportsForReportGroupInput) SetSortOrder Uses

func (s *ListReportsForReportGroupInput) SetSortOrder(v string) *ListReportsForReportGroupInput

SetSortOrder sets the SortOrder field's value.

func (ListReportsForReportGroupInput) String Uses

func (s ListReportsForReportGroupInput) String() string

String returns the string representation

func (*ListReportsForReportGroupInput) Validate Uses

func (s *ListReportsForReportGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportsForReportGroupOutput Uses

type ListReportsForReportGroupOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of returned report group ARNs.
    Reports []*string `locationName:"reports" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListReportsForReportGroupOutput) GoString Uses

func (s ListReportsForReportGroupOutput) GoString() string

GoString returns the string representation

func (*ListReportsForReportGroupOutput) SetNextToken Uses

func (s *ListReportsForReportGroupOutput) SetNextToken(v string) *ListReportsForReportGroupOutput

SetNextToken sets the NextToken field's value.

func (*ListReportsForReportGroupOutput) SetReports Uses

func (s *ListReportsForReportGroupOutput) SetReports(v []*string) *ListReportsForReportGroupOutput

SetReports sets the Reports field's value.

func (ListReportsForReportGroupOutput) String Uses

func (s ListReportsForReportGroupOutput) String() string

String returns the string representation

type ListReportsInput Uses

type ListReportsInput struct {

    // A ReportFilter object used to filter the returned reports.
    Filter *ReportFilter `locationName:"filter" type:"structure"`

    // The maximum number of paginated reports returned per response. Use nextToken
    // to iterate pages in the list of returned Report objects. The default value
    // is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // Specifies the sort order for the list of returned reports. Valid values are:
    //
    //    * ASCENDING: return reports in chronological order based on their creation
    //    date.
    //
    //    * DESCENDING: return reports in the reverse chronological order based
    //    on their creation date.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListReportsInput) GoString Uses

func (s ListReportsInput) GoString() string

GoString returns the string representation

func (*ListReportsInput) SetFilter Uses

func (s *ListReportsInput) SetFilter(v *ReportFilter) *ListReportsInput

SetFilter sets the Filter field's value.

func (*ListReportsInput) SetMaxResults Uses

func (s *ListReportsInput) SetMaxResults(v int64) *ListReportsInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportsInput) SetNextToken Uses

func (s *ListReportsInput) SetNextToken(v string) *ListReportsInput

SetNextToken sets the NextToken field's value.

func (*ListReportsInput) SetSortOrder Uses

func (s *ListReportsInput) SetSortOrder(v string) *ListReportsInput

SetSortOrder sets the SortOrder field's value.

func (ListReportsInput) String Uses

func (s ListReportsInput) String() string

String returns the string representation

func (*ListReportsInput) Validate Uses

func (s *ListReportsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListReportsOutput Uses

type ListReportsOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of returned ARNs for the reports in the current AWS account.
    Reports []*string `locationName:"reports" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListReportsOutput) GoString Uses

func (s ListReportsOutput) GoString() string

GoString returns the string representation

func (*ListReportsOutput) SetNextToken Uses

func (s *ListReportsOutput) SetNextToken(v string) *ListReportsOutput

SetNextToken sets the NextToken field's value.

func (*ListReportsOutput) SetReports Uses

func (s *ListReportsOutput) SetReports(v []*string) *ListReportsOutput

SetReports sets the Reports field's value.

func (ListReportsOutput) String Uses

func (s ListReportsOutput) String() string

String returns the string representation

type ListSharedProjectsInput Uses

type ListSharedProjectsInput struct {

    // The maximum number of paginated shared build projects returned per response.
    // Use nextToken to iterate pages in the list of returned Project objects. The
    // default value is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" min:"1" type:"string"`

    // The criterion to be used to list build projects shared with the current AWS
    // account or user. Valid values include:
    //
    //    * ARN: List based on the ARN.
    //
    //    * MODIFIED_TIME: List based on when information about the shared project
    //    was last changed.
    SortBy *string `locationName:"sortBy" type:"string" enum:"SharedResourceSortByType"`

    // The order in which to list shared build projects. Valid values include:
    //
    //    * ASCENDING: List in ascending order.
    //
    //    * DESCENDING: List in descending order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListSharedProjectsInput) GoString Uses

func (s ListSharedProjectsInput) GoString() string

GoString returns the string representation

func (*ListSharedProjectsInput) SetMaxResults Uses

func (s *ListSharedProjectsInput) SetMaxResults(v int64) *ListSharedProjectsInput

SetMaxResults sets the MaxResults field's value.

func (*ListSharedProjectsInput) SetNextToken Uses

func (s *ListSharedProjectsInput) SetNextToken(v string) *ListSharedProjectsInput

SetNextToken sets the NextToken field's value.

func (*ListSharedProjectsInput) SetSortBy Uses

func (s *ListSharedProjectsInput) SetSortBy(v string) *ListSharedProjectsInput

SetSortBy sets the SortBy field's value.

func (*ListSharedProjectsInput) SetSortOrder Uses

func (s *ListSharedProjectsInput) SetSortOrder(v string) *ListSharedProjectsInput

SetSortOrder sets the SortOrder field's value.

func (ListSharedProjectsInput) String Uses

func (s ListSharedProjectsInput) String() string

String returns the string representation

func (*ListSharedProjectsInput) Validate Uses

func (s *ListSharedProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSharedProjectsOutput Uses

type ListSharedProjectsOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of ARNs for the build projects shared with the current AWS account
    // or user.
    Projects []*string `locationName:"projects" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListSharedProjectsOutput) GoString Uses

func (s ListSharedProjectsOutput) GoString() string

GoString returns the string representation

func (*ListSharedProjectsOutput) SetNextToken Uses

func (s *ListSharedProjectsOutput) SetNextToken(v string) *ListSharedProjectsOutput

SetNextToken sets the NextToken field's value.

func (*ListSharedProjectsOutput) SetProjects Uses

func (s *ListSharedProjectsOutput) SetProjects(v []*string) *ListSharedProjectsOutput

SetProjects sets the Projects field's value.

func (ListSharedProjectsOutput) String Uses

func (s ListSharedProjectsOutput) String() string

String returns the string representation

type ListSharedReportGroupsInput Uses

type ListSharedReportGroupsInput struct {

    // The maximum number of paginated shared report groups per response. Use nextToken
    // to iterate pages in the list of returned ReportGroup objects. The default
    // value is 100.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The criterion to be used to list report groups shared with the current AWS
    // account or user. Valid values include:
    //
    //    * ARN: List based on the ARN.
    //
    //    * MODIFIED_TIME: List based on when information about the shared report
    //    group was last changed.
    SortBy *string `locationName:"sortBy" type:"string" enum:"SharedResourceSortByType"`

    // The order in which to list shared report groups. Valid values include:
    //
    //    * ASCENDING: List in ascending order.
    //
    //    * DESCENDING: List in descending order.
    SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrderType"`
    // contains filtered or unexported fields
}

func (ListSharedReportGroupsInput) GoString Uses

func (s ListSharedReportGroupsInput) GoString() string

GoString returns the string representation

func (*ListSharedReportGroupsInput) SetMaxResults Uses

func (s *ListSharedReportGroupsInput) SetMaxResults(v int64) *ListSharedReportGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListSharedReportGroupsInput) SetNextToken Uses

func (s *ListSharedReportGroupsInput) SetNextToken(v string) *ListSharedReportGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListSharedReportGroupsInput) SetSortBy Uses

func (s *ListSharedReportGroupsInput) SetSortBy(v string) *ListSharedReportGroupsInput

SetSortBy sets the SortBy field's value.

func (*ListSharedReportGroupsInput) SetSortOrder Uses

func (s *ListSharedReportGroupsInput) SetSortOrder(v string) *ListSharedReportGroupsInput

SetSortOrder sets the SortOrder field's value.

func (ListSharedReportGroupsInput) String Uses

func (s ListSharedReportGroupsInput) String() string

String returns the string representation

func (*ListSharedReportGroupsInput) Validate Uses

func (s *ListSharedReportGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSharedReportGroupsOutput Uses

type ListSharedReportGroupsOutput struct {

    // During a previous call, the maximum number of items that can be returned
    // is the value specified in maxResults. If there more items in the list, then
    // a unique string called a nextToken is returned. To get the next batch of
    // items in the list, call this operation again, adding the next token to the
    // call. To get all of the items in the list, keep calling this operation with
    // each subsequent next token that is returned, until no more next tokens are
    // returned.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The list of ARNs for the report groups shared with the current AWS account
    // or user.
    ReportGroups []*string `locationName:"reportGroups" min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (ListSharedReportGroupsOutput) GoString Uses

func (s ListSharedReportGroupsOutput) GoString() string

GoString returns the string representation

func (*ListSharedReportGroupsOutput) SetNextToken Uses

func (s *ListSharedReportGroupsOutput) SetNextToken(v string) *ListSharedReportGroupsOutput

SetNextToken sets the NextToken field's value.

func (*ListSharedReportGroupsOutput) SetReportGroups Uses

func (s *ListSharedReportGroupsOutput) SetReportGroups(v []*string) *ListSharedReportGroupsOutput

SetReportGroups sets the ReportGroups field's value.

func (ListSharedReportGroupsOutput) String Uses

func (s ListSharedReportGroupsOutput) String() string

String returns the string representation

type ListSourceCredentialsInput Uses

type ListSourceCredentialsInput struct {
    // contains filtered or unexported fields
}

func (ListSourceCredentialsInput) GoString Uses

func (s ListSourceCredentialsInput) GoString() string

GoString returns the string representation

func (ListSourceCredentialsInput) String Uses

func (s ListSourceCredentialsInput) String() string

String returns the string representation

type ListSourceCredentialsOutput Uses

type ListSourceCredentialsOutput struct {

    // A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object
    // includes the authentication type, token ARN, and type of source provider
    // for one set of credentials.
    SourceCredentialsInfos []*SourceCredentialsInfo `locationName:"sourceCredentialsInfos" type:"list"`
    // contains filtered or unexported fields
}

func (ListSourceCredentialsOutput) GoString Uses

func (s ListSourceCredentialsOutput) GoString() string

GoString returns the string representation

func (*ListSourceCredentialsOutput) SetSourceCredentialsInfos Uses

func (s *ListSourceCredentialsOutput) SetSourceCredentialsInfos(v []*SourceCredentialsInfo) *ListSourceCredentialsOutput

SetSourceCredentialsInfos sets the SourceCredentialsInfos field's value.

func (ListSourceCredentialsOutput) String Uses

func (s ListSourceCredentialsOutput) String() string

String returns the string representation

type LogsConfig Uses

type LogsConfig struct {

    // Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch
    // Logs are enabled by default.
    CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"`

    // Information about logs built to an S3 bucket for a build project. S3 logs
    // are not enabled by default.
    S3Logs *S3LogsConfig `locationName:"s3Logs" type:"structure"`
    // contains filtered or unexported fields
}

Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.

func (LogsConfig) GoString Uses

func (s LogsConfig) GoString() string

GoString returns the string representation

func (*LogsConfig) SetCloudWatchLogs Uses

func (s *LogsConfig) SetCloudWatchLogs(v *CloudWatchLogsConfig) *LogsConfig

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*LogsConfig) SetS3Logs Uses

func (s *LogsConfig) SetS3Logs(v *S3LogsConfig) *LogsConfig

SetS3Logs sets the S3Logs field's value.

func (LogsConfig) String Uses

func (s LogsConfig) String() string

String returns the string representation

func (*LogsConfig) Validate Uses

func (s *LogsConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LogsLocation Uses

type LogsLocation struct {

    // Information about Amazon CloudWatch Logs for a build project.
    CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"`

    // The ARN of Amazon CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
    // For more information, see Resources Defined by Amazon CloudWatch Logs (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies).
    CloudWatchLogsArn *string `locationName:"cloudWatchLogsArn" type:"string"`

    // The URL to an individual build log in Amazon CloudWatch Logs.
    DeepLink *string `locationName:"deepLink" type:"string"`

    // The name of the Amazon CloudWatch Logs group for the build logs.
    GroupName *string `locationName:"groupName" type:"string"`

    // The URL to a build log in an S3 bucket.
    S3DeepLink *string `locationName:"s3DeepLink" type:"string"`

    // Information about S3 logs for a build project.
    S3Logs *S3LogsConfig `locationName:"s3Logs" type:"structure"`

    // The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}.
    // For more information, see Resources Defined by Amazon S3 (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies).
    S3LogsArn *string `locationName:"s3LogsArn" type:"string"`

    // The name of the Amazon CloudWatch Logs stream for the build logs.
    StreamName *string `locationName:"streamName" type:"string"`
    // contains filtered or unexported fields
}

Information about build logs in Amazon CloudWatch Logs.

func (LogsLocation) GoString Uses

func (s LogsLocation) GoString() string

GoString returns the string representation

func (*LogsLocation) SetCloudWatchLogs Uses

func (s *LogsLocation) SetCloudWatchLogs(v *CloudWatchLogsConfig) *LogsLocation

SetCloudWatchLogs sets the CloudWatchLogs field's value.

func (*LogsLocation) SetCloudWatchLogsArn Uses

func (s *LogsLocation) SetCloudWatchLogsArn(v string) *LogsLocation

SetCloudWatchLogsArn sets the CloudWatchLogsArn field's value.

func (s *LogsLocation) SetDeepLink(v string) *LogsLocation

SetDeepLink sets the DeepLink field's value.

func (*LogsLocation) SetGroupName Uses

func (s *LogsLocation) SetGroupName(v string) *LogsLocation

SetGroupName sets the GroupName field's value.

func (s *LogsLocation) SetS3DeepLink(v string) *LogsLocation

SetS3DeepLink sets the S3DeepLink field's value.

func (*LogsLocation) SetS3Logs Uses

func (s *LogsLocation) SetS3Logs(v *S3LogsConfig) *LogsLocation

SetS3Logs sets the S3Logs field's value.

func (*LogsLocation) SetS3LogsArn Uses

func (s *LogsLocation) SetS3LogsArn(v string) *LogsLocation

SetS3LogsArn sets the S3LogsArn field's value.

func (*LogsLocation) SetStreamName Uses

func (s *LogsLocation) SetStreamName(v string) *LogsLocation

SetStreamName sets the StreamName field's value.

func (LogsLocation) String Uses

func (s LogsLocation) String() string

String returns the string representation

type NetworkInterface Uses

type NetworkInterface struct {

    // The ID of the network interface.
    NetworkInterfaceId *string `locationName:"networkInterfaceId" min:"1" type:"string"`

    // The ID of the subnet.
    SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
    // contains filtered or unexported fields
}

Describes a network interface.

func (NetworkInterface) GoString Uses

func (s NetworkInterface) GoString() string

GoString returns the string representation

func (*NetworkInterface) SetNetworkInterfaceId Uses

func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NetworkInterface) SetSubnetId Uses

func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface

SetSubnetId sets the SubnetId field's value.

func (NetworkInterface) String Uses

func (s NetworkInterface) String() string

String returns the string representation

type OAuthProviderException Uses

type OAuthProviderException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

There was a problem with the underlying OAuth provider.

func (*OAuthProviderException) Code Uses

func (s *OAuthProviderException) Code() string

Code returns the exception type name.

func (*OAuthProviderException) Error Uses

func (s *OAuthProviderException) Error() string

func (OAuthProviderException) GoString Uses

func (s OAuthProviderException) GoString() string

GoString returns the string representation

func (*OAuthProviderException) Message Uses

func (s *OAuthProviderException) Message() string

Message returns the exception's message.

func (*OAuthProviderException) OrigErr Uses

func (s *OAuthProviderException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OAuthProviderException) RequestID Uses

func (s *OAuthProviderException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OAuthProviderException) StatusCode Uses

func (s *OAuthProviderException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OAuthProviderException) String Uses

func (s OAuthProviderException) String() string

String returns the string representation

type PhaseContext Uses

type PhaseContext struct {

    // An explanation of the build phase's context. This might include a command
    // ID and an exit code.
    Message *string `locationName:"message" type:"string"`

    // The status code for the context of the build phase.
    StatusCode *string `locationName:"statusCode" type:"string"`
    // contains filtered or unexported fields
}

Additional information about a build phase that has an error. You can use this information for troubleshooting.

func (PhaseContext) GoString Uses

func (s PhaseContext) GoString() string

GoString returns the string representation

func (*PhaseContext) SetMessage Uses

func (s *PhaseContext) SetMessage(v string) *PhaseContext

SetMessage sets the Message field's value.

func (*PhaseContext) SetStatusCode Uses

func (s *PhaseContext) SetStatusCode(v string) *PhaseContext

SetStatusCode sets the StatusCode field's value.

func (PhaseContext) String Uses

func (s PhaseContext) String() string

String returns the string representation

type Project Uses

type Project struct {

    // The Amazon Resource Name (ARN) of the build project.
    Arn *string `locationName:"arn" type:"string"`

    // Information about the build output artifacts for the build project.
    Artifacts *ProjectArtifacts `locationName:"artifacts" type:"structure"`

    // Information about the build badge for the build project.
    Badge *ProjectBadge `locationName:"badge" type:"structure"`

    // Information about the cache for the build project.
    Cache *ProjectCache `locationName:"cache" type:"structure"`

    // When the build project was created, expressed in Unix time format.
    Created *time.Time `locationName:"created" type:"timestamp"`

    // A description that makes the build project easy to identify.
    Description *string `locationName:"description" type:"string"`

    // The AWS Key Management Service (AWS KMS) customer master key (CMK) to be
    // used for encrypting the build output artifacts.
    //
    // You can use a cross-account KMS key to encrypt the build output artifacts
    // if your service role has permission to that key.
    //
    // You can specify either the Amazon Resource Name (ARN) of the CMK or, if available,
    // the CMK's alias (using the format alias/alias-name ).
    EncryptionKey *string `locationName:"encryptionKey" min:"1" type:"string"`

    // Information about the build environment for this build project.
    Environment *ProjectEnvironment `locationName:"environment" type:"structure"`

    // An array of ProjectFileSystemLocation objects for a CodeBuild build project.
    // A ProjectFileSystemLocation object specifies the identifier, location, mountOptions,
    // mountPoint, and type of a file system created using Amazon Elastic File System.
    FileSystemLocations []*ProjectFileSystemLocation `locationName:"fileSystemLocations" type:"list"`

    // When the build project's settings were last modified, expressed in Unix time
    // format.
    LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

    // Information about logs for the build project. A project can create logs in
    // Amazon CloudWatch Logs, an S3 bucket, or both.
    LogsConfig *LogsConfig `locationName:"logsConfig" type:"structure"`

    // The name of the build project.
    Name *string `locationName:"name" min:"2" type:"string"`

    // The number of minutes a build is allowed to be queued before it times out.
    QueuedTimeoutInMinutes *int64 `locationName:"queuedTimeoutInMinutes" min:"5" type:"integer"`

    // An array of ProjectArtifacts objects.
    SecondaryArtifacts []*ProjectArtifacts `locationName:"secondaryArtifacts" type:"list"`

    // An array of ProjectSourceVersion objects. If secondarySourceVersions is specified
    // at the build level, then they take over these secondarySourceVersions (at
    // the project level).
    SecondarySourceVersions []*ProjectSourceVersion `locationName:"secondarySourceVersions" type:"list"`

    // An array of ProjectSource objects.
    SecondarySources []*ProjectSource `locationName:"secondarySources" type:"list"`

    // The ARN of the AWS Identity and Access Management (IAM) role that enables
    // AWS CodeBuild to interact with dependent AWS services on behalf of the AWS
    // account.
    ServiceRole *string `locationName:"serviceRole" min:"1" type:"string"`

    // Information about the build input source code for this build project.
    Source *ProjectSource `locationName:"source" type:"structure"`

    // A version of the build input to be built for this project. If not specified,
    // the latest version is used. If specified, it must be one of:
    //
    //    * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
    //
    //    * For GitHub: the commit ID, pull request ID, branch name, or tag name
    //    that corresponds to the version of the source code you want to build.
    //    If a pull request ID is specified, it must use the format pr/pull-request-ID
    //    (for example pr/25). If a branch name is specified, the branch's HEAD
    //    commit ID is used. If not specified, the default branch's HEAD commit
    //    ID is used.
    //
    //    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
    //    to the version of the source code you want to build. If a branch name
    //    is specified, the branch's HEAD commit ID is used. If not specified, the
    //    default branch's HEAD commit ID is used.
    //
    //    * For Amazon Simple Storage Service (Amazon S3): the version ID of the
    //    object that represents the build input ZIP file to use.
    //
    // If sourceVersion is specified at the build level, then that version takes
    // precedence over this sourceVersion (at the project level).
    //
    // For more information, see Source Version Sample with CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
    // in the AWS CodeBuild User Guide.
    SourceVersion *string `locationName:"sourceVersion" type:"string"`

    // A list of tag key and value pairs associated with this build project.
    //
    // These tags are available for use by AWS services that support AWS CodeBuild
    // build project tags.
    Tags []*Tag `locationName:"tags" type:"list"`

    // How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait
    // before timing out any related build that did not get marked as completed.
    // The default is 60 minutes.
    TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"`

    // Information about the VPC configuration that AWS CodeBuild accesses.
    VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"`

    // Information about a webhook that connects repository events to a build project
    // in AWS CodeBuild.
    Webhook *Webhook `locationName:"webhook" type:"structure"`
    // contains filtered or unexported fields
}

Information about a build project.

func (Project) GoString Uses

func (s Project) GoString() string

GoString returns the string representation

func (*Project) SetArn Uses

func (s *Project) SetArn(v string) *Project

SetArn sets the Arn field's value.

func (*Project) SetArtifacts Uses

func (s *Project) SetArtifacts(v *ProjectArtifacts) *Project

SetArtifacts sets the Artifacts field's value.

func (*Project) SetBadge Uses

func (s *Project) SetBadge(v *ProjectBadge) *Project

SetBadge sets the Badge field's value.

func (*Project) SetCache Uses

func (s *Project) SetCache(v *ProjectCache) *Project

SetCache sets the Cache field's value.

func (*Project) SetCreated Uses

func (s *Project) SetCreated(v time.Time) *Project

SetCreated sets the Created field's value.

func (*Project) SetDescription Uses

func (s *Project) SetDescription(v string) *Project

SetDescription sets the Description field's value.

func (*Project) SetEncryptionKey Uses

func (s *Project) SetEncryptionKey(v string) *Project

SetEncryptionKey sets the EncryptionKey field's value.

func (*Project) SetEnvironment Uses

func (s *Project) SetEnvironment(v *ProjectEnvironment) *Project

SetEnvironment sets the Environment field's value.

func (*Project) SetFileSystemLocations Uses

func (s *Project) SetFileSystemLocations(v []*ProjectFileSystemLocation) *Project

SetFileSystemLocations sets the FileSystemLocations field's value.

func (*Project) SetLastModified Uses

func (s *Project) SetLastModified(v time.Time) *Project

SetLastModified sets the LastModified field's value.

func (*Project) SetLogsConfig Uses

func (s *Project) SetLogsConfig(v *LogsConfig) *Project

SetLogsConfig sets the LogsConfig field's value.

func (*Project) SetName Uses

func (s *Project) SetName(v string) *Project

SetName sets the Name field's value.

func (*Project) SetQueuedTimeoutInMinutes Uses

func (s *Project) SetQueuedTimeoutInMinutes(v int64) *Project

SetQueuedTimeoutInMinutes sets the QueuedTimeoutInMinutes field's value.

func (*Project) SetSecondaryArtifacts Uses

func (s *Project) SetSecondaryArtifacts(v []*ProjectArtifacts) *Project

SetSecondaryArtifacts sets the SecondaryArtifacts field's value.

func (*Project) SetSecondarySourceVersions Uses

func (s *Project) SetSecondarySourceVersions(v []*ProjectSourceVersion) *Project

SetSecondarySourceVersions sets the SecondarySourceVersions field's value.

func (*Project) SetSecondarySources Uses

func (s *Project) SetSecondarySources(v []*ProjectSource) *Project

SetSecondarySources sets the SecondarySources field's value.

func (*Project) SetServiceRole Uses

func (s *Project) SetServiceRole(v string) *Project

SetServiceRole sets the ServiceRole field's value.

func (*Project) SetSource Uses

func (s *Project) SetSource(v *ProjectSource) *Project

SetSource sets the Source field's value.

func (*Project) SetSourceVersion Uses

func (s *Project) SetSourceVersion(v string) *Project

SetSourceVersion sets the SourceVersion field's value.

func (*Project) SetTags Uses

func (s *Project) SetTags(v []*Tag) *Project

SetTags sets the Tags field's value.

func (*Project) SetTimeoutInMinutes Uses

func (s *Project) SetTimeoutInMinutes(v int64) *Project

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (*Project) SetVpcConfig Uses

func (s *Project) SetVpcConfig(v *VpcConfig) *Project

SetVpcConfig sets the VpcConfig field's value.

func (*Project) SetWebhook Uses

func (s *Project) SetWebhook(v *Webhook) *Project

SetWebhook sets the Webhook field's value.

func (Project) String Uses

func (s Project) String() string

String returns the string representation

type ProjectArtifacts Uses

type ProjectArtifacts struct {

    // An identifier for this artifact definition.
    ArtifactIdentifier *string `locationName:"artifactIdentifier" type:"string"`

    // Set to true if you do not want your output artifacts encrypted. This option
    // is valid only if your artifacts type is Amazon Simple Storage Service (Amazon
    // S3). If this is set with another artifacts type, an invalidInputException
    // is thrown.
    EncryptionDisabled *bool `locationName:"encryptionDisabled" type:"boolean"`

    // Information about the build output artifact location:
    //
    //    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
    //    if specified. This is because AWS CodePipeline manages its build output
    //    locations instead of AWS CodeBuild.
    //
    //    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
    //    because no build output is produced.
    //
    //    * If type is set to S3, this is the name of the output bucket.
    Location *string `locationName:"location" type:"string"`

    // Along with path and namespaceType, the pattern that AWS CodeBuild uses to
    // name and store the output artifact:
    //
    //    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
    //    if specified. This is because AWS CodePipeline manages its build output
    //    names instead of AWS CodeBuild.
    //
    //    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
    //    because no build output is produced.
    //
    //    * If type is set to S3, this is the name of the output artifact object.
    //    If you set the name to be a forward slash ("/"), the artifact is stored
    //    in the root of the output bucket.
    //
    // For example:
    //
    //    * If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and
    //    name is set to MyArtifact.zip, then the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip.
    //
    //    * If path is empty, namespaceType is set to NONE, and name is set to "/",
    //    the output artifact is stored in the root of the output bucket.
    //
    //    * If path is set to MyArtifacts, namespaceType is set to BUILD_ID, and
    //    name is set to "/", the output artifact is stored in MyArtifacts/build-ID .
    Name *string `locationName:"name" type:"string"`

    // Along with path and name, the pattern that AWS CodeBuild uses to determine
    // the name and location to store the output artifact:
    //
    //    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
    //    if specified. This is because AWS CodePipeline manages its build output
    //    names instead of AWS CodeBuild.
    //
    //    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
    //    because no build output is produced.
    //
    //    * If type is set to S3, valid values include: BUILD_ID: Include the build
    //    ID in the location of the build output artifact. NONE: Do not include
    //    the build ID. This is the default if namespaceType is not specified.
    //
    // For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID,
    // and name is set to MyArtifact.zip, the output artifact is stored in MyArtifacts/build-ID/MyArtifact.zip.
    NamespaceType *string `locationName:"namespaceType" type:"string" enum:"ArtifactNamespace"`

    // If this flag is set, a name specified in the buildspec file overrides the
    // artifact name. The name specified in a buildspec file is calculated at build
    // time and uses the Shell Command Language. For example, you can append a date
    // and time to your artifact name so that it is always unique.
    OverrideArtifactName *bool `locationName:"overrideArtifactName" type:"boolean"`

    // The type of build output artifact to create:
    //
    //    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
    //    if specified. This is because AWS CodePipeline manages its build output
    //    artifacts instead of AWS CodeBuild.
    //
    //    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
    //    because no build output is produced.
    //
    //    * If type is set to S3, valid values include: NONE: AWS CodeBuild creates
    //    in the output bucket a folder that contains the build output. This is
    //    the default if packaging is not specified. ZIP: AWS CodeBuild creates
    //    in the output bucket a ZIP file that contains the build output.
    Packaging *string `locationName:"packaging" type:"string" enum:"ArtifactPackaging"`

    // Along with namespaceType and name, the pattern that AWS CodeBuild uses to
    // name and store the output artifact:
    //
    //    * If type is set to CODEPIPELINE, AWS CodePipeline ignores this value
    //    if specified. This is because AWS CodePipeline manages its build output
    //    names instead of AWS CodeBuild.
    //
    //    * If type is set to NO_ARTIFACTS, this value is ignored if specified,
    //    because no build output is produced.
    //
    //    * If type is set to S3, this is the path to the output artifact. If path
    //    is not specified, path is not used.
    //
    // For example, if path is set to MyArtifacts, namespaceType is set to NONE,
    // and name is set to MyArtifact.zip, the output artifact is stored in the output
    // bucket at MyArtifacts/MyArtifact.zip.
    Path *string `locationName:"path" type:"string"`

    // The type of build output artifact. Valid values include:
    //
    //    * CODEPIPELINE: The build project has build output generated through AWS
    //    CodePipeline. The CODEPIPELINE type is not supported for secondaryArtifacts.
    //
    //    * NO_ARTIFACTS: The build project does not produce any build output.
    //
    //    * S3: The build project stores build output in Amazon Simple Storage Service
    //    (Amazon S3).
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactsType"`
    // contains filtered or unexported fields
}

Information about the build output artifacts for the build project.

func (ProjectArtifacts) GoString Uses

func (s ProjectArtifacts) GoString() string

GoString returns the string representation

func (*ProjectArtifacts) SetArtifactIdentifier Uses

func (s *ProjectArtifacts) SetArtifactIdentifier(v string) *ProjectArtifacts

SetArtifactIdentifier sets the ArtifactIdentifier field's value.

func (*ProjectArtifacts) SetEncryptionDisabled Uses

func (s *ProjectArtifacts) SetEncryptionDisabled(v bool) *ProjectArtifacts

SetEncryptionDisabled sets the EncryptionDisabled field's value.

func (*ProjectArtifacts) SetLocation Uses

func (s *ProjectArtifacts) SetLocation(v string) *ProjectArtifacts

SetLocation sets the Location field's value.

func (*ProjectArtifacts) SetName Uses

func (s *ProjectArtifacts) SetName(v string) *ProjectArtifacts

SetName sets the Name field's value.

func (*ProjectArtifacts) SetNamespaceType Uses

func (s *ProjectArtifacts) SetNamespaceType(v string) *ProjectArtifacts

SetNamespaceType sets the NamespaceType field's value.

func (*ProjectArtifacts) SetOverrideArtifactName Uses

func (s *ProjectArtifacts) SetOverrideArtifactName(v bool) *ProjectArtifacts

SetOverrideArtifactName sets the OverrideArtifactName field's value.

func (*ProjectArtifacts) SetPackaging Uses

func (s *ProjectArtifacts) SetPackaging(v string) *ProjectArtifacts

SetPackaging sets the Packaging field's value.

func (*ProjectArtifacts) SetPath Uses

func (s *ProjectArtifacts) SetPath(v string) *ProjectArtifacts

SetPath sets the Path field's value.

func (*ProjectArtifacts) SetType Uses

func (s *ProjectArtifacts) SetType(v string) *ProjectArtifacts

SetType sets the Type field's value.

func (ProjectArtifacts) String Uses

func (s ProjectArtifacts) String() string

String returns the string representation

func (*ProjectArtifacts) Validate Uses

func (s *ProjectArtifacts) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectBadge Uses

type ProjectBadge struct {

    // Set this to true to generate a publicly accessible URL for your project's
    // build badge.
    BadgeEnabled *bool `locationName:"badgeEnabled" type:"boolean"`

    // The publicly-accessible URL through which you can access the build badge
    // for your project.
    //
    // The publicly accessible URL through which you can access the build badge
    // for your project.
    BadgeRequestUrl *string `locationName:"badgeRequestUrl" type:"string"`
    // contains filtered or unexported fields
}

Information about the build badge for the build project.

func (ProjectBadge) GoString Uses

func (s ProjectBadge) GoString() string

GoString returns the string representation

func (*ProjectBadge) SetBadgeEnabled Uses

func (s *ProjectBadge) SetBadgeEnabled(v bool) *ProjectBadge

SetBadgeEnabled sets the BadgeEnabled field's value.

func (*ProjectBadge) SetBadgeRequestUrl Uses

func (s *ProjectBadge) SetBadgeRequestUrl(v string) *ProjectBadge

SetBadgeRequestUrl sets the BadgeRequestUrl field's value.

func (ProjectBadge) String Uses

func (s ProjectBadge) String() string

String returns the string representation

type ProjectCache Uses

type ProjectCache struct {

    // Information about the cache location:
    //
    //    * NO_CACHE or LOCAL: This value is ignored.
    //
    //    * S3: This is the S3 bucket name/prefix.
    Location *string `locationName:"location" type:"string"`

    // If you use a LOCAL cache, the local cache mode. You can use one or more local
    // cache modes at the same time.
    //
    //    * LOCAL_SOURCE_CACHE mode caches Git metadata for primary and secondary
    //    sources. After the cache is created, subsequent builds pull only the change
    //    between commits. This mode is a good choice for projects with a clean
    //    working directory and a source that is a large Git repository. If you
    //    choose this option and your project does not use a Git repository (GitHub,
    //    GitHub Enterprise, or Bitbucket), the option is ignored.
    //
    //    * LOCAL_DOCKER_LAYER_CACHE mode caches existing Docker layers. This mode
    //    is a good choice for projects that build or pull large Docker images.
    //    It can prevent the performance issues caused by pulling large Docker images
    //    down from the network. You can use a Docker layer cache in the Linux environment
    //    only. The privileged flag must be set so that your project has the required
    //    Docker permissions. You should consider the security implications before
    //    you use a Docker layer cache.
    //
    //    * LOCAL_CUSTOM_CACHE mode caches directories you specify in the buildspec
    //    file. This mode is a good choice if your build scenario is not suited
    //    to one of the other three local cache modes. If you use a custom cache:
    //    Only directories can be specified for caching. You cannot specify individual
    //    files. Symlinks are used to reference cached directories. Cached directories
    //    are linked to your build before it downloads its project sources. Cached
    //    items are overridden if a source item has the same name. Directories are
    //    specified using cache paths in the buildspec file.
    Modes []*string `locationName:"modes" type:"list"`

    // The type of cache used by the build project. Valid values include:
    //
    //    * NO_CACHE: The build project does not use any cache.
    //
    //    * S3: The build project reads and writes from and to S3.
    //
    //    * LOCAL: The build project stores a cache locally on a build host that
    //    is only available to that build host.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"CacheType"`
    // contains filtered or unexported fields
}

Information about the cache for the build project.

func (ProjectCache) GoString Uses

func (s ProjectCache) GoString() string

GoString returns the string representation

func (*ProjectCache) SetLocation Uses

func (s *ProjectCache) SetLocation(v string) *ProjectCache

SetLocation sets the Location field's value.

func (*ProjectCache) SetModes Uses

func (s *ProjectCache) SetModes(v []*string) *ProjectCache

SetModes sets the Modes field's value.

func (*ProjectCache) SetType Uses

func (s *ProjectCache) SetType(v string) *ProjectCache

SetType sets the Type field's value.

func (ProjectCache) String Uses

func (s ProjectCache) String() string

String returns the string representation

func (*ProjectCache) Validate Uses

func (s *ProjectCache) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectEnvironment Uses

type ProjectEnvironment struct {

    // The certificate to use with this build project.
    Certificate *string `locationName:"certificate" type:"string"`

    // Information about the compute resources the build project uses. Available
    // values include:
    //
    //    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds.
    //
    //    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds.
    //
    //    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds,
    //    depending on your environment type.
    //
    //    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB
    //    of SSD storage for builds. This compute type supports Docker images up
    //    to 100 GB uncompressed.
    //
    // If you use BUILD_GENERAL1_LARGE:
    //
    //    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory
    //    and 8 vCPUs for builds.
    //
    //    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory,
    //    32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
    //
    //    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and
    //    8 vCPUs on ARM-based processors for builds.
    //
    // For more information, see Build Environment Compute Types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
    // in the AWS CodeBuild User Guide.
    //
    // ComputeType is a required field
    ComputeType *string `locationName:"computeType" type:"string" required:"true" enum:"ComputeType"`

    // A set of environment variables to make available to builds for this build
    // project.
    EnvironmentVariables []*EnvironmentVariable `locationName:"environmentVariables" type:"list"`

    // The image tag or image digest that identifies the Docker image to use for
    // this build project. Use the following formats:
    //
    //    * For an image tag: registry/repository:tag. For example, to specify an
    //    image with the tag "latest," use registry/repository:latest.
    //
    //    * For an image digest: registry/repository@digest. For example, to specify
    //    an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
    //    use registry/repository@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
    //
    // Image is a required field
    Image *string `locationName:"image" min:"1" type:"string" required:"true"`

    // The type of credentials AWS CodeBuild uses to pull images in your build.
    // There are two valid values:
    //
    //    * CODEBUILD specifies that AWS CodeBuild uses its own credentials. This
    //    requires that you modify your ECR repository policy to trust AWS CodeBuild's
    //    service principal.
    //
    //    * SERVICE_ROLE specifies that AWS CodeBuild uses your build project's
    //    service role.
    //
    // When you use a cross-account or private registry image, you must use SERVICE_ROLE
    // credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD
    // credentials.
    ImagePullCredentialsType *string `locationName:"imagePullCredentialsType" type:"string" enum:"ImagePullCredentialsType"`

    // Enables running the Docker daemon inside a Docker container. Set to true
    // only if the build project is used to build Docker images. Otherwise, a build
    // that attempts to interact with the Docker daemon fails. The default setting
    // is false.
    //
    // You can initialize the Docker daemon during the install phase of your build
    // by adding one of the following sets of commands to the install phase of your
    // buildspec file:
    //
    // If the operating system's base image is Ubuntu Linux:
    //
    // - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375
    // --storage-driver=overlay&
    //
    // - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
    //
    // If the operating system's base image is Alpine Linux and the previous command
    // does not work, add the -t argument to timeout:
    //
    // - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375
    // --storage-driver=overlay&
    //
    // - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
    PrivilegedMode *bool `locationName:"privilegedMode" type:"boolean"`

    // The credentials for access to a private registry.
    RegistryCredential *RegistryCredential `locationName:"registryCredential" type:"structure"`

    // The type of build environment to use for related builds.
    //
    //    * The environment type ARM_CONTAINER is available only in regions US East
    //    (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific
    //    (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).
    //
    //    * The environment type LINUX_CONTAINER with compute type build.general1.2xlarge
    //    is available only in regions US East (N. Virginia), US East (Ohio), US
    //    West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
    //    Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
    //    Asia Pacific (Sydney), China (Beijing), and China (Ningxia).
    //
    //    * The environment type LINUX_GPU_CONTAINER is available only in regions
    //    US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central),
    //    EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
    //    Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China
    //    (Beijing), and China (Ningxia).
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"EnvironmentType"`
    // contains filtered or unexported fields
}

Information about the build environment of the build project.

func (ProjectEnvironment) GoString Uses

func (s ProjectEnvironment) GoString() string

GoString returns the string representation

func (*ProjectEnvironment) SetCertificate Uses

func (s *ProjectEnvironment) SetCertificate(v string) *ProjectEnvironment

SetCertificate sets the Certificate field's value.

func (*ProjectEnvironment) SetComputeType Uses

func (s *ProjectEnvironment) SetComputeType(v string) *ProjectEnvironment

SetComputeType sets the ComputeType field's value.

func (*ProjectEnvironment) SetEnvironmentVariables Uses

func (s *ProjectEnvironment) SetEnvironmentVariables(v []*EnvironmentVariable) *ProjectEnvironment

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (*ProjectEnvironment) SetImage Uses

func (s *ProjectEnvironment) SetImage(v string) *ProjectEnvironment

SetImage sets the Image field's value.

func (*ProjectEnvironment) SetImagePullCredentialsType Uses

func (s *ProjectEnvironment) SetImagePullCredentialsType(v string) *ProjectEnvironment

SetImagePullCredentialsType sets the ImagePullCredentialsType field's value.

func (*ProjectEnvironment) SetPrivilegedMode Uses

func (s *ProjectEnvironment) SetPrivilegedMode(v bool) *ProjectEnvironment

SetPrivilegedMode sets the PrivilegedMode field's value.

func (*ProjectEnvironment) SetRegistryCredential Uses

func (s *ProjectEnvironment) SetRegistryCredential(v *RegistryCredential) *ProjectEnvironment

SetRegistryCredential sets the RegistryCredential field's value.

func (*ProjectEnvironment) SetType Uses

func (s *ProjectEnvironment) SetType(v string) *ProjectEnvironment

SetType sets the Type field's value.

func (ProjectEnvironment) String Uses

func (s ProjectEnvironment) String() string

String returns the string representation

func (*ProjectEnvironment) Validate Uses

func (s *ProjectEnvironment) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectFileSystemLocation Uses

type ProjectFileSystemLocation struct {

    // The name used to access a file system created by Amazon EFS. CodeBuild creates
    // an environment variable by appending the identifier in all capital letters
    // to CODEBUILD_. For example, if you specify my-efs for identifier, a new environment
    // variable is create named CODEBUILD_MY-EFS.
    //
    // The identifier is used to mount your file system.
    Identifier *string `locationName:"identifier" type:"string"`

    // A string that specifies the location of the file system created by Amazon
    // EFS. Its format is efs-dns-name:/directory-path. You can find the DNS name
    // of file system when you view it in the AWS EFS console. The directory path
    // is a path to a directory in the file system that CodeBuild mounts. For example,
    // if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com,
    // and its mount directory is my-efs-mount-directory, then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
    //
    // The directory path in the format efs-dns-name:/directory-path is optional.
    // If you do not specify a directory path, the location is only the DNS name
    // and CodeBuild mounts the entire file system.
    Location *string `locationName:"location" type:"string"`

    // The mount options for a file system created by AWS EFS. The default mount
    // options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
    // For more information, see Recommended NFS Mount Options (https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html).
    MountOptions *string `locationName:"mountOptions" type:"string"`

    // The location in the container where you mount the file system.
    MountPoint *string `locationName:"mountPoint" type:"string"`

    // The type of the file system. The one supported type is EFS.
    Type *string `locationName:"type" type:"string" enum:"FileSystemType"`
    // contains filtered or unexported fields
}

Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System? (https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html)

func (ProjectFileSystemLocation) GoString Uses

func (s ProjectFileSystemLocation) GoString() string

GoString returns the string representation

func (*ProjectFileSystemLocation) SetIdentifier Uses

func (s *ProjectFileSystemLocation) SetIdentifier(v string) *ProjectFileSystemLocation

SetIdentifier sets the Identifier field's value.

func (*ProjectFileSystemLocation) SetLocation Uses

func (s *ProjectFileSystemLocation) SetLocation(v string) *ProjectFileSystemLocation

SetLocation sets the Location field's value.

func (*ProjectFileSystemLocation) SetMountOptions Uses

func (s *ProjectFileSystemLocation) SetMountOptions(v string) *ProjectFileSystemLocation

SetMountOptions sets the MountOptions field's value.

func (*ProjectFileSystemLocation) SetMountPoint Uses

func (s *ProjectFileSystemLocation) SetMountPoint(v string) *ProjectFileSystemLocation

SetMountPoint sets the MountPoint field's value.

func (*ProjectFileSystemLocation) SetType Uses

func (s *ProjectFileSystemLocation) SetType(v string) *ProjectFileSystemLocation

SetType sets the Type field's value.

func (ProjectFileSystemLocation) String Uses

func (s ProjectFileSystemLocation) String() string

String returns the string representation

type ProjectSource Uses

type ProjectSource struct {

    // Information about the authorization settings for AWS CodeBuild to access
    // the source code to be built.
    //
    // This information is for the AWS CodeBuild console's use only. Your code should
    // not get or set this information directly.
    Auth *SourceAuth `locationName:"auth" type:"structure"`

    // The buildspec file declaration to use for the builds in this build project.
    //
    // If this value is set, it can be either an inline buildspec definition, the
    // path to an alternate buildspec file relative to the value of the built-in
    // CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The
    // bucket must be in the same AWS Region as the build project. Specify the buildspec
    // file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml).
    // If this value is not provided or is set to an empty string, the source code
    // must contain a buildspec file in its root directory. For more information,
    // see Buildspec File Name and Storage Location (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage).
    Buildspec *string `locationName:"buildspec" type:"string"`

    // Information about the Git clone depth for the build project.
    GitCloneDepth *int64 `locationName:"gitCloneDepth" type:"integer"`

    // Information about the Git submodules configuration for the build project.
    GitSubmodulesConfig *GitSubmodulesConfig `locationName:"gitSubmodulesConfig" type:"structure"`

    // Enable this flag to ignore SSL warnings while connecting to the project source
    // code.
    InsecureSsl *bool `locationName:"insecureSsl" type:"boolean"`

    // Information about the location of the source code to be built. Valid values
    // include:
    //
    //    * For source code settings that are specified in the source action of
    //    a pipeline in AWS CodePipeline, location should not be specified. If it
    //    is specified, AWS CodePipeline ignores it. This is because AWS CodePipeline
    //    uses the settings in a pipeline's source action instead of this value.
    //
    //    * For source code in an AWS CodeCommit repository, the HTTPS clone URL
    //    to the repository that contains the source code and the buildspec file
    //    (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
    //    ).
    //
    //    * For source code in an Amazon Simple Storage Service (Amazon S3) input
    //    bucket, one of the following. The path to the ZIP file that contains the
    //    source code (for example, bucket-name/path/to/object-name.zip). The path
    //    to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).
    //
    //    * For source code in a GitHub repository, the HTTPS clone URL to the repository
    //    that contains the source and the buildspec file. You must connect your
    //    AWS account to your GitHub account. Use the AWS CodeBuild console to start
    //    creating a build project. When you use the console to connect (or reconnect)
    //    with GitHub, on the GitHub Authorize application page, for Organization
    //    access, choose Request access next to each repository you want to allow
    //    AWS CodeBuild to have access to, and then choose Authorize application.
    //    (After you have connected to your GitHub account, you do not need to finish
    //    creating the build project. You can leave the AWS CodeBuild console.)
    //    To instruct AWS CodeBuild to use this connection, in the source object,
    //    set the auth object's type value to OAUTH.
    //
    //    * For source code in a Bitbucket repository, the HTTPS clone URL to the
    //    repository that contains the source and the buildspec file. You must connect
    //    your AWS account to your Bitbucket account. Use the AWS CodeBuild console
    //    to start creating a build project. When you use the console to connect
    //    (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your
    //    account page, choose Grant access. (After you have connected to your Bitbucket
    //    account, you do not need to finish creating the build project. You can
    //    leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this
    //    connection, in the source object, set the auth object's type value to
    //    OAUTH.
    Location *string `locationName:"location" type:"string"`

    // Set to true to report the status of a build's start and finish to your source
    // provider. This option is valid only when your source provider is GitHub,
    // GitHub Enterprise, or Bitbucket. If this is set and you use a different source
    // provider, an invalidInputException is thrown.
    //
    // The status of a build triggered by a webhook is always reported to your source
    // provider.
    ReportBuildStatus *bool `locationName:"reportBuildStatus" type:"boolean"`

    // An identifier for this project source.
    SourceIdentifier *string `locationName:"sourceIdentifier" type:"string"`

    // The type of repository that contains the source code to be built. Valid values
    // include:
    //
    //    * BITBUCKET: The source code is in a Bitbucket repository.
    //
    //    * CODECOMMIT: The source code is in an AWS CodeCommit repository.
    //
    //    * CODEPIPELINE: The source code settings are specified in the source action
    //    of a pipeline in AWS CodePipeline.
    //
    //    * GITHUB: The source code is in a GitHub repository.
    //
    //    * GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise repository.
    //
    //    * NO_SOURCE: The project does not have input source code.
    //
    //    * S3: The source code is in an Amazon Simple Storage Service (Amazon S3)
    //    input bucket.
    //
    // Type is a required field
    Type *string `locationName:"type" type:"string" required:"true" enum:"SourceType"`
    // contains filtered or unexported fields
}

Information about the build input source code for the build project.

func (ProjectSource) GoString Uses

func (s ProjectSource) GoString() string

GoString returns the string representation

func (*ProjectSource) SetAuth Uses

func (s *ProjectSource) SetAuth(v *SourceAuth) *ProjectSource

SetAuth sets the Auth field's value.

func (*ProjectSource) SetBuildspec Uses

func (s *ProjectSource) SetBuildspec(v string) *ProjectSource

SetBuildspec sets the Buildspec field's value.

func (*ProjectSource) SetGitCloneDepth Uses

func (s *ProjectSource) SetGitCloneDepth(v int64) *ProjectSource

SetGitCloneDepth sets the GitCloneDepth field's value.

func (*ProjectSource) SetGitSubmodulesConfig Uses

func (s *ProjectSource) SetGitSubmodulesConfig(v *GitSubmodulesConfig) *ProjectSource

SetGitSubmodulesConfig sets the GitSubmodulesConfig field's value.

func (*ProjectSource) SetInsecureSsl Uses

func (s *ProjectSource) SetInsecureSsl(v bool) *ProjectSource

SetInsecureSsl sets the InsecureSsl field's value.

func (*ProjectSource) SetLocation Uses

func (s *ProjectSource) SetLocation(v string) *ProjectSource

SetLocation sets the Location field's value.

func (*ProjectSource) SetReportBuildStatus Uses

func (s *ProjectSource) SetReportBuildStatus(v bool) *ProjectSource

SetReportBuildStatus sets the ReportBuildStatus field's value.

func (*ProjectSource) SetSourceIdentifier Uses

func (s *ProjectSource) SetSourceIdentifier(v string) *ProjectSource

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*ProjectSource) SetType Uses

func (s *ProjectSource) SetType(v string) *ProjectSource

SetType sets the Type field's value.

func (ProjectSource) String Uses

func (s ProjectSource) String() string

String returns the string representation

func (*ProjectSource) Validate Uses

func (s *ProjectSource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProjectSourceVersion Uses

type ProjectSourceVersion struct {

    // An identifier for a source in the build project.
    //
    // SourceIdentifier is a required field
    SourceIdentifier *string `locationName:"sourceIdentifier" type:"string" required:"true"`

    // The source version for the corresponding source identifier. If specified,
    // must be one of:
    //
    //    * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
    //
    //    * For GitHub: the commit ID, pull request ID, branch name, or tag name
    //    that corresponds to the version of the source code you want to build.
    //    If a pull request ID is specified, it must use the format pr/pull-request-ID
    //    (for example, pr/25). If a branch name is specified, the branch's HEAD
    //    commit ID is used. If not specified, the default branch's HEAD commit
    //    ID is used.
    //
    //    * For Bitbucket: the commit ID, branch name, or tag name that corresponds
    //    to the version of the source code you want to build. If a branch name
    //    is specified, the branch's HEAD commit ID is used. If not specified, the
    //    default branch's HEAD commit ID is used.
    //
    //    * For Amazon Simple Storage Service (Amazon S3): the version ID of the
    //    object that represents the build input ZIP file to use.
    //
    // For more information, see Source Version Sample with CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
    // in the AWS CodeBuild User Guide.
    //
    // SourceVersion is a required field
    SourceVersion *string `locationName:"sourceVersion" type:"string" required:"true"`
    // contains filtered or unexported fields
}

A source identifier and its corresponding version.

func (ProjectSourceVersion) GoString Uses

func (s ProjectSourceVersion) GoString() string

GoString returns the string representation

func (*ProjectSourceVersion) SetSourceIdentifier Uses

func (s *ProjectSourceVersion) SetSourceIdentifier(v string) *ProjectSourceVersion

SetSourceIdentifier sets the SourceIdentifier field's value.

func (*ProjectSourceVersion) SetSourceVersion Uses

func (s *ProjectSourceVersion) SetSourceVersion(v string) *ProjectSourceVersion

SetSourceVersion sets the SourceVersion field's value.

func (ProjectSourceVersion) String Uses

func (s ProjectSourceVersion) String() string

String returns the string representation

func (*ProjectSourceVersion) Validate Uses

func (s *ProjectSourceVersion) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResourcePolicyInput Uses

type PutResourcePolicyInput struct {

    // A JSON-formatted resource policy. For more information, see Sharing a Project
    // (https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share)
    // and Sharing a Report Group (https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share)
    // in the AWS CodeBuild User Guide.
    //
    // Policy is a required field
    Policy *string `locationName:"policy" min:"1" type:"string" required:"true"`

    // The ARN of the Project or ReportGroup resource you want to associate with
    // a resource policy.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (PutResourcePolicyInput) GoString Uses

func (s PutResourcePolicyInput) GoString() string

GoString returns the string representation

func (*PutResourcePolicyInput) SetPolicy Uses

func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput

SetPolicy sets the Policy field's value.

func (*PutResourcePolicyInput) SetResourceArn Uses

func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput

SetResourceArn sets the ResourceArn field's value.

func (PutResourcePolicyInput) String Uses

func (s PutResourcePolicyInput) String() string

String returns the string representation

func (*PutResourcePolicyInput) Validate Uses

func (s *PutResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResourcePolicyOutput Uses

type PutResourcePolicyOutput struct {

    // The ARN of the Project or ReportGroup resource that is associated with a
    // resource policy.
    ResourceArn *string `locationName:"resourceArn" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (PutResourcePolicyOutput) GoString Uses

func (s PutResourcePolicyOutput) GoString() string

GoString returns the string representation

func (*PutResourcePolicyOutput) SetResourceArn Uses

func (s *PutResourcePolicyOutput) SetResourceArn(v string) *PutResourcePolicyOutput

SetResourceArn sets the ResourceArn field's value.

func (PutResourcePolicyOutput) String Uses

func (s PutResourcePolicyOutput) String() string

String returns the string representation

type RegistryCredential Uses

type RegistryCredential struct {

    // The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets
    // Manager.
    //
    // The credential can use the name of the credentials only if they exist in
    // your current AWS Region.
    //
    // Credential is a required field
    Credential *string `locationName:"credential" min:"1" type:"string" required:"true"`

    // The service that created the credentials to access a private Docker registry.
    // The valid value, SECRETS_MANAGER, is for AWS Secrets Manager.
    //
    // CredentialProvider is a required field
    CredentialProvider *string `locationName:"credentialProvider" type:"string" required:"true" enum:"CredentialProviderType"`
    // contains filtered or unexported fields
}

Information about credentials that provide access to a private Docker registry. When this is set:

* imagePullCredentialsType must be set to SERVICE_ROLE.

* images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html).

func (RegistryCredential) GoString Uses

func (s RegistryCredential) GoString() string

GoString returns the string representation

func (*RegistryCredential) SetCredential Uses

func (s *RegistryCredential) SetCredential(v string) *RegistryCredential

SetCredential sets the Credential field's value.

func (*RegistryCredential) SetCredentialProvider Uses

func (s *RegistryCredential) SetCredentialProvider(v string) *RegistryCredential

SetCredentialProvider sets the CredentialProvider field's value.

func (RegistryCredential) String Uses

func (s RegistryCredential) String() string

String returns the string representation

func (*RegistryCredential) Validate Uses

func (s *RegistryCredential) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Report Uses

type Report struct {

    // The ARN of the report run.
    Arn *string `locationName:"arn" min:"1" type:"string"`

    // The date and time this report run occurred.
    Created *time.Time `locationName:"created" type:"timestamp"`

    // The ARN of the build run that generated this report.
    ExecutionId *string `locationName:"executionId" type:"string"`

    // The date and time a report expires. A report expires 30 days after it is
    // created. An expired report is not available to view in CodeBuild.
    Expired *time.Time `locationName:"expired" type:"timestamp"`

    // Information about where the raw data used to generate this report was exported.
    ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure"`

    // The name of the report that was run.
    Name *string `locationName:"name" type:"string"`

    // The ARN of the report group associated with this report.
    ReportGroupArn *string `locationName:"reportGroupArn" min:"1" type:"string"`

    // The status of this report.
    Status *string `locationName:"status" type:"string" enum:"ReportStatusType"`

    // A TestReportSummary object that contains information about this test report.
    TestSummary *TestReportSummary `locationName:"testSummary" type:"structure"`

    // A boolean that specifies if this report run is truncated. The list of test
    // cases is truncated after the maximum number of test cases is reached.
    Truncated *bool `locationName:"truncated" type:"boolean"`

    // The type of the report that was run.
    Type *string `locationName:"type" type:"string" enum:"ReportType"`
    // contains filtered or unexported fields
}

Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.

func (Report) GoString Uses

func (s Report) GoString() string

GoString returns the string representation

func (*Report) SetArn Uses

func (s *Report) SetArn(v string) *Report

SetArn sets the Arn field's value.

func (*Report) SetCreated Uses

func (s *Report) SetCreated(v time.Time) *Report

SetCreated sets the Created field's value.

func (*Report) SetExecutionId Uses

func (s *Report) SetExecutionId(v string) *Report

SetExecutionId sets the ExecutionId field's value.

func (*Report) SetExpired Uses

func (s *Report) SetExpired(v time.Time) *Report

SetExpired sets the Expired field's value.

func (*Report) SetExportConfig Uses

func (s *Report) SetExportConfig(v *ReportExportConfig) *Report

SetExportConfig sets the ExportConfig field's value.

func (*Report) SetName Uses

func (s *Report) SetName(v string) *Report

SetName sets the Name field's value.

func (*Report) SetReportGroupArn Uses

func (s *Report) SetReportGroupArn(v string) *Report

SetReportGroupArn sets the ReportGroupArn field's value.

func (*Report) SetStatus Uses

func (s *Report) SetStatus(v string) *Report

SetStatus sets the Status field's value.

func (*Report) SetTestSummary Uses

func (s *Report) SetTestSummary(v *TestReportSummary) *Report

SetTestSummary sets the TestSummary field's value.

func (*Report) SetTruncated Uses

func (s *Report) SetTruncated(v bool) *Report

SetTruncated sets the Truncated field's value.

func (*Report) SetType Uses

func (s *Report) SetType(v string) *Report

SetType sets the Type field's value.

func (Report) String Uses

func (s Report) String() string

String returns the string representation

type ReportExportConfig Uses

type ReportExportConfig struct {

    // The export configuration type. Valid values are:
    //
    //    * S3: The report results are exported to an S3 bucket.
    //
    //    * NO_EXPORT: The report results are not exported.
    ExportConfigType *string `locationName:"exportConfigType" type:"string" enum:"ReportExportConfigType"`

    // A S3ReportExportConfig object that contains information about the S3 bucket
    // where the run of a report is exported.
    S3Destination *S3ReportExportConfig `locationName:"s3Destination" type:"structure"`
    // contains filtered or unexported fields
}

Information about the location where the run of a report is exported.

func (ReportExportConfig) GoString Uses

func (s ReportExportConfig) GoString() string

GoString returns the string representation

func (*ReportExportConfig) SetExportConfigType Uses

func (s *ReportExportConfig) SetExportConfigType(v string) *ReportExportConfig

SetExportConfigType sets the ExportConfigType field's value.

func (*ReportExportConfig) SetS3Destination Uses

func (s *ReportExportConfig) SetS3Destination(v *S3ReportExportConfig) *ReportExportConfig

SetS3Destination sets the S3Destination field's value.

func (ReportExportConfig) String Uses

func (s ReportExportConfig) String() string

String returns the string representation

func (*ReportExportConfig) Validate Uses

func (s *ReportExportConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReportFilter Uses

type ReportFilter struct {

    // The status used to filter reports. You can filter using one status only.
    Status *string `locationName:"status" type:"string" enum:"ReportStatusType"`
    // contains filtered or unexported fields
}

A filter used to return reports with the status specified by the input status parameter.

func (ReportFilter) GoString Uses

func (s ReportFilter) GoString() string

GoString returns the string representation

func (*ReportFilter) SetStatus Uses

func (s *ReportFilter) SetStatus(v string) *ReportFilter

SetStatus sets the Status field's value.

func (ReportFilter) String Uses

func (s ReportFilter) String() string

String returns the string representation

type ReportGroup Uses

type ReportGroup struct {

    // The ARN of a ReportGroup.
    Arn *string `locationName:"arn" min:"1" type:"string"`

    // The date and time this ReportGroup was created.
    Created *time.Time `locationName:"created" type:"timestamp"`

    // Information about the destination where the raw data of this ReportGroup
    // is exported.
    ExportConfig *ReportExportConfig `locationName:"exportConfig" type:"structure"`

    // The date and time this ReportGroup was last modified.
    LastModified *time.Time `locationName:"lastModified" type:"timestamp"`

    // The name of a ReportGroup.
    Name *string `locationName:"name" min:"2" type:"string"`

    // A list of tag key and value pairs associated with this report group.
    //
    // These tags are available for use by AWS services that support AWS CodeBuild
    // report group tags.
    Tags []*Tag `locationName:"tags" type:"list"`

    // The type of the ReportGroup. The one valid value is TEST.
    Type *string `locationName:"type" type:"string" enum:"ReportType"`
    // contains filtered or unexported fields
}

A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files.

func (ReportGroup) GoString Uses

func (s ReportGroup) GoString() string

GoString returns the string representation

func (*ReportGroup) SetArn Uses

func (s *ReportGroup) SetArn(v string) *ReportGroup

SetArn sets the Arn field's value.

func (*ReportGroup) SetCreated Uses

func (s *ReportGroup) SetCreated(v time.Time) *ReportGroup

SetCreated sets the Created field's value.

func (*ReportGroup)