diff --git a/CHANGELOG.md b/CHANGELOG.md index 87812ca6795..ba1a208731e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,13 @@ Unreleased Changes * Feature - Aws::ECS - Amazon EC2 Container Service now supports the UDP protocol. -* Feature - Aws::IAM - Add support for SSH Public Key Operations. +* Feature - Aws::IAM - Adds support for SSH Public Key Operations. * Feature - Aws::SES - Adds support for cross-account sending, which is available through the use of the sending authorization feature. +* Feature - Aws::CodeCommit - Adds support for AWS CodeCommit. + 2.1.3 (2015-07-07) ------------------ diff --git a/aws-sdk-core/apis/codecommit/2015-04-13/api-2.json b/aws-sdk-core/apis/codecommit/2015-04-13/api-2.json new file mode 100644 index 00000000000..80b3655ae1a --- /dev/null +++ b/aws-sdk-core/apis/codecommit/2015-04-13/api-2.json @@ -0,0 +1,885 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2015-04-13", + "endpointPrefix":"codecommit", + "jsonVersion":"1.1", + "serviceAbbreviation":"CodeCommit", + "serviceFullName":"AWS CodeCommit", + "signatureVersion":"v4", + "targetPrefix":"CodeCommit_20150413", + "protocol":"json" + }, + "operations":{ + "BatchGetRepositories":{ + "name":"BatchGetRepositories", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchGetRepositoriesInput"}, + "output":{"shape":"BatchGetRepositoriesOutput"}, + "errors":[ + { + "shape":"RepositoryNamesRequiredException", + "exception":true + }, + { + "shape":"MaximumRepositoryNamesExceededException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "CreateBranch":{ + "name":"CreateBranch", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateBranchInput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"BranchNameRequiredException", + "exception":true + }, + { + "shape":"BranchNameExistsException", + "exception":true + }, + { + "shape":"InvalidBranchNameException", + "exception":true + }, + { + "shape":"CommitIdRequiredException", + "exception":true + }, + { + "shape":"CommitDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidCommitIdException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "CreateRepository":{ + "name":"CreateRepository", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateRepositoryInput"}, + "output":{"shape":"CreateRepositoryOutput"}, + "errors":[ + { + "shape":"RepositoryNameExistsException", + "exception":true + }, + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"InvalidRepositoryDescriptionException", + "exception":true + }, + { + "shape":"RepositoryLimitExceededException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "DeleteRepository":{ + "name":"DeleteRepository", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteRepositoryInput"}, + "output":{"shape":"DeleteRepositoryOutput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "GetBranch":{ + "name":"GetBranch", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetBranchInput"}, + "output":{"shape":"GetBranchOutput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"BranchNameRequiredException", + "exception":true + }, + { + "shape":"InvalidBranchNameException", + "exception":true + }, + { + "shape":"BranchDoesNotExistException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "GetRepository":{ + "name":"GetRepository", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetRepositoryInput"}, + "output":{"shape":"GetRepositoryOutput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "ListBranches":{ + "name":"ListBranches", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListBranchesInput"}, + "output":{"shape":"ListBranchesOutput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + }, + { + "shape":"InvalidContinuationTokenException", + "exception":true + } + ] + }, + "ListRepositories":{ + "name":"ListRepositories", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListRepositoriesInput"}, + "output":{"shape":"ListRepositoriesOutput"}, + "errors":[ + { + "shape":"InvalidSortByException", + "exception":true + }, + { + "shape":"InvalidOrderException", + "exception":true + }, + { + "shape":"InvalidContinuationTokenException", + "exception":true + } + ] + }, + "UpdateDefaultBranch":{ + "name":"UpdateDefaultBranch", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateDefaultBranchInput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"BranchNameRequiredException", + "exception":true + }, + { + "shape":"InvalidBranchNameException", + "exception":true + }, + { + "shape":"BranchDoesNotExistException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "UpdateRepositoryDescription":{ + "name":"UpdateRepositoryDescription", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateRepositoryDescriptionInput"}, + "errors":[ + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + }, + { + "shape":"InvalidRepositoryDescriptionException", + "exception":true + }, + { + "shape":"EncryptionIntegrityChecksFailedException", + "exception":true, + "fault":true + }, + { + "shape":"EncryptionKeyAccessDeniedException", + "exception":true + }, + { + "shape":"EncryptionKeyDisabledException", + "exception":true + }, + { + "shape":"EncryptionKeyNotFoundException", + "exception":true + }, + { + "shape":"EncryptionKeyUnavailableException", + "exception":true + } + ] + }, + "UpdateRepositoryName":{ + "name":"UpdateRepositoryName", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateRepositoryNameInput"}, + "errors":[ + { + "shape":"RepositoryDoesNotExistException", + "exception":true + }, + { + "shape":"RepositoryNameExistsException", + "exception":true + }, + { + "shape":"RepositoryNameRequiredException", + "exception":true + }, + { + "shape":"InvalidRepositoryNameException", + "exception":true + } + ] + } + }, + "shapes":{ + "AccountId":{"type":"string"}, + "Arn":{"type":"string"}, + "BatchGetRepositoriesInput":{ + "type":"structure", + "required":["repositoryNames"], + "members":{ + "repositoryNames":{"shape":"RepositoryNameList"} + } + }, + "BatchGetRepositoriesOutput":{ + "type":"structure", + "members":{ + "repositories":{"shape":"RepositoryMetadataList"}, + "repositoriesNotFound":{"shape":"RepositoryNotFoundList"} + } + }, + "BranchDoesNotExistException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "BranchInfo":{ + "type":"structure", + "members":{ + "branchName":{"shape":"BranchName"}, + "commitId":{"shape":"CommitId"} + } + }, + "BranchName":{ + "type":"string", + "min":1, + "max":100 + }, + "BranchNameExistsException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "BranchNameList":{ + "type":"list", + "member":{"shape":"BranchName"} + }, + "BranchNameRequiredException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "CloneUrlHttp":{"type":"string"}, + "CloneUrlSsh":{"type":"string"}, + "CommitDoesNotExistException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "CommitId":{"type":"string"}, + "CommitIdRequiredException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "CreateBranchInput":{ + "type":"structure", + "required":[ + "repositoryName", + "branchName", + "commitId" + ], + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "branchName":{"shape":"BranchName"}, + "commitId":{"shape":"CommitId"} + } + }, + "CreateRepositoryInput":{ + "type":"structure", + "required":["repositoryName"], + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "repositoryDescription":{"shape":"RepositoryDescription"} + } + }, + "CreateRepositoryOutput":{ + "type":"structure", + "members":{ + "repositoryMetadata":{"shape":"RepositoryMetadata"} + } + }, + "CreationDate":{"type":"timestamp"}, + "DeleteRepositoryInput":{ + "type":"structure", + "required":["repositoryName"], + "members":{ + "repositoryName":{"shape":"RepositoryName"} + } + }, + "DeleteRepositoryOutput":{ + "type":"structure", + "members":{ + "repositoryId":{"shape":"RepositoryId"} + } + }, + "EncryptionIntegrityChecksFailedException":{ + "type":"structure", + "members":{ + }, + "exception":true, + "fault":true + }, + "EncryptionKeyAccessDeniedException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "EncryptionKeyDisabledException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "EncryptionKeyNotFoundException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "EncryptionKeyUnavailableException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "GetBranchInput":{ + "type":"structure", + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "branchName":{"shape":"BranchName"} + } + }, + "GetBranchOutput":{ + "type":"structure", + "members":{ + "branch":{"shape":"BranchInfo"} + } + }, + "GetRepositoryInput":{ + "type":"structure", + "required":["repositoryName"], + "members":{ + "repositoryName":{"shape":"RepositoryName"} + } + }, + "GetRepositoryOutput":{ + "type":"structure", + "members":{ + "repositoryMetadata":{"shape":"RepositoryMetadata"} + } + }, + "InvalidBranchNameException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidCommitIdException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidContinuationTokenException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidOrderException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidRepositoryDescriptionException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidRepositoryNameException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "InvalidSortByException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "LastModifiedDate":{"type":"timestamp"}, + "ListBranchesInput":{ + "type":"structure", + "required":["repositoryName"], + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListBranchesOutput":{ + "type":"structure", + "members":{ + "branches":{"shape":"BranchNameList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListRepositoriesInput":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"NextToken"}, + "sortBy":{"shape":"SortByEnum"}, + "order":{"shape":"OrderEnum"} + } + }, + "ListRepositoriesOutput":{ + "type":"structure", + "members":{ + "repositories":{"shape":"RepositoryNameIdPairList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "MaximumRepositoryNamesExceededException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "NextToken":{"type":"string"}, + "OrderEnum":{ + "type":"string", + "enum":[ + "ascending", + "descending" + ] + }, + "RepositoryDescription":{ + "type":"string", + "max":1000 + }, + "RepositoryDoesNotExistException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "RepositoryId":{"type":"string"}, + "RepositoryLimitExceededException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "RepositoryMetadata":{ + "type":"structure", + "members":{ + "accountId":{"shape":"AccountId"}, + "repositoryId":{"shape":"RepositoryId"}, + "repositoryName":{"shape":"RepositoryName"}, + "repositoryDescription":{"shape":"RepositoryDescription"}, + "defaultBranch":{"shape":"BranchName"}, + "lastModifiedDate":{"shape":"LastModifiedDate"}, + "creationDate":{"shape":"CreationDate"}, + "cloneUrlHttp":{"shape":"CloneUrlHttp"}, + "cloneUrlSsh":{"shape":"CloneUrlSsh"}, + "Arn":{"shape":"Arn"} + } + }, + "RepositoryMetadataList":{ + "type":"list", + "member":{"shape":"RepositoryMetadata"} + }, + "RepositoryName":{ + "type":"string", + "min":1, + "max":100, + "pattern":"[\\\\w\\\\.-]+" + }, + "RepositoryNameExistsException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "RepositoryNameIdPair":{ + "type":"structure", + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "repositoryId":{"shape":"RepositoryId"} + } + }, + "RepositoryNameIdPairList":{ + "type":"list", + "member":{"shape":"RepositoryNameIdPair"} + }, + "RepositoryNameList":{ + "type":"list", + "member":{"shape":"RepositoryName"} + }, + "RepositoryNameRequiredException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "RepositoryNamesRequiredException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, + "RepositoryNotFoundList":{ + "type":"list", + "member":{"shape":"RepositoryName"} + }, + "SortByEnum":{ + "type":"string", + "enum":[ + "repositoryName", + "lastModifiedDate" + ] + }, + "UpdateDefaultBranchInput":{ + "type":"structure", + "required":[ + "repositoryName", + "defaultBranchName" + ], + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "defaultBranchName":{"shape":"BranchName"} + } + }, + "UpdateRepositoryDescriptionInput":{ + "type":"structure", + "required":["repositoryName"], + "members":{ + "repositoryName":{"shape":"RepositoryName"}, + "repositoryDescription":{"shape":"RepositoryDescription"} + } + }, + "UpdateRepositoryNameInput":{ + "type":"structure", + "required":[ + "oldName", + "newName" + ], + "members":{ + "oldName":{"shape":"RepositoryName"}, + "newName":{"shape":"RepositoryName"} + } + } + } +} diff --git a/aws-sdk-core/apis/codecommit/2015-04-13/docs-2.json b/aws-sdk-core/apis/codecommit/2015-04-13/docs-2.json new file mode 100644 index 00000000000..c2607eee972 --- /dev/null +++ b/aws-sdk-core/apis/codecommit/2015-04-13/docs-2.json @@ -0,0 +1,384 @@ +{ + "version": "2.0", + "operations": { + "BatchGetRepositories": "

Gets information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

", + "CreateBranch": "

Creates a new branch in a repository and points the branch to a commit.

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.", + "CreateRepository": "

Creates a new, empty repository.

", + "DeleteRepository": "

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.", + "GetBranch": "

Retrieves information about a repository branch, including its name and the last commit ID.

", + "GetRepository": "

Gets information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

", + "ListBranches": "

Gets information about one or more branches in a repository.

", + "ListRepositories": "

Gets information about one or more repositories.

", + "UpdateDefaultBranch": "

Sets or changes the default branch name for the specified repository.

If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.", + "UpdateRepositoryDescription": "

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

", + "UpdateRepositoryName": "

Renames a repository.

" + }, + "service": "AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.

You can use the AWS CodeCommit API to work with the following objects:

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

", + "shapes": { + "AccountId": { + "base": null, + "refs": { + "RepositoryMetadata$accountId": "

The ID of the AWS account associated with the repository.

" + } + }, + "Arn": { + "base": null, + "refs": { + "RepositoryMetadata$Arn": "

The Amazon Resource Name (ARN) of the repository.

" + } + }, + "BatchGetRepositoriesInput": { + "base": "

Represents the input of a batch get repositories operation.

", + "refs": { + } + }, + "BatchGetRepositoriesOutput": { + "base": "

Represents the output of a batch get repositories operation.

", + "refs": { + } + }, + "BranchDoesNotExistException": { + "base": "

The specified branch does not exist.

", + "refs": { + } + }, + "BranchInfo": { + "base": "

Returns information about a branch.

", + "refs": { + "GetBranchOutput$branch": "

The name of the branch.

" + } + }, + "BranchName": { + "base": null, + "refs": { + "BranchInfo$branchName": "

The name of the branch.

", + "BranchNameList$member": null, + "CreateBranchInput$branchName": "

The name of the new branch to create.

", + "GetBranchInput$branchName": "

The name of the branch for which you want to retrieve information.

", + "RepositoryMetadata$defaultBranch": "

The repository's default branch name.

", + "UpdateDefaultBranchInput$defaultBranchName": "

The name of the branch to set as the default.

" + } + }, + "BranchNameExistsException": { + "base": "

The specified branch name already exists.

", + "refs": { + } + }, + "BranchNameList": { + "base": null, + "refs": { + "ListBranchesOutput$branches": "

The list of branch names.

" + } + }, + "BranchNameRequiredException": { + "base": "

A branch name is required but was not specified.

", + "refs": { + } + }, + "CloneUrlHttp": { + "base": null, + "refs": { + "RepositoryMetadata$cloneUrlHttp": "

The URL to use for cloning the repository over HTTPS.

" + } + }, + "CloneUrlSsh": { + "base": null, + "refs": { + "RepositoryMetadata$cloneUrlSsh": "

The URL to use for cloning the repository over SSH.

" + } + }, + "CommitDoesNotExistException": { + "base": "

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

", + "refs": { + } + }, + "CommitId": { + "base": null, + "refs": { + "BranchInfo$commitId": "

The ID of the last commit made to the branch.

", + "CreateBranchInput$commitId": "

The ID of the commit to point the new branch to.

If this commit ID is not specified, the new branch will point to the commit that is pointed to by the repository's default branch." + } + }, + "CommitIdRequiredException": { + "base": "

A commit ID was not specified.

", + "refs": { + } + }, + "CreateBranchInput": { + "base": "

Represents the input of a create branch operation.

", + "refs": { + } + }, + "CreateRepositoryInput": { + "base": "

Represents the input of a create repository operation.

", + "refs": { + } + }, + "CreateRepositoryOutput": { + "base": "

Represents the output of a create repository operation.

", + "refs": { + } + }, + "CreationDate": { + "base": null, + "refs": { + "RepositoryMetadata$creationDate": "

The date and time the repository was created, in timestamp format.

" + } + }, + "DeleteRepositoryInput": { + "base": "

Represents the input of a delete repository operation.

", + "refs": { + } + }, + "DeleteRepositoryOutput": { + "base": "

Represents the output of a delete repository operation.

", + "refs": { + } + }, + "EncryptionIntegrityChecksFailedException": { + "base": "

An encryption integrity check failed.

", + "refs": { + } + }, + "EncryptionKeyAccessDeniedException": { + "base": "

An encryption key could not be accessed.

", + "refs": { + } + }, + "EncryptionKeyDisabledException": { + "base": "

The encryption key is disabled.

", + "refs": { + } + }, + "EncryptionKeyNotFoundException": { + "base": "

No encryption key was found.

", + "refs": { + } + }, + "EncryptionKeyUnavailableException": { + "base": "

The encryption key is not available.

", + "refs": { + } + }, + "GetBranchInput": { + "base": "

Represents the input of a get branch operation.

", + "refs": { + } + }, + "GetBranchOutput": { + "base": "

Represents the output of a get branch operation.

", + "refs": { + } + }, + "GetRepositoryInput": { + "base": "

Represents the input of a get repository operation.

", + "refs": { + } + }, + "GetRepositoryOutput": { + "base": "

Represents the output of a get repository operation.

", + "refs": { + } + }, + "InvalidBranchNameException": { + "base": "

The specified branch name is not valid.

", + "refs": { + } + }, + "InvalidCommitIdException": { + "base": "

The specified commit ID is not valid.

", + "refs": { + } + }, + "InvalidContinuationTokenException": { + "base": "

The specified continuation token is not valid.

", + "refs": { + } + }, + "InvalidOrderException": { + "base": "

The specified sort order is not valid.

", + "refs": { + } + }, + "InvalidRepositoryDescriptionException": { + "base": "

The specified repository description is not valid.

", + "refs": { + } + }, + "InvalidRepositoryNameException": { + "base": "

At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.", + "refs": { + } + }, + "InvalidSortByException": { + "base": "

The specified sort by value is not valid.

", + "refs": { + } + }, + "LastModifiedDate": { + "base": null, + "refs": { + "RepositoryMetadata$lastModifiedDate": "

The date and time the repository was last modified, in timestamp format.

" + } + }, + "ListBranchesInput": { + "base": "

Represents the input of a list branches operation.

", + "refs": { + } + }, + "ListBranchesOutput": { + "base": "

Represents the output of a list branches operation.

", + "refs": { + } + }, + "ListRepositoriesInput": { + "base": "

Represents the input of a list repositories operation.

", + "refs": { + } + }, + "ListRepositoriesOutput": { + "base": "

Represents the output of a list repositories operation.

", + "refs": { + } + }, + "MaximumRepositoryNamesExceededException": { + "base": "

The maximum number of allowed repository names was exceeded. Currently, this number is 25.

", + "refs": { + } + }, + "NextToken": { + "base": null, + "refs": { + "ListBranchesInput$nextToken": "

An enumeration token that allows the operation to batch the results.

", + "ListBranchesOutput$nextToken": "

An enumeration token that returns the batch of the results.

", + "ListRepositoriesInput$nextToken": "

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.

", + "ListRepositoriesOutput$nextToken": "

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.

" + } + }, + "OrderEnum": { + "base": null, + "refs": { + "ListRepositoriesInput$order": "

The order in which to sort the results of a list repositories operation.

" + } + }, + "RepositoryDescription": { + "base": null, + "refs": { + "CreateRepositoryInput$repositoryDescription": "

A comment or description about the new repository.

", + "RepositoryMetadata$repositoryDescription": "

A comment or description about the repository.

", + "UpdateRepositoryDescriptionInput$repositoryDescription": "

The new comment or description for the specified repository.

" + } + }, + "RepositoryDoesNotExistException": { + "base": "

The specified repository does not exist.

", + "refs": { + } + }, + "RepositoryId": { + "base": null, + "refs": { + "DeleteRepositoryOutput$repositoryId": "

The ID of the repository that was deleted.

", + "RepositoryMetadata$repositoryId": "

The ID of the repository.

", + "RepositoryNameIdPair$repositoryId": "

The ID associated with the repository name.

" + } + }, + "RepositoryLimitExceededException": { + "base": "

A repository resource limit was exceeded.

", + "refs": { + } + }, + "RepositoryMetadata": { + "base": "

Information about a repository.

", + "refs": { + "CreateRepositoryOutput$repositoryMetadata": "

Information about the newly created repository.

", + "GetRepositoryOutput$repositoryMetadata": "

Information about the repository.

", + "RepositoryMetadataList$member": null + } + }, + "RepositoryMetadataList": { + "base": null, + "refs": { + "BatchGetRepositoriesOutput$repositories": "

A list of repositories returned by the batch get repositories operation.

" + } + }, + "RepositoryName": { + "base": "Repository name is restricted to alphanumeric characters (a-z, A-Z, 0-9), \".\", \"_\", and \"-\". Additionally, the suffix \".git\" is prohibited in a repository name.", + "refs": { + "CreateBranchInput$repositoryName": "

The name of the repository in which you want to create the new branch.

", + "CreateRepositoryInput$repositoryName": "

The name of the new repository to be created.

The repository name must be unique across the calling AWS account. In addition, repository names are restricted to alphanumeric characters. The suffix \".git\" is prohibited.", + "DeleteRepositoryInput$repositoryName": "

The name of the repository to delete.

", + "GetBranchInput$repositoryName": null, + "GetRepositoryInput$repositoryName": "

The name of the repository to get information about.

", + "ListBranchesInput$repositoryName": "

The name of the repository that contains the branches.

", + "RepositoryMetadata$repositoryName": "

The repository's name.

", + "RepositoryNameIdPair$repositoryName": null, + "RepositoryNameList$member": null, + "RepositoryNotFoundList$member": null, + "UpdateDefaultBranchInput$repositoryName": "

The name of the repository to set or change the default branch for.

", + "UpdateRepositoryDescriptionInput$repositoryName": "

The name of the repository to set or change the comment or description for.

", + "UpdateRepositoryNameInput$oldName": null, + "UpdateRepositoryNameInput$newName": null + } + }, + "RepositoryNameExistsException": { + "base": "

The specified repository name already exists.

", + "refs": { + } + }, + "RepositoryNameIdPair": { + "base": "

Information about a repository name and ID.

", + "refs": { + "RepositoryNameIdPairList$member": null + } + }, + "RepositoryNameIdPairList": { + "base": null, + "refs": { + "ListRepositoriesOutput$repositories": "

Lists the repositories called by the list repositories operation.

" + } + }, + "RepositoryNameList": { + "base": null, + "refs": { + "BatchGetRepositoriesInput$repositoryNames": "

The names of the repositories to get information about.

" + } + }, + "RepositoryNameRequiredException": { + "base": "

A repository name is required but was not specified.

", + "refs": { + } + }, + "RepositoryNamesRequiredException": { + "base": "

A repository names object is required but was not specified.

", + "refs": { + } + }, + "RepositoryNotFoundList": { + "base": null, + "refs": { + "BatchGetRepositoriesOutput$repositoriesNotFound": "

Returns a list of repository names for which information could not be found.

" + } + }, + "SortByEnum": { + "base": null, + "refs": { + "ListRepositoriesInput$sortBy": "

The criteria used to sort the results of a list repositories operation.

" + } + }, + "UpdateDefaultBranchInput": { + "base": "

Represents the input of an update default branch operation.

", + "refs": { + } + }, + "UpdateRepositoryDescriptionInput": { + "base": "

Represents the input of an update repository description operation.

", + "refs": { + } + }, + "UpdateRepositoryNameInput": { + "base": "

Represents the input of an update repository description operation.

", + "refs": { + } + } + } +} diff --git a/aws-sdk-core/apis/codecommit/2015-04-13/paginators-1.json b/aws-sdk-core/apis/codecommit/2015-04-13/paginators-1.json new file mode 100644 index 00000000000..e4c9a9038cb --- /dev/null +++ b/aws-sdk-core/apis/codecommit/2015-04-13/paginators-1.json @@ -0,0 +1,14 @@ +{ + "pagination": { + "ListBranches": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "branches" + }, + "ListRepositories": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "repositories" + } + } +} \ No newline at end of file diff --git a/aws-sdk-core/lib/aws-sdk-core.rb b/aws-sdk-core/lib/aws-sdk-core.rb index 677c8cdcaa2..6fe1f63ca75 100644 --- a/aws-sdk-core/lib/aws-sdk-core.rb +++ b/aws-sdk-core/lib/aws-sdk-core.rb @@ -26,6 +26,7 @@ module Aws CloudTrail CloudWatch CloudWatchLogs + CodeCommit CodeDeploy CognitoIdentity CognitoSync diff --git a/aws-sdk-core/lib/aws-sdk-core/codecommit.rb b/aws-sdk-core/lib/aws-sdk-core/codecommit.rb new file mode 100644 index 00000000000..ba513758d2e --- /dev/null +++ b/aws-sdk-core/lib/aws-sdk-core/codecommit.rb @@ -0,0 +1,5 @@ +Aws.add_service(:CodeCommit, { + api: "#{Aws::API_DIR}/codecommit/2015-04-13/api-2.json", + docs: "#{Aws::API_DIR}/codecommit/2015-04-13/docs-2.json", + paginators: "#{Aws::API_DIR}/codecommit/2015-04-13/paginators-1.json", +})