vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood 2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537057 additions and 189681 deletions

View file

@ -11,6 +11,18 @@
"uid":"codebuild-2016-10-06"
},
"operations":{
"BatchDeleteBuilds":{
"name":"BatchDeleteBuilds",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"BatchDeleteBuildsInput"},
"output":{"shape":"BatchDeleteBuildsOutput"},
"errors":[
{"shape":"InvalidInputException"}
]
},
"BatchGetBuilds":{
"name":"BatchGetBuilds",
"http":{
@ -49,6 +61,21 @@
{"shape":"AccountLimitExceededException"}
]
},
"CreateWebhook":{
"name":"CreateWebhook",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateWebhookInput"},
"output":{"shape":"CreateWebhookOutput"},
"errors":[
{"shape":"InvalidInputException"},
{"shape":"OAuthProviderException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ResourceNotFoundException"}
]
},
"DeleteProject":{
"name":"DeleteProject",
"http":{
@ -61,6 +88,20 @@
{"shape":"InvalidInputException"}
]
},
"DeleteWebhook":{
"name":"DeleteWebhook",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteWebhookInput"},
"output":{"shape":"DeleteWebhookOutput"},
"errors":[
{"shape":"InvalidInputException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OAuthProviderException"}
]
},
"ListBuilds":{
"name":"ListBuilds",
"http":{
@ -177,6 +218,20 @@
"NO_ARTIFACTS"
]
},
"BatchDeleteBuildsInput":{
"type":"structure",
"required":["ids"],
"members":{
"ids":{"shape":"BuildIds"}
}
},
"BatchDeleteBuildsOutput":{
"type":"structure",
"members":{
"buildsDeleted":{"shape":"BuildIds"},
"buildsNotDeleted":{"shape":"BuildsNotDeleted"}
}
},
"BatchGetBuildsInput":{
"type":"structure",
"required":["ids"],
@ -241,6 +296,13 @@
"max":100,
"min":1
},
"BuildNotDeleted":{
"type":"structure",
"members":{
"id":{"shape":"NonEmptyString"},
"statusCode":{"shape":"String"}
}
},
"BuildPhase":{
"type":"structure",
"members":{
@ -275,6 +337,10 @@
"type":"list",
"member":{"shape":"Build"}
},
"BuildsNotDeleted":{
"type":"list",
"member":{"shape":"BuildNotDeleted"}
},
"ComputeType":{
"type":"string",
"enum":[
@ -309,6 +375,19 @@
"project":{"shape":"Project"}
}
},
"CreateWebhookInput":{
"type":"structure",
"required":["projectName"],
"members":{
"projectName":{"shape":"ProjectName"}
}
},
"CreateWebhookOutput":{
"type":"structure",
"members":{
"webhook":{"shape":"Webhook"}
}
},
"DeleteProjectInput":{
"type":"structure",
"required":["name"],
@ -321,6 +400,18 @@
"members":{
}
},
"DeleteWebhookInput":{
"type":"structure",
"required":["projectName"],
"members":{
"projectName":{"shape":"ProjectName"}
}
},
"DeleteWebhookOutput":{
"type":"structure",
"members":{
}
},
"EnvironmentImage":{
"type":"structure",
"members":{
@ -366,9 +457,17 @@
],
"members":{
"name":{"shape":"NonEmptyString"},
"value":{"shape":"String"}
"value":{"shape":"String"},
"type":{"shape":"EnvironmentVariableType"}
}
},
"EnvironmentVariableType":{
"type":"string",
"enum":[
"PLAINTEXT",
"PARAMETER_STORE"
]
},
"EnvironmentVariables":{
"type":"list",
"member":{"shape":"EnvironmentVariable"}
@ -395,6 +494,7 @@
"GOLANG",
"DOCKER",
"ANDROID",
"DOTNET",
"BASE"
]
},
@ -466,6 +566,12 @@
"type":"string",
"min":1
},
"OAuthProviderException":{
"type":"structure",
"members":{
},
"exception":true
},
"PhaseContext":{
"type":"structure",
"members":{
@ -499,7 +605,8 @@
"encryptionKey":{"shape":"NonEmptyString"},
"tags":{"shape":"TagList"},
"created":{"shape":"Timestamp"},
"lastModified":{"shape":"Timestamp"}
"lastModified":{"shape":"Timestamp"},
"webhook":{"shape":"Webhook"}
}
},
"ProjectArtifacts":{
@ -605,7 +712,8 @@
"CODECOMMIT",
"CODEPIPELINE",
"GITHUB",
"S3"
"S3",
"BITBUCKET"
]
},
"StartBuildInput":{
@ -697,6 +805,12 @@
"min":1,
"pattern":"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=@+\\\\-]*)$"
},
"Webhook":{
"type":"structure",
"members":{
"url":{"shape":"NonEmptyString"}
}
},
"WrapperBoolean":{"type":"boolean"},
"WrapperInt":{"type":"integer"},
"WrapperLong":{"type":"long"}

