1401 lines
30 KiB
JSON
1401 lines
30 KiB
JSON
|
{
|
||
|
"version": "2.0",
|
||
|
"metadata": {
|
||
|
"apiVersion": "2015-04-13",
|
||
|
"endpointPrefix": "codecommit",
|
||
|
"jsonVersion": "1.1",
|
||
|
"protocol": "json",
|
||
|
"serviceAbbreviation": "CodeCommit",
|
||
|
"serviceFullName": "AWS CodeCommit",
|
||
|
"serviceId": "CodeCommit",
|
||
|
"signatureVersion": "v4",
|
||
|
"targetPrefix": "CodeCommit_20150413",
|
||
|
"uid": "codecommit-2015-04-13"
|
||
|
},
|
||
|
"operations": {
|
||
|
"BatchGetRepositories": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryNames"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryNames": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositories": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"shape": "S6"
|
||
|
}
|
||
|
},
|
||
|
"repositoriesNotFound": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"CreateBranch": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"branchName",
|
||
|
"commitId"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {},
|
||
|
"commitId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"CreateCommit": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"branchName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {},
|
||
|
"parentCommitId": {},
|
||
|
"authorName": {},
|
||
|
"email": {},
|
||
|
"commitMessage": {},
|
||
|
"keepEmptyFolders": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"putFiles": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"filePath": {},
|
||
|
"fileMode": {},
|
||
|
"fileContent": {
|
||
|
"type": "blob"
|
||
|
},
|
||
|
"sourceFile": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"filePath": {},
|
||
|
"isMove": {
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"deleteFiles": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"filePath": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"setFileModes": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"filePath",
|
||
|
"fileMode"
|
||
|
],
|
||
|
"members": {
|
||
|
"filePath": {},
|
||
|
"fileMode": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"treeId": {},
|
||
|
"filesAdded": {
|
||
|
"shape": "S11"
|
||
|
},
|
||
|
"filesUpdated": {
|
||
|
"shape": "S11"
|
||
|
},
|
||
|
"filesDeleted": {
|
||
|
"shape": "S11"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"CreatePullRequest": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"title",
|
||
|
"targets"
|
||
|
],
|
||
|
"members": {
|
||
|
"title": {},
|
||
|
"description": {},
|
||
|
"targets": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"sourceReference"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"sourceReference": {},
|
||
|
"destinationReference": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"clientRequestToken": {
|
||
|
"idempotencyToken": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequest"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"CreateRepository": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"repositoryDescription": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryMetadata": {
|
||
|
"shape": "S6"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"DeleteBranch": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"branchName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"deletedBranch": {
|
||
|
"shape": "S1m"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"DeleteCommentContent": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commentId"
|
||
|
],
|
||
|
"members": {
|
||
|
"commentId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"DeleteFile": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"branchName",
|
||
|
"filePath",
|
||
|
"parentCommitId"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {},
|
||
|
"filePath": {},
|
||
|
"parentCommitId": {},
|
||
|
"keepEmptyFolders": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"commitMessage": {},
|
||
|
"name": {},
|
||
|
"email": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commitId",
|
||
|
"blobId",
|
||
|
"treeId",
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"blobId": {},
|
||
|
"treeId": {},
|
||
|
"filePath": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"DeleteRepository": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"DescribePullRequestEvents": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"pullRequestEventType": {},
|
||
|
"actorArn": {},
|
||
|
"nextToken": {},
|
||
|
"maxResults": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestEvents"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestEvents": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"eventDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"pullRequestEventType": {},
|
||
|
"actorArn": {},
|
||
|
"pullRequestCreatedEventMetadata": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"sourceCommitId": {},
|
||
|
"destinationCommitId": {},
|
||
|
"mergeBase": {}
|
||
|
}
|
||
|
},
|
||
|
"pullRequestStatusChangedEventMetadata": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pullRequestStatus": {}
|
||
|
}
|
||
|
},
|
||
|
"pullRequestSourceReferenceUpdatedEventMetadata": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"mergeBase": {}
|
||
|
}
|
||
|
},
|
||
|
"pullRequestMergedStateChangedEventMetadata": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"destinationReference": {},
|
||
|
"mergeMetadata": {
|
||
|
"shape": "S1g"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetBlob": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"blobId"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"blobId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"content"
|
||
|
],
|
||
|
"members": {
|
||
|
"content": {
|
||
|
"type": "blob"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetBranch": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"branch": {
|
||
|
"shape": "S1m"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetComment": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commentId"
|
||
|
],
|
||
|
"members": {
|
||
|
"commentId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetCommentsForComparedCommit": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"afterCommitId"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"nextToken": {},
|
||
|
"maxResults": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commentsForComparedCommitData": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"beforeBlobId": {},
|
||
|
"afterBlobId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"comments": {
|
||
|
"shape": "S2n"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetCommentsForPullRequest": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"nextToken": {},
|
||
|
"maxResults": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commentsForPullRequestData": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"beforeBlobId": {},
|
||
|
"afterBlobId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"comments": {
|
||
|
"shape": "S2n"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetCommit": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"commitId"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"commitId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commit"
|
||
|
],
|
||
|
"members": {
|
||
|
"commit": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"treeId": {},
|
||
|
"parents": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
},
|
||
|
"message": {},
|
||
|
"author": {
|
||
|
"shape": "S2w"
|
||
|
},
|
||
|
"committer": {
|
||
|
"shape": "S2w"
|
||
|
},
|
||
|
"additionalData": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetDifferences": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"afterCommitSpecifier"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitSpecifier": {},
|
||
|
"afterCommitSpecifier": {},
|
||
|
"beforePath": {},
|
||
|
"afterPath": {},
|
||
|
"MaxResults": {
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"NextToken": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"differences": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"beforeBlob": {
|
||
|
"shape": "S35"
|
||
|
},
|
||
|
"afterBlob": {
|
||
|
"shape": "S35"
|
||
|
},
|
||
|
"changeType": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"NextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetFile": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"commitSpecifier": {},
|
||
|
"filePath": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commitId",
|
||
|
"blobId",
|
||
|
"filePath",
|
||
|
"fileMode",
|
||
|
"fileSize",
|
||
|
"fileContent"
|
||
|
],
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"blobId": {},
|
||
|
"filePath": {},
|
||
|
"fileMode": {},
|
||
|
"fileSize": {
|
||
|
"type": "long"
|
||
|
},
|
||
|
"fileContent": {
|
||
|
"type": "blob"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetFolder": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"folderPath"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"commitSpecifier": {},
|
||
|
"folderPath": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commitId",
|
||
|
"folderPath"
|
||
|
],
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"folderPath": {},
|
||
|
"treeId": {},
|
||
|
"subFolders": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"treeId": {},
|
||
|
"absolutePath": {},
|
||
|
"relativePath": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"files": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"blobId": {},
|
||
|
"absolutePath": {},
|
||
|
"relativePath": {},
|
||
|
"fileMode": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"symbolicLinks": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"blobId": {},
|
||
|
"absolutePath": {},
|
||
|
"relativePath": {},
|
||
|
"fileMode": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"subModules": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"absolutePath": {},
|
||
|
"relativePath": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetMergeConflicts": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"destinationCommitSpecifier",
|
||
|
"sourceCommitSpecifier",
|
||
|
"mergeOption"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"destinationCommitSpecifier": {},
|
||
|
"sourceCommitSpecifier": {},
|
||
|
"mergeOption": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"mergeable",
|
||
|
"destinationCommitId",
|
||
|
"sourceCommitId"
|
||
|
],
|
||
|
"members": {
|
||
|
"mergeable": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"destinationCommitId": {},
|
||
|
"sourceCommitId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetPullRequest": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequest"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetRepository": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryMetadata": {
|
||
|
"shape": "S6"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"GetRepositoryTriggers": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"configurationId": {},
|
||
|
"triggers": {
|
||
|
"shape": "S3w"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"ListBranches": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"branches": {
|
||
|
"shape": "S40"
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"ListPullRequests": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"authorArn": {},
|
||
|
"pullRequestStatus": {},
|
||
|
"nextToken": {},
|
||
|
"maxResults": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestIds"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestIds": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"ListRepositories": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"nextToken": {},
|
||
|
"sortBy": {},
|
||
|
"order": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositories": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"repositoryId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"nextToken": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"MergePullRequestByFastForward": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId",
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"repositoryName": {},
|
||
|
"sourceCommitId": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"PostCommentForComparedCommit": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"afterCommitId",
|
||
|
"content"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"content": {},
|
||
|
"clientRequestToken": {
|
||
|
"idempotencyToken": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"beforeBlobId": {},
|
||
|
"afterBlobId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"idempotent": true
|
||
|
},
|
||
|
"PostCommentForPullRequest": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId",
|
||
|
"repositoryName",
|
||
|
"beforeCommitId",
|
||
|
"afterCommitId",
|
||
|
"content"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"repositoryName": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"content": {},
|
||
|
"clientRequestToken": {
|
||
|
"idempotencyToken": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"pullRequestId": {},
|
||
|
"beforeCommitId": {},
|
||
|
"afterCommitId": {},
|
||
|
"beforeBlobId": {},
|
||
|
"afterBlobId": {},
|
||
|
"location": {
|
||
|
"shape": "S2k"
|
||
|
},
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"idempotent": true
|
||
|
},
|
||
|
"PostCommentReply": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"inReplyTo",
|
||
|
"content"
|
||
|
],
|
||
|
"members": {
|
||
|
"inReplyTo": {},
|
||
|
"clientRequestToken": {
|
||
|
"idempotencyToken": true
|
||
|
},
|
||
|
"content": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"idempotent": true
|
||
|
},
|
||
|
"PutFile": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"branchName",
|
||
|
"fileContent",
|
||
|
"filePath"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"branchName": {},
|
||
|
"fileContent": {
|
||
|
"type": "blob"
|
||
|
},
|
||
|
"filePath": {},
|
||
|
"fileMode": {},
|
||
|
"parentCommitId": {},
|
||
|
"commitMessage": {},
|
||
|
"name": {},
|
||
|
"email": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commitId",
|
||
|
"blobId",
|
||
|
"treeId"
|
||
|
],
|
||
|
"members": {
|
||
|
"commitId": {},
|
||
|
"blobId": {},
|
||
|
"treeId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"PutRepositoryTriggers": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"triggers"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"triggers": {
|
||
|
"shape": "S3w"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"configurationId": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"TestRepositoryTriggers": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"triggers"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"triggers": {
|
||
|
"shape": "S3w"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"successfulExecutions": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
},
|
||
|
"failedExecutions": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"trigger": {},
|
||
|
"failureMessage": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdateComment": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"commentId",
|
||
|
"content"
|
||
|
],
|
||
|
"members": {
|
||
|
"commentId": {},
|
||
|
"content": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"comment": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdateDefaultBranch": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName",
|
||
|
"defaultBranchName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"defaultBranchName": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdatePullRequestDescription": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId",
|
||
|
"description"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"description": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequest"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdatePullRequestStatus": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId",
|
||
|
"pullRequestStatus"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"pullRequestStatus": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequest"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdatePullRequestTitle": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequestId",
|
||
|
"title"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"title": {}
|
||
|
}
|
||
|
},
|
||
|
"output": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"pullRequest"
|
||
|
],
|
||
|
"members": {
|
||
|
"pullRequest": {
|
||
|
"shape": "S1b"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdateRepositoryDescription": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"repositoryName"
|
||
|
],
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"repositoryDescription": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"UpdateRepositoryName": {
|
||
|
"input": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"oldName",
|
||
|
"newName"
|
||
|
],
|
||
|
"members": {
|
||
|
"oldName": {},
|
||
|
"newName": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"shapes": {
|
||
|
"S6": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"accountId": {},
|
||
|
"repositoryId": {},
|
||
|
"repositoryName": {},
|
||
|
"repositoryDescription": {},
|
||
|
"defaultBranch": {},
|
||
|
"lastModifiedDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"creationDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"cloneUrlHttp": {},
|
||
|
"cloneUrlSsh": {},
|
||
|
"Arn": {}
|
||
|
}
|
||
|
},
|
||
|
"S11": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"absolutePath": {},
|
||
|
"blobId": {},
|
||
|
"fileMode": {}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"S1b": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"pullRequestId": {},
|
||
|
"title": {},
|
||
|
"description": {},
|
||
|
"lastActivityDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"creationDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"pullRequestStatus": {},
|
||
|
"authorArn": {},
|
||
|
"pullRequestTargets": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"repositoryName": {},
|
||
|
"sourceReference": {},
|
||
|
"destinationReference": {},
|
||
|
"destinationCommit": {},
|
||
|
"sourceCommit": {},
|
||
|
"mergeBase": {},
|
||
|
"mergeMetadata": {
|
||
|
"shape": "S1g"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"clientRequestToken": {}
|
||
|
}
|
||
|
},
|
||
|
"S1g": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"isMerged": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"mergedBy": {}
|
||
|
}
|
||
|
},
|
||
|
"S1m": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"branchName": {},
|
||
|
"commitId": {}
|
||
|
}
|
||
|
},
|
||
|
"S1q": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"commentId": {},
|
||
|
"content": {},
|
||
|
"inReplyTo": {},
|
||
|
"creationDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"lastModifiedDate": {
|
||
|
"type": "timestamp"
|
||
|
},
|
||
|
"authorArn": {},
|
||
|
"deleted": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"clientRequestToken": {}
|
||
|
}
|
||
|
},
|
||
|
"S2k": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"filePath": {},
|
||
|
"filePosition": {
|
||
|
"type": "long"
|
||
|
},
|
||
|
"relativeFileVersion": {}
|
||
|
}
|
||
|
},
|
||
|
"S2n": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"shape": "S1q"
|
||
|
}
|
||
|
},
|
||
|
"S2w": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"name": {},
|
||
|
"email": {},
|
||
|
"date": {}
|
||
|
}
|
||
|
},
|
||
|
"S35": {
|
||
|
"type": "structure",
|
||
|
"members": {
|
||
|
"blobId": {},
|
||
|
"path": {},
|
||
|
"mode": {}
|
||
|
}
|
||
|
},
|
||
|
"S3w": {
|
||
|
"type": "list",
|
||
|
"member": {
|
||
|
"type": "structure",
|
||
|
"required": [
|
||
|
"name",
|
||
|
"destinationArn",
|
||
|
"events"
|
||
|
],
|
||
|
"members": {
|
||
|
"name": {},
|
||
|
"destinationArn": {},
|
||
|
"customData": {},
|
||
|
"branches": {
|
||
|
"shape": "S40"
|
||
|
},
|
||
|
"events": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"S40": {
|
||
|
"type": "list",
|
||
|
"member": {}
|
||
|
}
|
||
|
}
|
||
|
}
|