codecommit-2015-04-13.min.json (7703B)
1 { 2 "version": "2.0", 3 "metadata": { 4 "apiVersion": "2015-04-13", 5 "endpointPrefix": "codecommit", 6 "jsonVersion": "1.1", 7 "protocol": "json", 8 "serviceAbbreviation": "CodeCommit", 9 "serviceFullName": "AWS CodeCommit", 10 "signatureVersion": "v4", 11 "targetPrefix": "CodeCommit_20150413" 12 }, 13 "operations": { 14 "BatchGetRepositories": { 15 "input": { 16 "type": "structure", 17 "required": [ 18 "repositoryNames" 19 ], 20 "members": { 21 "repositoryNames": { 22 "type": "list", 23 "member": {} 24 } 25 } 26 }, 27 "output": { 28 "type": "structure", 29 "members": { 30 "repositories": { 31 "type": "list", 32 "member": { 33 "shape": "S6" 34 } 35 }, 36 "repositoriesNotFound": { 37 "type": "list", 38 "member": {} 39 } 40 } 41 } 42 }, 43 "CreateBranch": { 44 "input": { 45 "type": "structure", 46 "required": [ 47 "repositoryName", 48 "branchName", 49 "commitId" 50 ], 51 "members": { 52 "repositoryName": {}, 53 "branchName": {}, 54 "commitId": {} 55 } 56 } 57 }, 58 "CreateRepository": { 59 "input": { 60 "type": "structure", 61 "required": [ 62 "repositoryName" 63 ], 64 "members": { 65 "repositoryName": {}, 66 "repositoryDescription": {} 67 } 68 }, 69 "output": { 70 "type": "structure", 71 "members": { 72 "repositoryMetadata": { 73 "shape": "S6" 74 } 75 } 76 } 77 }, 78 "DeleteRepository": { 79 "input": { 80 "type": "structure", 81 "required": [ 82 "repositoryName" 83 ], 84 "members": { 85 "repositoryName": {} 86 } 87 }, 88 "output": { 89 "type": "structure", 90 "members": { 91 "repositoryId": {} 92 } 93 } 94 }, 95 "GetBranch": { 96 "input": { 97 "type": "structure", 98 "members": { 99 "repositoryName": {}, 100 "branchName": {} 101 } 102 }, 103 "output": { 104 "type": "structure", 105 "members": { 106 "branch": { 107 "type": "structure", 108 "members": { 109 "branchName": {}, 110 "commitId": {} 111 } 112 } 113 } 114 } 115 }, 116 "GetCommit": { 117 "input": { 118 "type": "structure", 119 "required": [ 120 "repositoryName", 121 "commitId" 122 ], 123 "members": { 124 "repositoryName": {}, 125 "commitId": {} 126 } 127 }, 128 "output": { 129 "type": "structure", 130 "required": [ 131 "commit" 132 ], 133 "members": { 134 "commit": { 135 "type": "structure", 136 "members": { 137 "treeId": {}, 138 "parents": { 139 "type": "list", 140 "member": {} 141 }, 142 "message": {}, 143 "author": { 144 "shape": "Sw" 145 }, 146 "committer": { 147 "shape": "Sw" 148 }, 149 "additionalData": {} 150 } 151 } 152 } 153 } 154 }, 155 "GetRepository": { 156 "input": { 157 "type": "structure", 158 "required": [ 159 "repositoryName" 160 ], 161 "members": { 162 "repositoryName": {} 163 } 164 }, 165 "output": { 166 "type": "structure", 167 "members": { 168 "repositoryMetadata": { 169 "shape": "S6" 170 } 171 } 172 } 173 }, 174 "GetRepositoryTriggers": { 175 "input": { 176 "type": "structure", 177 "members": { 178 "repositoryName": {} 179 } 180 }, 181 "output": { 182 "type": "structure", 183 "members": { 184 "configurationId": {}, 185 "triggers": { 186 "shape": "S16" 187 } 188 } 189 } 190 }, 191 "ListBranches": { 192 "input": { 193 "type": "structure", 194 "required": [ 195 "repositoryName" 196 ], 197 "members": { 198 "repositoryName": {}, 199 "nextToken": {} 200 } 201 }, 202 "output": { 203 "type": "structure", 204 "members": { 205 "branches": { 206 "shape": "S1a" 207 }, 208 "nextToken": {} 209 } 210 } 211 }, 212 "ListRepositories": { 213 "input": { 214 "type": "structure", 215 "members": { 216 "nextToken": {}, 217 "sortBy": {}, 218 "order": {} 219 } 220 }, 221 "output": { 222 "type": "structure", 223 "members": { 224 "repositories": { 225 "type": "list", 226 "member": { 227 "type": "structure", 228 "members": { 229 "repositoryName": {}, 230 "repositoryId": {} 231 } 232 } 233 }, 234 "nextToken": {} 235 } 236 } 237 }, 238 "PutRepositoryTriggers": { 239 "input": { 240 "type": "structure", 241 "members": { 242 "repositoryName": {}, 243 "triggers": { 244 "shape": "S16" 245 } 246 } 247 }, 248 "output": { 249 "type": "structure", 250 "members": { 251 "configurationId": {} 252 } 253 } 254 }, 255 "TestRepositoryTriggers": { 256 "input": { 257 "type": "structure", 258 "members": { 259 "repositoryName": {}, 260 "triggers": { 261 "shape": "S16" 262 } 263 } 264 }, 265 "output": { 266 "type": "structure", 267 "members": { 268 "successfulExecutions": { 269 "type": "list", 270 "member": {} 271 }, 272 "failedExecutions": { 273 "type": "list", 274 "member": { 275 "type": "structure", 276 "members": { 277 "trigger": {}, 278 "failureMessage": {} 279 } 280 } 281 } 282 } 283 } 284 }, 285 "UpdateDefaultBranch": { 286 "input": { 287 "type": "structure", 288 "required": [ 289 "repositoryName", 290 "defaultBranchName" 291 ], 292 "members": { 293 "repositoryName": {}, 294 "defaultBranchName": {} 295 } 296 } 297 }, 298 "UpdateRepositoryDescription": { 299 "input": { 300 "type": "structure", 301 "required": [ 302 "repositoryName" 303 ], 304 "members": { 305 "repositoryName": {}, 306 "repositoryDescription": {} 307 } 308 } 309 }, 310 "UpdateRepositoryName": { 311 "input": { 312 "type": "structure", 313 "required": [ 314 "oldName", 315 "newName" 316 ], 317 "members": { 318 "oldName": {}, 319 "newName": {} 320 } 321 } 322 } 323 }, 324 "shapes": { 325 "S6": { 326 "type": "structure", 327 "members": { 328 "accountId": {}, 329 "repositoryId": {}, 330 "repositoryName": {}, 331 "repositoryDescription": {}, 332 "defaultBranch": {}, 333 "lastModifiedDate": { 334 "type": "timestamp" 335 }, 336 "creationDate": { 337 "type": "timestamp" 338 }, 339 "cloneUrlHttp": {}, 340 "cloneUrlSsh": {}, 341 "Arn": {} 342 } 343 }, 344 "Sw": { 345 "type": "structure", 346 "members": { 347 "name": {}, 348 "email": {}, 349 "date": {} 350 } 351 }, 352 "S16": { 353 "type": "list", 354 "member": { 355 "type": "structure", 356 "members": { 357 "name": {}, 358 "destinationArn": {}, 359 "customData": {}, 360 "branches": { 361 "shape": "S1a" 362 }, 363 "events": { 364 "type": "list", 365 "member": {} 366 } 367 } 368 } 369 }, 370 "S1a": { 371 "type": "list", 372 "member": {} 373 } 374 } 375 }