View file

@ -1,11 +1,14 @@
{
"version": "2.0",
"service": "<fullname>AWS CodeBuild</fullname> <p>AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apach Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests, and you pay only for the build time you consume. For more information about AWS CodeBuild, see the <i>AWS CodeBuild User Guide</i>.</p> <p>AWS CodeBuild supports these operations:</p> <ul> <li> <p> <code>BatchGetProjects</code>: Gets information about one or more build projects. A <i>build project</i> defines how AWS CodeBuild will run a build. This includes information such as where to get the source code to build, the build environment to use, the build commands to run, and where to store the build output. A <i>build environment</i> represents a combination of operating system, programming language runtime, and tools that AWS CodeBuild will use to run a build. Also, you can add tags to build projects to help manage your resources and costs.</p> </li> <li> <p> <code>CreateProject</code>: Creates a build project.</p> </li> <li> <p> <code>DeleteProject</code>: Deletes a build project.</p> </li> <li> <p> <code>ListProjects</code>: Gets a list of build project names, with each build project name representing a single build project.</p> </li> <li> <p> <code>UpdateProject</code>: Changes the settings of an existing build project.</p> </li> <li> <p> <code>BatchGetBuilds</code>: Gets information about one or more builds.</p> </li> <li> <p> <code>ListBuilds</code>: Gets a list of build IDs, with each build ID representing a single build.</p> </li> <li> <p> <code>ListBuildsForProject</code>: Gets a list of build IDs for the specified build project, with each build ID representing a single build.</p> </li> <li> <p> <code>StartBuild</code>: Starts running a build.</p> </li> <li> <p> <code>StopBuild</code>: Attempts to stop running a build.</p> </li> <li> <p> <code>ListCuratedEnvironmentImages</code>: Gets information about Docker images that are managed by AWS CodeBuild.</p> </li> </ul>",
"service": "<fullname>AWS CodeBuild</fullname> <p>AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools, such as Apache Maven, Gradle, and more. You can also fully customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests, and you pay only for the build time you consume. For more information about AWS CodeBuild, see the <i>AWS CodeBuild User Guide</i>.</p> <p>AWS CodeBuild supports these operations:</p> <ul> <li> <p> <code>BatchDeleteBuilds</code>: Deletes one or more builds.</p> </li> <li> <p> <code>BatchGetProjects</code>: Gets information about one or more build projects. A <i>build project</i> defines how AWS CodeBuild will run a build. This includes information such as where to get the source code to build, the build environment to use, the build commands to run, and where to store the build output. A <i>build environment</i> represents a combination of operating system, programming language runtime, and tools that AWS CodeBuild will use to run a build. Also, you can add tags to build projects to help manage your resources and costs.</p> </li> <li> <p> <code>CreateProject</code>: Creates a build project.</p> </li> <li> <p> <code>CreateWebhook</code>: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.</p> </li> <li> <p> <code>DeleteProject</code>: Deletes a build project.</p> </li> <li> <p> <code>DeleteWebhook</code>: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.</p> </li> <li> <p> <code>ListProjects</code>: Gets a list of build project names, with each build project name representing a single build project.</p> </li> <li> <p> <code>UpdateProject</code>: Changes the settings of an existing build project.</p> </li> <li> <p> <code>BatchGetBuilds</code>: Gets information about one or more builds.</p> </li> <li> <p> <code>ListBuilds</code>: Gets a list of build IDs, with each build ID representing a single build.</p> </li> <li> <p> <code>ListBuildsForProject</code>: Gets a list of build IDs for the specified build project, with each build ID representing a single build.</p> </li> <li> <p> <code>StartBuild</code>: Starts running a build.</p> </li> <li> <p> <code>StopBuild</code>: Attempts to stop running a build.</p> </li> <li> <p> <code>ListCuratedEnvironmentImages</code>: Gets information about Docker images that are managed by AWS CodeBuild.</p> </li> </ul>",
"operations": {
"BatchDeleteBuilds": "<p>Deletes one or more builds.</p>",
"BatchGetBuilds": "<p>Gets information about builds.</p>",
"BatchGetProjects": "<p>Gets information about build projects.</p>",
"CreateProject": "<p>Creates a build project.</p>",
"CreateWebhook": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.</p> <important> <p>If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 9 in <a href=\"http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console\">Change a Build Projects Settings</a>.</p> </important>",
"DeleteProject": "<p>Deletes a build project.</p>",
"DeleteWebhook": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.</p>",
"ListBuilds": "<p>Gets a list of build IDs, with each build ID representing a single build.</p>",
"ListBuildsForProject": "<p>Gets a list of build IDs for the specified build project, with each build ID representing a single build.</p>",
"ListCuratedEnvironmentImages": "<p>Gets information about Docker images that are managed by AWS CodeBuild.</p>",
@ -38,6 +41,16 @@
"ProjectArtifacts$type": "<p>The type of build output artifact. Valid values include:</p> <ul> <li> <p> <code>CODEPIPELINE</code>: The build project will have build output generated through AWS CodePipeline.</p> </li> <li> <p> <code>NO_ARTIFACTS</code>: The build project will not produce any build output.</p> </li> <li> <p> <code>S3</code>: The build project will store build output in Amazon Simple Storage Service (Amazon S3).</p> </li> </ul>"
}
},
"BatchDeleteBuildsInput": {
"base": null,
"refs": {
}
},
"BatchDeleteBuildsOutput": {
"base": null,
"refs": {
}
},
"BatchGetBuildsInput": {
"base": null,
"refs": {
@ -81,12 +94,20 @@
"BuildIds": {
"base": null,
"refs": {
"BatchDeleteBuildsInput$ids": "<p>The IDs of the builds to delete.</p>",
"BatchDeleteBuildsOutput$buildsDeleted": "<p>The IDs of the builds that were successfully deleted.</p>",
"BatchGetBuildsInput$ids": "<p>The IDs of the builds.</p>",
"BatchGetBuildsOutput$buildsNotFound": "<p>The IDs of builds for which information could not be found.</p>",
"ListBuildsForProjectOutput$ids": "<p>A list of build IDs for the specified build project, with each build ID representing a single build.</p>",
"ListBuildsOutput$ids": "<p>A list of build IDs, with each build ID representing a single build.</p>"
}
},
"BuildNotDeleted": {
"base": "<p>Information about a build that could not be successfully deleted.</p>",
"refs": {
"BuildsNotDeleted$member": null
}
},
"BuildPhase": {
"base": "<p>Information about a stage for a build.</p>",
"refs": {
@ -111,6 +132,12 @@
"BatchGetBuildsOutput$builds": "<p>Information about the requested builds.</p>"
}
},
"BuildsNotDeleted": {
"base": null,
"refs": {
"BatchDeleteBuildsOutput$buildsNotDeleted": "<p>Information about any builds that could not be successfully deleted.</p>"
}
},
"ComputeType": {
"base": null,
"refs": {
@ -127,6 +154,16 @@
"refs": {
}
},
"CreateWebhookInput": {
"base": null,
"refs": {
}
},
"CreateWebhookOutput": {
"base": null,
"refs": {
}
},
"DeleteProjectInput": {
"base": null,
"refs": {
@ -137,6 +174,16 @@
"refs": {
}
},
"DeleteWebhookInput": {
"base": null,
"refs": {
}
},
"DeleteWebhookOutput": {
"base": null,
"refs": {
}
},
"EnvironmentImage": {
"base": "<p>Information about a Docker image that is managed by AWS CodeBuild.</p>",
"refs": {
@ -185,6 +232,12 @@
"EnvironmentVariables$member": null
}
},
"EnvironmentVariableType": {
"base": null,
"refs": {
"EnvironmentVariable$type": "<p>The type of environment variable. Valid values include:</p> <ul> <li> <p> <code>PARAMETER_STORE</code>: An environment variable stored in Amazon EC2 Systems Manager Parameter Store.</p> </li> <li> <p> <code>PLAINTEXT</code>: An environment variable in plaintext format.</p> </li> </ul>"
}
},
"EnvironmentVariables": {
"base": null,
"refs": {
@ -263,6 +316,7 @@
"Build$sourceVersion": "<p>Any version identifier for the version of the source code to be built.</p>",
"Build$projectName": "<p>The name of the build project.</p>",
"BuildIds$member": null,
"BuildNotDeleted$id": "<p>The ID of the build that could not be successfully deleted.</p>",
"CreateProjectInput$serviceRole": "<p>The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.</p>",
"CreateProjectInput$encryptionKey": "<p>The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.</p> <p>You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format <code>alias/<i>alias-name</i> </code>).</p>",
"DeleteProjectInput$name": "<p>The name of the build project.</p>",
@ -277,7 +331,13 @@
"StopBuildInput$id": "<p>The ID of the build.</p>",
"UpdateProjectInput$name": "<p>The name of the build project.</p> <note> <p>You cannot change a build project's name.</p> </note>",
"UpdateProjectInput$serviceRole": "<p>The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.</p>",
"UpdateProjectInput$encryptionKey": "<p>The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.</p> <p>You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format <code>alias/<i>alias-name</i> </code>).</p>"
"UpdateProjectInput$encryptionKey": "<p>The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.</p> <p>You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format <code>alias/<i>alias-name</i> </code>).</p>",
"Webhook$url": "<p>The URL to the webhook.</p>"
}
},
"OAuthProviderException": {
"base": "<p>There was a problem with the underlying OAuth provider.</p>",
"refs": {
}
},
"PhaseContext": {
@ -336,6 +396,8 @@
"base": null,
"refs": {
"CreateProjectInput$name": "<p>The name of the build project.</p>",
"CreateWebhookInput$projectName": "<p>The name of the build project.</p>",
"DeleteWebhookInput$projectName": "<p>The name of the build project.</p>",
"Project$name": "<p>The name of the build project.</p>"
}
},
@ -387,9 +449,9 @@
}
},
"SourceAuth": {
"base": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be built.</p> <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source <code>type</code> value is <code>GITHUB</code>).</p>",
"base": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be built.</p> <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source <code>type</code> value is <code>BITBUCKET</code> or <code>GITHUB</code>).</p>",
"refs": {
"ProjectSource$auth": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be built.</p> <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source <code>type</code> value is <code>GITHUB</code>).</p>"
"ProjectSource$auth": "<p>Information about the authorization settings for AWS CodeBuild to access the source code to be built.</p> <p>This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly (unless the build project's source <code>type</code> value is <code>BITBUCKET</code> or <code>GITHUB</code>).</p>"
}
},
"SourceAuthType": {
@ -401,7 +463,7 @@
"SourceType": {
"base": null,
"refs": {
"ProjectSource$type": "<p>The type of repository that contains the source code to be built. Valid values include:</p> <ul> <li> <p> <code>CODECOMMIT</code>: The source code is in an AWS CodeCommit repository.</p> </li> <li> <p> <code>CODEPIPELINE</code>: The source code settings are specified in the source action of a pipeline in AWS CodePipeline.</p> </li> <li> <p> <code>GITHUB</code>: The source code is in a GitHub repository.</p> </li> <li> <p> <code>S3</code>: The source code is in an Amazon Simple Storage Service (Amazon S3) input bucket.</p> </li> </ul>"
"ProjectSource$type": "<p>The type of repository that contains the source code to be built. Valid values include:</p> <ul> <li> <p> <code>BITBUCKET</code>: The source code is in a Bitbucket repository.</p> </li> <li> <p> <code>CODECOMMIT</code>: The source code is in an AWS CodeCommit repository.</p> </li> <li> <p> <code>CODEPIPELINE</code>: The source code settings are specified in the source action of a pipeline in AWS CodePipeline.</p> </li> <li> <p> <code>GITHUB</code>: The source code is in a GitHub repository.</p> </li> <li> <p> <code>S3</code>: The source code is in an Amazon Simple Storage Service (Amazon S3) input bucket.</p> </li> </ul>"
}
},
"StartBuildInput": {
@ -439,6 +501,7 @@
"BuildArtifacts$location": "<p>Information about the location of the build artifacts.</p>",
"BuildArtifacts$sha256sum": "<p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along with a checksum tool to confirm both file integrity and authenticity.</p> <note> <p>This value is available only if the build project's <code>packaging</code> value is set to <code>ZIP</code>.</p> </note>",
"BuildArtifacts$md5sum": "<p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a checksum tool to confirm both file integrity and authenticity.</p> <note> <p>This value is available only if the build project's <code>packaging</code> value is set to <code>ZIP</code>.</p> </note>",
"BuildNotDeleted$statusCode": "<p>Additional information about the build that could not be successfully deleted.</p>",
"EnvironmentImage$name": "<p>The name of the Docker image.</p>",
"EnvironmentImage$description": "<p>The description of the Docker image.</p>",
"EnvironmentVariable$value": "<p>The value of the environment variable.</p> <important> <p>We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).</p> </important>",
@ -456,10 +519,10 @@
"ProjectArtifacts$location": "<p>Information about the build output artifact location, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output bucket.</p> </li> </ul>",
"ProjectArtifacts$path": "<p>Along with <code>namespaceType</code> and <code>name</code>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the path to the output artifact. If <code>path</code> is not specified, then <code>path</code> will not be used.</p> </li> </ul> <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>, <code>namespaceType</code> is set to <code>NONE</code>, and <code>name</code> is set to <code>MyArtifact.zip</code>, then the output artifact would be stored in the output bucket at <code>MyArtifacts/MyArtifact.zip</code>.</p>",
"ProjectArtifacts$name": "<p>Along with <code>path</code> and <code>namespaceType</code>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output artifact object.</p> </li> </ul> <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>, <code>namespaceType</code> is set to <code>BUILD_ID</code>, and <code>name</code> is set to <code>MyArtifact.zip</code>, then the output artifact would be stored in <code>MyArtifacts/<i>build-ID</i>/MyArtifact.zip</code>.</p>",
"ProjectSource$location": "<p>Information about the location of the source code to be built. Valid values include:</p> <ul> <li> <p>For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, <code>location</code> should not be specified. If it is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value.</p> </li> <li> <p>For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, <code>https://git-codecommit.<i>region-ID</i>.amazonaws.com/v1/repos/<i>repo-name</i> </code>).</p> </li> <li> <p>For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, the path to the ZIP file that contains the source code (for example, <code> <i>bucket-name</i>/<i>path</i>/<i>to</i>/<i>object-name</i>.zip</code>)</p> </li> <li> <p>For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your GitHub account. To do this, use the AWS CodeBuild console to begin creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub <b>Authorize application</b> page that displays, for <b>Organization access</b>, choose <b>Request access</b> next to each repository you want to allow AWS CodeBuild to have access to. Then choose <b>Authorize application</b>. (After you have connected to your GitHub account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the <code>source</code> object, set the <code>auth</code> object's <code>type</code> value to <code>OAUTH</code>.</p> </li> </ul>",
"ProjectSource$location": "<p>Information about the location of the source code to be built. Valid values include:</p> <ul> <li> <p>For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, <code>location</code> should not be specified. If it is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value.</p> </li> <li> <p>For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, <code>https://git-codecommit.<i>region-ID</i>.amazonaws.com/v1/repos/<i>repo-name</i> </code>).</p> </li> <li> <p>For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, the path to the ZIP file that contains the source code (for example, <code> <i>bucket-name</i>/<i>path</i>/<i>to</i>/<i>object-name</i>.zip</code>)</p> </li> <li> <p>For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your GitHub account. To do this, use the AWS CodeBuild console to begin creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub <b>Authorize application</b> page that displays, for <b>Organization access</b>, choose <b>Request access</b> next to each repository you want to allow AWS CodeBuild to have access to. Then choose <b>Authorize application</b>. (After you have connected to your GitHub account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the <code>source</code> object, set the <code>auth</code> object's <code>type</code> value to <code>OAUTH</code>.</p> </li> <li> <p>For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your Bitbucket account. To do this, use the AWS CodeBuild console to begin creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket <b>Confirm access to your account</b> page that displays, choose <b>Grant access</b>. (After you have connected to your Bitbucket account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the <code>source</code> object, set the <code>auth</code> object's <code>type</code> value to <code>OAUTH</code>.</p> </li> </ul>",
"ProjectSource$buildspec": "<p>The build spec declaration to use for the builds in this build project.</p> <p>If this value is not specified, a build spec must be included along with the source code to be built.</p>",
"SourceAuth$resource": "<p>The resource value that applies to the specified authorization type.</p>",
"StartBuildInput$sourceVersion": "<p>A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:</p> <ul> <li> <p>For AWS CodeCommit or GitHub: the commit ID to use.</p> </li> <li> <p>For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.</p> </li> </ul>",
"StartBuildInput$sourceVersion": "<p>A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:</p> <ul> <li> <p>For AWS CodeCommit: the commit ID to use.</p> </li> <li> <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format <code>pr/pull-request-ID</code> (for example <code>pr/25</code>). If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.</p> </li> <li> <p>For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID will be used. If not specified, the default branch's HEAD commit ID will be used.</p> </li> <li> <p>For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.</p> </li> </ul>",
"StartBuildInput$buildspecOverride": "<p>A build spec declaration that overrides, for this build only, the latest one already defined in the build project.</p>"
}
},
@ -513,10 +576,17 @@
"Tag$value": "<p>The tag's value.</p>"
}
},
"Webhook": {
"base": "<p>Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.</p>",
"refs": {
"CreateWebhookOutput$webhook": "<p>Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.</p>",
"Project$webhook": "<p>Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.</p>"
}
},
"WrapperBoolean": {
"base": null,
"refs": {
"ProjectEnvironment$privilegedMode": "<p>If set to true, enables running the Docker daemon inside a Docker container; otherwise, false or not specified (the default). This value must be set to true only if this build project will be used to build Docker images, and the specified build environment image is not one provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon will fail. Note that you must also start the Docker daemon so that your builds can interact with it as needed. One way to do this is to initialize the Docker daemon in the install phase of your build spec by running the following build commands. (Do not run the following build commands if the specified build environment image is provided by AWS CodeBuild with Docker support.)</p> <p> <code>- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=vfs&amp; - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code> </p>"
"ProjectEnvironment$privilegedMode": "<p>If set to true, enables running the Docker daemon inside a Docker container; otherwise, false or not specified (the default). This value must be set to true only if this build project will be used to build Docker images, and the specified build environment image is not one provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon will fail. Note that you must also start the Docker daemon so that your builds can interact with it as needed. One way to do this is to initialize the Docker daemon in the install phase of your build spec by running the following build commands. (Do not run the following build commands if the specified build environment image is provided by AWS CodeBuild with Docker support.)</p> <p> <code>- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&amp; - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code> </p>"
}
},
"WrapperInt": {

View file

@ -1,5 +1,281 @@
{
"version": "1.0",
"examples": {
"BatchGetBuilds": [
{
"input": {
"ids": [
"codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
"codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX"
]
},
"output": {
"builds": [
{
"arn": "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
"artifacts": {
"location": "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project"
},
"buildComplete": true,
"buildStatus": "SUCCEEDED",
"currentPhase": "COMPLETED",
"endTime": 1479832474.764,
"environment": {
"type": "LINUX_CONTAINER",
"computeType": "BUILD_GENERAL1_SMALL",
"environmentVariables": [
],
"image": "aws/codebuild/java:openjdk-8",
"privilegedMode": false
},
"id": "codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX",
"initiator": "MyDemoUser",
"logs": {
"deepLink": "https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEvent:group=/aws/codebuild/codebuild-demo-project;stream=9b0ac37f-d19e-4254-9079-f47e9a389eEX",
"groupName": "/aws/codebuild/codebuild-demo-project",
"streamName": "9b0ac37f-d19e-4254-9079-f47e9a389eEX"
},
"phases": [
{
"durationInSeconds": 0,
"endTime": 1479832342.23,
"phaseStatus": "SUCCEEDED",
"phaseType": "SUBMITTED",
"startTime": 1479832341.854
},
{
"contexts": [
],
"durationInSeconds": 72,
"endTime": 1479832415.064,
"phaseStatus": "SUCCEEDED",
"phaseType": "PROVISIONING",
"startTime": 1479832342.23
},
{
"contexts": [
],
"durationInSeconds": 46,
"endTime": 1479832461.261,
"phaseStatus": "SUCCEEDED",
"phaseType": "DOWNLOAD_SOURCE",
"startTime": 1479832415.064
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479832461.354,
"phaseStatus": "SUCCEEDED",
"phaseType": "INSTALL",
"startTime": 1479832461.261
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479832461.448,
"phaseStatus": "SUCCEEDED",
"phaseType": "PRE_BUILD",
"startTime": 1479832461.354
},
{
"contexts": [
],
"durationInSeconds": 9,
"endTime": 1479832471.115,
"phaseStatus": "SUCCEEDED",
"phaseType": "BUILD",
"startTime": 1479832461.448
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479832471.224,
"phaseStatus": "SUCCEEDED",
"phaseType": "POST_BUILD",
"startTime": 1479832471.115
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479832471.791,
"phaseStatus": "SUCCEEDED",
"phaseType": "UPLOAD_ARTIFACTS",
"startTime": 1479832471.224
},
{
"contexts": [
],
"durationInSeconds": 2,
"endTime": 1479832474.764,
"phaseStatus": "SUCCEEDED",
"phaseType": "FINALIZING",
"startTime": 1479832471.791
},
{
"phaseType": "COMPLETED",
"startTime": 1479832474.764
}
],
"projectName": "codebuild-demo-project",
"source": {
"type": "S3",
"buildspec": "",
"location": "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip"
},
"startTime": 1479832341.854,
"timeoutInMinutes": 60
},
{
"arn": "arn:aws:codebuild:us-east-1:123456789012:build/codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
"artifacts": {
"location": "arn:aws:s3:::codebuild-123456789012-output-bucket/codebuild-demo-project"
},
"buildComplete": true,
"buildStatus": "SUCCEEDED",
"currentPhase": "COMPLETED",
"endTime": 1479401214.239,
"environment": {
"type": "LINUX_CONTAINER",
"computeType": "BUILD_GENERAL1_SMALL",
"environmentVariables": [
],
"image": "aws/codebuild/java:openjdk-8",
"privilegedMode": false
},
"id": "codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX",
"initiator": "MyDemoUser",
"logs": {
"deepLink": "https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEvent:group=/aws/codebuild/codebuild-demo-project;stream=b79a46f7-1473-4636-a23f-da9c45c208EX",
"groupName": "/aws/codebuild/codebuild-demo-project",
"streamName": "b79a46f7-1473-4636-a23f-da9c45c208EX"
},
"phases": [
{
"durationInSeconds": 0,
"endTime": 1479401082.342,
"phaseStatus": "SUCCEEDED",
"phaseType": "SUBMITTED",
"startTime": 1479401081.869
},
{
"contexts": [
],
"durationInSeconds": 71,
"endTime": 1479401154.129,
"phaseStatus": "SUCCEEDED",
"phaseType": "PROVISIONING",
"startTime": 1479401082.342
},
{
"contexts": [
],
"durationInSeconds": 45,
"endTime": 1479401199.136,
"phaseStatus": "SUCCEEDED",
"phaseType": "DOWNLOAD_SOURCE",
"startTime": 1479401154.129
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479401199.236,
"phaseStatus": "SUCCEEDED",
"phaseType": "INSTALL",
"startTime": 1479401199.136
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479401199.345,
"phaseStatus": "SUCCEEDED",
"phaseType": "PRE_BUILD",
"startTime": 1479401199.236
},
{
"contexts": [
],
"durationInSeconds": 9,
"endTime": 1479401208.68,
"phaseStatus": "SUCCEEDED",
"phaseType": "BUILD",
"startTime": 1479401199.345
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479401208.783,
"phaseStatus": "SUCCEEDED",
"phaseType": "POST_BUILD",
"startTime": 1479401208.68
},
{
"contexts": [
],
"durationInSeconds": 0,
"endTime": 1479401209.463,
"phaseStatus": "SUCCEEDED",
"phaseType": "UPLOAD_ARTIFACTS",
"startTime": 1479401208.783
},
{
"contexts": [
],
"durationInSeconds": 4,
"endTime": 1479401214.239,
"phaseStatus": "SUCCEEDED",
"phaseType": "FINALIZING",
"startTime": 1479401209.463
},
{
"phaseType": "COMPLETED",
"startTime": 1479401214.239
}
],
"projectName": "codebuild-demo-project",
"source": {
"type": "S3",
"location": "arn:aws:s3:::codebuild-123456789012-input-bucket/MessageUtil.zip"
},
"startTime": 1479401081.869,
"timeoutInMinutes": 60
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example gets information about builds with the specified build IDs.",
"id": "to-get-information-about-builds-1501187184588",
"title": "To get information about builds"
}
]
}
}