aws-sdk-for-zig/codegen/models/codebuild.2016-10-06.json

6617 lines
383 KiB
JSON
Raw Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.codebuild#AccountLimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codebuild#String"
}
},
"traits": {
"smithy.api#documentation": "<p>An AWS service limit was exceeded for the calling AWS account.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codebuild#ArtifactNamespace": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "BUILD_ID",
"name": "BUILD_ID"
}
]
}
},
"com.amazonaws.codebuild#ArtifactPackaging": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "ZIP",
"name": "ZIP"
}
]
}
},
"com.amazonaws.codebuild#ArtifactsType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CODEPIPELINE",
"name": "CODEPIPELINE"
},
{
"value": "S3",
"name": "S3"
},
{
"value": "NO_ARTIFACTS",
"name": "NO_ARTIFACTS"
}
]
}
},
"com.amazonaws.codebuild#AuthType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "OAUTH",
"name": "OAUTH"
},
{
"value": "BASIC_AUTH",
"name": "BASIC_AUTH"
},
{
"value": "PERSONAL_ACCESS_TOKEN",
"name": "PERSONAL_ACCESS_TOKEN"
}
]
}
},
"com.amazonaws.codebuild#BatchDeleteBuilds": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchDeleteBuildsInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchDeleteBuildsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes one or more builds.</p>"
}
},
"com.amazonaws.codebuild#BatchDeleteBuildsInput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>The IDs of the builds to delete.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchDeleteBuildsOutput": {
"type": "structure",
"members": {
"buildsDeleted": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>The IDs of the builds that were successfully deleted.</p>"
}
},
"buildsNotDeleted": {
"target": "com.amazonaws.codebuild#BuildsNotDeleted",
"traits": {
"smithy.api#documentation": "<p>Information about any builds that could not be successfully deleted.</p>"
}
}
}
},
"com.amazonaws.codebuild#BatchGetBuildBatches": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchGetBuildBatchesInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchGetBuildBatchesOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves information about one or more batch builds.</p>"
}
},
"com.amazonaws.codebuild#BatchGetBuildBatchesInput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildBatchIds",
"traits": {
"smithy.api#documentation": "<p>An array that contains the batch build identifiers to retrieve.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchGetBuildBatchesOutput": {
"type": "structure",
"members": {
"buildBatches": {
"target": "com.amazonaws.codebuild#BuildBatches",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildBatch</code> objects that represent the retrieved batch\n builds.</p>"
}
},
"buildBatchesNotFound": {
"target": "com.amazonaws.codebuild#BuildBatchIds",
"traits": {
"smithy.api#documentation": "<p>An array that contains the identifiers of any batch builds that are not found.</p>"
}
}
}
},
"com.amazonaws.codebuild#BatchGetBuilds": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchGetBuildsInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchGetBuildsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more builds.</p>"
}
},
"com.amazonaws.codebuild#BatchGetBuildsInput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>The IDs of the builds.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchGetBuildsOutput": {
"type": "structure",
"members": {
"builds": {
"target": "com.amazonaws.codebuild#Builds",
"traits": {
"smithy.api#documentation": "<p>Information about the requested builds.</p>"
}
},
"buildsNotFound": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>The IDs of builds for which information could not be found.</p>"
}
}
}
},
"com.amazonaws.codebuild#BatchGetProjects": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchGetProjectsInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchGetProjectsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more build projects.</p>"
}
},
"com.amazonaws.codebuild#BatchGetProjectsInput": {
"type": "structure",
"members": {
"names": {
"target": "com.amazonaws.codebuild#ProjectNames",
"traits": {
"smithy.api#documentation": "<p>The names or ARNs of the build projects. To get information about a project shared\n with your AWS account, its ARN must be specified. You cannot specify a shared project\n using its name.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchGetProjectsOutput": {
"type": "structure",
"members": {
"projects": {
"target": "com.amazonaws.codebuild#Projects",
"traits": {
"smithy.api#documentation": "<p>Information about the requested build projects.</p>"
}
},
"projectsNotFound": {
"target": "com.amazonaws.codebuild#ProjectNames",
"traits": {
"smithy.api#documentation": "<p>The names of build projects for which information could not be found.</p>"
}
}
}
},
"com.amazonaws.codebuild#BatchGetReportGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchGetReportGroupsInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchGetReportGroupsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Returns an array of report groups.\n </p>"
}
},
"com.amazonaws.codebuild#BatchGetReportGroupsInput": {
"type": "structure",
"members": {
"reportGroupArns": {
"target": "com.amazonaws.codebuild#ReportGroupArns",
"traits": {
"smithy.api#documentation": "<p>\n An array of report group ARNs that identify the report groups to return.\n </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchGetReportGroupsOutput": {
"type": "structure",
"members": {
"reportGroups": {
"target": "com.amazonaws.codebuild#ReportGroups",
"traits": {
"smithy.api#documentation": "<p>\n The array of report groups returned by <code>BatchGetReportGroups</code>.\n </p>"
}
},
"reportGroupsNotFound": {
"target": "com.amazonaws.codebuild#ReportGroupArns",
"traits": {
"smithy.api#documentation": "<p>\n An array of ARNs passed to <code>BatchGetReportGroups</code> that are not associated with a <code>ReportGroup</code>.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#BatchGetReports": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#BatchGetReportsInput"
},
"output": {
"target": "com.amazonaws.codebuild#BatchGetReportsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Returns an array of reports.\n </p>"
}
},
"com.amazonaws.codebuild#BatchGetReportsInput": {
"type": "structure",
"members": {
"reportArns": {
"target": "com.amazonaws.codebuild#ReportArns",
"traits": {
"smithy.api#documentation": "<p>\n An array of ARNs that identify the <code>Report</code> objects to return.\n </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#BatchGetReportsOutput": {
"type": "structure",
"members": {
"reports": {
"target": "com.amazonaws.codebuild#Reports",
"traits": {
"smithy.api#documentation": "<p>\n The array of <code>Report</code> objects returned by <code>BatchGetReports</code>.\n </p>"
}
},
"reportsNotFound": {
"target": "com.amazonaws.codebuild#ReportArns",
"traits": {
"smithy.api#documentation": "<p>\n An array of ARNs passed to <code>BatchGetReportGroups</code> that are not associated with a <code>Report</code>.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#BatchRestrictions": {
"type": "structure",
"members": {
"maximumBuildsAllowed": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>Specifies the maximum number of builds allowed.</p>"
}
},
"computeTypesAllowed": {
"target": "com.amazonaws.codebuild#ComputeTypesAllowed",
"traits": {
"smithy.api#documentation": "<p>An array of strings that specify the compute types that are allowed for the batch\n build. See <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html\">Build environment\n compute types</a> in the <i>AWS CodeBuild User Guide</i> for these values.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies restrictions for the batch build.</p>"
}
},
"com.amazonaws.codebuild#Boolean": {
"type": "boolean"
},
"com.amazonaws.codebuild#BucketOwnerAccess": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>Specifies the access for objects that are uploaded to an Amazon S3 bucket that is owned by\n another account.</p>\n <p>By default, only the account that uploads the objects to the bucket has access to\n these objects. This property allows you to give the bucket owner access to these\n objects.</p>\n <dl>\n <dt>NONE</dt>\n <dd>\n <p>The bucket owner does not have access to the objects. This is the\n default.</p>\n </dd>\n <dt>READ_ONLY</dt>\n <dd>\n <p>The bucket owner has read only access to the objects. The uploading account\n retains ownership of the objects.</p>\n </dd>\n <dt>FULL</dt>\n <dd>\n <p>The bucket owner has full access to the objects. Object ownership is determined\n by the following criteria:</p>\n <ul>\n <li>\n <p>If the bucket is configured with the <b>Bucket\n owner preferred</b> setting, the bucket owner owns the\n objects. The uploading account will have object access as specified\n by the bucket's policy.</p>\n </li>\n <li>\n <p>Otherwise, the uploading account retains ownership of the\n objects.</p>\n </li>\n </ul>\n <p>For more information about Amazon S3 object ownership, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html\">Controlling ownership of uploaded objects using S3\n Object Ownership</a> in the <i>Amazon Simple Storage Service User\n Guide</i>.</p>\n </dd>\n </dl>",
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "READ_ONLY",
"name": "READ_ONLY"
},
{
"value": "FULL",
"name": "FULL"
}
]
}
},
"com.amazonaws.codebuild#Build": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The unique ID for the build.</p>"
}
},
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the build.</p>"
}
},
"buildNumber": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p>The number of the build. For each project, the <code>buildNumber</code> of its first\n build is <code>1</code>. The <code>buildNumber</code> of each subsequent build is\n incremented by <code>1</code>. If a build is deleted, the <code>buildNumber</code> of\n other builds does not change.</p>"
}
},
"startTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build process started, expressed in Unix time format.</p>"
}
},
"endTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build process ended, expressed in Unix time format.</p>"
}
},
"currentPhase": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The current build phase.</p>"
}
},
"buildStatus": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The current status of the build. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>FAILED</code>: The build failed.</p>\n </li>\n <li>\n <p>\n <code>FAULT</code>: The build faulted.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code>: The build is still in progress.</p>\n </li>\n <li>\n <p>\n <code>STOPPED</code>: The build stopped.</p>\n </li>\n <li>\n <p>\n <code>SUCCEEDED</code>: The build succeeded.</p>\n </li>\n <li>\n <p>\n <code>TIMED_OUT</code>: The build timed out.</p>\n </li>\n </ul>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>Any version identifier for the version of the source code to be built. If\n <code>sourceVersion</code> is specified at the project level, then this\n <code>sourceVersion</code> (at the build level) takes precedence. </p>\n <p> For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>"
}
},
"resolvedSourceVersion": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> An identifier for the version of this build's source code. </p>\n <ul>\n <li>\n <p> For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID. </p>\n </li>\n <li>\n <p> For AWS CodePipeline, the source revision provided by AWS CodePipeline. </p>\n </li>\n <li>\n <p> For Amazon S3, this does not apply. </p>\n </li>\n </ul>"
}
},
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild project.</p>"
}
},
"phases": {
"target": "com.amazonaws.codebuild#BuildPhases",
"traits": {
"smithy.api#documentation": "<p>Information about all previous build phases that are complete and information about\n any current build phase that is not yet complete.</p>"
}
},
"source": {
"target": "com.amazonaws.codebuild#ProjectSource",
"traits": {
"smithy.api#documentation": "<p>Information about the source code to be built.</p>"
}
},
"secondarySources": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSource</code> objects. </p>"
}
},
"secondarySourceVersions": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSourceVersion</code> objects. Each\n <code>ProjectSourceVersion</code> must be one of: </p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example, <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>"
}
},
"artifacts": {
"target": "com.amazonaws.codebuild#BuildArtifacts",
"traits": {
"smithy.api#documentation": "<p>Information about the output artifacts for the build.</p>"
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#BuildArtifactsList",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectArtifacts</code> objects. </p>"
}
},
"cache": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>Information about the cache for the build.</p>"
}
},
"environment": {
"target": "com.amazonaws.codebuild#ProjectEnvironment",
"traits": {
"smithy.api#documentation": "<p>Information about the build environment for this build.</p>"
}
},
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of a service role used for this build.</p>"
}
},
"logs": {
"target": "com.amazonaws.codebuild#LogsLocation",
"traits": {
"smithy.api#documentation": "<p>Information about the build's logs in Amazon CloudWatch Logs.</p>"
}
},
"timeoutInMinutes": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not\n get marked as completed.</p>"
}
},
"queuedTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p> The number of minutes a build is allowed to be queued before it times out. </p>"
}
},
"buildComplete": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p>Whether the build is complete. True if complete; otherwise, false.</p>"
}
},
"initiator": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The entity that started the build. Valid values include:</p>\n <ul>\n <li>\n <p>If AWS CodePipeline started the build, the pipeline's name (for example,\n <code>codepipeline/my-demo-pipeline</code>).</p>\n </li>\n <li>\n <p>If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example,\n <code>MyUserName</code>).</p>\n </li>\n <li>\n <p>If the Jenkins plugin for AWS CodeBuild started the build, the string\n <code>CodeBuild-Jenkins-Plugin</code>.</p>\n </li>\n </ul>"
}
},
"vpcConfig": {
"target": "com.amazonaws.codebuild#VpcConfig",
"traits": {
"smithy.api#documentation": "<p>If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter\n that identifies the VPC ID and the list of security group IDs and subnet IDs. The\n security groups and subnets must belong to the same VPC. You must provide at least one\n security group and one subnet ID.</p>"
}
},
"networkInterface": {
"target": "com.amazonaws.codebuild#NetworkInterface",
"traits": {
"smithy.api#documentation": "<p>Describes a network interface.</p>"
}
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output\n artifacts.</p>\n <note>\n <p> You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).</p>"
}
},
"exportedEnvironmentVariables": {
"target": "com.amazonaws.codebuild#ExportedEnvironmentVariables",
"traits": {
"smithy.api#documentation": "<p>A list of exported environment variables for this build.</p>\n <p>Exported environment variables are used in conjunction with AWS CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html\">Working with variables</a> in the <i>AWS CodePipeline User Guide</i>.</p>"
}
},
"reportArns": {
"target": "com.amazonaws.codebuild#BuildReportArns",
"traits": {
"smithy.api#documentation": "<p> An array of the ARNs associated with this build's reports. </p>"
}
},
"fileSystemLocations": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocations",
"traits": {
"smithy.api#documentation": "<p>\n An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object \n specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, \n <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System.\n </p>"
}
},
"debugSession": {
"target": "com.amazonaws.codebuild#DebugSession",
"traits": {
"smithy.api#documentation": "<p>Contains information about the debug session for this build.</p>"
}
},
"buildBatchArn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The ARN of the batch build that this build is a member of, if applicable.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a build.</p>"
}
},
"com.amazonaws.codebuild#BuildArtifacts": {
"type": "structure",
"members": {
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Information about the location of the build artifacts.</p>"
}
},
"sha256sum": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The SHA-256 hash of the build artifact.</p>\n <p>You can use this hash along with a checksum tool to confirm file integrity and\n authenticity.</p>\n <note>\n <p>This value is available only if the build project's <code>packaging</code> value\n is set to <code>ZIP</code>.</p>\n </note>"
}
},
"md5sum": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The MD5 hash of the build artifact.</p>\n <p>You can use this hash along with a checksum tool to confirm file integrity and\n authenticity.</p>\n <note>\n <p>This value is available only if the build project's <code>packaging</code> value\n is set to <code>ZIP</code>.</p>\n </note>"
}
},
"overrideArtifactName": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> If this flag is set, a name specified in the buildspec file overrides the artifact\n name. The name specified in a buildspec file is calculated at build time and uses the\n Shell Command Language. For example, you can append a date and time to your artifact\n name so that it is always unique. </p>"
}
},
"encryptionDisabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Information that tells you if encryption for build artifacts is disabled. </p>"
}
},
"artifactIdentifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> An identifier for this artifact definition. </p>"
}
},
"bucketOwnerAccess": {
"target": "com.amazonaws.codebuild#BucketOwnerAccess"
}
},
"traits": {
"smithy.api#documentation": "<p>Information about build output artifacts.</p>"
}
},
"com.amazonaws.codebuild#BuildArtifactsList": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildArtifacts"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 12
}
}
},
"com.amazonaws.codebuild#BuildBatch": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the batch build.</p>"
}
},
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the batch build.</p>"
}
},
"startTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the batch build started.</p>"
}
},
"endTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the batch build ended.</p>"
}
},
"currentPhase": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The current phase of the batch build.</p>"
}
},
"buildBatchStatus": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The status of the batch build.</p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the version of the source code to be built.</p>"
}
},
"resolvedSourceVersion": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the resolved version of this batch build's source code.</p>\n <ul>\n <li>\n <p>For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.</p>\n </li>\n <li>\n <p>For AWS CodePipeline, the source revision provided by AWS CodePipeline.</p>\n </li>\n <li>\n <p>For Amazon S3, this does not apply.</p>\n </li>\n </ul>"
}
},
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the batch build project.</p>"
}
},
"phases": {
"target": "com.amazonaws.codebuild#BuildBatchPhases",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildBatchPhase</code> objects the specify the phases of the\n batch build.</p>"
}
},
"source": {
"target": "com.amazonaws.codebuild#ProjectSource"
},
"secondarySources": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSource</code> objects that define the sources for the batch\n build.</p>"
}
},
"secondarySourceVersions": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSourceVersion</code> objects. Each\n <code>ProjectSourceVersion</code> must be one of: </p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example, <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>"
}
},
"artifacts": {
"target": "com.amazonaws.codebuild#BuildArtifacts",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildArtifacts</code> object the defines the build artifacts for this batch build.</p>"
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#BuildArtifactsList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildArtifacts</code> objects the define the build artifacts\n for this batch build.</p>"
}
},
"cache": {
"target": "com.amazonaws.codebuild#ProjectCache"
},
"environment": {
"target": "com.amazonaws.codebuild#ProjectEnvironment"
},
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of a service role used for builds in the batch.</p>"
}
},
"logConfig": {
"target": "com.amazonaws.codebuild#LogsConfig"
},
"buildTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>Specifies the maximum amount of time, in minutes, that the build in a batch must be\n completed in.</p>"
}
},
"queuedTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>Specifies the amount of time, in minutes, that the batch build is allowed to be queued\n before it times out.</p>"
}
},
"complete": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates if the batch build is complete.</p>"
}
},
"initiator": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The entity that started the batch build. Valid values include:</p>\n <ul>\n <li>\n <p>If AWS CodePipeline started the build, the pipeline's name (for example,\n <code>codepipeline/my-demo-pipeline</code>).</p>\n </li>\n <li>\n <p>If an AWS Identity and Access Management (IAM) user started the build, the user's name.</p>\n </li>\n <li>\n <p>If the Jenkins plugin for AWS CodeBuild started the build, the string\n <code>CodeBuild-Jenkins-Plugin</code>.</p>\n </li>\n </ul>"
}
},
"vpcConfig": {
"target": "com.amazonaws.codebuild#VpcConfig"
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the batch build output\n artifacts.</p>\n <note>\n <p>You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).</p>"
}
},
"buildBatchNumber": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p>The number of the batch build. For each project, the <code>buildBatchNumber</code> of its\n first batch build is <code>1</code>. The <code>buildBatchNumber</code> of each subsequent\n batch build is incremented by <code>1</code>. If a batch build is deleted, the\n <code>buildBatchNumber</code> of other batch builds does not change.</p>"
}
},
"fileSystemLocations": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocations",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectFileSystemLocation</code> objects for the batch build\n project. A <code>ProjectFileSystemLocation</code> object specifies the\n <code>identifier</code>, <code>location</code>, <code>mountOptions</code>,\n <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon\n Elastic File System. </p>"
}
},
"buildBatchConfig": {
"target": "com.amazonaws.codebuild#ProjectBuildBatchConfig"
},
"buildGroups": {
"target": "com.amazonaws.codebuild#BuildGroups",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildGroup</code> objects that define the build groups for the\n batch build.</p>"
}
},
"debugSessionEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if session debugging is enabled for this batch build. For more information, see\n <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a running build in Session Manager</a>. Batch session debugging is not supported for matrix batch builds.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a batch build.</p>"
}
},
"com.amazonaws.codebuild#BuildBatchFilter": {
"type": "structure",
"members": {
"status": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The status of the batch builds to retrieve. Only batch builds that have this status will\n be retrieved.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies filters when retrieving batch builds.</p>"
}
},
"com.amazonaws.codebuild#BuildBatchIds": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.codebuild#BuildBatchPhase": {
"type": "structure",
"members": {
"phaseType": {
"target": "com.amazonaws.codebuild#BuildBatchPhaseType",
"traits": {
"smithy.api#documentation": "<p>The name of the batch build phase. Valid values include:</p>\n <dl>\n <dt>COMBINE_ARTIFACTS</dt>\n <dd>\n <p>Build output artifacts are being combined and uploaded to the output\n location.</p>\n </dd>\n <dt>DOWNLOAD_BATCHSPEC</dt>\n <dd>\n <p>The batch build specification is being downloaded.</p>\n </dd>\n <dt>FAILED</dt>\n <dd>\n <p>One or more of the builds failed.</p>\n </dd>\n <dt>IN_PROGRESS</dt>\n <dd>\n <p>The batch build is in progress.</p>\n </dd>\n <dt>STOPPED</dt>\n <dd>\n <p>The batch build was stopped.</p>\n </dd>\n <dt>SUBMITTED</dt>\n <dd>\n <p>The btach build has been submitted.</p>\n </dd>\n <dt>SUCCEEDED</dt>\n <dd>\n <p>The batch build succeeded.</p>\n </dd>\n </dl>"
}
},
"phaseStatus": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The current status of the batch build phase. Valid values include:</p>\n <dl>\n <dt>FAILED</dt>\n <dd>\n <p>The build phase failed.</p>\n </dd>\n <dt>FAULT</dt>\n <dd>\n <p>The build phase faulted.</p>\n </dd>\n <dt>IN_PROGRESS</dt>\n <dd>\n <p>The build phase is still in progress.</p>\n </dd>\n <dt>QUEUED</dt>\n <dd>\n <p>The build has been submitted and is queued behind other submitted\n builds.</p>\n </dd>\n <dt>STOPPED</dt>\n <dd>\n <p>The build phase stopped.</p>\n </dd>\n <dt>SUCCEEDED</dt>\n <dd>\n <p>The build phase succeeded.</p>\n </dd>\n <dt>TIMED_OUT</dt>\n <dd>\n <p>The build phase timed out.</p>\n </dd>\n </dl>"
}
},
"startTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the batch build phase started, expressed in Unix time format.</p>"
}
},
"endTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the batch build phase ended, expressed in Unix time format.</p>"
}
},
"durationInSeconds": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p>How long, in seconds, between the starting and ending times of the batch build's\n phase.</p>"
}
},
"contexts": {
"target": "com.amazonaws.codebuild#PhaseContexts",
"traits": {
"smithy.api#documentation": "<p>Additional information about the batch build phase. Especially to help troubleshoot a\n failed batch build.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a stage for a batch build.</p>"
}
},
"com.amazonaws.codebuild#BuildBatchPhaseType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SUBMITTED",
"name": "SUBMITTED"
},
{
"value": "DOWNLOAD_BATCHSPEC",
"name": "DOWNLOAD_BATCHSPEC"
},
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "COMBINE_ARTIFACTS",
"name": "COMBINE_ARTIFACTS"
},
{
"value": "SUCCEEDED",
"name": "SUCCEEDED"
},
{
"value": "FAILED",
"name": "FAILED"
},
{
"value": "STOPPED",
"name": "STOPPED"
}
]
}
},
"com.amazonaws.codebuild#BuildBatchPhases": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildBatchPhase"
}
},
"com.amazonaws.codebuild#BuildBatches": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildBatch"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.codebuild#BuildGroup": {
"type": "structure",
"members": {
"identifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Contains the identifier of the build group.</p>"
}
},
"dependsOn": {
"target": "com.amazonaws.codebuild#Identifiers",
"traits": {
"smithy.api#documentation": "<p>An array of strings that contain the identifiers of the build groups that this build\n group depends on.</p>"
}
},
"ignoreFailure": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if failures in this build group can be ignored.</p>"
}
},
"currentBuildSummary": {
"target": "com.amazonaws.codebuild#BuildSummary",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildSummary</code> object that contains a summary of the current build\n group.</p>"
}
},
"priorBuildSummaryList": {
"target": "com.amazonaws.codebuild#BuildSummaries",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildSummary</code> objects that contain summaries of previous\n build groups.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about a batch build build group. Build groups are used to combine\n builds that can run in parallel, while still being able to set dependencies on other\n build groups.</p>"
}
},
"com.amazonaws.codebuild#BuildGroups": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildGroup"
}
},
"com.amazonaws.codebuild#BuildIds": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#BuildNotDeleted": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ID of the build that could not be successfully deleted.</p>"
}
},
"statusCode": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Additional information about the build that could not be successfully deleted.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a build that could not be successfully deleted.</p>"
}
},
"com.amazonaws.codebuild#BuildPhase": {
"type": "structure",
"members": {
"phaseType": {
"target": "com.amazonaws.codebuild#BuildPhaseType",
"traits": {
"smithy.api#documentation": "<p>The name of the build phase. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>BUILD</code>: Core build activities typically occur in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>COMPLETED</code>: The build has been completed.</p>\n </li>\n <li>\n <p>\n <code>DOWNLOAD_SOURCE</code>: Source code is being downloaded in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>FINALIZING</code>: The build process is completing in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>INSTALL</code>: Installation activities typically occur in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>POST_BUILD</code>: Post-build activities typically occur in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>PRE_BUILD</code>: Pre-build activities typically occur in this build\n phase.</p>\n </li>\n <li>\n <p>\n <code>PROVISIONING</code>: The build environment is being set up.</p>\n </li>\n <li>\n <p>\n <code>QUEUED</code>: The build has been submitted and is queued behind other\n submitted builds.</p>\n </li>\n <li>\n <p>\n <code>SUBMITTED</code>: The build has been submitted.</p>\n </li>\n <li>\n <p>\n <code>UPLOAD_ARTIFACTS</code>: Build output artifacts are being uploaded to\n the output location.</p>\n </li>\n </ul>"
}
},
"phaseStatus": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The current status of the build phase. Valid values include:</p>\n <dl>\n <dt>FAILED</dt>\n <dd>\n <p>The build phase failed.</p>\n </dd>\n <dt>FAULT</dt>\n <dd>\n <p>The build phase faulted.</p>\n </dd>\n <dt>IN_PROGRESS</dt>\n <dd>\n <p>The build phase is still in progress.</p>\n </dd>\n <dt>QUEUED</dt>\n <dd>\n <p>The build has been submitted and is queued behind other submitted\n builds.</p>\n </dd>\n <dt>STOPPED</dt>\n <dd>\n <p>The build phase stopped.</p>\n </dd>\n <dt>SUCCEEDED</dt>\n <dd>\n <p>The build phase succeeded.</p>\n </dd>\n <dt>TIMED_OUT</dt>\n <dd>\n <p>The build phase timed out.</p>\n </dd>\n </dl>"
}
},
"startTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build phase started, expressed in Unix time format.</p>"
}
},
"endTime": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build phase ended, expressed in Unix time format.</p>"
}
},
"durationInSeconds": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p>How long, in seconds, between the starting and ending times of the build's\n phase.</p>"
}
},
"contexts": {
"target": "com.amazonaws.codebuild#PhaseContexts",
"traits": {
"smithy.api#documentation": "<p>Additional information about a build phase, especially to help troubleshoot a failed\n build.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a stage for a build.</p>"
}
},
"com.amazonaws.codebuild#BuildPhaseType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SUBMITTED",
"name": "SUBMITTED"
},
{
"value": "QUEUED",
"name": "QUEUED"
},
{
"value": "PROVISIONING",
"name": "PROVISIONING"
},
{
"value": "DOWNLOAD_SOURCE",
"name": "DOWNLOAD_SOURCE"
},
{
"value": "INSTALL",
"name": "INSTALL"
},
{
"value": "PRE_BUILD",
"name": "PRE_BUILD"
},
{
"value": "BUILD",
"name": "BUILD"
},
{
"value": "POST_BUILD",
"name": "POST_BUILD"
},
{
"value": "UPLOAD_ARTIFACTS",
"name": "UPLOAD_ARTIFACTS"
},
{
"value": "FINALIZING",
"name": "FINALIZING"
},
{
"value": "COMPLETED",
"name": "COMPLETED"
}
]
}
},
"com.amazonaws.codebuild#BuildPhases": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildPhase"
}
},
"com.amazonaws.codebuild#BuildReportArns": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#String"
}
},
"com.amazonaws.codebuild#BuildStatusConfig": {
"type": "structure",
"members": {
"context": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Specifies the context of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.</p>\n <dl>\n <dt>Bitbucket</dt>\n <dd>\n <p>This parameter is used for the <code>name</code> parameter in the\n Bitbucket commit status. For more information, see <a href=\"https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build\">build</a> in the Bitbucket API documentation.</p>\n </dd>\n <dt>GitHub/GitHub Enterprise Server</dt>\n <dd>\n <p>This parameter is used for the <code>context</code> parameter in the\n GitHub commit status. For more information, see <a href=\"https://developer.github.com/v3/repos/statuses/#create-a-commit-status\">Create a commit status</a> in the GitHub developer guide.</p>\n </dd>\n </dl>"
}
},
"targetUrl": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Specifies the target url of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.</p>\n <dl>\n <dt>Bitbucket</dt>\n <dd>\n <p>This parameter is used for the <code>url</code> parameter in the Bitbucket\n commit status. For more information, see <a href=\"https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build\">build</a> in the Bitbucket API documentation.</p>\n </dd>\n <dt>GitHub/GitHub Enterprise Server</dt>\n <dd>\n <p>This parameter is used for the <code>target_url</code> parameter in the\n GitHub commit status. For more information, see <a href=\"https://developer.github.com/v3/repos/statuses/#create-a-commit-status\">Create a commit status</a> in the GitHub developer guide.</p>\n </dd>\n </dl>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information that defines how the AWS CodeBuild build project reports the build status\n to the source provider. </p>"
}
},
"com.amazonaws.codebuild#BuildSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildSummary"
}
},
"com.amazonaws.codebuild#BuildSummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The batch build ARN.</p>"
}
},
"requestedOn": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build was started, expressed in Unix time format.</p>"
}
},
"buildStatus": {
"target": "com.amazonaws.codebuild#StatusType",
"traits": {
"smithy.api#documentation": "<p>The status of the build group.</p>\n <dl>\n <dt>FAILED</dt>\n <dd>\n <p>The build group failed.</p>\n </dd>\n <dt>FAULT</dt>\n <dd>\n <p>The build group faulted.</p>\n </dd>\n <dt>IN_PROGRESS</dt>\n <dd>\n <p>The build group is still in progress.</p>\n </dd>\n <dt>STOPPED</dt>\n <dd>\n <p>The build group stopped.</p>\n </dd>\n <dt>SUCCEEDED</dt>\n <dd>\n <p>The build group succeeded.</p>\n </dd>\n <dt>TIMED_OUT</dt>\n <dd>\n <p>The build group timed out.</p>\n </dd>\n </dl>"
}
},
"primaryArtifact": {
"target": "com.amazonaws.codebuild#ResolvedArtifact",
"traits": {
"smithy.api#documentation": "<p>A <code>ResolvedArtifact</code> object that represents the primary build artifacts for the\n build group.</p>"
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#ResolvedSecondaryArtifacts",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ResolvedArtifact</code> objects that represents the secondary build\n artifacts for the build group.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains summary information about a batch build group.</p>"
}
},
"com.amazonaws.codebuild#Builds": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#Build"
}
},
"com.amazonaws.codebuild#BuildsNotDeleted": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#BuildNotDeleted"
}
},
"com.amazonaws.codebuild#CacheMode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LOCAL_DOCKER_LAYER_CACHE",
"name": "LOCAL_DOCKER_LAYER_CACHE"
},
{
"value": "LOCAL_SOURCE_CACHE",
"name": "LOCAL_SOURCE_CACHE"
},
{
"value": "LOCAL_CUSTOM_CACHE",
"name": "LOCAL_CUSTOM_CACHE"
}
]
}
},
"com.amazonaws.codebuild#CacheType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NO_CACHE",
"name": "NO_CACHE"
},
{
"value": "S3",
"name": "S3"
},
{
"value": "LOCAL",
"name": "LOCAL"
}
]
}
},
"com.amazonaws.codebuild#CloudWatchLogsConfig": {
"type": "structure",
"members": {
"status": {
"target": "com.amazonaws.codebuild#LogsConfigStatusType",
"traits": {
"smithy.api#documentation": "<p>The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code>: Amazon CloudWatch Logs are enabled for this build project.</p>\n </li>\n <li>\n <p>\n <code>DISABLED</code>: Amazon CloudWatch Logs are not enabled for this build project.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"groupName": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The group name of the logs in Amazon CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html\">Working\n with Log Groups and Log Streams</a>. </p>"
}
},
"streamName": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html\">Working\n with Log Groups and Log Streams</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about Amazon CloudWatch Logs for a build project. </p>"
}
},
"com.amazonaws.codebuild#CodeBuild_20161006": {
"type": "service",
"version": "2016-10-06",
"operations": [
{
"target": "com.amazonaws.codebuild#BatchDeleteBuilds"
},
{
"target": "com.amazonaws.codebuild#BatchGetBuildBatches"
},
{
"target": "com.amazonaws.codebuild#BatchGetBuilds"
},
{
"target": "com.amazonaws.codebuild#BatchGetProjects"
},
{
"target": "com.amazonaws.codebuild#BatchGetReportGroups"
},
{
"target": "com.amazonaws.codebuild#BatchGetReports"
},
{
"target": "com.amazonaws.codebuild#CreateProject"
},
{
"target": "com.amazonaws.codebuild#CreateReportGroup"
},
{
"target": "com.amazonaws.codebuild#CreateWebhook"
},
{
"target": "com.amazonaws.codebuild#DeleteBuildBatch"
},
{
"target": "com.amazonaws.codebuild#DeleteProject"
},
{
"target": "com.amazonaws.codebuild#DeleteReport"
},
{
"target": "com.amazonaws.codebuild#DeleteReportGroup"
},
{
"target": "com.amazonaws.codebuild#DeleteResourcePolicy"
},
{
"target": "com.amazonaws.codebuild#DeleteSourceCredentials"
},
{
"target": "com.amazonaws.codebuild#DeleteWebhook"
},
{
"target": "com.amazonaws.codebuild#DescribeCodeCoverages"
},
{
"target": "com.amazonaws.codebuild#DescribeTestCases"
},
{
"target": "com.amazonaws.codebuild#GetReportGroupTrend"
},
{
"target": "com.amazonaws.codebuild#GetResourcePolicy"
},
{
"target": "com.amazonaws.codebuild#ImportSourceCredentials"
},
{
"target": "com.amazonaws.codebuild#InvalidateProjectCache"
},
{
"target": "com.amazonaws.codebuild#ListBuildBatches"
},
{
"target": "com.amazonaws.codebuild#ListBuildBatchesForProject"
},
{
"target": "com.amazonaws.codebuild#ListBuilds"
},
{
"target": "com.amazonaws.codebuild#ListBuildsForProject"
},
{
"target": "com.amazonaws.codebuild#ListCuratedEnvironmentImages"
},
{
"target": "com.amazonaws.codebuild#ListProjects"
},
{
"target": "com.amazonaws.codebuild#ListReportGroups"
},
{
"target": "com.amazonaws.codebuild#ListReports"
},
{
"target": "com.amazonaws.codebuild#ListReportsForReportGroup"
},
{
"target": "com.amazonaws.codebuild#ListSharedProjects"
},
{
"target": "com.amazonaws.codebuild#ListSharedReportGroups"
},
{
"target": "com.amazonaws.codebuild#ListSourceCredentials"
},
{
"target": "com.amazonaws.codebuild#PutResourcePolicy"
},
{
"target": "com.amazonaws.codebuild#RetryBuild"
},
{
"target": "com.amazonaws.codebuild#RetryBuildBatch"
},
{
"target": "com.amazonaws.codebuild#StartBuild"
},
{
"target": "com.amazonaws.codebuild#StartBuildBatch"
},
{
"target": "com.amazonaws.codebuild#StopBuild"
},
{
"target": "com.amazonaws.codebuild#StopBuildBatch"
},
{
"target": "com.amazonaws.codebuild#UpdateProject"
},
{
"target": "com.amazonaws.codebuild#UpdateReportGroup"
},
{
"target": "com.amazonaws.codebuild#UpdateWebhook"
}
],
"traits": {
"aws.api#service": {
"sdkId": "CodeBuild",
"arnNamespace": "codebuild",
"cloudFormationName": "CodeBuild",
"cloudTrailEventSource": "codebuild.amazonaws.com",
"endpointPrefix": "codebuild"
},
"aws.auth#sigv4": {
"name": "codebuild"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<fullname>AWS CodeBuild</fullname>\n <p>AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code,\n runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the\n need to provision, manage, and scale your own build servers. It provides prepackaged\n build environments for the most popular programming languages and build tools, such as\n Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild\n to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests. You\n pay only for the build time you consume. For more information about AWS CodeBuild, see the <i>\n <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/welcome.html\">AWS CodeBuild User\n Guide</a>.</i>\n </p>",
"smithy.api#title": "AWS CodeBuild"
}
},
"com.amazonaws.codebuild#CodeCoverage": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the code coverage report.</p>"
}
},
"reportARN": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the report.</p>"
}
},
"filePath": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The path of the test report file.</p>"
}
},
"lineCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The percentage of lines that are covered by your tests.</p>"
}
},
"linesCovered": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of lines that are covered by your tests.</p>"
}
},
"linesMissed": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of lines that are not covered by your tests.</p>"
}
},
"branchCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The percentage of branches that are covered by your tests.</p>"
}
},
"branchesCovered": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of conditional branches that are covered by your tests.</p>"
}
},
"branchesMissed": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of conditional branches that are not covered by your tests.</p>"
}
},
"expired": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the tests were run.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains code coverage report information.</p>\n <p>Line coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.</p>\n <p>Branch coverage determines if your tests cover every possible branch of a control\n structure, such as an <code>if</code> or <code>case</code> statement.</p>"
}
},
"com.amazonaws.codebuild#CodeCoverageReportSummary": {
"type": "structure",
"members": {
"lineCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The percentage of lines that are covered by your tests.</p>"
}
},
"linesCovered": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of lines that are covered by your tests.</p>"
}
},
"linesMissed": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of lines that are not covered by your tests.</p>"
}
},
"branchCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The percentage of branches that are covered by your tests.</p>"
}
},
"branchesCovered": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of conditional branches that are covered by your tests.</p>"
}
},
"branchesMissed": {
"target": "com.amazonaws.codebuild#NonNegativeInt",
"traits": {
"smithy.api#documentation": "<p>The number of conditional branches that are not covered by your tests.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains a summary of a code coverage report.</p>\n <p>Line coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.</p>\n <p>Branch coverage determines if your tests cover every possible branch of a control\n structure, such as an <code>if</code> or <code>case</code> statement.</p>"
}
},
"com.amazonaws.codebuild#CodeCoverages": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#CodeCoverage"
}
},
"com.amazonaws.codebuild#ComputeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BUILD_GENERAL1_SMALL",
"name": "BUILD_GENERAL1_SMALL"
},
{
"value": "BUILD_GENERAL1_MEDIUM",
"name": "BUILD_GENERAL1_MEDIUM"
},
{
"value": "BUILD_GENERAL1_LARGE",
"name": "BUILD_GENERAL1_LARGE"
},
{
"value": "BUILD_GENERAL1_2XLARGE",
"name": "BUILD_GENERAL1_2XLARGE"
}
]
}
},
"com.amazonaws.codebuild#ComputeTypesAllowed": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
}
},
"com.amazonaws.codebuild#CreateProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#CreateProjectInput"
},
"output": {
"target": "com.amazonaws.codebuild#CreateProjectOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#AccountLimitExceededException"
},
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceAlreadyExistsException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a build project.</p>"
}
},
"com.amazonaws.codebuild#CreateProjectInput": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#ProjectName",
"traits": {
"smithy.api#documentation": "<p>The name of the build project.</p>",
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.codebuild#ProjectDescription",
"traits": {
"smithy.api#documentation": "<p>A description that makes the build project easy to identify.</p>"
}
},
"source": {
"target": "com.amazonaws.codebuild#ProjectSource",
"traits": {
"smithy.api#documentation": "<p>Information about the build input source code for the build project.</p>",
"smithy.api#required": {}
}
},
"secondarySources": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSource</code> objects. </p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A version of the build input to be built for this project. If not specified, the latest\n version is used. If specified, it must be one of: </p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>\n <p>If <code>sourceVersion</code> is specified at the build level, then that version takes\n precedence over this <code>sourceVersion</code> (at the project level). </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. \n </p>"
}
},
"secondarySourceVersions": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSourceVersion</code> objects. If\n <code>secondarySourceVersions</code> is specified at the build level, then they take\n precedence over these <code>secondarySourceVersions</code> (at the project level).\n </p>"
}
},
"artifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifacts",
"traits": {
"smithy.api#documentation": "<p>Information about the build output artifacts for the build project.</p>",
"smithy.api#required": {}
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifactsList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectArtifacts</code> objects. </p>"
}
},
"cache": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>Stores recently used information so that it can be quickly accessed at a later\n time.</p>"
}
},
"environment": {
"target": "com.amazonaws.codebuild#ProjectEnvironment",
"traits": {
"smithy.api#documentation": "<p>Information about the build environment for the build project.</p>",
"smithy.api#required": {}
}
},
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services\n on behalf of the AWS account.</p>",
"smithy.api#required": {}
}
},
"timeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before it times out\n any build that has not been marked as completed. The default is 60 minutes.</p>"
}
},
"queuedTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>The number of minutes a build is allowed to be queued before it times out. </p>"
}
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output\n artifacts.</p>\n <note>\n <p>You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).\n </p>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tag key and value pairs associated with this build project.</p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild build project\n tags.</p>"
}
},
"vpcConfig": {
"target": "com.amazonaws.codebuild#VpcConfig",
"traits": {
"smithy.api#documentation": "<p>VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.</p>"
}
},
"badgeEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Set this to true to generate a publicly accessible URL for your project's build\n badge.</p>"
}
},
"logsConfig": {
"target": "com.amazonaws.codebuild#LogsConfig",
"traits": {
"smithy.api#documentation": "<p>Information about logs for the build project. These can be logs in Amazon CloudWatch Logs, logs\n uploaded to a specified S3 bucket, or both. </p>"
}
},
"fileSystemLocations": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocations",
"traits": {
"smithy.api#documentation": "<p>\n An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object \n specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, \n <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System.\n </p>"
}
},
"buildBatchConfig": {
"target": "com.amazonaws.codebuild#ProjectBuildBatchConfig",
"traits": {
"smithy.api#documentation": "<p>A <a>ProjectBuildBatchConfig</a>\n object that defines the batch build options\n for the project.</p>"
}
},
"concurrentBuildLimit": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>The maximum number of concurrent builds that are allowed for this project.</p>\n <p>New builds are only started if the current number of builds is less than or equal to this limit. \n If the current build count meets this limit, new builds are throttled and are not run.</p>"
}
}
}
},
"com.amazonaws.codebuild#CreateProjectOutput": {
"type": "structure",
"members": {
"project": {
"target": "com.amazonaws.codebuild#Project",
"traits": {
"smithy.api#documentation": "<p>Information about the build project that was created.</p>"
}
}
}
},
"com.amazonaws.codebuild#CreateReportGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#CreateReportGroupInput"
},
"output": {
"target": "com.amazonaws.codebuild#CreateReportGroupOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#AccountLimitExceededException"
},
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceAlreadyExistsException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Creates a report group. A report group contains a collection of reports.\n </p>"
}
},
"com.amazonaws.codebuild#CreateReportGroupInput": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#ReportGroupName",
"traits": {
"smithy.api#documentation": "<p>\n The name of the report group.\n </p>",
"smithy.api#required": {}
}
},
"type": {
"target": "com.amazonaws.codebuild#ReportType",
"traits": {
"smithy.api#documentation": "<p>\n The type of report group.\n </p>",
"smithy.api#required": {}
}
},
"exportConfig": {
"target": "com.amazonaws.codebuild#ReportExportConfig",
"traits": {
"smithy.api#documentation": "<p>\n A <code>ReportExportConfig</code> object that contains information about where the report group test results are exported.\n </p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>\n A list of tag key and value pairs associated with this report group.\n </p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild report group\n tags.</p>"
}
}
}
},
"com.amazonaws.codebuild#CreateReportGroupOutput": {
"type": "structure",
"members": {
"reportGroup": {
"target": "com.amazonaws.codebuild#ReportGroup",
"traits": {
"smithy.api#documentation": "<p>\n Information about the report group that was created.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#CreateWebhook": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#CreateWebhookInput"
},
"output": {
"target": "com.amazonaws.codebuild#CreateWebhookOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#OAuthProviderException"
},
{
"target": "com.amazonaws.codebuild#ResourceAlreadyExistsException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub or\n Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a\n code change is pushed to the repository.</p>\n <important>\n <p>If you enable webhooks for an AWS CodeBuild project, and the project is used as a build\n step in AWS CodePipeline, then two identical builds are created for each commit. One build is\n triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build\n basis, you are billed for both builds. Therefore, if you are using AWS CodePipeline, we\n recommend that you disable webhooks in AWS CodeBuild. In the AWS CodeBuild console, clear the\n Webhook box. For more information, see step 5 in <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console\">Change a Build Project's Settings</a>.</p>\n </important>"
}
},
"com.amazonaws.codebuild#CreateWebhookInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#ProjectName",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild project.</p>",
"smithy.api#required": {}
}
},
"branchFilter": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A regular expression used to determine which repository branches are built when a\n webhook is triggered. If the name of a branch matches the regular expression, then it is\n built. If <code>branchFilter</code> is empty, then all branches are built.</p>\n <note>\n <p>It is recommended that you use <code>filterGroups</code> instead of\n <code>branchFilter</code>. </p>\n </note>"
}
},
"filterGroups": {
"target": "com.amazonaws.codebuild#FilterGroups",
"traits": {
"smithy.api#documentation": "<p>An array of arrays of <code>WebhookFilter</code> objects used to determine which\n webhooks are triggered. At least one <code>WebhookFilter</code> in the array must\n specify <code>EVENT</code> as its <code>type</code>. </p>\n <p>For a build to be triggered, at least one filter group in the\n <code>filterGroups</code> array must pass. For a filter group to pass, each of its\n filters must pass. </p>"
}
},
"buildType": {
"target": "com.amazonaws.codebuild#WebhookBuildType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of build this webhook will trigger.</p>"
}
}
}
},
"com.amazonaws.codebuild#CreateWebhookOutput": {
"type": "structure",
"members": {
"webhook": {
"target": "com.amazonaws.codebuild#Webhook",
"traits": {
"smithy.api#documentation": "<p>Information about a webhook that connects repository events to a build project in\n AWS CodeBuild.</p>"
}
}
}
},
"com.amazonaws.codebuild#CredentialProviderType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SECRETS_MANAGER",
"name": "SECRETS_MANAGER"
}
]
}
},
"com.amazonaws.codebuild#DebugSession": {
"type": "structure",
"members": {
"sessionEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if session debugging is enabled for this build.</p>"
}
},
"sessionTarget": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>Contains the identifier of the Session Manager session used for the build. To work with\n the paused build, you open this session to examine, control, and resume the\n build.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the debug session for a build. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a\n running build in Session Manager</a>.</p>"
}
},
"com.amazonaws.codebuild#DeleteBuildBatch": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteBuildBatchInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteBuildBatchOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a batch build.</p>"
}
},
"com.amazonaws.codebuild#DeleteBuildBatchInput": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the batch build to delete.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteBuildBatchOutput": {
"type": "structure",
"members": {
"statusCode": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The status code.</p>"
}
},
"buildsDeleted": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>An array of strings that contain the identifiers of the builds that were deleted.</p>"
}
},
"buildsNotDeleted": {
"target": "com.amazonaws.codebuild#BuildsNotDeleted",
"traits": {
"smithy.api#documentation": "<p>An array of <code>BuildNotDeleted</code> objects that specify the builds that could not be\n deleted.</p>"
}
}
}
},
"com.amazonaws.codebuild#DeleteProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteProjectInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteProjectOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p> Deletes a build project. When you delete a project, its builds are not deleted.\n </p>"
}
},
"com.amazonaws.codebuild#DeleteProjectInput": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the build project.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteProjectOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#DeleteReport": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteReportInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteReportOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Deletes a report.\n </p>"
}
},
"com.amazonaws.codebuild#DeleteReportGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteReportGroupInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteReportGroupOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a report group. Before you delete a report group, you must delete its reports. </p>"
}
},
"com.amazonaws.codebuild#DeleteReportGroupInput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the report group to delete. </p>",
"smithy.api#required": {}
}
},
"deleteReports": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p>If <code>true</code>, deletes any reports that belong to a report group before deleting\n the report group. </p>\n <p>If <code>false</code>, you must delete any reports in the report group. Use <a href=\"https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html\">ListReportsForReportGroup</a> to get the reports in a report group. Use <a href=\"https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html\">DeleteReport</a> to delete the reports. If you call\n <code>DeleteReportGroup</code> for a report group that contains one or more reports,\n an exception is thrown. </p>"
}
}
}
},
"com.amazonaws.codebuild#DeleteReportGroupOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#DeleteReportInput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the report to delete.\n </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteReportOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#DeleteResourcePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteResourcePolicyInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteResourcePolicyOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p> Deletes a resource policy that is identified by its resource ARN. </p>"
}
},
"com.amazonaws.codebuild#DeleteResourcePolicyInput": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the resource that is associated with the resource policy. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteResourcePolicyOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#DeleteSourceCredentials": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteSourceCredentialsInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteSourceCredentialsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p> Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source credentials. </p>"
}
},
"com.amazonaws.codebuild#DeleteSourceCredentialsInput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the token.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteSourceCredentialsOutput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the token. </p>"
}
}
}
},
"com.amazonaws.codebuild#DeleteWebhook": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DeleteWebhookInput"
},
"output": {
"target": "com.amazonaws.codebuild#DeleteWebhookOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#OAuthProviderException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub or\n Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code\n change is pushed to the repository.</p>"
}
},
"com.amazonaws.codebuild#DeleteWebhookInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#ProjectName",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild project.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#DeleteWebhookOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#DescribeCodeCoverages": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DescribeCodeCoveragesInput"
},
"output": {
"target": "com.amazonaws.codebuild#DescribeCodeCoveragesOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves one or more code coverage reports.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "codeCoverages",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#DescribeCodeCoveragesInput": {
"type": "structure",
"members": {
"reportArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the report for which test cases are returned.\n </p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous call to\n <code>DescribeCodeCoverages</code>. This specifies the next item to return. To\n return the beginning of the list, exclude this parameter.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>Specifies if the results are sorted in ascending or descending order.</p>"
}
},
"sortBy": {
"target": "com.amazonaws.codebuild#ReportCodeCoverageSortByType",
"traits": {
"smithy.api#documentation": "<p>Specifies how the results are sorted. Possible values are:</p>\n <dl>\n <dt>FILE_PATH</dt>\n <dd>\n <p>The results are sorted by file path.</p>\n </dd>\n <dt>LINE_COVERAGE_PERCENTAGE</dt>\n <dd>\n <p>The results are sorted by the percentage of lines that are covered.</p>\n </dd>\n </dl>"
}
},
"minLineCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The minimum line coverage percentage to report.</p>"
}
},
"maxLineCoveragePercentage": {
"target": "com.amazonaws.codebuild#Percentage",
"traits": {
"smithy.api#documentation": "<p>The maximum line coverage percentage to report.</p>"
}
}
}
},
"com.amazonaws.codebuild#DescribeCodeCoveragesOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more items to return, this contains a token that is passed to a subsequent\n call to <code>DescribeCodeCoverages</code> to retrieve the next set of items.</p>"
}
},
"codeCoverages": {
"target": "com.amazonaws.codebuild#CodeCoverages",
"traits": {
"smithy.api#documentation": "<p>An array of <code>CodeCoverage</code> objects that contain the results.</p>"
}
}
}
},
"com.amazonaws.codebuild#DescribeTestCases": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#DescribeTestCasesInput"
},
"output": {
"target": "com.amazonaws.codebuild#DescribeTestCasesOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Returns a list of details about test cases for a report.\n </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "testCases",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#DescribeTestCasesInput": {
"type": "structure",
"members": {
"reportArn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the report for which test cases are returned.\n </p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>\n The maximum number of paginated test cases returned per response. Use <code>nextToken</code> to iterate pages in\n the list of returned <code>TestCase</code> objects. The default value is 100.\n </p>"
}
},
"filter": {
"target": "com.amazonaws.codebuild#TestCaseFilter",
"traits": {
"smithy.api#documentation": "<p>\n A <code>TestCaseFilter</code> object used to filter the returned reports.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#DescribeTestCasesOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"testCases": {
"target": "com.amazonaws.codebuild#TestCases",
"traits": {
"smithy.api#documentation": "<p>\n The returned list of test cases.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#EnvironmentImage": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of the Docker image.</p>"
}
},
"description": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The description of the Docker image.</p>"
}
},
"versions": {
"target": "com.amazonaws.codebuild#ImageVersions",
"traits": {
"smithy.api#documentation": "<p>A list of environment image versions.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a Docker image that is managed by AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#EnvironmentImages": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#EnvironmentImage"
}
},
"com.amazonaws.codebuild#EnvironmentLanguage": {
"type": "structure",
"members": {
"language": {
"target": "com.amazonaws.codebuild#LanguageType",
"traits": {
"smithy.api#documentation": "<p>The programming language for the Docker images.</p>"
}
},
"images": {
"target": "com.amazonaws.codebuild#EnvironmentImages",
"traits": {
"smithy.api#documentation": "<p>The list of Docker images that are related by the specified programming\n language.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A set of Docker images that are related by programming language and are managed by\n AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#EnvironmentLanguages": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#EnvironmentLanguage"
}
},
"com.amazonaws.codebuild#EnvironmentPlatform": {
"type": "structure",
"members": {
"platform": {
"target": "com.amazonaws.codebuild#PlatformType",
"traits": {
"smithy.api#documentation": "<p>The platform's name.</p>"
}
},
"languages": {
"target": "com.amazonaws.codebuild#EnvironmentLanguages",
"traits": {
"smithy.api#documentation": "<p>The list of programming languages that are available for the specified\n platform.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A set of Docker images that are related by platform and are managed by AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#EnvironmentPlatforms": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#EnvironmentPlatform"
}
},
"com.amazonaws.codebuild#EnvironmentType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "WINDOWS_CONTAINER",
"name": "WINDOWS_CONTAINER"
},
{
"value": "LINUX_CONTAINER",
"name": "LINUX_CONTAINER"
},
{
"value": "LINUX_GPU_CONTAINER",
"name": "LINUX_GPU_CONTAINER"
},
{
"value": "ARM_CONTAINER",
"name": "ARM_CONTAINER"
},
{
"value": "WINDOWS_SERVER_2019_CONTAINER",
"name": "WINDOWS_SERVER_2019_CONTAINER"
}
]
}
},
"com.amazonaws.codebuild#EnvironmentVariable": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name or key of the environment variable.</p>",
"smithy.api#required": {}
}
},
"value": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The value of the environment variable.</p>\n <important>\n <p>We strongly discourage the use of <code>PLAINTEXT</code> environment variables to\n store sensitive values, especially AWS secret key IDs and secret access keys.\n <code>PLAINTEXT</code> environment variables can be displayed in plain text\n using the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI). For sensitive values, we recommend you use an\n environment variable of type <code>PARAMETER_STORE</code> or\n <code>SECRETS_MANAGER</code>. </p>\n </important>",
"smithy.api#required": {}
}
},
"type": {
"target": "com.amazonaws.codebuild#EnvironmentVariableType",
"traits": {
"smithy.api#documentation": "<p>The type of environment variable. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>PARAMETER_STORE</code>: An environment variable stored in Amazon EC2 Systems Manager\n Parameter Store. To learn how to specify a parameter store environment variable,\n see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store\">env/parameter-store</a> in the\n <i>AWS CodeBuild User Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>PLAINTEXT</code>: An environment variable in plain text format. This is\n the default value.</p>\n </li>\n <li>\n <p>\n <code>SECRETS_MANAGER</code>: An environment variable stored in AWS Secrets\n Manager. To learn how to specify a secrets manager environment variable, see\n <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager\">env/secrets-manager</a> in the\n <i>AWS CodeBuild User Guide</i>.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about an environment variable for a build project or a build.</p>"
}
},
"com.amazonaws.codebuild#EnvironmentVariableType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "PLAINTEXT",
"name": "PLAINTEXT"
},
{
"value": "PARAMETER_STORE",
"name": "PARAMETER_STORE"
},
{
"value": "SECRETS_MANAGER",
"name": "SECRETS_MANAGER"
}
]
}
},
"com.amazonaws.codebuild#EnvironmentVariables": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#EnvironmentVariable"
}
},
"com.amazonaws.codebuild#ExportedEnvironmentVariable": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the exported environment variable.</p>"
}
},
"value": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The value assigned to the exported environment variable.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about an exported environment variable. </p>\n <p>Exported environment variables are used in conjunction with AWS CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html\">Working with variables</a> in the <i>AWS CodePipeline User Guide</i>.</p>\n <note>\n <p> During a build, the value of a variable is available starting with the\n <code>install</code> phase. It can be updated between the start of the\n <code>install</code> phase and the end of the <code>post_build</code> phase.\n After the <code>post_build</code> phase ends, the value of exported variables cannot\n change.</p>\n </note>"
}
},
"com.amazonaws.codebuild#ExportedEnvironmentVariables": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ExportedEnvironmentVariable"
}
},
"com.amazonaws.codebuild#FileSystemType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EFS",
"name": "EFS"
}
]
}
},
"com.amazonaws.codebuild#FilterGroup": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#WebhookFilter"
}
},
"com.amazonaws.codebuild#FilterGroups": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#FilterGroup"
}
},
"com.amazonaws.codebuild#GetReportGroupTrend": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#GetReportGroupTrendInput"
},
"output": {
"target": "com.amazonaws.codebuild#GetReportGroupTrendOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Analyzes and accumulates test report values for the specified test reports.</p>"
}
},
"com.amazonaws.codebuild#GetReportGroupTrendInput": {
"type": "structure",
"members": {
"reportGroupArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the report group that contains the reports to analyze.</p>",
"smithy.api#required": {}
}
},
"numOfReports": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>The number of reports to analyze. This operation always retrieves the most recent\n reports.</p>\n <p>If this parameter is omitted, the most recent 100 reports are analyzed.</p>"
}
},
"trendField": {
"target": "com.amazonaws.codebuild#ReportGroupTrendFieldType",
"traits": {
"smithy.api#documentation": "<p>The test report value to accumulate. This must be one of the following values:</p>\n <dl>\n <dt>Test reports:</dt>\n <dd>\n <dl>\n <dt>DURATION</dt>\n <dd>\n <p>Accumulate the test run times for the specified\n reports.</p>\n </dd>\n <dt>PASS_RATE</dt>\n <dd>\n <p>Accumulate the percentage of tests that passed for the\n specified test reports.</p>\n </dd>\n <dt>TOTAL</dt>\n <dd>\n <p>Accumulate the total number of tests for the specified test\n reports.</p>\n </dd>\n </dl>\n </dd>\n </dl>\n <dl>\n <dt>Code coverage reports:</dt>\n <dd>\n <dl>\n <dt>BRANCH_COVERAGE</dt>\n <dd>\n <p>Accumulate the branch coverage percentages for the specified\n test reports.</p>\n </dd>\n <dt>BRANCHES_COVERED</dt>\n <dd>\n <p>Accumulate the branches covered values for the specified test\n reports.</p>\n </dd>\n <dt>BRANCHES_MISSED</dt>\n <dd>\n <p>Accumulate the branches missed values for the specified test\n reports.</p>\n </dd>\n <dt>LINE_COVERAGE</dt>\n <dd>\n <p>Accumulate the line coverage percentages for the specified\n test reports.</p>\n </dd>\n <dt>LINES_COVERED</dt>\n <dd>\n <p>Accumulate the lines covered values for the specified test\n reports.</p>\n </dd>\n <dt>LINES_MISSED</dt>\n <dd>\n <p>Accumulate the lines not covered values for the specified test\n reports.</p>\n </dd>\n </dl>\n </dd>\n </dl>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#GetReportGroupTrendOutput": {
"type": "structure",
"members": {
"stats": {
"target": "com.amazonaws.codebuild#ReportGroupTrendStats",
"traits": {
"smithy.api#documentation": "<p>Contains the accumulated trend data.</p>"
}
},
"rawData": {
"target": "com.amazonaws.codebuild#ReportGroupTrendRawDataList",
"traits": {
"smithy.api#documentation": "<p>An array that contains the raw data for each report.</p>"
}
}
}
},
"com.amazonaws.codebuild#GetResourcePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#GetResourcePolicyInput"
},
"output": {
"target": "com.amazonaws.codebuild#GetResourcePolicyOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p> Gets a resource policy that is identified by its resource ARN. </p>"
}
},
"com.amazonaws.codebuild#GetResourcePolicyInput": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the resource that is associated with the resource policy. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#GetResourcePolicyOutput": {
"type": "structure",
"members": {
"policy": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The resource policy for the resource identified by the input ARN parameter. </p>"
}
}
}
},
"com.amazonaws.codebuild#GitCloneDepth": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.codebuild#GitSubmodulesConfig": {
"type": "structure",
"members": {
"fetchSubmodules": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to true to fetch Git submodules for your AWS CodeBuild build project. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about the Git submodules configuration for an AWS CodeBuild build project.\n </p>"
}
},
"com.amazonaws.codebuild#Identifiers": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
}
},
"com.amazonaws.codebuild#ImagePullCredentialsType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CODEBUILD",
"name": "CODEBUILD"
},
{
"value": "SERVICE_ROLE",
"name": "SERVICE_ROLE"
}
]
}
},
"com.amazonaws.codebuild#ImageVersions": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#String"
}
},
"com.amazonaws.codebuild#ImportSourceCredentials": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ImportSourceCredentialsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ImportSourceCredentialsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#AccountLimitExceededException"
},
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceAlreadyExistsException"
}
],
"traits": {
"smithy.api#documentation": "<p> Imports the source repository credentials for an AWS CodeBuild project that has its\n source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>"
}
},
"com.amazonaws.codebuild#ImportSourceCredentialsInput": {
"type": "structure",
"members": {
"username": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter\n is not valid for other types of source providers or connections. </p>"
}
},
"token": {
"target": "com.amazonaws.codebuild#SensitiveNonEmptyString",
"traits": {
"smithy.api#documentation": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,\n this is the app password. </p>",
"smithy.api#required": {}
}
},
"serverType": {
"target": "com.amazonaws.codebuild#ServerType",
"traits": {
"smithy.api#documentation": "<p> The source provider used for this project. </p>",
"smithy.api#required": {}
}
},
"authType": {
"target": "com.amazonaws.codebuild#AuthType",
"traits": {
"smithy.api#documentation": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, or\n Bitbucket repository. An OAUTH connection is not supported by the API and must be\n created using the AWS CodeBuild console. </p>",
"smithy.api#required": {}
}
},
"shouldOverwrite": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to <code>false</code> to prevent overwriting the repository source credentials.\n Set to <code>true</code> to overwrite the repository source credentials. The default\n value is <code>true</code>. </p>"
}
}
}
},
"com.amazonaws.codebuild#ImportSourceCredentialsOutput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the token. </p>"
}
}
}
},
"com.amazonaws.codebuild#InvalidInputException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codebuild#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The input value that was provided is not valid.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codebuild#InvalidateProjectCache": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#InvalidateProjectCacheInput"
},
"output": {
"target": "com.amazonaws.codebuild#InvalidateProjectCacheOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Resets the cache for a project.</p>"
}
},
"com.amazonaws.codebuild#InvalidateProjectCacheInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild build project that the cache is reset for.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#InvalidateProjectCacheOutput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#KeyInput": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 127
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$"
}
},
"com.amazonaws.codebuild#LanguageType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "JAVA",
"name": "JAVA"
},
{
"value": "PYTHON",
"name": "PYTHON"
},
{
"value": "NODE_JS",
"name": "NODE_JS"
},
{
"value": "RUBY",
"name": "RUBY"
},
{
"value": "GOLANG",
"name": "GOLANG"
},
{
"value": "DOCKER",
"name": "DOCKER"
},
{
"value": "ANDROID",
"name": "ANDROID"
},
{
"value": "DOTNET",
"name": "DOTNET"
},
{
"value": "BASE",
"name": "BASE"
},
{
"value": "PHP",
"name": "PHP"
}
]
}
},
"com.amazonaws.codebuild#ListBuildBatches": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListBuildBatchesInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListBuildBatchesOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the identifiers of your build batches in the current region.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "ids",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListBuildBatchesForProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListBuildBatchesForProjectInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListBuildBatchesForProjectOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the identifiers of the build batches for a specific project.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "ids",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListBuildBatchesForProjectInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the project.</p>"
}
},
"filter": {
"target": "com.amazonaws.codebuild#BuildBatchFilter",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildBatchFilter</code> object that specifies the filters for the search.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>Specifies the sort order of the returned items. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List the batch build identifiers in ascending order by\n identifier.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List the batch build identifiers in descending order\n by identifier.</p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous call to\n <code>ListBuildBatchesForProject</code>. This specifies the next item to return. To return the\n beginning of the list, exclude this parameter.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildBatchesForProjectOutput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildBatchIds",
"traits": {
"smithy.api#documentation": "<p>An array of strings that contains the batch build identifiers.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more items to return, this contains a token that is passed to a\n subsequent call to <code>ListBuildBatchesForProject</code> to retrieve the next set of\n items.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildBatchesInput": {
"type": "structure",
"members": {
"filter": {
"target": "com.amazonaws.codebuild#BuildBatchFilter",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildBatchFilter</code> object that specifies the filters for the search.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return.</p>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>Specifies the sort order of the returned items. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List the batch build identifiers in ascending order by identifier.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List the batch build identifiers in descending order by identifier.</p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous call to\n <code>ListBuildBatches</code>. This specifies the next item to return. To return the\n beginning of the list, exclude this parameter.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildBatchesOutput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildBatchIds",
"traits": {
"smithy.api#documentation": "<p>An array of strings that contains the batch build identifiers.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more items to return, this contains a token that is passed to a subsequent\n call to <code>ListBuildBatches</code> to retrieve the next set of items.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuilds": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListBuildsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListBuildsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a list of build IDs, with each build ID representing a single build.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "ids"
}
}
},
"com.amazonaws.codebuild#ListBuildsForProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListBuildsForProjectInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListBuildsForProjectOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a list of build identifiers for the specified build project, with each build\n identifier representing a single build.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "ids"
}
}
},
"com.amazonaws.codebuild#ListBuildsForProjectInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild project.</p>",
"smithy.api#required": {}
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>The order to list results in. The results are sorted by build number, not the build\n identifier.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List the build IDs in ascending order by build\n ID.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List the build IDs in descending order by build\n ID.</p>\n </li>\n </ul>\n <p>If the project has more than 100 builds, setting the sort order will result in an\n error. </p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n <i>nextToken</i>. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildsForProjectOutput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>A list of build IDs for the specified build project, with each build ID representing a\n single build.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a <i>nextToken</i>. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildsInput": {
"type": "structure",
"members": {
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>The order to list build IDs. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List the build IDs in ascending order by build\n ID.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List the build IDs in descending order by build\n ID.</p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n <i>nextToken</i>. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListBuildsOutput": {
"type": "structure",
"members": {
"ids": {
"target": "com.amazonaws.codebuild#BuildIds",
"traits": {
"smithy.api#documentation": "<p>A list of build IDs, with each build ID representing a single build.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a <i>nextToken</i>. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListCuratedEnvironmentImages": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListCuratedEnvironmentImagesInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListCuratedEnvironmentImagesOutput"
},
"traits": {
"smithy.api#documentation": "<p>Gets information about Docker images that are managed by AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#ListCuratedEnvironmentImagesInput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#ListCuratedEnvironmentImagesOutput": {
"type": "structure",
"members": {
"platforms": {
"target": "com.amazonaws.codebuild#EnvironmentPlatforms",
"traits": {
"smithy.api#documentation": "<p>Information about supported platforms for Docker images that are managed by\n AWS CodeBuild.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListProjects": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListProjectsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListProjectsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a list of build project names, with each build project name representing a single\n build project.</p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "projects"
}
}
},
"com.amazonaws.codebuild#ListProjectsInput": {
"type": "structure",
"members": {
"sortBy": {
"target": "com.amazonaws.codebuild#ProjectSortByType",
"traits": {
"smithy.api#documentation": "<p>The criterion to be used to list build project names. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>CREATED_TIME</code>: List based on when each build project was\n created.</p>\n </li>\n <li>\n <p>\n <code>LAST_MODIFIED_TIME</code>: List based on when information about each\n build project was last changed.</p>\n </li>\n <li>\n <p>\n <code>NAME</code>: List based on each build project's name.</p>\n </li>\n </ul>\n <p>Use <code>sortOrder</code> to specify in what order to list the build project names\n based on the preceding criteria.</p>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>The order in which to list build projects. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List in ascending order.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List in descending order.</p>\n </li>\n </ul>\n <p>Use <code>sortBy</code> to specify the criterion to be used to list build project\n names.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n <i>nextToken</i>. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListProjectsOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a <i>nextToken</i>. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.</p>"
}
},
"projects": {
"target": "com.amazonaws.codebuild#ProjectNames",
"traits": {
"smithy.api#documentation": "<p>The list of build project names, with each build project name representing a single\n build project.</p>"
}
}
}
},
"com.amazonaws.codebuild#ListReportGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListReportGroupsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListReportGroupsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Gets a list ARNs for the report groups in the current AWS account.\n </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "reportGroups",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListReportGroupsInput": {
"type": "structure",
"members": {
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>\n Used to specify the order to sort the list of returned report groups. Valid values are\n <code>ASCENDING</code> and <code>DESCENDING</code>.\n </p>"
}
},
"sortBy": {
"target": "com.amazonaws.codebuild#ReportGroupSortByType",
"traits": {
"smithy.api#documentation": "<p>\n The criterion to be used to list build report groups. Valid values include:\n </p>\n <ul>\n <li>\n <p>\n <code>CREATED_TIME</code>: List based on when each report group was\n created.</p>\n </li>\n <li>\n <p>\n <code>LAST_MODIFIED_TIME</code>: List based on when each report group was last changed.</p>\n </li>\n <li>\n <p>\n <code>NAME</code>: List based on each report group's name.</p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>\n The maximum number of paginated report groups returned per response. Use <code>nextToken</code> to iterate pages in\n the list of returned <code>ReportGroup</code> objects. The default value is 100.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListReportGroupsOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"reportGroups": {
"target": "com.amazonaws.codebuild#ReportGroupArns",
"traits": {
"smithy.api#documentation": "<p>\n The list of ARNs for the report groups in the current AWS account.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListReports": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListReportsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListReportsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Returns a list of ARNs for the reports in the current AWS account.\n </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "reports",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListReportsForReportGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListReportsForReportGroupInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListReportsForReportGroupOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Returns a list of ARNs for the reports that belong to a <code>ReportGroup</code>.\n </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "reports",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListReportsForReportGroupInput": {
"type": "structure",
"members": {
"reportGroupArn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the report group for which you want to return report ARNs.\n </p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>\n Use to specify whether the results are returned in ascending or descending order.\n </p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>\n The maximum number of paginated reports in this report group returned per response. Use <code>nextToken</code> to iterate pages in\n the list of returned <code>Report</code> objects. The default value is 100.\n </p>"
}
},
"filter": {
"target": "com.amazonaws.codebuild#ReportFilter",
"traits": {
"smithy.api#documentation": "<p>\n A <code>ReportFilter</code> object used to filter the returned reports.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListReportsForReportGroupOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"reports": {
"target": "com.amazonaws.codebuild#ReportArns",
"traits": {
"smithy.api#documentation": "<p>\n The list of report ARNs.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListReportsInput": {
"type": "structure",
"members": {
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>\n Specifies the sort order for the list of returned reports. Valid values are:\n </p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: return reports in chronological order based on their creation date.\n </p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: return reports in the reverse chronological order based on their creation date.\n </p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p>\n The maximum number of paginated reports returned per response. Use <code>nextToken</code> to iterate pages in\n the list of returned <code>Report</code> objects. The default value is 100.\n </p>"
}
},
"filter": {
"target": "com.amazonaws.codebuild#ReportFilter",
"traits": {
"smithy.api#documentation": "<p>\n A <code>ReportFilter</code> object used to filter the returned reports.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListReportsOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>\n During a previous call, the maximum number of items that can be returned is the value specified in\n <code>maxResults</code>. If there more items in the list, then a unique string called a <i>nextToken</i>\n is returned. To get the next batch of items in the list, call this operation again, adding the next token\n to the call. To get all of the items in the list, keep calling this operation with each\n subsequent next token that is returned, until no more next tokens are returned.\n </p>"
}
},
"reports": {
"target": "com.amazonaws.codebuild#ReportArns",
"traits": {
"smithy.api#documentation": "<p>\n The list of returned ARNs for the reports in the current AWS account.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListSharedProjects": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListSharedProjectsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListSharedProjectsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p> Gets a list of projects that are shared with other AWS accounts or users. </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "projects",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListSharedProjectsInput": {
"type": "structure",
"members": {
"sortBy": {
"target": "com.amazonaws.codebuild#SharedResourceSortByType",
"traits": {
"smithy.api#documentation": "<p> The criterion to be used to list build projects shared with the current AWS account\n or user. Valid values include: </p>\n <ul>\n <li>\n <p>\n <code>ARN</code>: List based on the ARN. </p>\n </li>\n <li>\n <p>\n <code>MODIFIED_TIME</code>: List based on when information about the shared\n project was last changed. </p>\n </li>\n </ul>"
}
},
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>The order in which to list shared build projects. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List in ascending order.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List in descending order.</p>\n </li>\n </ul>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p> The maximum number of paginated shared build projects returned per response. Use\n <code>nextToken</code> to iterate pages in the list of returned <code>Project</code>\n objects. The default value is 100. </p>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> During a previous call, the maximum number of items that can be returned is the value\n specified in <code>maxResults</code>. If there more items in the list, then a unique\n string called a <i>nextToken</i> is returned. To get the next batch of\n items in the list, call this operation again, adding the next token to the call. To get\n all of the items in the list, keep calling this operation with each subsequent next\n token that is returned, until no more next tokens are returned. </p>"
}
}
}
},
"com.amazonaws.codebuild#ListSharedProjectsOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> During a previous call, the maximum number of items that can be returned is the value\n specified in <code>maxResults</code>. If there more items in the list, then a unique\n string called a <i>nextToken</i> is returned. To get the next batch of\n items in the list, call this operation again, adding the next token to the call. To get\n all of the items in the list, keep calling this operation with each subsequent next\n token that is returned, until no more next tokens are returned. </p>"
}
},
"projects": {
"target": "com.amazonaws.codebuild#ProjectArns",
"traits": {
"smithy.api#documentation": "<p> The list of ARNs for the build projects shared with the current AWS account or user.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListSharedReportGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListSharedReportGroupsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListSharedReportGroupsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p> Gets a list of report groups that are shared with other AWS accounts or users.\n </p>",
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "reportGroups",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.codebuild#ListSharedReportGroupsInput": {
"type": "structure",
"members": {
"sortOrder": {
"target": "com.amazonaws.codebuild#SortOrderType",
"traits": {
"smithy.api#documentation": "<p>The order in which to list shared report groups. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>ASCENDING</code>: List in ascending order.</p>\n </li>\n <li>\n <p>\n <code>DESCENDING</code>: List in descending order.</p>\n </li>\n </ul>"
}
},
"sortBy": {
"target": "com.amazonaws.codebuild#SharedResourceSortByType",
"traits": {
"smithy.api#documentation": "<p> The criterion to be used to list report groups shared with the current AWS account or\n user. Valid values include: </p>\n <ul>\n <li>\n <p>\n <code>ARN</code>: List based on the ARN. </p>\n </li>\n <li>\n <p>\n <code>MODIFIED_TIME</code>: List based on when information about the shared\n report group was last changed. </p>\n </li>\n </ul>"
}
},
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> During a previous call, the maximum number of items that can be returned is the value\n specified in <code>maxResults</code>. If there more items in the list, then a unique\n string called a <i>nextToken</i> is returned. To get the next batch of\n items in the list, call this operation again, adding the next token to the call. To get\n all of the items in the list, keep calling this operation with each subsequent next\n token that is returned, until no more next tokens are returned. </p>"
}
},
"maxResults": {
"target": "com.amazonaws.codebuild#PageSize",
"traits": {
"smithy.api#documentation": "<p> The maximum number of paginated shared report groups per response. Use\n <code>nextToken</code> to iterate pages in the list of returned\n <code>ReportGroup</code> objects. The default value is 100. </p>"
}
}
}
},
"com.amazonaws.codebuild#ListSharedReportGroupsOutput": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> During a previous call, the maximum number of items that can be returned is the value\n specified in <code>maxResults</code>. If there more items in the list, then a unique\n string called a <i>nextToken</i> is returned. To get the next batch of\n items in the list, call this operation again, adding the next token to the call. To get\n all of the items in the list, keep calling this operation with each subsequent next\n token that is returned, until no more next tokens are returned. </p>"
}
},
"reportGroups": {
"target": "com.amazonaws.codebuild#ReportGroupArns",
"traits": {
"smithy.api#documentation": "<p> The list of ARNs for the report groups shared with the current AWS account or user.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ListSourceCredentials": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#ListSourceCredentialsInput"
},
"output": {
"target": "com.amazonaws.codebuild#ListSourceCredentialsOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
}
],
"traits": {
"smithy.api#documentation": "<p> Returns a list of <code>SourceCredentialsInfo</code> objects. </p>"
}
},
"com.amazonaws.codebuild#ListSourceCredentialsInput": {
"type": "structure",
"members": {}
},
"com.amazonaws.codebuild#ListSourceCredentialsOutput": {
"type": "structure",
"members": {
"sourceCredentialsInfos": {
"target": "com.amazonaws.codebuild#SourceCredentialsInfos",
"traits": {
"smithy.api#documentation": "<p> A list of <code>SourceCredentialsInfo</code> objects. Each\n <code>SourceCredentialsInfo</code> object includes the authentication type, token\n ARN, and type of source provider for one set of credentials. </p>"
}
}
}
},
"com.amazonaws.codebuild#LogsConfig": {
"type": "structure",
"members": {
"cloudWatchLogs": {
"target": "com.amazonaws.codebuild#CloudWatchLogsConfig",
"traits": {
"smithy.api#documentation": "<p> Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default. </p>"
}
},
"s3Logs": {
"target": "com.amazonaws.codebuild#S3LogsConfig",
"traits": {
"smithy.api#documentation": "<p> Information about logs built to an S3 bucket for a build project. S3 logs are not\n enabled by default. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a\n specified S3 bucket, or both. </p>"
}
},
"com.amazonaws.codebuild#LogsConfigStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLED",
"name": "DISABLED"
}
]
}
},
"com.amazonaws.codebuild#LogsLocation": {
"type": "structure",
"members": {
"groupName": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon CloudWatch Logs group for the build logs.</p>"
}
},
"streamName": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon CloudWatch Logs stream for the build logs.</p>"
}
},
"deepLink": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The URL to an individual build log in Amazon CloudWatch Logs.</p>"
}
},
"s3DeepLink": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The URL to a build log in an S3 bucket. </p>"
}
},
"cloudWatchLogsArn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The ARN of Amazon CloudWatch Logs for a build project. Its format is\n <code>arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies\">Resources Defined by Amazon CloudWatch Logs</a>. </p>"
}
},
"s3LogsArn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The ARN of S3 logs for a build project. Its format is\n <code>arn:${Partition}:s3:::${BucketName}/${ObjectName}</code>. For more\n information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies\">Resources Defined by Amazon S3</a>. </p>"
}
},
"cloudWatchLogs": {
"target": "com.amazonaws.codebuild#CloudWatchLogsConfig",
"traits": {
"smithy.api#documentation": "<p> Information about Amazon CloudWatch Logs for a build project. </p>"
}
},
"s3Logs": {
"target": "com.amazonaws.codebuild#S3LogsConfig",
"traits": {
"smithy.api#documentation": "<p> Information about S3 logs for a build project. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about build logs in Amazon CloudWatch Logs.</p>"
}
},
"com.amazonaws.codebuild#NetworkInterface": {
"type": "structure",
"members": {
"subnetId": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ID of the subnet.</p>"
}
},
"networkInterfaceId": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ID of the network interface.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes a network interface.</p>"
}
},
"com.amazonaws.codebuild#NonEmptyString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.codebuild#NonNegativeInt": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.codebuild#OAuthProviderException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codebuild#String"
}
},
"traits": {
"smithy.api#documentation": "<p>There was a problem with the underlying OAuth provider.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codebuild#PageSize": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#Percentage": {
"type": "double",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.codebuild#PhaseContext": {
"type": "structure",
"members": {
"statusCode": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The status code for the context of the build phase.</p>"
}
},
"message": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>An explanation of the build phase's context. This might include a command ID and an\n exit code.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Additional information about a build phase that has an error. You can use this\n information for troubleshooting.</p>"
}
},
"com.amazonaws.codebuild#PhaseContexts": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#PhaseContext"
}
},
"com.amazonaws.codebuild#PlatformType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "DEBIAN",
"name": "DEBIAN"
},
{
"value": "AMAZON_LINUX",
"name": "AMAZON_LINUX"
},
{
"value": "UBUNTU",
"name": "UBUNTU"
},
{
"value": "WINDOWS_SERVER",
"name": "WINDOWS_SERVER"
}
]
}
},
"com.amazonaws.codebuild#Project": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#ProjectName",
"traits": {
"smithy.api#documentation": "<p>The name of the build project.</p>"
}
},
"arn": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the build project.</p>"
}
},
"description": {
"target": "com.amazonaws.codebuild#ProjectDescription",
"traits": {
"smithy.api#documentation": "<p>A description that makes the build project easy to identify.</p>"
}
},
"source": {
"target": "com.amazonaws.codebuild#ProjectSource",
"traits": {
"smithy.api#documentation": "<p>Information about the build input source code for this build project.</p>"
}
},
"secondarySources": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSource</code> objects. </p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A version of the build input to be built for this project. If not specified, the\n latest version is used. If specified, it must be one of:</p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>\n <p>If <code>sourceVersion</code> is specified at the build level, then that version\n takes precedence over this <code>sourceVersion</code> (at the project level). </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. \n </p>"
}
},
"secondarySourceVersions": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSourceVersion</code> objects. If\n <code>secondarySourceVersions</code> is specified at the build level, then they take\n over these <code>secondarySourceVersions</code> (at the project level). </p>"
}
},
"artifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifacts",
"traits": {
"smithy.api#documentation": "<p>Information about the build output artifacts for the build project.</p>"
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifactsList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectArtifacts</code> objects. </p>"
}
},
"cache": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>Information about the cache for the build project.</p>"
}
},
"environment": {
"target": "com.amazonaws.codebuild#ProjectEnvironment",
"traits": {
"smithy.api#documentation": "<p>Information about the build environment for this build project.</p>"
}
},
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services\n on behalf of the AWS account.</p>"
}
},
"timeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any\n related build that did not get marked as completed. The default is 60 minutes.</p>"
}
},
"queuedTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>The number of minutes a build is allowed to be queued before it times out. </p>"
}
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output\n artifacts.</p>\n <note>\n <p>You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).\n </p>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tag key and value pairs associated with this build project.</p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild build project\n tags.</p>"
}
},
"created": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build project was created, expressed in Unix time format.</p>"
}
},
"lastModified": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>When the build project's settings were last modified, expressed in Unix time\n format.</p>"
}
},
"webhook": {
"target": "com.amazonaws.codebuild#Webhook",
"traits": {
"smithy.api#documentation": "<p>Information about a webhook that connects repository events to a build project in\n AWS CodeBuild.</p>"
}
},
"vpcConfig": {
"target": "com.amazonaws.codebuild#VpcConfig",
"traits": {
"smithy.api#documentation": "<p>Information about the VPC configuration that AWS CodeBuild accesses.</p>"
}
},
"badge": {
"target": "com.amazonaws.codebuild#ProjectBadge",
"traits": {
"smithy.api#documentation": "<p>Information about the build badge for the build project.</p>"
}
},
"logsConfig": {
"target": "com.amazonaws.codebuild#LogsConfig",
"traits": {
"smithy.api#documentation": "<p>Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an\n S3 bucket, or both. </p>"
}
},
"fileSystemLocations": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocations",
"traits": {
"smithy.api#documentation": "<p>\n An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object \n specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, \n <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System.\n </p>"
}
},
"buildBatchConfig": {
"target": "com.amazonaws.codebuild#ProjectBuildBatchConfig",
"traits": {
"smithy.api#documentation": "<p>A <a>ProjectBuildBatchConfig</a>\n object that defines the batch build\n options for the project.</p>"
}
},
"concurrentBuildLimit": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>The maximum number of concurrent builds that are allowed for this project.</p>\n <p>New builds are only started if the current number of builds is less than or equal to this limit. \n If the current build count meets this limit, new builds are throttled and are not run.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectArns": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ProjectArtifacts": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#ArtifactsType",
"traits": {
"smithy.api#documentation": "<p>The type of build output artifact. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>CODEPIPELINE</code>: The build project has build output generated\n through AWS CodePipeline. </p>\n <note>\n <p>The <code>CODEPIPELINE</code> type is not supported for\n <code>secondaryArtifacts</code>.</p>\n </note>\n </li>\n <li>\n <p>\n <code>NO_ARTIFACTS</code>: The build project does not produce any build\n output.</p>\n </li>\n <li>\n <p>\n <code>S3</code>: The build project stores build output in Amazon S3.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Information about the build output artifact location:</p>\n <ul>\n <li>\n <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, AWS CodePipeline ignores this\n value if specified. This is because AWS CodePipeline manages its build output locations\n instead of AWS CodeBuild.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, this value is\n ignored if specified, because no build output is produced.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output\n bucket.</p>\n </li>\n </ul>"
}
},
"path": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Along with <code>namespaceType</code> and <code>name</code>, the pattern that AWS CodeBuild\n uses to name and store the output artifact:</p>\n <ul>\n <li>\n <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, AWS CodePipeline ignores this\n value if specified. This is because AWS CodePipeline manages its build output names instead\n of AWS CodeBuild.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, this value is\n ignored if specified, because no build output is produced.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>S3</code>, this is the path to the output\n artifact. If <code>path</code> is not specified, <code>path</code> is not\n used.</p>\n </li>\n </ul>\n <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>,\n <code>namespaceType</code> is set to <code>NONE</code>, and <code>name</code> is set\n to <code>MyArtifact.zip</code>, the output artifact is stored in the output bucket at\n <code>MyArtifacts/MyArtifact.zip</code>.</p>"
}
},
"namespaceType": {
"target": "com.amazonaws.codebuild#ArtifactNamespace",
"traits": {
"smithy.api#documentation": "<p>Along with <code>path</code> and <code>name</code>, the pattern that AWS CodeBuild uses to\n determine the name and location to store the output artifact:</p>\n <ul>\n <li>\n <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, AWS CodePipeline ignores this\n value if specified. This is because AWS CodePipeline manages its build output names instead\n of AWS CodeBuild.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, this value is\n ignored if specified, because no build output is produced.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>S3</code>, valid values include:</p>\n <ul>\n <li>\n <p>\n <code>BUILD_ID</code>: Include the build ID in the location of the\n build output artifact.</p>\n </li>\n <li>\n <p>\n <code>NONE</code>: Do not include the build ID. This is the default if\n <code>namespaceType</code> is not specified.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>,\n <code>namespaceType</code> is set to <code>BUILD_ID</code>, and <code>name</code> is\n set to <code>MyArtifact.zip</code>, the output artifact is stored in\n <code>MyArtifacts/<build-ID>/MyArtifact.zip</code>.</p>"
}
},
"name": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Along with <code>path</code> and <code>namespaceType</code>, the pattern that AWS CodeBuild\n uses to name and store the output artifact:</p>\n <ul>\n <li>\n <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, AWS CodePipeline ignores this\n value if specified. This is because AWS CodePipeline manages its build output names instead\n of AWS CodeBuild.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, this value is\n ignored if specified, because no build output is produced.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output\n artifact object. If you set the name to be a forward slash (\"/\"), the artifact\n is stored in the root of the output bucket.</p>\n </li>\n </ul>\n <p>For example:</p>\n <ul>\n <li>\n <p> If <code>path</code> is set to <code>MyArtifacts</code>,\n <code>namespaceType</code> is set to <code>BUILD_ID</code>, and\n <code>name</code> is set to <code>MyArtifact.zip</code>, then the output\n artifact is stored in <code>MyArtifacts/<build-ID>/MyArtifact.zip</code>. </p>\n </li>\n <li>\n <p> If <code>path</code> is empty, <code>namespaceType</code> is set to\n <code>NONE</code>, and <code>name</code> is set to \"<code>/</code>\", the\n output artifact is stored in the root of the output bucket. </p>\n </li>\n <li>\n <p> If <code>path</code> is set to <code>MyArtifacts</code>,\n <code>namespaceType</code> is set to <code>BUILD_ID</code>, and\n <code>name</code> is set to \"<code>/</code>\", the output artifact is stored\n in <code>MyArtifacts/<build-ID></code>. </p>\n </li>\n </ul>"
}
},
"packaging": {
"target": "com.amazonaws.codebuild#ArtifactPackaging",
"traits": {
"smithy.api#documentation": "<p>The type of build output artifact to create:</p>\n <ul>\n <li>\n <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, AWS CodePipeline ignores this\n value if specified. This is because AWS CodePipeline manages its build output artifacts\n instead of AWS CodeBuild.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, this value is\n ignored if specified, because no build output is produced.</p>\n </li>\n <li>\n <p>If <code>type</code> is set to <code>S3</code>, valid values include:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: AWS CodeBuild creates in the output bucket a folder that\n contains the build output. This is the default if <code>packaging</code>\n is not specified.</p>\n </li>\n <li>\n <p>\n <code>ZIP</code>: AWS CodeBuild creates in the output bucket a ZIP file that\n contains the build output.</p>\n </li>\n </ul>\n </li>\n </ul>"
}
},
"overrideArtifactName": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> If this flag is set, a name specified in the buildspec file overrides the artifact\n name. The name specified in a buildspec file is calculated at build time and uses the\n Shell Command Language. For example, you can append a date and time to your artifact\n name so that it is always unique. </p>"
}
},
"encryptionDisabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to true if you do not want your output artifacts encrypted. This option is valid\n only if your artifacts type is Amazon S3. If this is set with another artifacts type, an\n invalidInputException is thrown. </p>"
}
},
"artifactIdentifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> An identifier for this artifact definition. </p>"
}
},
"bucketOwnerAccess": {
"target": "com.amazonaws.codebuild#BucketOwnerAccess"
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the build output artifacts for the build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectArtifactsList": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ProjectArtifacts"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 12
}
}
},
"com.amazonaws.codebuild#ProjectBadge": {
"type": "structure",
"members": {
"badgeEnabled": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p>Set this to true to generate a publicly accessible URL for your project's build\n badge.</p>"
}
},
"badgeRequestUrl": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The publicly-accessible URL through which you can access the build badge for your\n project. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the build badge for the build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectBuildBatchConfig": {
"type": "structure",
"members": {
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>Specifies the service role ARN for the batch build project.</p>"
}
},
"combineArtifacts": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if the build artifacts for the batch build should be combined into a single\n artifact location.</p>"
}
},
"restrictions": {
"target": "com.amazonaws.codebuild#BatchRestrictions",
"traits": {
"smithy.api#documentation": "<p>A <code>BatchRestrictions</code> object that specifies the restrictions for the batch\n build.</p>"
}
},
"timeoutInMins": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>Specifies the maximum amount of time, in minutes, that the batch build must be completed in.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains configuration information about a batch build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectCache": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#CacheType",
"traits": {
"smithy.api#documentation": "<p>The type of cache used by the build project. Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>NO_CACHE</code>: The build project does not use any cache.</p>\n </li>\n <li>\n <p>\n <code>S3</code>: The build project reads and writes from and to S3.</p>\n </li>\n <li>\n <p>\n <code>LOCAL</code>: The build project stores a cache locally on a build host\n that is only available to that build host.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Information about the cache location: </p>\n <ul>\n <li>\n <p>\n <code>NO_CACHE</code> or <code>LOCAL</code>: This value is ignored.</p>\n </li>\n <li>\n <p>\n <code>S3</code>: This is the S3 bucket name/prefix.</p>\n </li>\n </ul>"
}
},
"modes": {
"target": "com.amazonaws.codebuild#ProjectCacheModes",
"traits": {
"smithy.api#documentation": "<p>An array of strings that specify the local cache modes. You can use one or more local\n cache modes at the same time. This is only used for <code>LOCAL</code> cache\n types.</p>\n <p>Possible values are:</p>\n <dl>\n <dt>LOCAL_SOURCE_CACHE</dt>\n <dd>\n <p>Caches Git metadata for primary and secondary sources. After the cache is\n created, subsequent builds pull only the change between commits. This mode\n is a good choice for projects with a clean working directory and a source\n that is a large Git repository. If you choose this option and your project\n does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the\n option is ignored. </p>\n </dd>\n <dt>LOCAL_DOCKER_LAYER_CACHE</dt>\n <dd>\n <p>Caches existing Docker layers. This mode is a good choice for projects\n that build or pull large Docker images. It can prevent the performance\n issues caused by pulling large Docker images down from the network. </p>\n <note>\n <ul>\n <li>\n <p>You can use a Docker layer cache in the Linux environment\n only. </p>\n </li>\n <li>\n <p>The <code>privileged</code> flag must be set so that your\n project has the required Docker permissions. </p>\n </li>\n <li>\n <p>You should consider the security implications before you use a\n Docker layer cache. </p>\n </li>\n </ul>\n </note>\n </dd>\n <dt>LOCAL_CUSTOM_CACHE</dt>\n <dd>\n <p>Caches directories you specify in the buildspec file. This mode is a good\n choice if your build scenario is not suited to one of the other three local\n cache modes. If you use a custom cache: </p>\n <ul>\n <li>\n <p>Only directories can be specified for caching. You cannot specify\n individual files. </p>\n </li>\n <li>\n <p>Symlinks are used to reference cached directories. </p>\n </li>\n <li>\n <p>Cached directories are linked to your build before it downloads\n its project sources. Cached items are overridden if a source item\n has the same name. Directories are specified using cache paths in\n the buildspec file. </p>\n </li>\n </ul>\n </dd>\n </dl>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the cache for the build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectCacheModes": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#CacheMode"
}
},
"com.amazonaws.codebuild#ProjectDescription": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 255
}
}
},
"com.amazonaws.codebuild#ProjectEnvironment": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#EnvironmentType",
"traits": {
"smithy.api#documentation": "<p>The type of build environment to use for related builds.</p>\n <ul>\n <li>\n <p>The environment type <code>ARM_CONTAINER</code> is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and\n EU (Frankfurt).</p>\n </li>\n <li>\n <p>The environment type <code>LINUX_CONTAINER</code> with compute type\n <code>build.general1.2xlarge</code> is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and\n China (Ningxia).</p>\n </li>\n <li>\n <p>The environment type <code>LINUX_GPU_CONTAINER</code> is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and\n China (Ningxia).</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"image": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The image tag or image digest that identifies the Docker image to use for this build\n project. Use the following formats:</p>\n <ul>\n <li>\n <p>For an image tag: <code><registry>/<repository>:<tag></code>. For\n example, in the Docker repository that CodeBuild uses to manage its Docker\n images, this would be <code>aws/codebuild/standard:4.0</code>. </p>\n </li>\n <li>\n <p>For an image digest: <code><registry>/<repository>@<digest></code>.\n For example, to specify an image with the digest\n \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use\n <code><registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf</code>.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"computeType": {
"target": "com.amazonaws.codebuild#ComputeType",
"traits": {
"smithy.api#documentation": "<p>Information about the compute resources the build project uses. Available values\n include:</p>\n <ul>\n <li>\n <p>\n <code>BUILD_GENERAL1_SMALL</code>: Use up to 3 GB memory and 2 vCPUs for\n builds.</p>\n </li>\n <li>\n <p>\n <code>BUILD_GENERAL1_MEDIUM</code>: Use up to 7 GB memory and 4 vCPUs for\n builds.</p>\n </li>\n <li>\n <p>\n <code>BUILD_GENERAL1_LARGE</code>: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.</p>\n </li>\n <li>\n <p>\n <code>BUILD_GENERAL1_2XLARGE</code>: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.</p>\n </li>\n </ul>\n <p> If you use <code>BUILD_GENERAL1_LARGE</code>: </p>\n <ul>\n <li>\n <p> For environment type <code>LINUX_CONTAINER</code>, you can use up to 15 GB\n memory and 8 vCPUs for builds. </p>\n </li>\n <li>\n <p> For environment type <code>LINUX_GPU_CONTAINER</code>, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.</p>\n </li>\n <li>\n <p> For environment type <code>ARM_CONTAINER</code>, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.</p>\n </li>\n </ul>\n <p> For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html\">Build Environment\n Compute Types</a> in the <i>AWS CodeBuild User Guide.</i>\n </p>",
"smithy.api#required": {}
}
},
"environmentVariables": {
"target": "com.amazonaws.codebuild#EnvironmentVariables",
"traits": {
"smithy.api#documentation": "<p>A set of environment variables to make available to builds for this build\n project.</p>"
}
},
"privilegedMode": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enables running the Docker daemon inside a Docker container. Set to true only if the\n build project is used to build Docker images. Otherwise, a build that attempts to\n interact with the Docker daemon fails. The default setting is <code>false</code>.</p>\n <p>You can initialize the Docker daemon during the install phase of your build by adding\n one of the following sets of commands to the install phase of your buildspec\n file:</p>\n <p>If the operating system's base image is Ubuntu Linux:</p>\n <p>\n <code>- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&</code>\n </p>\n <p>\n <code>- timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code>\n </p>\n <p>If the operating system's base image is Alpine Linux and the previous command does not\n work, add the <code>-t</code> argument to <code>timeout</code>:</p>\n <p>\n <code>- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&</code>\n </p>\n <p>\n <code>- timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code>\n </p>"
}
},
"certificate": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded\n certificate for the build project. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate\">certificate</a> in the\n <i>AWS CodeBuild User Guide</i>.</p>"
}
},
"registryCredential": {
"target": "com.amazonaws.codebuild#RegistryCredential",
"traits": {
"smithy.api#documentation": "<p> The credentials for access to a private registry.</p>"
}
},
"imagePullCredentialsType": {
"target": "com.amazonaws.codebuild#ImagePullCredentialsType",
"traits": {
"smithy.api#documentation": "<p> The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid\n values: </p>\n <ul>\n <li>\n <p>\n <code>CODEBUILD</code> specifies that AWS CodeBuild uses its own credentials.\n This requires that you modify your ECR repository policy to trust AWS\n CodeBuild's service principal. </p>\n </li>\n <li>\n <p>\n <code>SERVICE_ROLE</code> specifies that AWS CodeBuild uses your build project's service\n role. </p>\n </li>\n </ul>\n <p> When you use a cross-account or private registry image, you must use SERVICE_ROLE\n credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the build environment of the build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectFileSystemLocation": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#FileSystemType",
"traits": {
"smithy.api#documentation": "<p> The type of the file system. The one supported type is <code>EFS</code>. </p>"
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A string that specifies the location of the file system created by Amazon EFS. Its\n format is <code>efs-dns-name:/directory-path</code>. You can find the DNS name of file\n system when you view it in the AWS EFS console. The directory path is a path to a\n directory in the file system that CodeBuild mounts. For example, if the DNS name of a\n file system is <code>fs-abcd1234.efs.us-west-2.amazonaws.com</code>, and its mount\n directory is <code>my-efs-mount-directory</code>, then the <code>location</code> is\n <code>fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory</code>. </p>\n <p>The directory path in the format <code>efs-dns-name:/directory-path</code> is\n optional. If you do not specify a directory path, the location is only the DNS name and\n CodeBuild mounts the entire file system. </p>"
}
},
"mountPoint": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The location in the container where you mount the file system. </p>"
}
},
"identifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name used to access a file system created by Amazon EFS. CodeBuild creates an\n environment variable by appending the <code>identifier</code> in all capital letters to\n <code>CODEBUILD_</code>. For example, if you specify <code>my_efs</code> for\n <code>identifier</code>, a new environment variable is create named\n <code>CODEBUILD_MY_EFS</code>. </p>\n <p> The <code>identifier</code> is used to mount your file system. </p>"
}
},
"mountOptions": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The mount options for a file system created by AWS EFS. The default mount options\n used by CodeBuild are\n <code>nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2</code>. For\n more information, see <a href=\"https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html\">Recommended NFS Mount\n Options</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about a file system created by Amazon Elastic File System (EFS). For more\n information, see <a href=\"https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html\">What Is\n Amazon Elastic File System?</a>\n </p>"
}
},
"com.amazonaws.codebuild#ProjectFileSystemLocations": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocation"
}
},
"com.amazonaws.codebuild#ProjectName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 255
},
"smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9\\-_]{1,254}"
}
},
"com.amazonaws.codebuild#ProjectNames": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ProjectSecondarySourceVersions": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ProjectSourceVersion"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 12
}
}
},
"com.amazonaws.codebuild#ProjectSortByType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NAME",
"name": "NAME"
},
{
"value": "CREATED_TIME",
"name": "CREATED_TIME"
},
{
"value": "LAST_MODIFIED_TIME",
"name": "LAST_MODIFIED_TIME"
}
]
}
},
"com.amazonaws.codebuild#ProjectSource": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#SourceType",
"traits": {
"smithy.api#documentation": "<p>The type of repository that contains the source code to be built. Valid values\n include:</p>\n <ul>\n <li>\n <p>\n <code>BITBUCKET</code>: The source code is in a Bitbucket repository.</p>\n </li>\n <li>\n <p>\n <code>CODECOMMIT</code>: The source code is in an AWS CodeCommit repository.</p>\n </li>\n <li>\n <p>\n <code>CODEPIPELINE</code>: The source code settings are specified in the\n source action of a pipeline in AWS CodePipeline.</p>\n </li>\n <li>\n <p>\n <code>GITHUB</code>: The source code is in a GitHub or GitHub Enterprise Cloud\n repository.</p>\n </li>\n <li>\n <p>\n <code>GITHUB_ENTERPRISE</code>: The source code is in a GitHub Enterprise\n Server repository.</p>\n </li>\n <li>\n <p>\n <code>NO_SOURCE</code>: The project does not have input source code.</p>\n </li>\n <li>\n <p>\n <code>S3</code>: The source code is in an Amazon S3 bucket.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Information about the location of the source code to be built. Valid values\n include:</p>\n <ul>\n <li>\n <p>For source code settings that are specified in the source action of a pipeline\n in AWS CodePipeline, <code>location</code> should not be specified. If it is specified,\n AWS CodePipeline ignores it. This is because AWS CodePipeline uses the settings in a pipeline's source\n action instead of this value.</p>\n </li>\n <li>\n <p>For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository\n that contains the source code and the buildspec file (for example,\n <code>https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name></code>).</p>\n </li>\n <li>\n <p>For source code in an Amazon S3 input bucket, one of the following. </p>\n <ul>\n <li>\n <p>The path to the ZIP file that contains the source code (for example,\n <code><bucket-name>/<path>/<object-name>.zip</code>). </p>\n </li>\n <li>\n <p>The path to the folder that contains the source code (for example,\n <code><bucket-name>/<path-to-source-code>/<folder>/</code>). </p>\n </li>\n </ul>\n </li>\n <li>\n <p>For source code in a GitHub repository, the HTTPS clone URL to the repository\n that contains the source and the buildspec file. You must connect your AWS\n account to your GitHub account. Use the AWS CodeBuild console to start creating a build\n project. When you use the console to connect (or reconnect) with GitHub, on the\n GitHub <b>Authorize application</b> page, for\n <b>Organization access</b>, choose <b>Request access</b> next to each repository you want to\n allow AWS CodeBuild to have access to, and then choose <b>Authorize\n application</b>. (After you have connected to your GitHub account,\n you do not need to finish creating the build project. You can leave the AWS CodeBuild\n console.) To instruct AWS CodeBuild to use this connection, in the <code>source</code>\n object, set the <code>auth</code> object's <code>type</code> value to\n <code>OAUTH</code>.</p>\n </li>\n <li>\n <p>For source code in a Bitbucket repository, the HTTPS clone URL to the\n repository that contains the source and the buildspec file. You must connect\n your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start\n creating a build project. When you use the console to connect (or reconnect)\n with Bitbucket, on the Bitbucket <b>Confirm access to your\n account</b> page, choose <b>Grant\n access</b>. (After you have connected to your Bitbucket account, you\n do not need to finish creating the build project. You can leave the AWS CodeBuild\n console.) To instruct AWS CodeBuild to use this connection, in the <code>source</code>\n object, set the <code>auth</code> object's <code>type</code> value to\n <code>OAUTH</code>.</p>\n </li>\n </ul>"
}
},
"gitCloneDepth": {
"target": "com.amazonaws.codebuild#GitCloneDepth",
"traits": {
"smithy.api#documentation": "<p>Information about the Git clone depth for the build project.</p>"
}
},
"gitSubmodulesConfig": {
"target": "com.amazonaws.codebuild#GitSubmodulesConfig",
"traits": {
"smithy.api#documentation": "<p> Information about the Git submodules configuration for the build project. </p>"
}
},
"buildspec": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The buildspec file declaration to use for the builds in this build project.</p>\n <p> If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket.\n The bucket must be in the same AWS Region as the build project. Specify the buildspec\n file using its ARN (for example,\n <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage\">Buildspec File Name and Storage Location</a>. </p>"
}
},
"auth": {
"target": "com.amazonaws.codebuild#SourceAuth",
"traits": {
"smithy.api#documentation": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
}
},
"reportBuildStatus": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to true to report the status of a build's start and finish to your source\n provider. This option is valid only when your source provider is GitHub, GitHub\n Enterprise, or Bitbucket. If this is set and you use a different source provider, an\n <code>invalidInputException</code> is thrown. </p>\n <p>To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html\">Source provider access</a> in the <i>AWS CodeBuild User Guide</i>.</p>\n <note>\n <p> The status of a build triggered by a webhook is always reported to your source\n provider. </p>\n </note>"
}
},
"buildStatusConfig": {
"target": "com.amazonaws.codebuild#BuildStatusConfig",
"traits": {
"smithy.api#documentation": "<p>Contains information that defines how the build project reports the build status to\n the source provider. This option is only used when the source provider is\n <code>GITHUB</code>, <code>GITHUB_ENTERPRISE</code>, or\n <code>BITBUCKET</code>.</p>"
}
},
"insecureSsl": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enable this flag to ignore SSL warnings while connecting to the project source\n code.</p>"
}
},
"sourceIdentifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>An identifier for this project source. The identifier can only contain\n alphanumeric characters and underscores, and must be less than 128 characters in length. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the build input source code for the build project.</p>"
}
},
"com.amazonaws.codebuild#ProjectSourceVersion": {
"type": "structure",
"members": {
"sourceIdentifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>An identifier for a source in the build project. The identifier can only contain\n alphanumeric characters and underscores, and must be less than 128 characters in length. </p>",
"smithy.api#required": {}
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The source version for the corresponding source identifier. If specified, must be one\n of:</p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example, <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>\n <p> For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> A source identifier and its corresponding version. </p>"
}
},
"com.amazonaws.codebuild#ProjectSources": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ProjectSource"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 12
}
}
},
"com.amazonaws.codebuild#Projects": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#Project"
}
},
"com.amazonaws.codebuild#PutResourcePolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#PutResourcePolicyInput"
},
"output": {
"target": "com.amazonaws.codebuild#PutResourcePolicyOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p> Stores a resource policy for the ARN of a <code>Project</code> or\n <code>ReportGroup</code> object. </p>"
}
},
"com.amazonaws.codebuild#PutResourcePolicyInput": {
"type": "structure",
"members": {
"policy": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> A JSON-formatted resource policy. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share\">Sharing\n a Project</a> and <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share\">Sharing a Report Group</a> in the <i>AWS CodeBuild User Guide</i>.\n </p>",
"smithy.api#required": {}
}
},
"resourceArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the <code>Project</code> or <code>ReportGroup</code> resource you want to\n associate with a resource policy. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#PutResourcePolicyOutput": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the <code>Project</code> or <code>ReportGroup</code> resource that is\n associated with a resource policy. </p>"
}
}
}
},
"com.amazonaws.codebuild#RegistryCredential": {
"type": "structure",
"members": {
"credential": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager. </p>\n <note>\n <p> The <code>credential</code> can use the name of the credentials only if they\n exist in your current AWS Region. </p>\n </note>",
"smithy.api#required": {}
}
},
"credentialProvider": {
"target": "com.amazonaws.codebuild#CredentialProviderType",
"traits": {
"smithy.api#documentation": "<p> The service that created the credentials to access a private Docker registry. The\n valid value, SECRETS_MANAGER, is for AWS Secrets Manager. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about credentials that provide access to a private Docker registry. When\n this is set: </p>\n <ul>\n <li>\n <p>\n <code>imagePullCredentialsType</code> must be set to <code>SERVICE_ROLE</code>.\n </p>\n </li>\n <li>\n <p> images cannot be curated or an Amazon ECR image.</p>\n </li>\n </ul>\n <p> For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html\">Private Registry with\n AWS Secrets Manager Sample for AWS CodeBuild</a>. </p>"
}
},
"com.amazonaws.codebuild#Report": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the report run. </p>"
}
},
"type": {
"target": "com.amazonaws.codebuild#ReportType",
"traits": {
"smithy.api#documentation": "<p>The type of the report that was run.</p>\n <dl>\n <dt>CODE_COVERAGE</dt>\n <dd>\n <p>A code coverage report.</p>\n </dd>\n <dt>TEST</dt>\n <dd>\n <p>A test report.</p>\n </dd>\n </dl>"
}
},
"name": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The name of the report that was run. </p>"
}
},
"reportGroupArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the report group associated with this report. </p>"
}
},
"executionId": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The ARN of the build run that generated this report. </p>"
}
},
"status": {
"target": "com.amazonaws.codebuild#ReportStatusType",
"traits": {
"smithy.api#documentation": "<p> The status of this report. </p>"
}
},
"created": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p> The date and time this report run occurred. </p>"
}
},
"expired": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p> The date and time a report expires. A report expires 30 days after it is created. An\n expired report is not available to view in CodeBuild. </p>"
}
},
"exportConfig": {
"target": "com.amazonaws.codebuild#ReportExportConfig",
"traits": {
"smithy.api#documentation": "<p> Information about where the raw data used to generate this report was exported.\n </p>"
}
},
"truncated": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> A boolean that specifies if this report run is truncated. The list of test cases is\n truncated after the maximum number of test cases is reached. </p>"
}
},
"testSummary": {
"target": "com.amazonaws.codebuild#TestReportSummary",
"traits": {
"smithy.api#documentation": "<p> A <code>TestReportSummary</code> object that contains information about this test\n report. </p>"
}
},
"codeCoverageSummary": {
"target": "com.amazonaws.codebuild#CodeCoverageReportSummary",
"traits": {
"smithy.api#documentation": "<p>A <code>CodeCoverageReportSummary</code> object that contains a code coverage summary for\n this report.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the results from running a series of test cases during the run of a\n build project. The test cases are specified in the buildspec for the build project using\n one or more paths to the test case files. You can specify any type of tests you want,\n such as unit tests, integration tests, and functional tests. </p>"
}
},
"com.amazonaws.codebuild#ReportArns": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ReportCodeCoverageSortByType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LINE_COVERAGE_PERCENTAGE",
"name": "LINE_COVERAGE_PERCENTAGE"
},
{
"value": "FILE_PATH",
"name": "FILE_PATH"
}
]
}
},
"com.amazonaws.codebuild#ReportExportConfig": {
"type": "structure",
"members": {
"exportConfigType": {
"target": "com.amazonaws.codebuild#ReportExportConfigType",
"traits": {
"smithy.api#documentation": "<p> The export configuration type. Valid values are: </p>\n <ul>\n <li>\n <p>\n <code>S3</code>: The report results are exported to an S3 bucket. </p>\n </li>\n <li>\n <p>\n <code>NO_EXPORT</code>: The report results are not exported. </p>\n </li>\n </ul>"
}
},
"s3Destination": {
"target": "com.amazonaws.codebuild#S3ReportExportConfig",
"traits": {
"smithy.api#documentation": "<p> A <code>S3ReportExportConfig</code> object that contains information about the S3\n bucket where the run of a report is exported. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about the location where the run of a report is exported. </p>"
}
},
"com.amazonaws.codebuild#ReportExportConfigType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "S3",
"name": "S3"
},
{
"value": "NO_EXPORT",
"name": "NO_EXPORT"
}
]
}
},
"com.amazonaws.codebuild#ReportFilter": {
"type": "structure",
"members": {
"status": {
"target": "com.amazonaws.codebuild#ReportStatusType",
"traits": {
"smithy.api#documentation": "<p> The status used to filter reports. You can filter using one status only. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> A filter used to return reports with the status specified by the input\n <code>status</code> parameter. </p>"
}
},
"com.amazonaws.codebuild#ReportGroup": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the <code>ReportGroup</code>. \n </p>"
}
},
"name": {
"target": "com.amazonaws.codebuild#ReportGroupName",
"traits": {
"smithy.api#documentation": "<p>The name of the <code>ReportGroup</code>. \n </p>"
}
},
"type": {
"target": "com.amazonaws.codebuild#ReportType",
"traits": {
"smithy.api#documentation": "<p>The type of the <code>ReportGroup</code>. This can be one of the following\n values:</p>\n <dl>\n <dt>CODE_COVERAGE</dt>\n <dd>\n <p>The report group contains code coverage reports.</p>\n </dd>\n <dt>TEST</dt>\n <dd>\n <p>The report group contains test reports.</p>\n </dd>\n </dl>"
}
},
"exportConfig": {
"target": "com.amazonaws.codebuild#ReportExportConfig",
"traits": {
"smithy.api#documentation": "<p>Information about the destination where the raw data of this <code>ReportGroup</code>\n is exported. </p>"
}
},
"created": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time this <code>ReportGroup</code> was created. </p>"
}
},
"lastModified": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time this <code>ReportGroup</code> was last modified. </p>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tag key and value pairs associated with this report group. </p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild report group\n tags.</p>"
}
},
"status": {
"target": "com.amazonaws.codebuild#ReportGroupStatusType",
"traits": {
"smithy.api#documentation": "<p>The status of the report group. This property is read-only.</p>\n <p>This can be one of the following values:</p>\n <dl>\n <dt>ACTIVE</dt>\n <dd>\n <p>The report group is active.</p>\n </dd>\n <dt>DELETING</dt>\n <dd>\n <p>The report group is in the process of being deleted.</p>\n </dd>\n </dl>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A series of reports. Each report contains information about the results from running a\n series of test cases. You specify the test cases for a report group in the buildspec for\n a build project using one or more paths to the test case files. </p>"
}
},
"com.amazonaws.codebuild#ReportGroupArns": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ReportGroupName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 128
}
}
},
"com.amazonaws.codebuild#ReportGroupSortByType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NAME",
"name": "NAME"
},
{
"value": "CREATED_TIME",
"name": "CREATED_TIME"
},
{
"value": "LAST_MODIFIED_TIME",
"name": "LAST_MODIFIED_TIME"
}
]
}
},
"com.amazonaws.codebuild#ReportGroupStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "DELETING",
"name": "DELETING"
}
]
}
},
"com.amazonaws.codebuild#ReportGroupTrendFieldType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "PASS_RATE",
"name": "PASS_RATE"
},
{
"value": "DURATION",
"name": "DURATION"
},
{
"value": "TOTAL",
"name": "TOTAL"
},
{
"value": "LINE_COVERAGE",
"name": "LINE_COVERAGE"
},
{
"value": "LINES_COVERED",
"name": "LINES_COVERED"
},
{
"value": "LINES_MISSED",
"name": "LINES_MISSED"
},
{
"value": "BRANCH_COVERAGE",
"name": "BRANCH_COVERAGE"
},
{
"value": "BRANCHES_COVERED",
"name": "BRANCHES_COVERED"
},
{
"value": "BRANCHES_MISSED",
"name": "BRANCHES_MISSED"
}
]
}
},
"com.amazonaws.codebuild#ReportGroupTrendRawDataList": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ReportWithRawData"
}
},
"com.amazonaws.codebuild#ReportGroupTrendStats": {
"type": "structure",
"members": {
"average": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Contains the average of all values analyzed.</p>"
}
},
"max": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Contains the maximum value analyzed.</p>"
}
},
"min": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>Contains the minimum value analyzed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains trend statistics for a set of reports. The actual values depend on the type of\n trend being collected. For more information, see .</p>"
}
},
"com.amazonaws.codebuild#ReportGroups": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ReportGroup"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ReportPackagingType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ZIP",
"name": "ZIP"
},
{
"value": "NONE",
"name": "NONE"
}
]
}
},
"com.amazonaws.codebuild#ReportStatusCounts": {
"type": "map",
"key": {
"target": "com.amazonaws.codebuild#String"
},
"value": {
"target": "com.amazonaws.codebuild#WrapperInt"
}
},
"com.amazonaws.codebuild#ReportStatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "GENERATING",
"name": "GENERATING"
},
{
"value": "SUCCEEDED",
"name": "SUCCEEDED"
},
{
"value": "FAILED",
"name": "FAILED"
},
{
"value": "INCOMPLETE",
"name": "INCOMPLETE"
},
{
"value": "DELETING",
"name": "DELETING"
}
]
}
},
"com.amazonaws.codebuild#ReportType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "TEST",
"name": "TEST"
},
{
"value": "CODE_COVERAGE",
"name": "CODE_COVERAGE"
}
]
}
},
"com.amazonaws.codebuild#ReportWithRawData": {
"type": "structure",
"members": {
"reportArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ARN of the report.</p>"
}
},
"data": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The value of the requested data field from the report.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the unmodified data for the report. For more information, see .</p>"
}
},
"com.amazonaws.codebuild#Reports": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#Report"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codebuild#ResolvedArtifact": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#ArtifactsType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of artifact.</p>"
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The location of the artifact.</p>"
}
},
"identifier": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The identifier of the artifact.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a resolved build artifact. A resolve artifact is an artifact that is built and\n deployed to the destination, such as Amazon S3.</p>"
}
},
"com.amazonaws.codebuild#ResolvedSecondaryArtifacts": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#ResolvedArtifact"
}
},
"com.amazonaws.codebuild#ResourceAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codebuild#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified AWS resource cannot be created, because an AWS resource with the same\n settings already exists.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codebuild#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codebuild#String"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified AWS resource cannot be found.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codebuild#RetryBuild": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#RetryBuildInput"
},
"output": {
"target": "com.amazonaws.codebuild#RetryBuildOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#AccountLimitExceededException"
},
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Restarts a build.</p>"
}
},
"com.amazonaws.codebuild#RetryBuildBatch": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#RetryBuildBatchInput"
},
"output": {
"target": "com.amazonaws.codebuild#RetryBuildBatchOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Restarts a failed batch build. Only batch builds that have failed can be retried.</p>"
}
},
"com.amazonaws.codebuild#RetryBuildBatchInput": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>Specifies the identifier of the batch build to restart.</p>"
}
},
"idempotencyToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the\n <code>RetryBuildBatch</code> request. The token is included in the\n <code>RetryBuildBatch</code> request and is valid for five minutes. If you repeat\n the <code>RetryBuildBatch</code> request with the same token, but change a parameter,\n AWS CodeBuild returns a parameter mismatch error.</p>"
}
},
"retryType": {
"target": "com.amazonaws.codebuild#RetryBuildBatchType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of retry to perform.</p>"
}
}
}
},
"com.amazonaws.codebuild#RetryBuildBatchOutput": {
"type": "structure",
"members": {
"buildBatch": {
"target": "com.amazonaws.codebuild#BuildBatch"
}
}
},
"com.amazonaws.codebuild#RetryBuildBatchType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "RETRY_ALL_BUILDS",
"name": "RETRY_ALL_BUILDS"
},
{
"value": "RETRY_FAILED_BUILDS",
"name": "RETRY_FAILED_BUILDS"
}
]
}
},
"com.amazonaws.codebuild#RetryBuildInput": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>Specifies the identifier of the build to restart.</p>"
}
},
"idempotencyToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the\n <code>RetryBuild</code> request. The token is included in the\n <code>RetryBuild</code> request and is valid for five minutes. If you repeat\n the <code>RetryBuild</code> request with the same token, but change a parameter,\n AWS CodeBuild returns a parameter mismatch error.</p>"
}
}
}
},
"com.amazonaws.codebuild#RetryBuildOutput": {
"type": "structure",
"members": {
"build": {
"target": "com.amazonaws.codebuild#Build"
}
}
},
"com.amazonaws.codebuild#S3LogsConfig": {
"type": "structure",
"members": {
"status": {
"target": "com.amazonaws.codebuild#LogsConfigStatusType",
"traits": {
"smithy.api#documentation": "<p>The current status of the S3 build logs. Valid values are:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code>: S3 build logs are enabled for this build project.</p>\n </li>\n <li>\n <p>\n <code>DISABLED</code>: S3 build logs are not enabled for this build\n project.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"location": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket\n name is <code>my-bucket</code>, and your path prefix is <code>build-log</code>, then\n acceptable formats are <code>my-bucket/build-log</code> or\n <code>arn:aws:s3:::my-bucket/build-log</code>. </p>"
}
},
"encryptionDisabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to true if you do not want your S3 build log output encrypted. By default S3\n build logs are encrypted. </p>"
}
},
"bucketOwnerAccess": {
"target": "com.amazonaws.codebuild#BucketOwnerAccess"
}
},
"traits": {
"smithy.api#documentation": "<p> Information about S3 logs for a build project. </p>"
}
},
"com.amazonaws.codebuild#S3ReportExportConfig": {
"type": "structure",
"members": {
"bucket": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The name of the S3 bucket where the raw data of a report are exported. </p>"
}
},
"bucketOwner": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The AWS account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket\n that is owned by an account other than the account running the build.</p>"
}
},
"path": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The path to the exported report's raw data results. </p>"
}
},
"packaging": {
"target": "com.amazonaws.codebuild#ReportPackagingType",
"traits": {
"smithy.api#documentation": "<p> The type of build output artifact to create. Valid values include: </p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: AWS CodeBuild creates the raw data in the output bucket. This\n is the default if packaging is not specified. </p>\n </li>\n <li>\n <p>\n <code>ZIP</code>: AWS CodeBuild creates a ZIP file with the raw data in the\n output bucket. </p>\n </li>\n </ul>"
}
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The encryption key for the report's encrypted raw data. </p>"
}
},
"encryptionDisabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> A boolean value that specifies if the results of a report are encrypted. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about the S3 bucket where the raw data of a report are exported. </p>"
}
},
"com.amazonaws.codebuild#SecurityGroupIds": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 5
}
}
},
"com.amazonaws.codebuild#SensitiveNonEmptyString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.codebuild#ServerType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "GITHUB",
"name": "GITHUB"
},
{
"value": "BITBUCKET",
"name": "BITBUCKET"
},
{
"value": "GITHUB_ENTERPRISE",
"name": "GITHUB_ENTERPRISE"
}
]
}
},
"com.amazonaws.codebuild#SharedResourceSortByType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ARN",
"name": "ARN"
},
{
"value": "MODIFIED_TIME",
"name": "MODIFIED_TIME"
}
]
}
},
"com.amazonaws.codebuild#SortOrderType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ASCENDING",
"name": "ASCENDING"
},
{
"value": "DESCENDING",
"name": "DESCENDING"
}
]
}
},
"com.amazonaws.codebuild#SourceAuth": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#SourceAuthType",
"traits": {
"smithy.api#documentation": "<note>\n <p> This data type is deprecated and is no longer accurate or used. </p>\n </note>\n <p>The authorization type to use. The only valid value is <code>OAUTH</code>, which\n represents the OAuth authorization type.</p>",
"smithy.api#required": {}
}
},
"resource": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The resource value that applies to the specified authorization type.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
}
},
"com.amazonaws.codebuild#SourceAuthType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "OAUTH",
"name": "OAUTH"
}
]
}
},
"com.amazonaws.codebuild#SourceCredentialsInfo": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The Amazon Resource Name (ARN) of the token. </p>"
}
},
"serverType": {
"target": "com.amazonaws.codebuild#ServerType",
"traits": {
"smithy.api#documentation": "<p> The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or\n BITBUCKET. </p>"
}
},
"authType": {
"target": "com.amazonaws.codebuild#AuthType",
"traits": {
"smithy.api#documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH,\n BASIC_AUTH, or PERSONAL_ACCESS_TOKEN. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket\n repository. </p>"
}
},
"com.amazonaws.codebuild#SourceCredentialsInfos": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#SourceCredentialsInfo"
}
},
"com.amazonaws.codebuild#SourceType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CODECOMMIT",
"name": "CODECOMMIT"
},
{
"value": "CODEPIPELINE",
"name": "CODEPIPELINE"
},
{
"value": "GITHUB",
"name": "GITHUB"
},
{
"value": "S3",
"name": "S3"
},
{
"value": "BITBUCKET",
"name": "BITBUCKET"
},
{
"value": "GITHUB_ENTERPRISE",
"name": "GITHUB_ENTERPRISE"
},
{
"value": "NO_SOURCE",
"name": "NO_SOURCE"
}
]
}
},
"com.amazonaws.codebuild#StartBuild": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#StartBuildInput"
},
"output": {
"target": "com.amazonaws.codebuild#StartBuildOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#AccountLimitExceededException"
},
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Starts running a build.</p>"
}
},
"com.amazonaws.codebuild#StartBuildBatch": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#StartBuildBatchInput"
},
"output": {
"target": "com.amazonaws.codebuild#StartBuildBatchOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Starts a batch build for a project.</p>"
}
},
"com.amazonaws.codebuild#StartBuildBatchInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the project.</p>",
"smithy.api#required": {}
}
},
"secondarySourcesOverride": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSource</code> objects that override the secondary sources\n defined in the batch build project.</p>"
}
},
"secondarySourcesVersionOverride": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectSourceVersion</code> objects that override the secondary source\n versions in the batch build project.</p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The version of the batch build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:</p>\n <dl>\n <dt>AWS CodeCommit</dt>\n <dd>\n <p>The commit ID, branch, or Git tag to use.</p>\n </dd>\n <dt>GitHub</dt>\n <dd>\n <p>The commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format <code>pr/pull-request-ID</code> (for\n example <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.</p>\n </dd>\n <dt>Bitbucket</dt>\n <dd>\n <p>The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </dd>\n <dt>Amazon S3</dt>\n <dd>\n <p>The version ID of the object that represents the build input ZIP file to\n use.</p>\n </dd>\n </dl>\n <p>If <code>sourceVersion</code> is specified at the project level, then this\n <code>sourceVersion</code> (at the build level) takes precedence. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>"
}
},
"artifactsOverride": {
"target": "com.amazonaws.codebuild#ProjectArtifacts",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectArtifacts</code> objects that contains information about the\n build output artifact overrides for the build project.</p>"
}
},
"secondaryArtifactsOverride": {
"target": "com.amazonaws.codebuild#ProjectArtifactsList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>ProjectArtifacts</code> objects that override the secondary artifacts\n defined in the batch build project.</p>"
}
},
"environmentVariablesOverride": {
"target": "com.amazonaws.codebuild#EnvironmentVariables",
"traits": {
"smithy.api#documentation": "<p>An array of <code>EnvironmentVariable</code> objects that override, or add to, the\n environment variables defined in the batch build project.</p>"
}
},
"sourceTypeOverride": {
"target": "com.amazonaws.codebuild#SourceType",
"traits": {
"smithy.api#documentation": "<p>The source input type that overrides the source input defined in the batch\n build project.</p>"
}
},
"sourceLocationOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A location that overrides, for this batch build, the source location defined in\n the batch build project.</p>"
}
},
"sourceAuthOverride": {
"target": "com.amazonaws.codebuild#SourceAuth",
"traits": {
"smithy.api#documentation": "<p>A <code>SourceAuth</code> object that overrides the one defined in the batch build\n project. This override applies only if the build project's source is BitBucket or\n GitHub.</p>"
}
},
"gitCloneDepthOverride": {
"target": "com.amazonaws.codebuild#GitCloneDepth",
"traits": {
"smithy.api#documentation": "<p>The user-defined depth of history, with a minimum value of 0, that overrides, for this\n batch build only, any previous depth of history defined in the batch build project.</p>"
}
},
"gitSubmodulesConfigOverride": {
"target": "com.amazonaws.codebuild#GitSubmodulesConfig",
"traits": {
"smithy.api#documentation": "<p>A <code>GitSubmodulesConfig</code> object that overrides the Git submodules configuration\n for this batch build.</p>"
}
},
"buildspecOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A buildspec file declaration that overrides, for this build only, the latest one\n already defined in the build project.</p>\n <p>If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket.\n The bucket must be in the same AWS Region as the build project. Specify the buildspec\n file using its ARN (for example,\n <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage\">Buildspec File Name and Storage Location</a>. </p>"
}
},
"insecureSslOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enable this flag to override the insecure SSL setting that is specified in the batch build\n project. The insecure SSL setting determines whether to ignore SSL warnings while\n connecting to the project source code. This override applies only if the build's source\n is GitHub Enterprise.</p>"
}
},
"reportBuildBatchStatusOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Set to <code>true</code> to report to your source provider the status of a batch build's\n start and completion. If you use this option with a source provider other than GitHub,\n GitHub Enterprise, or Bitbucket, an <code>invalidInputException</code> is thrown. </p>\n <note>\n <p>The status of a build triggered by a webhook is always reported to your source\n provider. </p>\n </note>"
}
},
"environmentTypeOverride": {
"target": "com.amazonaws.codebuild#EnvironmentType",
"traits": {
"smithy.api#documentation": "<p>A container type for this batch build that overrides the one specified in the batch build\n project.</p>"
}
},
"imageOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of an image for this batch build that overrides the one specified in the batch\n build project.</p>"
}
},
"computeTypeOverride": {
"target": "com.amazonaws.codebuild#ComputeType",
"traits": {
"smithy.api#documentation": "<p>The name of a compute type for this batch build that overrides the one specified in the\n batch build project.</p>"
}
},
"certificateOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of a certificate for this batch build that overrides the one specified in the batch build\n project.</p>"
}
},
"cacheOverride": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>A <code>ProjectCache</code> object that specifies cache overrides.</p>"
}
},
"serviceRoleOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of a service role for this batch build that overrides the one specified in the\n batch build project.</p>"
}
},
"privilegedModeOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enable this flag to override privileged mode in the batch build project.</p>"
}
},
"buildTimeoutInMinutesOverride": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>Overrides the build timeout specified in the batch build project.</p>"
}
},
"queuedTimeoutInMinutesOverride": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>The number of minutes a batch build is allowed to be queued before it times out.</p>"
}
},
"encryptionKeyOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) that overrides the one specified in the batch build\n project. The CMK key encrypts the build output artifacts.</p>\n <note>\n <p>You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).</p>"
}
},
"idempotencyToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the\n <code>StartBuildBatch</code> request. The token is included in the\n <code>StartBuildBatch</code> request and is valid for five minutes. If you repeat\n the <code>StartBuildBatch</code> request with the same token, but change a parameter,\n AWS CodeBuild returns a parameter mismatch error.</p>"
}
},
"logsConfigOverride": {
"target": "com.amazonaws.codebuild#LogsConfig",
"traits": {
"smithy.api#documentation": "<p>A <code>LogsConfig</code> object that override the log settings defined in the batch build\n project.</p>"
}
},
"registryCredentialOverride": {
"target": "com.amazonaws.codebuild#RegistryCredential",
"traits": {
"smithy.api#documentation": "<p>A <code>RegistryCredential</code> object that overrides credentials for access to a\n private registry.</p>"
}
},
"imagePullCredentialsTypeOverride": {
"target": "com.amazonaws.codebuild#ImagePullCredentialsType",
"traits": {
"smithy.api#documentation": "<p>The type of credentials AWS CodeBuild uses to pull images in your batch build. There are two valid\n values: </p>\n <dl>\n <dt>CODEBUILD</dt>\n <dd>\n <p>Specifies that AWS CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust AWS CodeBuild's service principal.</p>\n </dd>\n <dt>SERVICE_ROLE</dt>\n <dd>\n <p>Specifies that AWS CodeBuild uses your build project's service role. </p>\n </dd>\n </dl>\n <p>When using a cross-account or private registry image, you must use\n <code>SERVICE_ROLE</code> credentials. When using an AWS CodeBuild curated image,\n you must use <code>CODEBUILD</code> credentials. </p>"
}
},
"buildBatchConfigOverride": {
"target": "com.amazonaws.codebuild#ProjectBuildBatchConfig",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildBatchConfigOverride</code> object that contains batch build configuration\n overrides.</p>"
}
},
"debugSessionEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if session debugging is enabled for this batch build. For more information, see\n <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a running build in Session Manager</a>. Batch session debugging is not supported for matrix batch builds.</p>"
}
}
}
},
"com.amazonaws.codebuild#StartBuildBatchOutput": {
"type": "structure",
"members": {
"buildBatch": {
"target": "com.amazonaws.codebuild#BuildBatch",
"traits": {
"smithy.api#documentation": "<p>A <code>BuildBatch</code> object that contains information about the batch build.</p>"
}
}
}
},
"com.amazonaws.codebuild#StartBuildInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild build project to start running a build.</p>",
"smithy.api#required": {}
}
},
"secondarySourcesOverride": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSource</code> objects. </p>"
}
},
"secondarySourcesVersionOverride": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSourceVersion</code> objects that specify one or more\n versions of the project's secondary sources to be used for this build only. </p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The version of the build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:</p>\n <dl>\n <dt>AWS CodeCommit</dt>\n <dd>\n <p>The commit ID, branch, or Git tag to use.</p>\n </dd>\n <dt>GitHub</dt>\n <dd>\n <p>The commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format <code>pr/pull-request-ID</code> (for\n example <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.</p>\n </dd>\n <dt>Bitbucket</dt>\n <dd>\n <p>The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </dd>\n <dt>Amazon S3</dt>\n <dd>\n <p>The version ID of the object that represents the build input ZIP file to\n use.</p>\n </dd>\n </dl>\n <p>If <code>sourceVersion</code> is specified at the project level, then this\n <code>sourceVersion</code> (at the build level) takes precedence. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. </p>"
}
},
"artifactsOverride": {
"target": "com.amazonaws.codebuild#ProjectArtifacts",
"traits": {
"smithy.api#documentation": "<p>Build output artifact settings that override, for this build only, the latest ones\n already defined in the build project.</p>"
}
},
"secondaryArtifactsOverride": {
"target": "com.amazonaws.codebuild#ProjectArtifactsList",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectArtifacts</code> objects. </p>"
}
},
"environmentVariablesOverride": {
"target": "com.amazonaws.codebuild#EnvironmentVariables",
"traits": {
"smithy.api#documentation": "<p>A set of environment variables that overrides, for this build only, the latest ones\n already defined in the build project.</p>"
}
},
"sourceTypeOverride": {
"target": "com.amazonaws.codebuild#SourceType",
"traits": {
"smithy.api#documentation": "<p>A source input type, for this build, that overrides the source input defined in the\n build project.</p>"
}
},
"sourceLocationOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A location that overrides, for this build, the source location for the one defined in\n the build project.</p>"
}
},
"sourceAuthOverride": {
"target": "com.amazonaws.codebuild#SourceAuth",
"traits": {
"smithy.api#documentation": "<p>An authorization type for this build that overrides the one defined in the build\n project. This override applies only if the build project's source is BitBucket or\n GitHub.</p>"
}
},
"gitCloneDepthOverride": {
"target": "com.amazonaws.codebuild#GitCloneDepth",
"traits": {
"smithy.api#documentation": "<p>The user-defined depth of history, with a minimum value of 0, that overrides, for this\n build only, any previous depth of history defined in the build project.</p>"
}
},
"gitSubmodulesConfigOverride": {
"target": "com.amazonaws.codebuild#GitSubmodulesConfig",
"traits": {
"smithy.api#documentation": "<p> Information about the Git submodules configuration for this build of an AWS CodeBuild build\n project. </p>"
}
},
"buildspecOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A buildspec file declaration that overrides, for this build only, the latest one\n already defined in the build project.</p>\n <p> If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket.\n The bucket must be in the same AWS Region as the build project. Specify the buildspec\n file using its ARN (for example,\n <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage\">Buildspec File Name and Storage Location</a>. </p>"
}
},
"insecureSslOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enable this flag to override the insecure SSL setting that is specified in the build\n project. The insecure SSL setting determines whether to ignore SSL warnings while\n connecting to the project source code. This override applies only if the build's source\n is GitHub Enterprise.</p>"
}
},
"reportBuildStatusOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Set to true to report to your source provider the status of a build's start and\n completion. If you use this option with a source provider other than GitHub, GitHub\n Enterprise, or Bitbucket, an <code>invalidInputException</code> is thrown. </p>\n <p>To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html\">Source provider access</a> in the <i>AWS CodeBuild User Guide</i>.</p>\n <note>\n <p> The status of a build triggered by a webhook is always reported to your source\n provider. </p>\n </note>"
}
},
"buildStatusConfigOverride": {
"target": "com.amazonaws.codebuild#BuildStatusConfig",
"traits": {
"smithy.api#documentation": "<p>Contains information that defines how the build project reports the build status to\n the source provider. This option is only used when the source provider is\n <code>GITHUB</code>, <code>GITHUB_ENTERPRISE</code>, or\n <code>BITBUCKET</code>.</p>"
}
},
"environmentTypeOverride": {
"target": "com.amazonaws.codebuild#EnvironmentType",
"traits": {
"smithy.api#documentation": "<p>A container type for this build that overrides the one specified in the build\n project.</p>"
}
},
"imageOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of an image for this build that overrides the one specified in the build\n project.</p>"
}
},
"computeTypeOverride": {
"target": "com.amazonaws.codebuild#ComputeType",
"traits": {
"smithy.api#documentation": "<p>The name of a compute type for this build that overrides the one specified in the\n build project.</p>"
}
},
"certificateOverride": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The name of a certificate for this build that overrides the one specified in the build\n project.</p>"
}
},
"cacheOverride": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>A ProjectCache object specified for this build that overrides the one defined in the\n build project.</p>"
}
},
"serviceRoleOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of a service role for this build that overrides the one specified in the\n build project.</p>"
}
},
"privilegedModeOverride": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Enable this flag to override privileged mode in the build project.</p>"
}
},
"timeoutInMinutesOverride": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this\n build only, the latest setting already defined in the build project.</p>"
}
},
"queuedTimeoutInMinutesOverride": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p> The number of minutes a build is allowed to be queued before it times out. </p>"
}
},
"encryptionKeyOverride": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) that overrides the one specified in the build\n project. The CMK key encrypts the build output artifacts.</p>\n <note>\n <p> You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).</p>"
}
},
"idempotencyToken": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the\n StartBuild request. The token is included in the StartBuild request and is valid for 5\n minutes. If you repeat the StartBuild request with the same token, but change a\n parameter, AWS CodeBuild returns a parameter mismatch error. </p>"
}
},
"logsConfigOverride": {
"target": "com.amazonaws.codebuild#LogsConfig",
"traits": {
"smithy.api#documentation": "<p> Log settings for this build that override the log settings defined in the build\n project. </p>"
}
},
"registryCredentialOverride": {
"target": "com.amazonaws.codebuild#RegistryCredential",
"traits": {
"smithy.api#documentation": "<p> The credentials for access to a private registry. </p>"
}
},
"imagePullCredentialsTypeOverride": {
"target": "com.amazonaws.codebuild#ImagePullCredentialsType",
"traits": {
"smithy.api#documentation": "<p>The type of credentials AWS CodeBuild uses to pull images in your build. There are two valid\n values: </p>\n <dl>\n <dt>CODEBUILD</dt>\n <dd>\n <p>Specifies that AWS CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust AWS CodeBuild's service principal.</p>\n </dd>\n <dt>SERVICE_ROLE</dt>\n <dd>\n <p>Specifies that AWS CodeBuild uses your build project's service role. </p>\n </dd>\n </dl>\n <p>When using a cross-account or private registry image, you must use\n <code>SERVICE_ROLE</code> credentials. When using an AWS CodeBuild curated image,\n you must use <code>CODEBUILD</code> credentials. </p>"
}
},
"debugSessionEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Specifies if session debugging is enabled for this build. For more information, see\n <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a running build in Session Manager</a>.</p>"
}
}
}
},
"com.amazonaws.codebuild#StartBuildOutput": {
"type": "structure",
"members": {
"build": {
"target": "com.amazonaws.codebuild#Build",
"traits": {
"smithy.api#documentation": "<p>Information about the build to be run.</p>"
}
}
}
},
"com.amazonaws.codebuild#StatusType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SUCCEEDED",
"name": "SUCCEEDED"
},
{
"value": "FAILED",
"name": "FAILED"
},
{
"value": "FAULT",
"name": "FAULT"
},
{
"value": "TIMED_OUT",
"name": "TIMED_OUT"
},
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "STOPPED",
"name": "STOPPED"
}
]
}
},
"com.amazonaws.codebuild#StopBuild": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#StopBuildInput"
},
"output": {
"target": "com.amazonaws.codebuild#StopBuildOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Attempts to stop running a build.</p>"
}
},
"com.amazonaws.codebuild#StopBuildBatch": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#StopBuildBatchInput"
},
"output": {
"target": "com.amazonaws.codebuild#StopBuildBatchOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Stops a running batch build.</p>"
}
},
"com.amazonaws.codebuild#StopBuildBatchInput": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The identifier of the batch build to stop.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#StopBuildBatchOutput": {
"type": "structure",
"members": {
"buildBatch": {
"target": "com.amazonaws.codebuild#BuildBatch"
}
}
},
"com.amazonaws.codebuild#StopBuildInput": {
"type": "structure",
"members": {
"id": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ID of the build.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.codebuild#StopBuildOutput": {
"type": "structure",
"members": {
"build": {
"target": "com.amazonaws.codebuild#Build",
"traits": {
"smithy.api#documentation": "<p>Information about the build.</p>"
}
}
}
},
"com.amazonaws.codebuild#String": {
"type": "string"
},
"com.amazonaws.codebuild#Subnets": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#NonEmptyString"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 16
}
}
},
"com.amazonaws.codebuild#Tag": {
"type": "structure",
"members": {
"key": {
"target": "com.amazonaws.codebuild#KeyInput",
"traits": {
"smithy.api#documentation": "<p>The tag's key.</p>"
}
},
"value": {
"target": "com.amazonaws.codebuild#ValueInput",
"traits": {
"smithy.api#documentation": "<p>The tag's value.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A tag, consisting of a key and a value.</p>\n <p>This tag is available for use by AWS services that support tags in AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#TagList": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#Tag"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.codebuild#TestCase": {
"type": "structure",
"members": {
"reportArn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p> The ARN of the report to which the test case belongs. </p>"
}
},
"testRawDataPath": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The path to the raw data file that contains the test result. </p>"
}
},
"prefix": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> A string that is applied to a series of related test cases. CodeBuild generates the\n prefix. The prefix depends on the framework used to generate the tests. </p>"
}
},
"name": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The name of the test case. </p>"
}
},
"status": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> The status returned by the test case after it was run. Valid statuses are\n <code>SUCCEEDED</code>, <code>FAILED</code>, <code>ERROR</code>,\n <code>SKIPPED</code>, and <code>UNKNOWN</code>. </p>"
}
},
"durationInNanoSeconds": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p> The number of nanoseconds it took to run this test case. </p>"
}
},
"message": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> A message associated with a test case. For example, an error message or stack trace.\n </p>"
}
},
"expired": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p> The date and time a test case expires. A test case expires 30 days after it is\n created. An expired test case is not available to view in CodeBuild. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about a test case created using a framework such as NUnit or Cucumber. A\n test case might be a unit test or a configuration test. </p>"
}
},
"com.amazonaws.codebuild#TestCaseFilter": {
"type": "structure",
"members": {
"status": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The status used to filter test cases. A <code>TestCaseFilter</code> can have one\n status. Valid values are:</p>\n <ul>\n <li>\n <p>\n <code>SUCCEEDED</code>\n </p>\n </li>\n <li>\n <p>\n <code>FAILED</code>\n </p>\n </li>\n <li>\n <p>\n <code>ERROR</code>\n </p>\n </li>\n <li>\n <p>\n <code>SKIPPED</code>\n </p>\n </li>\n <li>\n <p>\n <code>UNKNOWN</code>\n </p>\n </li>\n </ul>"
}
},
"keyword": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A keyword that is used to filter on the <code>name</code> or the <code>prefix</code>\n of the test cases. Only test cases where the keyword is a substring of the\n <code>name</code> or the <code>prefix</code> will be returned.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A filter used to return specific types of test cases. In order to pass the filter, the\n report must meet all of the filter properties.</p>"
}
},
"com.amazonaws.codebuild#TestCases": {
"type": "list",
"member": {
"target": "com.amazonaws.codebuild#TestCase"
}
},
"com.amazonaws.codebuild#TestReportSummary": {
"type": "structure",
"members": {
"total": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p> The number of test cases in this <code>TestReportSummary</code>. The total includes\n truncated test cases. </p>",
"smithy.api#required": {}
}
},
"statusCounts": {
"target": "com.amazonaws.codebuild#ReportStatusCounts",
"traits": {
"smithy.api#documentation": "<p> A map that contains the number of each type of status returned by the test results in\n this <code>TestReportSummary</code>. </p>",
"smithy.api#required": {}
}
},
"durationInNanoSeconds": {
"target": "com.amazonaws.codebuild#WrapperLong",
"traits": {
"smithy.api#documentation": "<p> The number of nanoseconds it took to run all of the test cases in this report.\n </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> Information about a test report. </p>"
}
},
"com.amazonaws.codebuild#TimeOut": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 5,
"max": 480
}
}
},
"com.amazonaws.codebuild#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.codebuild#UpdateProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#UpdateProjectInput"
},
"output": {
"target": "com.amazonaws.codebuild#UpdateProjectOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Changes the settings of a build project.</p>"
}
},
"com.amazonaws.codebuild#UpdateProjectInput": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The name of the build project.</p>\n <note>\n <p>You cannot change a build project's name.</p>\n </note>",
"smithy.api#required": {}
}
},
"description": {
"target": "com.amazonaws.codebuild#ProjectDescription",
"traits": {
"smithy.api#documentation": "<p>A new or replacement description of the build project.</p>"
}
},
"source": {
"target": "com.amazonaws.codebuild#ProjectSource",
"traits": {
"smithy.api#documentation": "<p>Information to be changed about the build input source code for the build\n project.</p>"
}
},
"secondarySources": {
"target": "com.amazonaws.codebuild#ProjectSources",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSource</code> objects. </p>"
}
},
"sourceVersion": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> A version of the build input to be built for this project. If not specified, the\n latest version is used. If specified, it must be one of: </p>\n <ul>\n <li>\n <p>For AWS CodeCommit: the commit ID, branch, or Git tag to use.</p>\n </li>\n <li>\n <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format <code>pr/pull-request-ID</code>\n (for example <code>pr/25</code>). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.</p>\n </li>\n <li>\n <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.</p>\n </li>\n <li>\n <p>For Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.</p>\n </li>\n </ul>\n <p> If <code>sourceVersion</code> is specified at the build level, then that version\n takes precedence over this <code>sourceVersion</code> (at the project level). </p>\n <p> For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample\n with CodeBuild</a> in the <i>AWS CodeBuild User Guide</i>. \n </p>"
}
},
"secondarySourceVersions": {
"target": "com.amazonaws.codebuild#ProjectSecondarySourceVersions",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSourceVersion</code> objects. If\n <code>secondarySourceVersions</code> is specified at the build level, then they take\n over these <code>secondarySourceVersions</code> (at the project level). </p>"
}
},
"artifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifacts",
"traits": {
"smithy.api#documentation": "<p>Information to be changed about the build output artifacts for the build\n project.</p>"
}
},
"secondaryArtifacts": {
"target": "com.amazonaws.codebuild#ProjectArtifactsList",
"traits": {
"smithy.api#documentation": "<p> An array of <code>ProjectSource</code> objects. </p>"
}
},
"cache": {
"target": "com.amazonaws.codebuild#ProjectCache",
"traits": {
"smithy.api#documentation": "<p>Stores recently used information so that it can be quickly accessed at a later\n time.</p>"
}
},
"environment": {
"target": "com.amazonaws.codebuild#ProjectEnvironment",
"traits": {
"smithy.api#documentation": "<p>Information to be changed about the build environment for the build project.</p>"
}
},
"serviceRole": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent\n AWS services on behalf of the AWS account.</p>"
}
},
"timeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p>The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before\n timing out any related build that did not get marked as completed.</p>"
}
},
"queuedTimeoutInMinutes": {
"target": "com.amazonaws.codebuild#TimeOut",
"traits": {
"smithy.api#documentation": "<p> The number of minutes a build is allowed to be queued before it times out. </p>"
}
},
"encryptionKey": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output\n artifacts.</p>\n <note>\n <p> You can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key. </p>\n </note>\n <p>You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format <code>alias/<alias-name></code>).\n </p>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>An updated list of tag key and value pairs associated with this build project.</p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild build project\n tags.</p>"
}
},
"vpcConfig": {
"target": "com.amazonaws.codebuild#VpcConfig",
"traits": {
"smithy.api#documentation": "<p>VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.</p>"
}
},
"badgeEnabled": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p>Set this to true to generate a publicly accessible URL for your project's build\n badge.</p>"
}
},
"logsConfig": {
"target": "com.amazonaws.codebuild#LogsConfig",
"traits": {
"smithy.api#documentation": "<p> Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs,\n logs in an S3 bucket, or both. </p>"
}
},
"fileSystemLocations": {
"target": "com.amazonaws.codebuild#ProjectFileSystemLocations",
"traits": {
"smithy.api#documentation": "<p>\n An array of <code>ProjectFileSystemLocation</code> objects for a CodeBuild build project. A <code>ProjectFileSystemLocation</code> object \n specifies the <code>identifier</code>, <code>location</code>, <code>mountOptions</code>, \n <code>mountPoint</code>, and <code>type</code> of a file system created using Amazon Elastic File System.\n </p>"
}
},
"buildBatchConfig": {
"target": "com.amazonaws.codebuild#ProjectBuildBatchConfig"
},
"concurrentBuildLimit": {
"target": "com.amazonaws.codebuild#WrapperInt",
"traits": {
"smithy.api#documentation": "<p>The maximum number of concurrent builds that are allowed for this project.</p>\n <p>New builds are only started if the current number of builds is less than or equal to this limit. \n If the current build count meets this limit, new builds are throttled and are not run.</p>\n <p>To remove this limit, set this value to -1.</p>"
}
}
}
},
"com.amazonaws.codebuild#UpdateProjectOutput": {
"type": "structure",
"members": {
"project": {
"target": "com.amazonaws.codebuild#Project",
"traits": {
"smithy.api#documentation": "<p>Information about the build project that was changed.</p>"
}
}
}
},
"com.amazonaws.codebuild#UpdateReportGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#UpdateReportGroupInput"
},
"output": {
"target": "com.amazonaws.codebuild#UpdateReportGroupOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Updates a report group.\n </p>"
}
},
"com.amazonaws.codebuild#UpdateReportGroupInput": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the report group to update.\n </p>",
"smithy.api#required": {}
}
},
"exportConfig": {
"target": "com.amazonaws.codebuild#ReportExportConfig",
"traits": {
"smithy.api#documentation": "<p>\n Used to specify an updated export type. Valid values are:\n </p>\n <ul>\n <li>\n <p>\n <code>S3</code>: The report results are exported to an S3 bucket.\n </p>\n </li>\n <li>\n <p>\n <code>NO_EXPORT</code>: The report results are not exported.\n </p>\n </li>\n </ul>"
}
},
"tags": {
"target": "com.amazonaws.codebuild#TagList",
"traits": {
"smithy.api#documentation": "<p>\n An updated list of tag key and value pairs associated with this report group.\n </p>\n <p>These tags are available for use by AWS services that support AWS CodeBuild report group\n tags.</p>"
}
}
}
},
"com.amazonaws.codebuild#UpdateReportGroupOutput": {
"type": "structure",
"members": {
"reportGroup": {
"target": "com.amazonaws.codebuild#ReportGroup",
"traits": {
"smithy.api#documentation": "<p>\n Information about the updated report group.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#UpdateWebhook": {
"type": "operation",
"input": {
"target": "com.amazonaws.codebuild#UpdateWebhookInput"
},
"output": {
"target": "com.amazonaws.codebuild#UpdateWebhookOutput"
},
"errors": [
{
"target": "com.amazonaws.codebuild#InvalidInputException"
},
{
"target": "com.amazonaws.codebuild#OAuthProviderException"
},
{
"target": "com.amazonaws.codebuild#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p> Updates the webhook associated with an AWS CodeBuild build project. </p>\n <note>\n <p> If you use Bitbucket for your repository, <code>rotateSecret</code> is ignored.\n </p>\n </note>"
}
},
"com.amazonaws.codebuild#UpdateWebhookInput": {
"type": "structure",
"members": {
"projectName": {
"target": "com.amazonaws.codebuild#ProjectName",
"traits": {
"smithy.api#documentation": "<p>The name of the AWS CodeBuild project.</p>",
"smithy.api#required": {}
}
},
"branchFilter": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A regular expression used to determine which repository branches are built when a\n webhook is triggered. If the name of a branch matches the regular expression, then it is\n built. If <code>branchFilter</code> is empty, then all branches are built.</p>\n <note>\n <p> It is recommended that you use <code>filterGroups</code> instead of\n <code>branchFilter</code>. </p>\n </note>"
}
},
"rotateSecret": {
"target": "com.amazonaws.codebuild#Boolean",
"traits": {
"smithy.api#documentation": "<p> A boolean value that specifies whether the associated GitHub repository's secret\n token should be updated. If you use Bitbucket for your repository,\n <code>rotateSecret</code> is ignored. </p>"
}
},
"filterGroups": {
"target": "com.amazonaws.codebuild#FilterGroups",
"traits": {
"smithy.api#documentation": "<p> An array of arrays of <code>WebhookFilter</code> objects used to determine if a\n webhook event can trigger a build. A filter group must contain at least one\n <code>EVENT</code>\n <code>WebhookFilter</code>. </p>"
}
},
"buildType": {
"target": "com.amazonaws.codebuild#WebhookBuildType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of build this webhook will trigger.</p>"
}
}
}
},
"com.amazonaws.codebuild#UpdateWebhookOutput": {
"type": "structure",
"members": {
"webhook": {
"target": "com.amazonaws.codebuild#Webhook",
"traits": {
"smithy.api#documentation": "<p> Information about a repository's webhook that is associated with a project in AWS CodeBuild.\n </p>"
}
}
}
},
"com.amazonaws.codebuild#ValueInput": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 255
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$"
}
},
"com.amazonaws.codebuild#VpcConfig": {
"type": "structure",
"members": {
"vpcId": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The ID of the Amazon VPC.</p>"
}
},
"subnets": {
"target": "com.amazonaws.codebuild#Subnets",
"traits": {
"smithy.api#documentation": "<p>A list of one or more subnet IDs in your Amazon VPC.</p>"
}
},
"securityGroupIds": {
"target": "com.amazonaws.codebuild#SecurityGroupIds",
"traits": {
"smithy.api#documentation": "<p>A list of one or more security groups IDs in your Amazon VPC.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the VPC configuration that AWS CodeBuild accesses.</p>"
}
},
"com.amazonaws.codebuild#Webhook": {
"type": "structure",
"members": {
"url": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The URL to the webhook.</p>"
}
},
"payloadUrl": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The AWS CodeBuild endpoint where webhook events are sent.</p>"
}
},
"secret": {
"target": "com.amazonaws.codebuild#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The secret token of the associated repository. </p>\n <note>\n <p>A Bitbucket webhook does not support <code>secret</code>. </p>\n </note>"
}
},
"branchFilter": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>A regular expression used to determine which repository branches are built when a\n webhook is triggered. If the name of a branch matches the regular expression, then it is\n built. If <code>branchFilter</code> is empty, then all branches are built.</p>\n <note>\n <p>It is recommended that you use <code>filterGroups</code> instead of\n <code>branchFilter</code>. </p>\n </note>"
}
},
"filterGroups": {
"target": "com.amazonaws.codebuild#FilterGroups",
"traits": {
"smithy.api#documentation": "<p>An array of arrays of <code>WebhookFilter</code> objects used to determine which\n webhooks are triggered. At least one <code>WebhookFilter</code> in the array must\n specify <code>EVENT</code> as its <code>type</code>. </p>\n <p>For a build to be triggered, at least one filter group in the\n <code>filterGroups</code> array must pass. For a filter group to pass, each of its\n filters must pass. </p>"
}
},
"buildType": {
"target": "com.amazonaws.codebuild#WebhookBuildType",
"traits": {
"smithy.api#documentation": "<p>Specifies the type of build this webhook will trigger.</p>"
}
},
"lastModifiedSecret": {
"target": "com.amazonaws.codebuild#Timestamp",
"traits": {
"smithy.api#documentation": "<p>A timestamp that indicates the last time a repository's secret token was modified.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a webhook that connects repository events to a build project in\n AWS CodeBuild.</p>"
}
},
"com.amazonaws.codebuild#WebhookBuildType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BUILD",
"name": "BUILD"
},
{
"value": "BUILD_BATCH",
"name": "BUILD_BATCH"
}
]
}
},
"com.amazonaws.codebuild#WebhookFilter": {
"type": "structure",
"members": {
"type": {
"target": "com.amazonaws.codebuild#WebhookFilterType",
"traits": {
"smithy.api#documentation": "<p> The type of webhook filter. There are six webhook filter types: <code>EVENT</code>,\n <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>,\n <code>FILE_PATH</code>, and <code>COMMIT_MESSAGE</code>. </p>\n <dl>\n <dt>\n EVENT\n </dt>\n <dd>\n <p> A webhook event triggers a build when the provided <code>pattern</code>\n matches one of five event types: <code>PUSH</code>,\n <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>,\n <code>PULL_REQUEST_REOPENED</code>, and\n <code>PULL_REQUEST_MERGED</code>. The <code>EVENT</code> patterns are\n specified as a comma-separated string. For example, <code>PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull\n request created, and pull request updated events. </p>\n <note>\n <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub\n Enterprise only. </p>\n </note>\n </dd>\n <dt>\n ACTOR_ACCOUNT_ID\n </dt>\n <dd>\n <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or\n Bitbucket account ID matches the regular expression <code>pattern</code>.\n </p>\n </dd>\n <dt>\n HEAD_REF\n </dt>\n <dd>\n <p> A webhook event triggers a build when the head reference matches the\n regular expression <code>pattern</code>. For example,\n <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p>\n <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub\n Enterprise pull request, Bitbucket push, and Bitbucket pull request events.\n </p>\n </dd>\n <dt>\n BASE_REF\n </dt>\n <dd>\n <p> A webhook event triggers a build when the base reference matches the\n regular expression <code>pattern</code>. For example,\n <code>refs/heads/branch-name</code>. </p>\n <note>\n <p> Works with pull request events only. </p>\n </note>\n </dd>\n <dt>\n FILE_PATH\n </dt>\n <dd>\n <p> A webhook triggers a build when the path of a changed file matches the\n regular expression <code>pattern</code>. </p>\n <note>\n <p> Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events. </p>\n </note>\n </dd>\n <dt>COMMIT_MESSAGE</dt>\n <dd>\n <p>A webhook triggers a build when the head commit message matches the\n regular expression <code>pattern</code>.</p>\n <note>\n <p> Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events. </p>\n </note>\n </dd>\n </dl>",
"smithy.api#required": {}
}
},
"pattern": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p> For a <code>WebHookFilter</code> that uses <code>EVENT</code> type, a comma-separated\n string that specifies one or more events. For example, the webhook filter <code>PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> allows all push, pull request\n created, and pull request updated events to trigger a build. </p>\n <p> For a <code>WebHookFilter</code> that uses any of the other filter types, a regular\n expression pattern. For example, a <code>WebHookFilter</code> that uses\n <code>HEAD_REF</code> for its <code>type</code> and the pattern\n <code>^refs/heads/</code> triggers a build when the head reference is a branch with\n a reference name <code>refs/heads/branch-name</code>. </p>",
"smithy.api#required": {}
}
},
"excludeMatchedPattern": {
"target": "com.amazonaws.codebuild#WrapperBoolean",
"traits": {
"smithy.api#documentation": "<p> Used to indicate that the <code>pattern</code> determines which webhook events do not\n trigger a build. If true, then a webhook event that does not match the\n <code>pattern</code> triggers a build. If false, then a webhook event that matches\n the <code>pattern</code> triggers a build. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> A filter used to determine which webhooks trigger a build. </p>"
}
},
"com.amazonaws.codebuild#WebhookFilterType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EVENT",
"name": "EVENT"
},
{
"value": "BASE_REF",
"name": "BASE_REF"
},
{
"value": "HEAD_REF",
"name": "HEAD_REF"
},
{
"value": "ACTOR_ACCOUNT_ID",
"name": "ACTOR_ACCOUNT_ID"
},
{
"value": "FILE_PATH",
"name": "FILE_PATH"
},
{
"value": "COMMIT_MESSAGE",
"name": "COMMIT_MESSAGE"
}
]
}
},
"com.amazonaws.codebuild#WrapperBoolean": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.codebuild#WrapperInt": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.codebuild#WrapperLong": {
"type": "long",
"traits": {
"smithy.api#box": {}
}
}
}
}