Documentation ¶
Overview ¶
Package codebuild provides the API client, operations, and parameter types for AWS CodeBuild.
CodeBuild ¶
CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests. You pay only for the build time you consume. For more information about CodeBuild, see the CodeBuild User Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type BatchDeleteBuildsInput
- type BatchDeleteBuildsOutput
- type BatchGetBuildBatchesInput
- type BatchGetBuildBatchesOutput
- type BatchGetBuildsInput
- type BatchGetBuildsOutput
- type BatchGetFleetsInput
- type BatchGetFleetsOutput
- type BatchGetProjectsInput
- type BatchGetProjectsOutput
- type BatchGetReportGroupsInput
- type BatchGetReportGroupsOutput
- type BatchGetReportsInput
- type BatchGetReportsOutput
- type Client
- func (c *Client) BatchDeleteBuilds(ctx context.Context, params *BatchDeleteBuildsInput, optFns ...func(*Options)) (*BatchDeleteBuildsOutput, error)
- func (c *Client) BatchGetBuildBatches(ctx context.Context, params *BatchGetBuildBatchesInput, ...) (*BatchGetBuildBatchesOutput, error)
- func (c *Client) BatchGetBuilds(ctx context.Context, params *BatchGetBuildsInput, optFns ...func(*Options)) (*BatchGetBuildsOutput, error)
- func (c *Client) BatchGetFleets(ctx context.Context, params *BatchGetFleetsInput, optFns ...func(*Options)) (*BatchGetFleetsOutput, error)
- func (c *Client) BatchGetProjects(ctx context.Context, params *BatchGetProjectsInput, optFns ...func(*Options)) (*BatchGetProjectsOutput, error)
- func (c *Client) BatchGetReportGroups(ctx context.Context, params *BatchGetReportGroupsInput, ...) (*BatchGetReportGroupsOutput, error)
- func (c *Client) BatchGetReports(ctx context.Context, params *BatchGetReportsInput, optFns ...func(*Options)) (*BatchGetReportsOutput, error)
- func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error)
- func (c *Client) CreateProject(ctx context.Context, params *CreateProjectInput, optFns ...func(*Options)) (*CreateProjectOutput, error)
- func (c *Client) CreateReportGroup(ctx context.Context, params *CreateReportGroupInput, optFns ...func(*Options)) (*CreateReportGroupOutput, error)
- func (c *Client) CreateWebhook(ctx context.Context, params *CreateWebhookInput, optFns ...func(*Options)) (*CreateWebhookOutput, error)
- func (c *Client) DeleteBuildBatch(ctx context.Context, params *DeleteBuildBatchInput, optFns ...func(*Options)) (*DeleteBuildBatchOutput, error)
- func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error)
- func (c *Client) DeleteProject(ctx context.Context, params *DeleteProjectInput, optFns ...func(*Options)) (*DeleteProjectOutput, error)
- func (c *Client) DeleteReport(ctx context.Context, params *DeleteReportInput, optFns ...func(*Options)) (*DeleteReportOutput, error)
- func (c *Client) DeleteReportGroup(ctx context.Context, params *DeleteReportGroupInput, optFns ...func(*Options)) (*DeleteReportGroupOutput, error)
- func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, ...) (*DeleteResourcePolicyOutput, error)
- func (c *Client) DeleteSourceCredentials(ctx context.Context, params *DeleteSourceCredentialsInput, ...) (*DeleteSourceCredentialsOutput, error)
- func (c *Client) DeleteWebhook(ctx context.Context, params *DeleteWebhookInput, optFns ...func(*Options)) (*DeleteWebhookOutput, error)
- func (c *Client) DescribeCodeCoverages(ctx context.Context, params *DescribeCodeCoveragesInput, ...) (*DescribeCodeCoveragesOutput, error)
- func (c *Client) DescribeTestCases(ctx context.Context, params *DescribeTestCasesInput, optFns ...func(*Options)) (*DescribeTestCasesOutput, error)
- func (c *Client) GetReportGroupTrend(ctx context.Context, params *GetReportGroupTrendInput, ...) (*GetReportGroupTrendOutput, error)
- func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
- func (c *Client) ImportSourceCredentials(ctx context.Context, params *ImportSourceCredentialsInput, ...) (*ImportSourceCredentialsOutput, error)
- func (c *Client) InvalidateProjectCache(ctx context.Context, params *InvalidateProjectCacheInput, ...) (*InvalidateProjectCacheOutput, error)
- func (c *Client) ListBuildBatches(ctx context.Context, params *ListBuildBatchesInput, optFns ...func(*Options)) (*ListBuildBatchesOutput, error)
- func (c *Client) ListBuildBatchesForProject(ctx context.Context, params *ListBuildBatchesForProjectInput, ...) (*ListBuildBatchesForProjectOutput, error)
- func (c *Client) ListBuilds(ctx context.Context, params *ListBuildsInput, optFns ...func(*Options)) (*ListBuildsOutput, error)
- func (c *Client) ListBuildsForProject(ctx context.Context, params *ListBuildsForProjectInput, ...) (*ListBuildsForProjectOutput, error)
- func (c *Client) ListCuratedEnvironmentImages(ctx context.Context, params *ListCuratedEnvironmentImagesInput, ...) (*ListCuratedEnvironmentImagesOutput, error)
- func (c *Client) ListFleets(ctx context.Context, params *ListFleetsInput, optFns ...func(*Options)) (*ListFleetsOutput, error)
- func (c *Client) ListProjects(ctx context.Context, params *ListProjectsInput, optFns ...func(*Options)) (*ListProjectsOutput, error)
- func (c *Client) ListReportGroups(ctx context.Context, params *ListReportGroupsInput, optFns ...func(*Options)) (*ListReportGroupsOutput, error)
- func (c *Client) ListReports(ctx context.Context, params *ListReportsInput, optFns ...func(*Options)) (*ListReportsOutput, error)
- func (c *Client) ListReportsForReportGroup(ctx context.Context, params *ListReportsForReportGroupInput, ...) (*ListReportsForReportGroupOutput, error)
- func (c *Client) ListSharedProjects(ctx context.Context, params *ListSharedProjectsInput, optFns ...func(*Options)) (*ListSharedProjectsOutput, error)
- func (c *Client) ListSharedReportGroups(ctx context.Context, params *ListSharedReportGroupsInput, ...) (*ListSharedReportGroupsOutput, error)
- func (c *Client) ListSourceCredentials(ctx context.Context, params *ListSourceCredentialsInput, ...) (*ListSourceCredentialsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
- func (c *Client) RetryBuild(ctx context.Context, params *RetryBuildInput, optFns ...func(*Options)) (*RetryBuildOutput, error)
- func (c *Client) RetryBuildBatch(ctx context.Context, params *RetryBuildBatchInput, optFns ...func(*Options)) (*RetryBuildBatchOutput, error)
- func (c *Client) StartBuild(ctx context.Context, params *StartBuildInput, optFns ...func(*Options)) (*StartBuildOutput, error)
- func (c *Client) StartBuildBatch(ctx context.Context, params *StartBuildBatchInput, optFns ...func(*Options)) (*StartBuildBatchOutput, error)
- func (c *Client) StopBuild(ctx context.Context, params *StopBuildInput, optFns ...func(*Options)) (*StopBuildOutput, error)
- func (c *Client) StopBuildBatch(ctx context.Context, params *StopBuildBatchInput, optFns ...func(*Options)) (*StopBuildBatchOutput, error)
- func (c *Client) UpdateFleet(ctx context.Context, params *UpdateFleetInput, optFns ...func(*Options)) (*UpdateFleetOutput, error)
- func (c *Client) UpdateProject(ctx context.Context, params *UpdateProjectInput, optFns ...func(*Options)) (*UpdateProjectOutput, error)
- func (c *Client) UpdateProjectVisibility(ctx context.Context, params *UpdateProjectVisibilityInput, ...) (*UpdateProjectVisibilityOutput, error)
- func (c *Client) UpdateReportGroup(ctx context.Context, params *UpdateReportGroupInput, optFns ...func(*Options)) (*UpdateReportGroupOutput, error)
- func (c *Client) UpdateWebhook(ctx context.Context, params *UpdateWebhookInput, optFns ...func(*Options)) (*UpdateWebhookOutput, error)
- type CreateFleetInput
- type CreateFleetOutput
- type CreateProjectInput
- type CreateProjectOutput
- type CreateReportGroupInput
- type CreateReportGroupOutput
- type CreateWebhookInput
- type CreateWebhookOutput
- type DeleteBuildBatchInput
- type DeleteBuildBatchOutput
- type DeleteFleetInput
- type DeleteFleetOutput
- type DeleteProjectInput
- type DeleteProjectOutput
- type DeleteReportGroupInput
- type DeleteReportGroupOutput
- type DeleteReportInput
- type DeleteReportOutput
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteSourceCredentialsInput
- type DeleteSourceCredentialsOutput
- type DeleteWebhookInput
- type DeleteWebhookOutput
- type DescribeCodeCoveragesAPIClient
- type DescribeCodeCoveragesInput
- type DescribeCodeCoveragesOutput
- type DescribeCodeCoveragesPaginator
- type DescribeCodeCoveragesPaginatorOptions
- type DescribeTestCasesAPIClient
- type DescribeTestCasesInput
- type DescribeTestCasesOutput
- type DescribeTestCasesPaginator
- type DescribeTestCasesPaginatorOptions
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetReportGroupTrendInput
- type GetReportGroupTrendOutput
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type HTTPClient
- type HTTPSignerV4
- type ImportSourceCredentialsInput
- type ImportSourceCredentialsOutput
- type InvalidateProjectCacheInput
- type InvalidateProjectCacheOutput
- type ListBuildBatchesAPIClient
- type ListBuildBatchesForProjectAPIClient
- type ListBuildBatchesForProjectInput
- type ListBuildBatchesForProjectOutput
- type ListBuildBatchesForProjectPaginator
- type ListBuildBatchesForProjectPaginatorOptions
- type ListBuildBatchesInput
- type ListBuildBatchesOutput
- type ListBuildBatchesPaginator
- type ListBuildBatchesPaginatorOptions
- type ListBuildsAPIClient
- type ListBuildsForProjectAPIClient
- type ListBuildsForProjectInput
- type ListBuildsForProjectOutput
- type ListBuildsForProjectPaginator
- type ListBuildsForProjectPaginatorOptions
- type ListBuildsInput
- type ListBuildsOutput
- type ListBuildsPaginator
- type ListBuildsPaginatorOptions
- type ListCuratedEnvironmentImagesInput
- type ListCuratedEnvironmentImagesOutput
- type ListFleetsAPIClient
- type ListFleetsInput
- type ListFleetsOutput
- type ListFleetsPaginator
- type ListFleetsPaginatorOptions
- type ListProjectsAPIClient
- type ListProjectsInput
- type ListProjectsOutput
- type ListProjectsPaginator
- type ListProjectsPaginatorOptions
- type ListReportGroupsAPIClient
- type ListReportGroupsInput
- type ListReportGroupsOutput
- type ListReportGroupsPaginator
- type ListReportGroupsPaginatorOptions
- type ListReportsAPIClient
- type ListReportsForReportGroupAPIClient
- type ListReportsForReportGroupInput
- type ListReportsForReportGroupOutput
- type ListReportsForReportGroupPaginator
- type ListReportsForReportGroupPaginatorOptions
- type ListReportsInput
- type ListReportsOutput
- type ListReportsPaginator
- type ListReportsPaginatorOptions
- type ListSharedProjectsAPIClient
- type ListSharedProjectsInput
- type ListSharedProjectsOutput
- type ListSharedProjectsPaginator
- type ListSharedProjectsPaginatorOptions
- type ListSharedReportGroupsAPIClient
- type ListSharedReportGroupsInput
- type ListSharedReportGroupsOutput
- type ListSharedReportGroupsPaginator
- type ListSharedReportGroupsPaginatorOptions
- type ListSourceCredentialsInput
- type ListSourceCredentialsOutput
- type Options
- type PutResourcePolicyInput
- type PutResourcePolicyOutput
- type ResolveEndpoint
- type RetryBuildBatchInput
- type RetryBuildBatchOutput
- type RetryBuildInput
- type RetryBuildOutput
- type StartBuildBatchInput
- type StartBuildBatchOutput
- type StartBuildInput
- type StartBuildOutput
- type StopBuildBatchInput
- type StopBuildBatchOutput
- type StopBuildInput
- type StopBuildOutput
- type UpdateFleetInput
- type UpdateFleetOutput
- type UpdateProjectInput
- type UpdateProjectOutput
- type UpdateProjectVisibilityInput
- type UpdateProjectVisibilityOutput
- type UpdateReportGroupInput
- type UpdateReportGroupOutput
- type UpdateWebhookInput
- type UpdateWebhookOutput
Constants ¶
const ServiceAPIVersion = "2016-10-06"
const ServiceID = "CodeBuild"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type BatchDeleteBuildsInput ¶
type BatchDeleteBuildsInput struct { // The IDs of the builds to delete. // // This member is required. Ids []string // contains filtered or unexported fields }
type BatchDeleteBuildsOutput ¶
type BatchDeleteBuildsOutput struct { // The IDs of the builds that were successfully deleted. BuildsDeleted []string // Information about any builds that could not be successfully deleted. BuildsNotDeleted []types.BuildNotDeleted // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetBuildBatchesInput ¶
type BatchGetBuildBatchesInput struct { // An array that contains the batch build identifiers to retrieve. // // This member is required. Ids []string // contains filtered or unexported fields }
type BatchGetBuildBatchesOutput ¶
type BatchGetBuildBatchesOutput struct { // An array of BuildBatch objects that represent the retrieved batch builds. BuildBatches []types.BuildBatch // An array that contains the identifiers of any batch builds that are not found. BuildBatchesNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetBuildsInput ¶
type BatchGetBuildsInput struct { // The IDs of the builds. // // This member is required. Ids []string // contains filtered or unexported fields }
type BatchGetBuildsOutput ¶
type BatchGetBuildsOutput struct { // Information about the requested builds. Builds []types.Build // The IDs of builds for which information could not be found. BuildsNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetFleetsInput ¶
type BatchGetFleetsInput struct { // The names or ARNs of the compute fleets. // // This member is required. Names []string // contains filtered or unexported fields }
type BatchGetFleetsOutput ¶
type BatchGetFleetsOutput struct { // Information about the requested compute fleets. Fleets []types.Fleet // The names of compute fleets for which information could not be found. FleetsNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetProjectsInput ¶
type BatchGetProjectsInput struct { // The names or ARNs of the build projects. To get information about a project // shared with your Amazon Web Services account, its ARN must be specified. You // cannot specify a shared project using its name. // // This member is required. Names []string // contains filtered or unexported fields }
type BatchGetProjectsOutput ¶
type BatchGetProjectsOutput struct { // Information about the requested build projects. Projects []types.Project // The names of build projects for which information could not be found. ProjectsNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetReportGroupsInput ¶
type BatchGetReportGroupsInput struct { // An array of report group ARNs that identify the report groups to return. // // This member is required. ReportGroupArns []string // contains filtered or unexported fields }
type BatchGetReportGroupsOutput ¶
type BatchGetReportGroupsOutput struct { // The array of report groups returned by BatchGetReportGroups . ReportGroups []types.ReportGroup // An array of ARNs passed to BatchGetReportGroups that are not associated with a // ReportGroup . ReportGroupsNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type BatchGetReportsInput ¶
type BatchGetReportsInput struct { // An array of ARNs that identify the Report objects to return. // // This member is required. ReportArns []string // contains filtered or unexported fields }
type BatchGetReportsOutput ¶
type BatchGetReportsOutput struct { // The array of Report objects returned by BatchGetReports . Reports []types.Report // An array of ARNs passed to BatchGetReportGroups that are not associated with a // Report . ReportsNotFound []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS CodeBuild.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) BatchDeleteBuilds ¶
func (c *Client) BatchDeleteBuilds(ctx context.Context, params *BatchDeleteBuildsInput, optFns ...func(*Options)) (*BatchDeleteBuildsOutput, error)
Deletes one or more builds.
func (*Client) BatchGetBuildBatches ¶
func (c *Client) BatchGetBuildBatches(ctx context.Context, params *BatchGetBuildBatchesInput, optFns ...func(*Options)) (*BatchGetBuildBatchesOutput, error)
Retrieves information about one or more batch builds.
func (*Client) BatchGetBuilds ¶
func (c *Client) BatchGetBuilds(ctx context.Context, params *BatchGetBuildsInput, optFns ...func(*Options)) (*BatchGetBuildsOutput, error)
Gets information about one or more builds.
func (*Client) BatchGetFleets ¶
func (c *Client) BatchGetFleets(ctx context.Context, params *BatchGetFleetsInput, optFns ...func(*Options)) (*BatchGetFleetsOutput, error)
Gets information about one or more compute fleets.
func (*Client) BatchGetProjects ¶
func (c *Client) BatchGetProjects(ctx context.Context, params *BatchGetProjectsInput, optFns ...func(*Options)) (*BatchGetProjectsOutput, error)
Gets information about one or more build projects.
func (*Client) BatchGetReportGroups ¶
func (c *Client) BatchGetReportGroups(ctx context.Context, params *BatchGetReportGroupsInput, optFns ...func(*Options)) (*BatchGetReportGroupsOutput, error)
Returns an array of report groups.
func (*Client) BatchGetReports ¶
func (c *Client) BatchGetReports(ctx context.Context, params *BatchGetReportsInput, optFns ...func(*Options)) (*BatchGetReportsOutput, error)
Returns an array of reports.
func (*Client) CreateFleet ¶
func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error)
Creates a compute fleet.
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, params *CreateProjectInput, optFns ...func(*Options)) (*CreateProjectOutput, error)
Creates a build project.
func (*Client) CreateReportGroup ¶
func (c *Client) CreateReportGroup(ctx context.Context, params *CreateReportGroupInput, optFns ...func(*Options)) (*CreateReportGroupOutput, error)
Creates a report group. A report group contains a collection of reports.
func (*Client) CreateWebhook ¶
func (c *Client) CreateWebhook(ctx context.Context, params *CreateWebhookInput, optFns ...func(*Options)) (*CreateWebhookOutput, error)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables CodeBuild to start rebuilding the source code every time a code change is pushed to the repository.
If you enable webhooks for an CodeBuild project, and the project is used as a build step in CodePipeline, then two identical builds are created for each commit. One build is triggered through webhooks, and one through CodePipeline. Because billing is on a per-build basis, you are billed for both builds. Therefore, if you are using CodePipeline, we recommend that you disable webhooks in CodeBuild. In the CodeBuild console, clear the Webhook box. For more information, see step 5 in Change a Build Project's Settings.
func (*Client) DeleteBuildBatch ¶
func (c *Client) DeleteBuildBatch(ctx context.Context, params *DeleteBuildBatchInput, optFns ...func(*Options)) (*DeleteBuildBatchOutput, error)
Deletes a batch build.
func (*Client) DeleteFleet ¶
func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error)
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, params *DeleteProjectInput, optFns ...func(*Options)) (*DeleteProjectOutput, error)
Deletes a build project. When you delete a project, its builds are not
deleted.
func (*Client) DeleteReport ¶
func (c *Client) DeleteReport(ctx context.Context, params *DeleteReportInput, optFns ...func(*Options)) (*DeleteReportOutput, error)
Deletes a report.
func (*Client) DeleteReportGroup ¶
func (c *Client) DeleteReportGroup(ctx context.Context, params *DeleteReportGroupInput, optFns ...func(*Options)) (*DeleteReportGroupOutput, error)
Deletes a report group. Before you delete a report group, you must delete its reports.
func (*Client) DeleteResourcePolicy ¶
func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error)
Deletes a resource policy that is identified by its resource ARN.
func (*Client) DeleteSourceCredentials ¶
func (c *Client) DeleteSourceCredentials(ctx context.Context, params *DeleteSourceCredentialsInput, optFns ...func(*Options)) (*DeleteSourceCredentialsOutput, error)
Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials.
func (*Client) DeleteWebhook ¶
func (c *Client) DeleteWebhook(ctx context.Context, params *DeleteWebhookInput, optFns ...func(*Options)) (*DeleteWebhookOutput, error)
For an existing CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops CodeBuild from rebuilding the source code every time a code change is pushed to the repository.
func (*Client) DescribeCodeCoverages ¶
func (c *Client) DescribeCodeCoverages(ctx context.Context, params *DescribeCodeCoveragesInput, optFns ...func(*Options)) (*DescribeCodeCoveragesOutput, error)
Retrieves one or more code coverage reports.
func (*Client) DescribeTestCases ¶
func (c *Client) DescribeTestCases(ctx context.Context, params *DescribeTestCasesInput, optFns ...func(*Options)) (*DescribeTestCasesOutput, error)
Returns a list of details about test cases for a report.
func (*Client) GetReportGroupTrend ¶
func (c *Client) GetReportGroupTrend(ctx context.Context, params *GetReportGroupTrendInput, optFns ...func(*Options)) (*GetReportGroupTrendOutput, error)
Analyzes and accumulates test report values for the specified test reports.
func (*Client) GetResourcePolicy ¶
func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
Gets a resource policy that is identified by its resource ARN.
func (*Client) ImportSourceCredentials ¶
func (c *Client) ImportSourceCredentials(ctx context.Context, params *ImportSourceCredentialsInput, optFns ...func(*Options)) (*ImportSourceCredentialsOutput, error)
Imports the source repository credentials for an CodeBuild project that has
its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
func (*Client) InvalidateProjectCache ¶
func (c *Client) InvalidateProjectCache(ctx context.Context, params *InvalidateProjectCacheInput, optFns ...func(*Options)) (*InvalidateProjectCacheOutput, error)
Resets the cache for a project.
func (*Client) ListBuildBatches ¶
func (c *Client) ListBuildBatches(ctx context.Context, params *ListBuildBatchesInput, optFns ...func(*Options)) (*ListBuildBatchesOutput, error)
Retrieves the identifiers of your build batches in the current region.
func (*Client) ListBuildBatchesForProject ¶
func (c *Client) ListBuildBatchesForProject(ctx context.Context, params *ListBuildBatchesForProjectInput, optFns ...func(*Options)) (*ListBuildBatchesForProjectOutput, error)
Retrieves the identifiers of the build batches for a specific project.
func (*Client) ListBuilds ¶
func (c *Client) ListBuilds(ctx context.Context, params *ListBuildsInput, optFns ...func(*Options)) (*ListBuildsOutput, error)
Gets a list of build IDs, with each build ID representing a single build.
func (*Client) ListBuildsForProject ¶
func (c *Client) ListBuildsForProject(ctx context.Context, params *ListBuildsForProjectInput, optFns ...func(*Options)) (*ListBuildsForProjectOutput, error)
Gets a list of build identifiers for the specified build project, with each build identifier representing a single build.
func (*Client) ListCuratedEnvironmentImages ¶
func (c *Client) ListCuratedEnvironmentImages(ctx context.Context, params *ListCuratedEnvironmentImagesInput, optFns ...func(*Options)) (*ListCuratedEnvironmentImagesOutput, error)
Gets information about Docker images that are managed by CodeBuild.
func (*Client) ListFleets ¶
func (c *Client) ListFleets(ctx context.Context, params *ListFleetsInput, optFns ...func(*Options)) (*ListFleetsOutput, error)
Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, params *ListProjectsInput, optFns ...func(*Options)) (*ListProjectsOutput, error)
Gets a list of build project names, with each build project name representing a single build project.
func (*Client) ListReportGroups ¶
func (c *Client) ListReportGroups(ctx context.Context, params *ListReportGroupsInput, optFns ...func(*Options)) (*ListReportGroupsOutput, error)
Gets a list ARNs for the report groups in the current Amazon Web Services
account.
func (*Client) ListReports ¶
func (c *Client) ListReports(ctx context.Context, params *ListReportsInput, optFns ...func(*Options)) (*ListReportsOutput, error)
Returns a list of ARNs for the reports in the current Amazon Web Services
account.
func (*Client) ListReportsForReportGroup ¶
func (c *Client) ListReportsForReportGroup(ctx context.Context, params *ListReportsForReportGroupInput, optFns ...func(*Options)) (*ListReportsForReportGroupOutput, error)
Returns a list of ARNs for the reports that belong to a ReportGroup .
func (*Client) ListSharedProjects ¶
func (c *Client) ListSharedProjects(ctx context.Context, params *ListSharedProjectsInput, optFns ...func(*Options)) (*ListSharedProjectsOutput, error)
Gets a list of projects that are shared with other Amazon Web Services
accounts or users.
func (*Client) ListSharedReportGroups ¶
func (c *Client) ListSharedReportGroups(ctx context.Context, params *ListSharedReportGroupsInput, optFns ...func(*Options)) (*ListSharedReportGroupsOutput, error)
Gets a list of report groups that are shared with other Amazon Web Services
accounts or users.
func (*Client) ListSourceCredentials ¶
func (c *Client) ListSourceCredentials(ctx context.Context, params *ListSourceCredentialsInput, optFns ...func(*Options)) (*ListSourceCredentialsOutput, error)
Returns a list of SourceCredentialsInfo objects.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PutResourcePolicy ¶
func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error)
Stores a resource policy for the ARN of a Project or ReportGroup object.
func (*Client) RetryBuild ¶
func (c *Client) RetryBuild(ctx context.Context, params *RetryBuildInput, optFns ...func(*Options)) (*RetryBuildOutput, error)
Restarts a build.
func (*Client) RetryBuildBatch ¶
func (c *Client) RetryBuildBatch(ctx context.Context, params *RetryBuildBatchInput, optFns ...func(*Options)) (*RetryBuildBatchOutput, error)
Restarts a failed batch build. Only batch builds that have failed can be retried.
func (*Client) StartBuild ¶
func (c *Client) StartBuild(ctx context.Context, params *StartBuildInput, optFns ...func(*Options)) (*StartBuildOutput, error)
Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.
You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.
func (*Client) StartBuildBatch ¶
func (c *Client) StartBuildBatch(ctx context.Context, params *StartBuildBatchInput, optFns ...func(*Options)) (*StartBuildBatchOutput, error)
Starts a batch build for a project.
func (*Client) StopBuild ¶
func (c *Client) StopBuild(ctx context.Context, params *StopBuildInput, optFns ...func(*Options)) (*StopBuildOutput, error)
Attempts to stop running a build.
func (*Client) StopBuildBatch ¶
func (c *Client) StopBuildBatch(ctx context.Context, params *StopBuildBatchInput, optFns ...func(*Options)) (*StopBuildBatchOutput, error)
Stops a running batch build.
func (*Client) UpdateFleet ¶
func (c *Client) UpdateFleet(ctx context.Context, params *UpdateFleetInput, optFns ...func(*Options)) (*UpdateFleetOutput, error)
Updates a compute fleet.
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, params *UpdateProjectInput, optFns ...func(*Options)) (*UpdateProjectOutput, error)
Changes the settings of a build project.
func (*Client) UpdateProjectVisibility ¶
func (c *Client) UpdateProjectVisibility(ctx context.Context, params *UpdateProjectVisibilityInput, optFns ...func(*Options)) (*UpdateProjectVisibilityOutput, error)
Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projectsin the CodeBuild User Guide.
The following should be kept in mind when making your projects public:
All of a project's build results, logs, and artifacts, including builds that were run when the project was private, are available to the general public.
All build logs and artifacts are available to the public. Environment variables, source code, and other sensitive information may have been output to the build logs and artifacts. You must be careful about what information is output to the build logs. Some best practice are:
Do not store sensitive values in environment variables. We recommend that you use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to store sensitive values.
Follow Best practices for using webhooksin the CodeBuild User Guide to limit which entities can trigger a build, and do not store the buildspec in the project itself, to ensure that your webhooks are as secure as possible.
A malicious user can use public builds to distribute malicious artifacts. We recommend that you review all pull requests to verify that the pull request is a legitimate change. We also recommend that you validate any artifacts with their checksums to make sure that the correct artifacts are being downloaded.
func (*Client) UpdateReportGroup ¶
func (c *Client) UpdateReportGroup(ctx context.Context, params *UpdateReportGroupInput, optFns ...func(*Options)) (*UpdateReportGroupOutput, error)
Updates a report group.
func (*Client) UpdateWebhook ¶
func (c *Client) UpdateWebhook(ctx context.Context, params *UpdateWebhookInput, optFns ...func(*Options)) (*UpdateWebhookOutput, error)
Updates the webhook associated with an CodeBuild build project.
If you use Bitbucket for your repository, rotateSecret is ignored.
type CreateFleetInput ¶
type CreateFleetInput struct { // The initial number of machines allocated to the fleet, which defines the number // of builds that can run in parallel. // // This member is required. BaseCapacity *int32 // Information about the compute resources the compute fleet uses. Available // values include: // // - BUILD_GENERAL1_SMALL : Use up to 3 GB memory and 2 vCPUs for builds. // // - BUILD_GENERAL1_MEDIUM : Use up to 7 GB memory and 4 vCPUs for builds. // // - BUILD_GENERAL1_LARGE : Use up to 16 GB memory and 8 vCPUs for builds, // depending on your environment type. // // - BUILD_GENERAL1_XLARGE : Use up to 70 GB memory and 36 vCPUs for builds, // depending on your environment type. // // - BUILD_GENERAL1_2XLARGE : Use up to 145 GB memory, 72 vCPUs, and 824 GB of // SSD storage for builds. This compute type supports Docker images up to 100 GB // uncompressed. // // If you use BUILD_GENERAL1_SMALL : // // - For environment type LINUX_CONTAINER , you can use up to 3 GB memory and 2 // vCPUs for builds. // // - For environment type LINUX_GPU_CONTAINER , you can use up to 16 GB memory, 4 // vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. // // - For environment type ARM_CONTAINER , you can use up to 4 GB memory and 2 // vCPUs on ARM-based processors for builds. // // If you use BUILD_GENERAL1_LARGE : // // - For environment type LINUX_CONTAINER , you can use up to 15 GB memory and 8 // vCPUs for builds. // // - For environment type LINUX_GPU_CONTAINER , you can use up to 255 GB memory, // 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. // // - For environment type ARM_CONTAINER , you can use up to 16 GB memory and 8 // vCPUs on ARM-based processors for builds. // // For more information, see [Build environment compute types] in the CodeBuild User Guide. // // [Build environment compute types]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html // // This member is required. ComputeType types.ComputeType // The environment type of the compute fleet. // // - The environment type ARM_CONTAINER is available only in regions US East (N. // Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific // (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), // EU (Frankfurt), and South America (São Paulo). // // - The environment type LINUX_CONTAINER is available only in regions US East // (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), // Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South // America (São Paulo), and Asia Pacific (Mumbai). // // - The environment type LINUX_GPU_CONTAINER is available only in regions US // East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU // (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). // // - The environment type WINDOWS_SERVER_2019_CONTAINER is available only in // regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific // (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). // // - The environment type WINDOWS_SERVER_2022_CONTAINER is available only in // regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), // EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific // (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). // // For more information, see [Build environment compute types] in the CodeBuild user guide. // // [Build environment compute types]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html // // This member is required. EnvironmentType types.EnvironmentType // The name of the compute fleet. // // This member is required. Name *string // The service role associated with the compute fleet. FleetServiceRole *string // The compute fleet overflow behavior. // // - For overflow behavior QUEUE , your overflow builds need to wait on the // existing fleet instance to become available. // // - For overflow behavior ON_DEMAND , your overflow builds run on CodeBuild // on-demand. // // If you choose to set your overflow behavior to on-demand while creating a // VPC-connected fleet, make sure that you add the required VPC permissions to your // project service role. For more information, see [Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface]. // // [Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface OverflowBehavior types.FleetOverflowBehavior // The scaling configuration of the compute fleet. ScalingConfiguration *types.ScalingConfigurationInput // A list of tag key and value pairs associated with this compute fleet. // // These tags are available for use by Amazon Web Services services that support // CodeBuild build project tags. Tags []types.Tag // Information about the VPC configuration that CodeBuild accesses. VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type CreateFleetOutput ¶
type CreateFleetOutput struct { // Information about the compute fleet Fleet *types.Fleet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateProjectInput ¶
type CreateProjectInput struct { // Information about the build output artifacts for the build project. // // This member is required. Artifacts *types.ProjectArtifacts // Information about the build environment for the build project. // // This member is required. Environment *types.ProjectEnvironment // The name of the build project. // // This member is required. Name *string // The ARN of the IAM role that enables CodeBuild to interact with dependent // Amazon Web Services services on behalf of the Amazon Web Services account. // // This member is required. ServiceRole *string // Information about the build input source code for the build project. // // This member is required. Source *types.ProjectSource // Set this to true to generate a publicly accessible URL for your project's build // badge. BadgeEnabled *bool // A ProjectBuildBatchConfig object that defines the batch build options for the project. BuildBatchConfig *types.ProjectBuildBatchConfig // Stores recently used information so that it can be quickly accessed at a later // time. Cache *types.ProjectCache // The maximum number of concurrent builds that are allowed for this project. // // New builds are only started if the current number of builds is less than or // equal to this limit. If the current build count meets this limit, new builds are // throttled and are not run. ConcurrentBuildLimit *int32 // A description that makes the build project easy to identify. Description *string // The Key Management Service customer master key (CMK) to be used for encrypting // the build output artifacts. // // You can use a cross-account KMS key to encrypt the build output artifacts if // your service role has permission to that key. // // You can specify either the Amazon Resource Name (ARN) of the CMK or, if // available, the CMK's alias (using the format alias/ ). EncryptionKey *string // 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 []types.ProjectFileSystemLocation // Information about logs for the build project. These can be logs in CloudWatch // Logs, logs uploaded to a specified S3 bucket, or both. LogsConfig *types.LogsConfig // The number of minutes a build is allowed to be queued before it times out. QueuedTimeoutInMinutes *int32 // An array of ProjectArtifacts objects. SecondaryArtifacts []types.ProjectArtifacts // 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 []types.ProjectSourceVersion // An array of ProjectSource objects. SecondarySources []types.ProjectSource // A version of the build input to be built for this project. If not specified, // the latest version is used. If specified, it must be one of: // // - For CodeCommit: the commit ID, branch, or Git tag to use. // // - For GitHub: the commit ID, pull request ID, branch name, or tag name that // corresponds to the version of the source code you want to build. If a pull // request ID is specified, it must use the format pr/pull-request-ID (for // example pr/25 ). If a branch name is specified, the branch's HEAD commit ID is // used. If not specified, the default branch's HEAD commit ID is used. // // - For GitLab: the commit ID, branch, or Git tag to use. // // - For Bitbucket: the commit ID, branch name, or tag name that corresponds to // the version of the source code you want to build. If a branch name is specified, // the branch's HEAD commit ID is used. If not specified, the default branch's HEAD // commit ID is used. // // - For Amazon S3: the version ID of the object that represents the build input // ZIP file to use. // // If sourceVersion is specified at the build level, then that version takes // precedence over this sourceVersion (at the project level). // // For more information, see [Source Version Sample with CodeBuild] in the CodeBuild User Guide. // // [Source Version Sample with CodeBuild]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html SourceVersion *string // A list of tag key and value pairs associated with this build project. // // These tags are available for use by Amazon Web Services services that support // CodeBuild build project tags. Tags []types.Tag // How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before // it times out any build that has not been marked as completed. The default is 60 // minutes. TimeoutInMinutes *int32 // VpcConfig enables CodeBuild to access resources in an Amazon VPC. // // If you're using compute fleets during project creation, do not provide // vpcConfig. VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type CreateProjectOutput ¶
type CreateProjectOutput struct { // Information about the build project that was created. Project *types.Project // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateReportGroupInput ¶
type CreateReportGroupInput struct { // A ReportExportConfig object that contains information about where the report // group test results are exported. // // This member is required. ExportConfig *types.ReportExportConfig // The name of the report group. // // This member is required. Name *string // The type of report group. // // This member is required. Type types.ReportType // A list of tag key and value pairs associated with this report group. // // These tags are available for use by Amazon Web Services services that support // CodeBuild report group tags. Tags []types.Tag // contains filtered or unexported fields }
type CreateReportGroupOutput ¶
type CreateReportGroupOutput struct { // Information about the report group that was created. ReportGroup *types.ReportGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateWebhookInput ¶
type CreateWebhookInput struct { // The name of the CodeBuild project. // // This member is required. ProjectName *string // 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 // Specifies the type of build this webhook will trigger. BuildType types.WebhookBuildType // An array of arrays of WebhookFilter objects used to determine which webhooks // are triggered. At least one WebhookFilter in the array must specify EVENT as // its type . // // For a build to be triggered, at least one filter group in the filterGroups // array must pass. For a filter group to pass, each of its filters must pass. FilterGroups [][]types.WebhookFilter // contains filtered or unexported fields }
type CreateWebhookOutput ¶
type CreateWebhookOutput struct { // Information about a webhook that connects repository events to a build project // in CodeBuild. Webhook *types.Webhook // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBuildBatchInput ¶
type DeleteBuildBatchInput struct { // The identifier of the batch build to delete. // // This member is required. Id *string // contains filtered or unexported fields }
type DeleteBuildBatchOutput ¶
type DeleteBuildBatchOutput struct { // An array of strings that contain the identifiers of the builds that were // deleted. BuildsDeleted []string // An array of BuildNotDeleted objects that specify the builds that could not be // deleted. BuildsNotDeleted []types.BuildNotDeleted // The status code. StatusCode *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFleetInput ¶
type DeleteFleetInput struct { // The ARN of the compute fleet. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteFleetOutput ¶
type DeleteFleetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProjectInput ¶
type DeleteProjectInput struct { // The name of the build project. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteReportGroupInput ¶
type DeleteReportGroupInput struct { // The ARN of the report group to delete. // // This member is required. Arn *string // If true , deletes any reports that belong to a report group before deleting the // report group. // // If false , you must delete any reports in the report group. Use [ListReportsForReportGroup] to get the // reports in a report group. Use [DeleteReport]to delete the reports. If you call // DeleteReportGroup for a report group that contains one or more reports, an // exception is thrown. // // [ListReportsForReportGroup]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html // [DeleteReport]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html DeleteReports bool // contains filtered or unexported fields }
type DeleteReportGroupOutput ¶
type DeleteReportGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteReportInput ¶
type DeleteReportInput struct { // The ARN of the report to delete. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteReportOutput ¶
type DeleteReportOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResourcePolicyInput ¶
type DeleteResourcePolicyInput struct { // The ARN of the resource that is associated with the resource policy. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type DeleteResourcePolicyOutput ¶
type DeleteResourcePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSourceCredentialsInput ¶
type DeleteSourceCredentialsInput struct { // The Amazon Resource Name (ARN) of the token. // // This member is required. Arn *string // contains filtered or unexported fields }
type DeleteSourceCredentialsOutput ¶
type DeleteSourceCredentialsOutput struct { // The Amazon Resource Name (ARN) of the token. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteWebhookInput ¶
type DeleteWebhookInput struct { // The name of the CodeBuild project. // // This member is required. ProjectName *string // contains filtered or unexported fields }
type DeleteWebhookOutput ¶
type DeleteWebhookOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeCodeCoveragesAPIClient ¶
type DescribeCodeCoveragesAPIClient interface {
DescribeCodeCoverages(context.Context, *DescribeCodeCoveragesInput, ...func(*Options)) (*DescribeCodeCoveragesOutput, error)
}
DescribeCodeCoveragesAPIClient is a client that implements the DescribeCodeCoverages operation.
type DescribeCodeCoveragesInput ¶
type DescribeCodeCoveragesInput struct { // The ARN of the report for which test cases are returned. // // This member is required. ReportArn *string // The maximum line coverage percentage to report. MaxLineCoveragePercentage *float64 // The maximum number of results to return. MaxResults *int32 // The minimum line coverage percentage to report. MinLineCoveragePercentage *float64 // The nextToken value returned from a previous call to DescribeCodeCoverages . // This specifies the next item to return. To return the beginning of the list, // exclude this parameter. NextToken *string // Specifies how the results are sorted. Possible values are: // // FILE_PATH The results are sorted by file path. // // LINE_COVERAGE_PERCENTAGE The results are sorted by the percentage of lines that // are covered. SortBy types.ReportCodeCoverageSortByType // Specifies if the results are sorted in ascending or descending order. SortOrder types.SortOrderType // contains filtered or unexported fields }
type DescribeCodeCoveragesOutput ¶
type DescribeCodeCoveragesOutput struct { // An array of CodeCoverage objects that contain the results. CodeCoverages []types.CodeCoverage // If there are more items to return, this contains a token that is passed to a // subsequent call to DescribeCodeCoverages to retrieve the next set of items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeCodeCoveragesPaginator ¶
type DescribeCodeCoveragesPaginator struct {
// contains filtered or unexported fields
}
DescribeCodeCoveragesPaginator is a paginator for DescribeCodeCoverages
func NewDescribeCodeCoveragesPaginator ¶
func NewDescribeCodeCoveragesPaginator(client DescribeCodeCoveragesAPIClient, params *DescribeCodeCoveragesInput, optFns ...func(*DescribeCodeCoveragesPaginatorOptions)) *DescribeCodeCoveragesPaginator
NewDescribeCodeCoveragesPaginator returns a new DescribeCodeCoveragesPaginator
func (*DescribeCodeCoveragesPaginator) HasMorePages ¶
func (p *DescribeCodeCoveragesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeCodeCoveragesPaginator) NextPage ¶
func (p *DescribeCodeCoveragesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeCodeCoveragesOutput, error)
NextPage retrieves the next DescribeCodeCoverages page.
type DescribeCodeCoveragesPaginatorOptions ¶
type DescribeCodeCoveragesPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeCodeCoveragesPaginatorOptions is the paginator options for DescribeCodeCoverages
type DescribeTestCasesAPIClient ¶
type DescribeTestCasesAPIClient interface {
DescribeTestCases(context.Context, *DescribeTestCasesInput, ...func(*Options)) (*DescribeTestCasesOutput, error)
}
DescribeTestCasesAPIClient is a client that implements the DescribeTestCases operation.
type DescribeTestCasesInput ¶
type DescribeTestCasesInput struct { // The ARN of the report for which test cases are returned. // // This member is required. ReportArn *string // A TestCaseFilter object used to filter the returned reports. Filter *types.TestCaseFilter // 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 *int32 // 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 // contains filtered or unexported fields }
type DescribeTestCasesOutput ¶
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 // The returned list of test cases. TestCases []types.TestCase // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeTestCasesPaginator ¶
type DescribeTestCasesPaginator struct {
// contains filtered or unexported fields
}
DescribeTestCasesPaginator is a paginator for DescribeTestCases
func NewDescribeTestCasesPaginator ¶
func NewDescribeTestCasesPaginator(client DescribeTestCasesAPIClient, params *DescribeTestCasesInput, optFns ...func(*DescribeTestCasesPaginatorOptions)) *DescribeTestCasesPaginator
NewDescribeTestCasesPaginator returns a new DescribeTestCasesPaginator
func (*DescribeTestCasesPaginator) HasMorePages ¶
func (p *DescribeTestCasesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeTestCasesPaginator) NextPage ¶
func (p *DescribeTestCasesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeTestCasesOutput, error)
NextPage retrieves the next DescribeTestCases page.
type DescribeTestCasesPaginatorOptions ¶
type DescribeTestCasesPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeTestCasesPaginatorOptions is the paginator options for DescribeTestCases
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetReportGroupTrendInput ¶
type GetReportGroupTrendInput struct { // The ARN of the report group that contains the reports to analyze. // // This member is required. ReportGroupArn *string // The test report value to accumulate. This must be one of the following values: // // Test reports: DURATION Accumulate the test run times for the specified reports. // // PASS_RATE Accumulate the percentage of tests that passed for the specified test // reports. // // TOTAL Accumulate the total number of tests for the specified test reports. // // Code coverage reports: BRANCH_COVERAGE Accumulate the branch coverage // percentages for the specified test reports. // // BRANCHES_COVERED Accumulate the branches covered values for the specified test // reports. // // BRANCHES_MISSED Accumulate the branches missed values for the specified test // reports. // // LINE_COVERAGE Accumulate the line coverage percentages for the specified test // reports. // // LINES_COVERED Accumulate the lines covered values for the specified test // reports. // // LINES_MISSED Accumulate the lines not covered values for the specified test // reports. // // This member is required. TrendField types.ReportGroupTrendFieldType // The number of reports to analyze. This operation always retrieves the most // recent reports. // // If this parameter is omitted, the most recent 100 reports are analyzed. NumOfReports *int32 // contains filtered or unexported fields }
type GetReportGroupTrendOutput ¶
type GetReportGroupTrendOutput struct { // An array that contains the raw data for each report. RawData []types.ReportWithRawData // Contains the accumulated trend data. Stats *types.ReportGroupTrendStats // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResourcePolicyInput ¶
type GetResourcePolicyInput struct { // The ARN of the resource that is associated with the resource policy. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type GetResourcePolicyOutput ¶
type GetResourcePolicyOutput struct { // The resource policy for the resource identified by the input ARN parameter. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ImportSourceCredentialsInput ¶
type ImportSourceCredentialsInput struct { // The type of authentication used to connect to a GitHub, GitHub Enterprise, // GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not // supported by the API and must be created using the CodeBuild console. Note that // CODECONNECTIONS is only valid for GitLab and GitLab Self Managed. // // This member is required. AuthType types.AuthType // The source provider used for this project. // // This member is required. ServerType types.ServerType // For GitHub or GitHub Enterprise, this is the personal access token. For // Bitbucket, this is either the access token or the app password. For the authType // CODECONNECTIONS, this is the connectionArn . // // This member is required. Token *string // 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 // The Bitbucket username when the authType is BASIC_AUTH. This parameter is not // valid for other types of source providers or connections. Username *string // contains filtered or unexported fields }
type ImportSourceCredentialsOutput ¶
type ImportSourceCredentialsOutput struct { // The Amazon Resource Name (ARN) of the token. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type InvalidateProjectCacheInput ¶
type InvalidateProjectCacheInput struct { // The name of the CodeBuild build project that the cache is reset for. // // This member is required. ProjectName *string // contains filtered or unexported fields }
type InvalidateProjectCacheOutput ¶
type InvalidateProjectCacheOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBuildBatchesAPIClient ¶
type ListBuildBatchesAPIClient interface {
ListBuildBatches(context.Context, *ListBuildBatchesInput, ...func(*Options)) (*ListBuildBatchesOutput, error)
}
ListBuildBatchesAPIClient is a client that implements the ListBuildBatches operation.
type ListBuildBatchesForProjectAPIClient ¶
type ListBuildBatchesForProjectAPIClient interface {
ListBuildBatchesForProject(context.Context, *ListBuildBatchesForProjectInput, ...func(*Options)) (*ListBuildBatchesForProjectOutput, error)
}
ListBuildBatchesForProjectAPIClient is a client that implements the ListBuildBatchesForProject operation.
type ListBuildBatchesForProjectInput ¶
type ListBuildBatchesForProjectInput struct { // A BuildBatchFilter object that specifies the filters for the search. Filter *types.BuildBatchFilter // The maximum number of results to return. MaxResults *int32 // The nextToken value returned from a previous call to ListBuildBatchesForProject // . This specifies the next item to return. To return the beginning of the list, // exclude this parameter. NextToken *string // The name of the project. ProjectName *string // Specifies the sort order of the returned items. Valid values include: // // - ASCENDING : List the batch build identifiers in ascending order by // identifier. // // - DESCENDING : List the batch build identifiers in descending order by // identifier. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListBuildBatchesForProjectOutput ¶
type ListBuildBatchesForProjectOutput struct { // An array of strings that contains the batch build identifiers. Ids []string // If there are more items to return, this contains a token that is passed to a // subsequent call to ListBuildBatchesForProject to retrieve the next set of items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBuildBatchesForProjectPaginator ¶
type ListBuildBatchesForProjectPaginator struct {
// contains filtered or unexported fields
}
ListBuildBatchesForProjectPaginator is a paginator for ListBuildBatchesForProject
func NewListBuildBatchesForProjectPaginator ¶
func NewListBuildBatchesForProjectPaginator(client ListBuildBatchesForProjectAPIClient, params *ListBuildBatchesForProjectInput, optFns ...func(*ListBuildBatchesForProjectPaginatorOptions)) *ListBuildBatchesForProjectPaginator
NewListBuildBatchesForProjectPaginator returns a new ListBuildBatchesForProjectPaginator
func (*ListBuildBatchesForProjectPaginator) HasMorePages ¶
func (p *ListBuildBatchesForProjectPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBuildBatchesForProjectPaginator) NextPage ¶
func (p *ListBuildBatchesForProjectPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildBatchesForProjectOutput, error)
NextPage retrieves the next ListBuildBatchesForProject page.
type ListBuildBatchesForProjectPaginatorOptions ¶
type ListBuildBatchesForProjectPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBuildBatchesForProjectPaginatorOptions is the paginator options for ListBuildBatchesForProject
type ListBuildBatchesInput ¶
type ListBuildBatchesInput struct { // A BuildBatchFilter object that specifies the filters for the search. Filter *types.BuildBatchFilter // The maximum number of results to return. MaxResults *int32 // The nextToken value returned from a previous call to ListBuildBatches . This // specifies the next item to return. To return the beginning of the list, exclude // this parameter. NextToken *string // Specifies the sort order of the returned items. Valid values include: // // - ASCENDING : List the batch build identifiers in ascending order by // identifier. // // - DESCENDING : List the batch build identifiers in descending order by // identifier. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListBuildBatchesOutput ¶
type ListBuildBatchesOutput struct { // An array of strings that contains the batch build identifiers. Ids []string // If there are more items to return, this contains a token that is passed to a // subsequent call to ListBuildBatches to retrieve the next set of items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBuildBatchesPaginator ¶
type ListBuildBatchesPaginator struct {
// contains filtered or unexported fields
}
ListBuildBatchesPaginator is a paginator for ListBuildBatches
func NewListBuildBatchesPaginator ¶
func NewListBuildBatchesPaginator(client ListBuildBatchesAPIClient, params *ListBuildBatchesInput, optFns ...func(*ListBuildBatchesPaginatorOptions)) *ListBuildBatchesPaginator
NewListBuildBatchesPaginator returns a new ListBuildBatchesPaginator
func (*ListBuildBatchesPaginator) HasMorePages ¶
func (p *ListBuildBatchesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBuildBatchesPaginator) NextPage ¶
func (p *ListBuildBatchesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildBatchesOutput, error)
NextPage retrieves the next ListBuildBatches page.
type ListBuildBatchesPaginatorOptions ¶
type ListBuildBatchesPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBuildBatchesPaginatorOptions is the paginator options for ListBuildBatches
type ListBuildsAPIClient ¶
type ListBuildsAPIClient interface {
ListBuilds(context.Context, *ListBuildsInput, ...func(*Options)) (*ListBuildsOutput, error)
}
ListBuildsAPIClient is a client that implements the ListBuilds operation.
type ListBuildsForProjectAPIClient ¶
type ListBuildsForProjectAPIClient interface {
ListBuildsForProject(context.Context, *ListBuildsForProjectInput, ...func(*Options)) (*ListBuildsForProjectOutput, error)
}
ListBuildsForProjectAPIClient is a client that implements the ListBuildsForProject operation.
type ListBuildsForProjectInput ¶
type ListBuildsForProjectInput struct { // The name of the CodeBuild project. // // This member is required. ProjectName *string // 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 // The order to sort the results in. The results are sorted by build number, not // the build identifier. If this is not specified, the results are sorted in // descending order. // // Valid values include: // // - ASCENDING : List the build identifiers in ascending order, by build number. // // - DESCENDING : List the build identifiers in descending order, by build number. // // If the project has more than 100 builds, setting the sort order will result in // an error. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListBuildsForProjectOutput ¶
type ListBuildsForProjectOutput struct { // A list of build identifiers for the specified build project, with each build ID // representing a single build. Ids []string // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBuildsForProjectPaginator ¶
type ListBuildsForProjectPaginator struct {
// contains filtered or unexported fields
}
ListBuildsForProjectPaginator is a paginator for ListBuildsForProject
func NewListBuildsForProjectPaginator ¶
func NewListBuildsForProjectPaginator(client ListBuildsForProjectAPIClient, params *ListBuildsForProjectInput, optFns ...func(*ListBuildsForProjectPaginatorOptions)) *ListBuildsForProjectPaginator
NewListBuildsForProjectPaginator returns a new ListBuildsForProjectPaginator
func (*ListBuildsForProjectPaginator) HasMorePages ¶
func (p *ListBuildsForProjectPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBuildsForProjectPaginator) NextPage ¶
func (p *ListBuildsForProjectPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildsForProjectOutput, error)
NextPage retrieves the next ListBuildsForProject page.
type ListBuildsForProjectPaginatorOptions ¶
type ListBuildsForProjectPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBuildsForProjectPaginatorOptions is the paginator options for ListBuildsForProject
type ListBuildsInput ¶
type ListBuildsInput struct { // During a previous call, if there are more than 100 items in the list, only the // first 100 items are returned, along with a unique string called a nextToken. To // get the next batch of items in the list, call this operation again, adding the // next token to the call. To get all of the items in the list, keep calling this // operation with each subsequent next token that is returned, until no more next // tokens are returned. NextToken *string // 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 types.SortOrderType // contains filtered or unexported fields }
type ListBuildsOutput ¶
type ListBuildsOutput struct { // A list of build IDs, with each build ID representing a single build. Ids []string // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBuildsPaginator ¶
type ListBuildsPaginator struct {
// contains filtered or unexported fields
}
ListBuildsPaginator is a paginator for ListBuilds
func NewListBuildsPaginator ¶
func NewListBuildsPaginator(client ListBuildsAPIClient, params *ListBuildsInput, optFns ...func(*ListBuildsPaginatorOptions)) *ListBuildsPaginator
NewListBuildsPaginator returns a new ListBuildsPaginator
func (*ListBuildsPaginator) HasMorePages ¶
func (p *ListBuildsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBuildsPaginator) NextPage ¶
func (p *ListBuildsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBuildsOutput, error)
NextPage retrieves the next ListBuilds page.
type ListBuildsPaginatorOptions ¶
type ListBuildsPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBuildsPaginatorOptions is the paginator options for ListBuilds
type ListCuratedEnvironmentImagesInput ¶
type ListCuratedEnvironmentImagesInput struct {
// contains filtered or unexported fields
}
type ListCuratedEnvironmentImagesOutput ¶
type ListCuratedEnvironmentImagesOutput struct { // Information about supported platforms for Docker images that are managed by // CodeBuild. Platforms []types.EnvironmentPlatform // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFleetsAPIClient ¶
type ListFleetsAPIClient interface {
ListFleets(context.Context, *ListFleetsInput, ...func(*Options)) (*ListFleetsOutput, error)
}
ListFleetsAPIClient is a client that implements the ListFleets operation.
type ListFleetsInput ¶
type ListFleetsInput struct { // The maximum number of paginated compute fleets returned per response. Use // nextToken to iterate pages in the list of returned compute fleets. MaxResults *int32 // 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 // The criterion to be used to list compute fleet names. Valid values include: // // - CREATED_TIME : List based on when each compute fleet was created. // // - LAST_MODIFIED_TIME : List based on when information about each compute fleet // was last changed. // // - NAME : List based on each compute fleet's name. // // Use sortOrder to specify in what order to list the compute fleet names based on // the preceding criteria. SortBy types.FleetSortByType // The order in which to list compute fleets. Valid values include: // // - ASCENDING : List in ascending order. // // - DESCENDING : List in descending order. // // Use sortBy to specify the criterion to be used to list compute fleet names. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListFleetsOutput ¶
type ListFleetsOutput struct { // The list of compute fleet names. Fleets []string // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFleetsPaginator ¶
type ListFleetsPaginator struct {
// contains filtered or unexported fields
}
ListFleetsPaginator is a paginator for ListFleets
func NewListFleetsPaginator ¶
func NewListFleetsPaginator(client ListFleetsAPIClient, params *ListFleetsInput, optFns ...func(*ListFleetsPaginatorOptions)) *ListFleetsPaginator
NewListFleetsPaginator returns a new ListFleetsPaginator
func (*ListFleetsPaginator) HasMorePages ¶
func (p *ListFleetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFleetsPaginator) NextPage ¶
func (p *ListFleetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFleetsOutput, error)
NextPage retrieves the next ListFleets page.
type ListFleetsPaginatorOptions ¶
type ListFleetsPaginatorOptions struct { // The maximum number of paginated compute fleets returned per response. Use // nextToken to iterate pages in the list of returned compute fleets. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFleetsPaginatorOptions is the paginator options for ListFleets
type ListProjectsAPIClient ¶
type ListProjectsAPIClient interface {
ListProjects(context.Context, *ListProjectsInput, ...func(*Options)) (*ListProjectsOutput, error)
}
ListProjectsAPIClient is a client that implements the ListProjects operation.
type ListProjectsInput ¶
type ListProjectsInput struct { // During a previous call, if there are more than 100 items in the list, only the // first 100 items are returned, along with a unique string called a nextToken. To // get the next batch of items in the list, call this operation again, adding the // next token to the call. To get all of the items in the list, keep calling this // operation with each subsequent next token that is returned, until no more next // tokens are returned. NextToken *string // 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 types.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 types.SortOrderType // contains filtered or unexported fields }
type ListProjectsOutput ¶
type ListProjectsOutput struct { // If there are more than 100 items in the list, only the first 100 items are // returned, along with a unique string called a nextToken. To get the next batch // of items in the list, call this operation again, adding the next token to the // call. NextToken *string // The list of build project names, with each build project name representing a // single build project. Projects []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProjectsPaginator ¶
type ListProjectsPaginator struct {
// contains filtered or unexported fields
}
ListProjectsPaginator is a paginator for ListProjects
func NewListProjectsPaginator ¶
func NewListProjectsPaginator(client ListProjectsAPIClient, params *ListProjectsInput, optFns ...func(*ListProjectsPaginatorOptions)) *ListProjectsPaginator
NewListProjectsPaginator returns a new ListProjectsPaginator
func (*ListProjectsPaginator) HasMorePages ¶
func (p *ListProjectsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProjectsPaginator) NextPage ¶
func (p *ListProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProjectsOutput, error)
NextPage retrieves the next ListProjects page.
type ListProjectsPaginatorOptions ¶
type ListProjectsPaginatorOptions struct { // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProjectsPaginatorOptions is the paginator options for ListProjects
type ListReportGroupsAPIClient ¶
type ListReportGroupsAPIClient interface {
ListReportGroups(context.Context, *ListReportGroupsInput, ...func(*Options)) (*ListReportGroupsOutput, error)
}
ListReportGroupsAPIClient is a client that implements the ListReportGroups operation.
type ListReportGroupsInput ¶
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 *int32 // 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 // 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 types.ReportGroupSortByType // Used to specify the order to sort the list of returned report groups. Valid // values are ASCENDING and DESCENDING . SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListReportGroupsOutput ¶
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 // The list of ARNs for the report groups in the current Amazon Web Services // account. ReportGroups []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReportGroupsPaginator ¶
type ListReportGroupsPaginator struct {
// contains filtered or unexported fields
}
ListReportGroupsPaginator is a paginator for ListReportGroups
func NewListReportGroupsPaginator ¶
func NewListReportGroupsPaginator(client ListReportGroupsAPIClient, params *ListReportGroupsInput, optFns ...func(*ListReportGroupsPaginatorOptions)) *ListReportGroupsPaginator
NewListReportGroupsPaginator returns a new ListReportGroupsPaginator
func (*ListReportGroupsPaginator) HasMorePages ¶
func (p *ListReportGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReportGroupsPaginator) NextPage ¶
func (p *ListReportGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportGroupsOutput, error)
NextPage retrieves the next ListReportGroups page.
type ListReportGroupsPaginatorOptions ¶
type ListReportGroupsPaginatorOptions 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListReportGroupsPaginatorOptions is the paginator options for ListReportGroups
type ListReportsAPIClient ¶
type ListReportsAPIClient interface {
ListReports(context.Context, *ListReportsInput, ...func(*Options)) (*ListReportsOutput, error)
}
ListReportsAPIClient is a client that implements the ListReports operation.
type ListReportsForReportGroupAPIClient ¶
type ListReportsForReportGroupAPIClient interface {
ListReportsForReportGroup(context.Context, *ListReportsForReportGroupInput, ...func(*Options)) (*ListReportsForReportGroupOutput, error)
}
ListReportsForReportGroupAPIClient is a client that implements the ListReportsForReportGroup operation.
type ListReportsForReportGroupInput ¶
type ListReportsForReportGroupInput struct { // The ARN of the report group for which you want to return report ARNs. // // This member is required. ReportGroupArn *string // A ReportFilter object used to filter the returned reports. Filter *types.ReportFilter // 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 *int32 // 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 // Use to specify whether the results are returned in ascending or descending // order. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListReportsForReportGroupOutput ¶
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 // The list of report ARNs. Reports []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReportsForReportGroupPaginator ¶
type ListReportsForReportGroupPaginator struct {
// contains filtered or unexported fields
}
ListReportsForReportGroupPaginator is a paginator for ListReportsForReportGroup
func NewListReportsForReportGroupPaginator ¶
func NewListReportsForReportGroupPaginator(client ListReportsForReportGroupAPIClient, params *ListReportsForReportGroupInput, optFns ...func(*ListReportsForReportGroupPaginatorOptions)) *ListReportsForReportGroupPaginator
NewListReportsForReportGroupPaginator returns a new ListReportsForReportGroupPaginator
func (*ListReportsForReportGroupPaginator) HasMorePages ¶
func (p *ListReportsForReportGroupPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReportsForReportGroupPaginator) NextPage ¶
func (p *ListReportsForReportGroupPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportsForReportGroupOutput, error)
NextPage retrieves the next ListReportsForReportGroup page.
type ListReportsForReportGroupPaginatorOptions ¶
type ListReportsForReportGroupPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListReportsForReportGroupPaginatorOptions is the paginator options for ListReportsForReportGroup
type ListReportsInput ¶
type ListReportsInput struct { // A ReportFilter object used to filter the returned reports. Filter *types.ReportFilter // 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 *int32 // 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 // 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 types.SortOrderType // contains filtered or unexported fields }
type ListReportsOutput ¶
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 // The list of returned ARNs for the reports in the current Amazon Web Services // account. Reports []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListReportsPaginator ¶
type ListReportsPaginator struct {
// contains filtered or unexported fields
}
ListReportsPaginator is a paginator for ListReports
func NewListReportsPaginator ¶
func NewListReportsPaginator(client ListReportsAPIClient, params *ListReportsInput, optFns ...func(*ListReportsPaginatorOptions)) *ListReportsPaginator
NewListReportsPaginator returns a new ListReportsPaginator
func (*ListReportsPaginator) HasMorePages ¶
func (p *ListReportsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListReportsPaginator) NextPage ¶
func (p *ListReportsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListReportsOutput, error)
NextPage retrieves the next ListReports page.
type ListReportsPaginatorOptions ¶
type ListReportsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListReportsPaginatorOptions is the paginator options for ListReports
type ListSharedProjectsAPIClient ¶
type ListSharedProjectsAPIClient interface {
}ListSharedProjectsAPIClient is a client that implements the ListSharedProjects operation.
type ListSharedProjectsInput ¶
type ListSharedProjectsInput struct { // Use nextToken to iterate pages in the list of returned Project objects. The // default value is 100. MaxResults *int32 // 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 // Web Services account or user. Valid values include: // // - ARN : List based on the ARN. // // - MODIFIED_TIME : List based on when information about the shared project was // last changed. SortBy types.SharedResourceSortByType // // - ASCENDING : List in ascending order. // // - DESCENDING : List in descending order. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListSharedProjectsOutput ¶
type ListSharedProjectsOutput struct { // 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 // Services account or user. Projects []string ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSharedProjectsPaginator ¶
type ListSharedProjectsPaginator struct {
// contains filtered or unexported fields
}
ListSharedProjectsPaginator is a paginator for ListSharedProjects
func NewListSharedProjectsPaginator ¶
func NewListSharedProjectsPaginator(client ListSharedProjectsAPIClient, params *ListSharedProjectsInput, optFns ...func(*ListSharedProjectsPaginatorOptions)) *ListSharedProjectsPaginator
NewListSharedProjectsPaginator returns a new ListSharedProjectsPaginator
func (*ListSharedProjectsPaginator) HasMorePages ¶
func (p *ListSharedProjectsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSharedProjectsPaginator) NextPage ¶
func (p *ListSharedProjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSharedProjectsOutput, error)
NextPage retrieves the next ListSharedProjects page.
type ListSharedProjectsPaginatorOptions ¶
type ListSharedProjectsPaginatorOptions struct { // Use nextToken to iterate pages in the list of returned Project objects. The // default value is 100. Limit int32 // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSharedProjectsPaginatorOptions is the paginator options for ListSharedProjects
type ListSharedReportGroupsAPIClient ¶
type ListSharedReportGroupsAPIClient interface {
}ListSharedReportGroupsAPIClient is a client that implements the ListSharedReportGroups operation.
type ListSharedReportGroupsInput ¶
type ListSharedReportGroupsInput struct { // nextToken to iterate pages in the list of returned ReportGroup objects. The // default value is 100. MaxResults *int32 // 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 // Web Services account or user. Valid values include: // // - ARN : List based on the ARN. // // - MODIFIED_TIME : List based on when information about the shared report group // was last changed. SortBy types.SharedResourceSortByType // // - ASCENDING : List in ascending order. // // - DESCENDING : List in descending order. SortOrder types.SortOrderType // contains filtered or unexported fields }
type ListSharedReportGroupsOutput ¶
type ListSharedReportGroupsOutput struct { // 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 // Services account or user. ReportGroups []string ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSharedReportGroupsPaginator ¶
type ListSharedReportGroupsPaginator struct {
// contains filtered or unexported fields
}
ListSharedReportGroupsPaginator is a paginator for ListSharedReportGroups
func NewListSharedReportGroupsPaginator ¶
func NewListSharedReportGroupsPaginator(client ListSharedReportGroupsAPIClient, params *ListSharedReportGroupsInput, optFns ...func(*ListSharedReportGroupsPaginatorOptions)) *ListSharedReportGroupsPaginator
NewListSharedReportGroupsPaginator returns a new ListSharedReportGroupsPaginator
func (*ListSharedReportGroupsPaginator) HasMorePages ¶
func (p *ListSharedReportGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSharedReportGroupsPaginator) NextPage ¶
func (p *ListSharedReportGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSharedReportGroupsOutput, error)
NextPage retrieves the next ListSharedReportGroups page.
type ListSharedReportGroupsPaginatorOptions ¶
type ListSharedReportGroupsPaginatorOptions struct { // nextToken to iterate pages in the list of returned ReportGroup objects. The // default value is 100. Limit int32 // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSharedReportGroupsPaginatorOptions is the paginator options for ListSharedReportGroups
type ListSourceCredentialsInput ¶
type ListSourceCredentialsInput struct {
// contains filtered or unexported fields
}
type ListSourceCredentialsOutput ¶
type ListSourceCredentialsOutput struct { // A list of SourceCredentialsInfo objects. Each SourceCredentialsInfo object // includes the authentication type, token ARN, and type of source provider for one // set of credentials. SourceCredentialsInfos []types.SourceCredentialsInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PutResourcePolicyInput ¶
type PutResourcePolicyInput struct { // A JSON-formatted resource policy. For more information, see [Sharing a Project] and [Sharing a Report Group] in the // CodeBuild User Guide. // // [Sharing a Report Group]: https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share // [Sharing a Project]: https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share // // This member is required. Policy *string // The ARN of the Project or ReportGroup resource you want to associate with a // resource policy. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput struct { // The ARN of the Project or ReportGroup resource that is associated with a // resource policy. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type RetryBuildBatchInput ¶
type RetryBuildBatchInput struct { // Specifies the identifier of the batch build to restart. Id *string // A unique, case sensitive identifier you provide to ensure the idempotency of // the RetryBuildBatch request. The token is included in the RetryBuildBatch // request and is valid for five minutes. If you repeat the RetryBuildBatch // request with the same token, but change a parameter, CodeBuild returns a // parameter mismatch error. IdempotencyToken *string // Specifies the type of retry to perform. RetryType types.RetryBuildBatchType // contains filtered or unexported fields }
type RetryBuildBatchOutput ¶
type RetryBuildBatchOutput struct { // Contains information about a batch build. BuildBatch *types.BuildBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RetryBuildInput ¶
type RetryBuildInput struct { // Specifies the identifier of the build to restart. Id *string // A unique, case sensitive identifier you provide to ensure the idempotency of // the RetryBuild request. The token is included in the RetryBuild request and is // valid for five minutes. If you repeat the RetryBuild request with the same // token, but change a parameter, CodeBuild returns a parameter mismatch error. IdempotencyToken *string // contains filtered or unexported fields }
type RetryBuildOutput ¶
type RetryBuildOutput struct { // Information about a build. Build *types.Build // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartBuildBatchInput ¶
type StartBuildBatchInput struct { // The name of the project. // // This member is required. ProjectName *string // An array of ProjectArtifacts objects that contains information about the build // output artifact overrides for the build project. ArtifactsOverride *types.ProjectArtifacts // A BuildBatchConfigOverride object that contains batch build configuration // overrides. BuildBatchConfigOverride *types.ProjectBuildBatchConfig // Overrides the build timeout specified in the batch build project. BuildTimeoutInMinutesOverride *int32 // A buildspec file declaration that overrides, for this build only, the latest // one already defined in the build project. // // If this value is set, it can be either an inline buildspec definition, the path // to an alternate buildspec file relative to the value of the built-in // CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket // must be in the same Amazon Web Services Region as the build project. Specify the // buildspec file using its ARN (for example, // arn:aws:s3:::my-codebuild-sample2/buildspec.yml ). If this value is not provided // or is set to an empty string, the source code must contain a buildspec file in // its root directory. For more information, see [Buildspec File Name and Storage Location]. // // [Buildspec File Name and Storage Location]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage BuildspecOverride *string // A ProjectCache object that specifies cache overrides. CacheOverride *types.ProjectCache // The name of a certificate for this batch build that overrides the one specified // in the batch build project. CertificateOverride *string // The name of a compute type for this batch build that overrides the one // specified in the batch build project. ComputeTypeOverride types.ComputeType // Specifies if session debugging is enabled for this batch build. For more // information, see [Viewing a running build in Session Manager]. Batch session debugging is not supported for matrix batch // builds. // // [Viewing a running build in Session Manager]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html DebugSessionEnabled *bool // The Key Management Service customer master key (CMK) that overrides the one // specified in the batch build project. The CMK key encrypts the build output // artifacts. // // You can use a cross-account KMS key to encrypt the build output artifacts if // your service role has permission to that key. // // You can specify either the Amazon Resource Name (ARN) of the CMK or, if // available, the CMK's alias (using the format alias/ ). EncryptionKeyOverride *string // A container type for this batch build that overrides the one specified in the // batch build project. EnvironmentTypeOverride types.EnvironmentType // An array of EnvironmentVariable objects that override, or add to, the // environment variables defined in the batch build project. EnvironmentVariablesOverride []types.EnvironmentVariable // The user-defined depth of history, with a minimum value of 0, that overrides, // for this batch build only, any previous depth of history defined in the batch // build project. GitCloneDepthOverride *int32 // A GitSubmodulesConfig object that overrides the Git submodules configuration // for this batch build. GitSubmodulesConfigOverride *types.GitSubmodulesConfig // A unique, case sensitive identifier you provide to ensure the idempotency of // the StartBuildBatch request. The token is included in the StartBuildBatch // request and is valid for five minutes. If you repeat the StartBuildBatch // request with the same token, but change a parameter, CodeBuild returns a // parameter mismatch error. IdempotencyToken *string // The name of an image for this batch build that overrides the one specified in // the batch build project. ImageOverride *string // The type of credentials CodeBuild uses to pull images in your batch build. // There are two valid values: // // CODEBUILD Specifies that CodeBuild uses its own credentials. This requires that // you modify your ECR repository policy to trust CodeBuild's service principal. // // SERVICE_ROLE Specifies that CodeBuild uses your build project's service role. // // When using a cross-account or private registry image, you must use SERVICE_ROLE // credentials. When using an CodeBuild curated image, you must use CODEBUILD // credentials. ImagePullCredentialsTypeOverride types.ImagePullCredentialsType // Enable this flag to override the insecure SSL setting that is specified in the // batch build project. The insecure SSL setting determines whether to ignore SSL // warnings while connecting to the project source code. This override applies only // if the build's source is GitHub Enterprise. InsecureSslOverride *bool // A LogsConfig object that override the log settings defined in the batch build // project. LogsConfigOverride *types.LogsConfig // Enable this flag to override privileged mode in the batch build project. PrivilegedModeOverride *bool // The number of minutes a batch build is allowed to be queued before it times out. QueuedTimeoutInMinutesOverride *int32 // A RegistryCredential object that overrides credentials for access to a private // registry. RegistryCredentialOverride *types.RegistryCredential // Set to true to report to your source provider the status of a batch build's // start and completion. If you use this option with a source provider other than // GitHub, GitHub Enterprise, or Bitbucket, an invalidInputException is thrown. // // The status of a build triggered by a webhook is always reported to your source // provider. ReportBuildBatchStatusOverride *bool // An array of ProjectArtifacts objects that override the secondary artifacts // defined in the batch build project. SecondaryArtifactsOverride []types.ProjectArtifacts // An array of ProjectSource objects that override the secondary sources defined // in the batch build project. SecondarySourcesOverride []types.ProjectSource // An array of ProjectSourceVersion objects that override the secondary source // versions in the batch build project. SecondarySourcesVersionOverride []types.ProjectSourceVersion // The name of a service role for this batch build that overrides the one // specified in the batch build project. ServiceRoleOverride *string // A SourceAuth object that overrides the one defined in the batch build project. // This override applies only if the build project's source is BitBucket or GitHub. SourceAuthOverride *types.SourceAuth // A location that overrides, for this batch build, the source location defined in // the batch build project. SourceLocationOverride *string // The source input type that overrides the source input defined in the batch // build project. SourceTypeOverride types.SourceType // The version of the batch build input to be built, for this build only. If not // specified, the latest version is used. If specified, the contents depends on the // source provider: // // CodeCommit The commit ID, branch, or Git tag to use. // // GitHub The commit ID, pull request ID, branch name, or tag name that // corresponds to the version of the source code you want to build. If a pull // request ID is specified, it must use the format pr/pull-request-ID (for example // pr/25 ). If a branch name is specified, the branch's HEAD commit ID is used. If // not specified, the default branch's HEAD commit ID is used. // // Bitbucket The commit ID, branch name, or tag name that corresponds to the // version of the source code you want to build. If a branch name is specified, the // branch's HEAD commit ID is used. If not specified, the default branch's HEAD // commit ID is used. // // Amazon S3 The version ID of the object that represents the build input ZIP file // to use. // // If sourceVersion is specified at the project level, then this sourceVersion (at // the build level) takes precedence. // // For more information, see [Source Version Sample with CodeBuild] in the CodeBuild User Guide. // // [Source Version Sample with CodeBuild]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html SourceVersion *string // contains filtered or unexported fields }
type StartBuildBatchOutput ¶
type StartBuildBatchOutput struct { // A BuildBatch object that contains information about the batch build. BuildBatch *types.BuildBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartBuildInput ¶
type StartBuildInput struct { // The name of the CodeBuild build project to start running a build. // // This member is required. ProjectName *string // Build output artifact settings that override, for this build only, the latest // ones already defined in the build project. ArtifactsOverride *types.ProjectArtifacts // Contains information that defines how the build project reports the build // status to the source provider. This option is only used when the source provider // is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET . BuildStatusConfigOverride *types.BuildStatusConfig // A buildspec file declaration that overrides the latest one defined in the build // project, for this build only. The buildspec defined on the project is not // changed. // // If this value is set, it can be either an inline buildspec definition, the path // to an alternate buildspec file relative to the value of the built-in // CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket // must be in the same Amazon Web Services Region as the build project. Specify the // buildspec file using its ARN (for example, // arn:aws:s3:::my-codebuild-sample2/buildspec.yml ). If this value is not provided // or is set to an empty string, the source code must contain a buildspec file in // its root directory. For more information, see [Buildspec File Name and Storage Location]. // // Since this property allows you to change the build commands that will run in // the container, you should note that an IAM principal with the ability to call // this API and set this parameter can override the default settings. Moreover, we // encourage that you use a trustworthy buildspec location like a file in your // source repository or a Amazon S3 bucket. // // [Buildspec File Name and Storage Location]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage BuildspecOverride *string // A ProjectCache object specified for this build that overrides the one defined // in the build project. CacheOverride *types.ProjectCache // The name of a certificate for this build that overrides the one specified in // the build project. CertificateOverride *string // The name of a compute type for this build that overrides the one specified in // the build project. ComputeTypeOverride types.ComputeType // Specifies if session debugging is enabled for this build. For more information, // see [Viewing a running build in Session Manager]. // // [Viewing a running build in Session Manager]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html DebugSessionEnabled *bool // The Key Management Service customer master key (CMK) that overrides the one // specified in the build project. The CMK key encrypts the build output artifacts. // // You can use a cross-account KMS key to encrypt the build output artifacts if // your service role has permission to that key. // // You can specify either the Amazon Resource Name (ARN) of the CMK or, if // available, the CMK's alias (using the format alias/ ). EncryptionKeyOverride *string // A container type for this build that overrides the one specified in the build // project. EnvironmentTypeOverride types.EnvironmentType // A set of environment variables that overrides, for this build only, the latest // ones already defined in the build project. EnvironmentVariablesOverride []types.EnvironmentVariable // A ProjectFleet object specified for this build that overrides the one defined // in the build project. FleetOverride *types.ProjectFleet // The user-defined depth of history, with a minimum value of 0, that overrides, // for this build only, any previous depth of history defined in the build project. GitCloneDepthOverride *int32 // Information about the Git submodules configuration for this build of an // CodeBuild build project. GitSubmodulesConfigOverride *types.GitSubmodulesConfig // A unique, case sensitive identifier you provide to ensure the idempotency of // the StartBuild request. The token is included in the StartBuild request and is // valid for 5 minutes. If you repeat the StartBuild request with the same token, // but change a parameter, CodeBuild returns a parameter mismatch error. IdempotencyToken *string // The name of an image for this build that overrides the one specified in the // build project. ImageOverride *string // The type of credentials CodeBuild uses to pull images in your build. There are // two valid values: // // CODEBUILD Specifies that CodeBuild uses its own credentials. This requires that // you modify your ECR repository policy to trust CodeBuild's service principal. // // SERVICE_ROLE Specifies that CodeBuild uses your build project's service role. // // When using a cross-account or private registry image, you must use SERVICE_ROLE // credentials. When using an CodeBuild curated image, you must use CODEBUILD // credentials. ImagePullCredentialsTypeOverride types.ImagePullCredentialsType // Enable this flag to override the insecure SSL setting that is specified in the // build project. The insecure SSL setting determines whether to ignore SSL // warnings while connecting to the project source code. This override applies only // if the build's source is GitHub Enterprise. InsecureSslOverride *bool // Log settings for this build that override the log settings defined in the // build project. LogsConfigOverride *types.LogsConfig // Enable this flag to override privileged mode in the build project. PrivilegedModeOverride *bool // The number of minutes a build is allowed to be queued before it times out. QueuedTimeoutInMinutesOverride *int32 // The credentials for access to a private registry. RegistryCredentialOverride *types.RegistryCredential // Set to true to report to your source provider the status of a build's start // and completion. If you use this option with a source provider other than GitHub, // GitHub Enterprise, or Bitbucket, an invalidInputException is thrown. // // To be able to report the build status to the source provider, the user // associated with the source provider must have write access to the repo. If the // user does not have write access, the build status cannot be updated. For more // information, see [Source provider access]in the CodeBuild User Guide. // // The status of a build triggered by a webhook is always reported to your source // provider. // // [Source provider access]: https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html ReportBuildStatusOverride *bool // An array of ProjectArtifacts objects. SecondaryArtifactsOverride []types.ProjectArtifacts // An array of ProjectSource objects. SecondarySourcesOverride []types.ProjectSource // An array of ProjectSourceVersion objects that specify one or more versions of // the project's secondary sources to be used for this build only. SecondarySourcesVersionOverride []types.ProjectSourceVersion // The name of a service role for this build that overrides the one specified in // the build project. ServiceRoleOverride *string // An authorization type for this build that overrides the one defined in the // build project. This override applies only if the build project's source is // BitBucket, GitHub, GitLab, or GitLab Self Managed. SourceAuthOverride *types.SourceAuth // A location that overrides, for this build, the source location for the one // defined in the build project. SourceLocationOverride *string // A source input type, for this build, that overrides the source input defined in // the build project. SourceTypeOverride types.SourceType // The version of the build input to be built, for this build only. If not // specified, the latest version is used. If specified, the contents depends on the // source provider: // // CodeCommit The commit ID, branch, or Git tag to use. // // GitHub The commit ID, pull request ID, branch name, or tag name that // corresponds to the version of the source code you want to build. If a pull // request ID is specified, it must use the format pr/pull-request-ID (for example // pr/25 ). If a branch name is specified, the branch's HEAD commit ID is used. If // not specified, the default branch's HEAD commit ID is used. // // GitLab The commit ID, branch, or Git tag to use. // // Bitbucket The commit ID, branch name, or tag name that corresponds to the // version of the source code you want to build. If a branch name is specified, the // branch's HEAD commit ID is used. If not specified, the default branch's HEAD // commit ID is used. // // Amazon S3 The version ID of the object that represents the build input ZIP file // to use. // // If sourceVersion is specified at the project level, then this sourceVersion (at // the build level) takes precedence. // // For more information, see [Source Version Sample with CodeBuild] in the CodeBuild User Guide. // // [Source Version Sample with CodeBuild]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html SourceVersion *string // The number of build timeout minutes, from 5 to 2160 (36 hours), that overrides, // for this build only, the latest setting already defined in the build project. TimeoutInMinutesOverride *int32 // contains filtered or unexported fields }
type StartBuildOutput ¶
type StartBuildOutput struct { // Information about the build to be run. Build *types.Build // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopBuildBatchInput ¶
type StopBuildBatchInput struct { // The identifier of the batch build to stop. // // This member is required. Id *string // contains filtered or unexported fields }
type StopBuildBatchOutput ¶
type StopBuildBatchOutput struct { // Contains information about a batch build. BuildBatch *types.BuildBatch // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopBuildInput ¶
type StopBuildInput struct { // The ID of the build. // // This member is required. Id *string // contains filtered or unexported fields }
type StopBuildOutput ¶
type StopBuildOutput struct { // Information about the build. Build *types.Build // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFleetInput ¶
type UpdateFleetInput struct { // The ARN of the compute fleet. // // This member is required. Arn *string // The initial number of machines allocated to the compute fleet, which defines the // number of builds that can run in parallel. BaseCapacity *int32 // Information about the compute resources the compute fleet uses. Available // values include: // // - BUILD_GENERAL1_SMALL : Use up to 3 GB memory and 2 vCPUs for builds. // // - BUILD_GENERAL1_MEDIUM : Use up to 7 GB memory and 4 vCPUs for builds. // // - BUILD_GENERAL1_LARGE : Use up to 16 GB memory and 8 vCPUs for builds, // depending on your environment type. // // - BUILD_GENERAL1_XLARGE : Use up to 70 GB memory and 36 vCPUs for builds, // depending on your environment type. // // - BUILD_GENERAL1_2XLARGE : Use up to 145 GB memory, 72 vCPUs, and 824 GB of // SSD storage for builds. This compute type supports Docker images up to 100 GB // uncompressed. // // If you use BUILD_GENERAL1_SMALL : // // - For environment type LINUX_CONTAINER , you can use up to 3 GB memory and 2 // vCPUs for builds. // // - For environment type LINUX_GPU_CONTAINER , you can use up to 16 GB memory, 4 // vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. // // - For environment type ARM_CONTAINER , you can use up to 4 GB memory and 2 // vCPUs on ARM-based processors for builds. // // If you use BUILD_GENERAL1_LARGE : // // - For environment type LINUX_CONTAINER , you can use up to 15 GB memory and 8 // vCPUs for builds. // // - For environment type LINUX_GPU_CONTAINER , you can use up to 255 GB memory, // 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. // // - For environment type ARM_CONTAINER , you can use up to 16 GB memory and 8 // vCPUs on ARM-based processors for builds. // // For more information, see [Build environment compute types] in the CodeBuild User Guide. // // [Build environment compute types]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html ComputeType types.ComputeType // The environment type of the compute fleet. // // - The environment type ARM_CONTAINER is available only in regions US East (N. // Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific // (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), // EU (Frankfurt), and South America (São Paulo). // // - The environment type LINUX_CONTAINER is available only in regions US East // (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), // Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South // America (São Paulo), and Asia Pacific (Mumbai). // // - The environment type LINUX_GPU_CONTAINER is available only in regions US // East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU // (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). // // - The environment type WINDOWS_SERVER_2019_CONTAINER is available only in // regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific // (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). // // - The environment type WINDOWS_SERVER_2022_CONTAINER is available only in // regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), // EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific // (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). // // For more information, see [Build environment compute types] in the CodeBuild user guide. // // [Build environment compute types]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html EnvironmentType types.EnvironmentType // The service role associated with the compute fleet. FleetServiceRole *string // The compute fleet overflow behavior. // // - For overflow behavior QUEUE , your overflow builds need to wait on the // existing fleet instance to become available. // // - For overflow behavior ON_DEMAND , your overflow builds run on CodeBuild // on-demand. // // If you choose to set your overflow behavior to on-demand while creating a // VPC-connected fleet, make sure that you add the required VPC permissions to your // project service role. For more information, see [Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface]. // // [Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface OverflowBehavior types.FleetOverflowBehavior // The scaling configuration of the compute fleet. ScalingConfiguration *types.ScalingConfigurationInput // A list of tag key and value pairs associated with this compute fleet. // // These tags are available for use by Amazon Web Services services that support // CodeBuild build project tags. Tags []types.Tag // Information about the VPC configuration that CodeBuild accesses. VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type UpdateFleetOutput ¶
type UpdateFleetOutput struct { // A Fleet object. Fleet *types.Fleet // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateProjectInput ¶
type UpdateProjectInput struct { // The name of the build project. // // You cannot change a build project's name. // // This member is required. Name *string // Information to be changed about the build output artifacts for the build // project. Artifacts *types.ProjectArtifacts // Set this to true to generate a publicly accessible URL for your project's build // badge. BadgeEnabled *bool // Contains configuration information about a batch build project. BuildBatchConfig *types.ProjectBuildBatchConfig // Stores recently used information so that it can be quickly accessed at a later // time. Cache *types.ProjectCache // The maximum number of concurrent builds that are allowed for this project. // // New builds are only started if the current number of builds is less than or // equal to this limit. If the current build count meets this limit, new builds are // throttled and are not run. // // To remove this limit, set this value to -1. ConcurrentBuildLimit *int32 // A new or replacement description of the build project. Description *string // The Key Management Service customer master key (CMK) to be used for encrypting // the build output artifacts. // // You can use a cross-account KMS key to encrypt the build output artifacts if // your service role has permission to that key. // // You can specify either the Amazon Resource Name (ARN) of the CMK or, if // available, the CMK's alias (using the format alias/ ). EncryptionKey *string // Information to be changed about the build environment for the build project. Environment *types.ProjectEnvironment // 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 []types.ProjectFileSystemLocation // Information about logs for the build project. A project can create logs in // CloudWatch Logs, logs in an S3 bucket, or both. LogsConfig *types.LogsConfig // The number of minutes a build is allowed to be queued before it times out. QueuedTimeoutInMinutes *int32 // An array of ProjectArtifact objects. SecondaryArtifacts []types.ProjectArtifacts // An array of ProjectSourceVersion objects. If secondarySourceVersions is // specified at the build level, then they take over these secondarySourceVersions // (at the project level). SecondarySourceVersions []types.ProjectSourceVersion // An array of ProjectSource objects. SecondarySources []types.ProjectSource // The replacement ARN of the IAM role that enables CodeBuild to interact with // dependent Amazon Web Services services on behalf of the Amazon Web Services // account. ServiceRole *string // Information to be changed about the build input source code for the build // project. Source *types.ProjectSource // A version of the build input to be built for this project. If not specified, // the latest version is used. If specified, it must be one of: // // - For CodeCommit: the commit ID, branch, or Git tag to use. // // - For GitHub: the commit ID, pull request ID, branch name, or tag name that // corresponds to the version of the source code you want to build. If a pull // request ID is specified, it must use the format pr/pull-request-ID (for // example pr/25 ). If a branch name is specified, the branch's HEAD commit ID is // used. If not specified, the default branch's HEAD commit ID is used. // // - For GitLab: the commit ID, branch, or Git tag to use. // // - For Bitbucket: the commit ID, branch name, or tag name that corresponds to // the version of the source code you want to build. If a branch name is specified, // the branch's HEAD commit ID is used. If not specified, the default branch's HEAD // commit ID is used. // // - For Amazon S3: the version ID of the object that represents the build input // ZIP file to use. // // If sourceVersion is specified at the build level, then that version takes // precedence over this sourceVersion (at the project level). // // For more information, see [Source Version Sample with CodeBuild] in the CodeBuild User Guide. // // [Source Version Sample with CodeBuild]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html SourceVersion *string // An updated list of tag key and value pairs associated with this build project. // // These tags are available for use by Amazon Web Services services that support // CodeBuild build project tags. Tags []types.Tag // The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to // wait before timing out any related build that did not get marked as completed. TimeoutInMinutes *int32 // VpcConfig enables CodeBuild to access resources in an Amazon VPC. VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type UpdateProjectOutput ¶
type UpdateProjectOutput struct { // Information about the build project that was changed. Project *types.Project // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateProjectVisibilityInput ¶
type UpdateProjectVisibilityInput struct { // The Amazon Resource Name (ARN) of the build project. // // This member is required. ProjectArn *string // Specifies the visibility of the project's builds. Possible values are: // // PUBLIC_READ The project builds are visible to the public. // // PRIVATE The project builds are not visible to the public. // // This member is required. ProjectVisibility types.ProjectVisibilityType // The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs // and Amazon S3 artifacts for the project's builds. ResourceAccessRole *string // contains filtered or unexported fields }
type UpdateProjectVisibilityOutput ¶
type UpdateProjectVisibilityOutput struct { // The Amazon Resource Name (ARN) of the build project. ProjectArn *string // Specifies the visibility of the project's builds. Possible values are: // // PUBLIC_READ The project builds are visible to the public. // // PRIVATE The project builds are not visible to the public. ProjectVisibility types.ProjectVisibilityType // Contains the project identifier used with the public build APIs. PublicProjectAlias *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateReportGroupInput ¶
type UpdateReportGroupInput struct { // The ARN of the report group to update. // // This member is required. Arn *string // Used to specify an updated export type. Valid values are: // // - S3 : The report results are exported to an S3 bucket. // // - NO_EXPORT : The report results are not exported. ExportConfig *types.ReportExportConfig // An updated list of tag key and value pairs associated with this report group. // // These tags are available for use by Amazon Web Services services that support // CodeBuild report group tags. Tags []types.Tag // contains filtered or unexported fields }
type UpdateReportGroupOutput ¶
type UpdateReportGroupOutput struct { // Information about the updated report group. ReportGroup *types.ReportGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateWebhookInput ¶
type UpdateWebhookInput struct { // The name of the CodeBuild project. // // This member is required. ProjectName *string // 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 // Specifies the type of build this webhook will trigger. BuildType types.WebhookBuildType // An array of arrays of WebhookFilter objects used to determine if a webhook // event can trigger a build. A filter group must contain at least one EVENT // WebhookFilter . FilterGroups [][]types.WebhookFilter // A boolean value that specifies whether the associated GitHub repository's // secret token should be updated. If you use Bitbucket for your repository, // rotateSecret is ignored. RotateSecret bool // contains filtered or unexported fields }
type UpdateWebhookOutput ¶
type UpdateWebhookOutput struct { // Information about a repository's webhook that is associated with a project in // CodeBuild. Webhook *types.Webhook // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_BatchDeleteBuilds.go
- api_op_BatchGetBuildBatches.go
- api_op_BatchGetBuilds.go
- api_op_BatchGetFleets.go
- api_op_BatchGetProjects.go
- api_op_BatchGetReportGroups.go
- api_op_BatchGetReports.go
- api_op_CreateFleet.go
- api_op_CreateProject.go
- api_op_CreateReportGroup.go
- api_op_CreateWebhook.go
- api_op_DeleteBuildBatch.go
- api_op_DeleteFleet.go
- api_op_DeleteProject.go
- api_op_DeleteReport.go
- api_op_DeleteReportGroup.go
- api_op_DeleteResourcePolicy.go
- api_op_DeleteSourceCredentials.go
- api_op_DeleteWebhook.go
- api_op_DescribeCodeCoverages.go
- api_op_DescribeTestCases.go
- api_op_GetReportGroupTrend.go
- api_op_GetResourcePolicy.go
- api_op_ImportSourceCredentials.go
- api_op_InvalidateProjectCache.go
- api_op_ListBuildBatches.go
- api_op_ListBuildBatchesForProject.go
- api_op_ListBuilds.go
- api_op_ListBuildsForProject.go
- api_op_ListCuratedEnvironmentImages.go
- api_op_ListFleets.go
- api_op_ListProjects.go
- api_op_ListReportGroups.go
- api_op_ListReports.go
- api_op_ListReportsForReportGroup.go
- api_op_ListSharedProjects.go
- api_op_ListSharedReportGroups.go
- api_op_ListSourceCredentials.go
- api_op_PutResourcePolicy.go
- api_op_RetryBuild.go
- api_op_RetryBuildBatch.go
- api_op_StartBuild.go
- api_op_StartBuildBatch.go
- api_op_StopBuild.go
- api_op_StopBuildBatch.go
- api_op_UpdateFleet.go
- api_op_UpdateProject.go
- api_op_UpdateProjectVisibility.go
- api_op_UpdateReportGroup.go
- api_op_UpdateWebhook.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go