aws-sdk-codecommit 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codecommit.rb +1 -1
- data/lib/aws-sdk-codecommit/client.rb +831 -630
- data/lib/aws-sdk-codecommit/client_api.rb +676 -574
- data/lib/aws-sdk-codecommit/errors.rb +4 -13
- data/lib/aws-sdk-codecommit/resource.rb +12 -14
- data/lib/aws-sdk-codecommit/types.rb +953 -692
- metadata +2 -2
@@ -1,584 +1,686 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
api.metadata = {
|
288
|
-
"endpointPrefix" => "codecommit",
|
289
|
-
"jsonVersion" => "1.1",
|
290
|
-
"protocol" => "json",
|
291
|
-
"serviceFullName" => "AWS CodeCommit",
|
292
|
-
"signatureVersion" => "v4",
|
293
|
-
"targetPrefix" => "CodeCommit_20150413",
|
294
|
-
}
|
295
|
-
|
296
|
-
api.add_operation(:batch_get_repositories, Seahorse::Model::Operation.new.tap do |o|
|
297
|
-
o.name = "BatchGetRepositories"
|
298
|
-
o.http_method = "POST"
|
299
|
-
o.http_request_uri = "/"
|
300
|
-
o.input = Shapes::ShapeRef.new(shape: BatchGetRepositoriesInput)
|
301
|
-
o.output = Shapes::ShapeRef.new(shape: BatchGetRepositoriesOutput)
|
302
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
|
303
|
-
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
|
304
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
305
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
306
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
307
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
308
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
309
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
310
|
-
end)
|
311
|
-
|
312
|
-
api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
|
313
|
-
o.name = "CreateBranch"
|
314
|
-
o.http_method = "POST"
|
315
|
-
o.http_request_uri = "/"
|
316
|
-
o.input = Shapes::ShapeRef.new(shape: CreateBranchInput)
|
317
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
318
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
319
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
320
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
321
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
322
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchNameExistsException)
|
323
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
324
|
-
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
325
|
-
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
326
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
327
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
328
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
329
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
330
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
331
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
332
|
-
end)
|
333
|
-
|
334
|
-
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
335
|
-
o.name = "CreateRepository"
|
336
|
-
o.http_method = "POST"
|
337
|
-
o.http_request_uri = "/"
|
338
|
-
o.input = Shapes::ShapeRef.new(shape: CreateRepositoryInput)
|
339
|
-
o.output = Shapes::ShapeRef.new(shape: CreateRepositoryOutput)
|
340
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameExistsException)
|
341
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
342
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
343
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryDescriptionException)
|
344
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryLimitExceededException)
|
345
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
346
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
347
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
348
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
349
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
350
|
-
end)
|
351
|
-
|
352
|
-
api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
|
353
|
-
o.name = "DeleteRepository"
|
354
|
-
o.http_method = "POST"
|
355
|
-
o.http_request_uri = "/"
|
356
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryInput)
|
357
|
-
o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryOutput)
|
358
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
359
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
360
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
361
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
362
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
363
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
364
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
365
|
-
end)
|
366
|
-
|
367
|
-
api.add_operation(:get_branch, Seahorse::Model::Operation.new.tap do |o|
|
368
|
-
o.name = "GetBranch"
|
369
|
-
o.http_method = "POST"
|
370
|
-
o.http_request_uri = "/"
|
371
|
-
o.input = Shapes::ShapeRef.new(shape: GetBranchInput)
|
372
|
-
o.output = Shapes::ShapeRef.new(shape: GetBranchOutput)
|
373
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
374
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
375
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
376
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
377
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
378
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchDoesNotExistException)
|
379
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
380
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
381
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
382
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
384
|
-
end)
|
385
|
-
|
386
|
-
api.add_operation(:get_commit, Seahorse::Model::Operation.new.tap do |o|
|
387
|
-
o.name = "GetCommit"
|
388
|
-
o.http_method = "POST"
|
389
|
-
o.http_request_uri = "/"
|
390
|
-
o.input = Shapes::ShapeRef.new(shape: GetCommitInput)
|
391
|
-
o.output = Shapes::ShapeRef.new(shape: GetCommitOutput)
|
392
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
393
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
394
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
395
|
-
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
396
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
397
|
-
o.errors << Shapes::ShapeRef.new(shape: CommitIdDoesNotExistException)
|
398
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
399
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
400
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
401
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
402
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
403
|
-
end)
|
404
|
-
|
405
|
-
api.add_operation(:get_repository, Seahorse::Model::Operation.new.tap do |o|
|
406
|
-
o.name = "GetRepository"
|
407
|
-
o.http_method = "POST"
|
408
|
-
o.http_request_uri = "/"
|
409
|
-
o.input = Shapes::ShapeRef.new(shape: GetRepositoryInput)
|
410
|
-
o.output = Shapes::ShapeRef.new(shape: GetRepositoryOutput)
|
411
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
412
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
413
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
414
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
415
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
416
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
417
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
418
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
419
|
-
end)
|
420
|
-
|
421
|
-
api.add_operation(:get_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
422
|
-
o.name = "GetRepositoryTriggers"
|
423
|
-
o.http_method = "POST"
|
424
|
-
o.http_request_uri = "/"
|
425
|
-
o.input = Shapes::ShapeRef.new(shape: GetRepositoryTriggersInput)
|
426
|
-
o.output = Shapes::ShapeRef.new(shape: GetRepositoryTriggersOutput)
|
427
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
428
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
429
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
430
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
432
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
433
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
434
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
435
|
-
end)
|
436
|
-
|
437
|
-
api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
|
438
|
-
o.name = "ListBranches"
|
439
|
-
o.http_method = "POST"
|
440
|
-
o.http_request_uri = "/"
|
441
|
-
o.input = Shapes::ShapeRef.new(shape: ListBranchesInput)
|
442
|
-
o.output = Shapes::ShapeRef.new(shape: ListBranchesOutput)
|
443
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
444
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
445
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
446
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
447
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
448
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
449
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
450
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
451
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
452
|
-
o[:pager] = Aws::Pager.new(
|
453
|
-
tokens: {
|
454
|
-
"next_token" => "next_token"
|
455
|
-
}
|
456
|
-
)
|
457
|
-
end)
|
458
|
-
|
459
|
-
api.add_operation(:list_repositories, Seahorse::Model::Operation.new.tap do |o|
|
460
|
-
o.name = "ListRepositories"
|
461
|
-
o.http_method = "POST"
|
462
|
-
o.http_request_uri = "/"
|
463
|
-
o.input = Shapes::ShapeRef.new(shape: ListRepositoriesInput)
|
464
|
-
o.output = Shapes::ShapeRef.new(shape: ListRepositoriesOutput)
|
465
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidSortByException)
|
466
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidOrderException)
|
467
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
468
|
-
o[:pager] = Aws::Pager.new(
|
469
|
-
tokens: {
|
470
|
-
"next_token" => "next_token"
|
471
|
-
}
|
472
|
-
)
|
473
|
-
end)
|
474
|
-
|
475
|
-
api.add_operation(:put_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
476
|
-
o.name = "PutRepositoryTriggers"
|
477
|
-
o.http_method = "POST"
|
478
|
-
o.http_request_uri = "/"
|
479
|
-
o.input = Shapes::ShapeRef.new(shape: PutRepositoryTriggersInput)
|
480
|
-
o.output = Shapes::ShapeRef.new(shape: PutRepositoryTriggersOutput)
|
481
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
482
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
483
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
484
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggersListRequiredException)
|
485
|
-
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryTriggersExceededException)
|
486
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerNameException)
|
487
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerDestinationArnException)
|
488
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerRegionException)
|
489
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerCustomDataException)
|
490
|
-
o.errors << Shapes::ShapeRef.new(shape: MaximumBranchesExceededException)
|
491
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerBranchNameException)
|
492
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerEventsException)
|
493
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerNameRequiredException)
|
494
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerDestinationArnRequiredException)
|
495
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerBranchNameListRequiredException)
|
496
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerEventsListRequiredException)
|
497
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
498
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
499
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
500
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
501
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
502
|
-
end)
|
503
|
-
|
504
|
-
api.add_operation(:test_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
505
|
-
o.name = "TestRepositoryTriggers"
|
506
|
-
o.http_method = "POST"
|
507
|
-
o.http_request_uri = "/"
|
508
|
-
o.input = Shapes::ShapeRef.new(shape: TestRepositoryTriggersInput)
|
509
|
-
o.output = Shapes::ShapeRef.new(shape: TestRepositoryTriggersOutput)
|
510
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
511
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
512
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
513
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggersListRequiredException)
|
514
|
-
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryTriggersExceededException)
|
515
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerNameException)
|
516
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerDestinationArnException)
|
517
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerRegionException)
|
518
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerCustomDataException)
|
519
|
-
o.errors << Shapes::ShapeRef.new(shape: MaximumBranchesExceededException)
|
520
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerBranchNameException)
|
521
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerEventsException)
|
522
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerNameRequiredException)
|
523
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerDestinationArnRequiredException)
|
524
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerBranchNameListRequiredException)
|
525
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerEventsListRequiredException)
|
526
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
527
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
528
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
529
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
530
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
531
|
-
end)
|
532
|
-
|
533
|
-
api.add_operation(:update_default_branch, Seahorse::Model::Operation.new.tap do |o|
|
534
|
-
o.name = "UpdateDefaultBranch"
|
535
|
-
o.http_method = "POST"
|
536
|
-
o.http_request_uri = "/"
|
537
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateDefaultBranchInput)
|
538
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
539
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
540
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
541
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
542
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
543
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
544
|
-
o.errors << Shapes::ShapeRef.new(shape: BranchDoesNotExistException)
|
545
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
546
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
547
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
548
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
549
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
550
|
-
end)
|
551
|
-
|
552
|
-
api.add_operation(:update_repository_description, Seahorse::Model::Operation.new.tap do |o|
|
553
|
-
o.name = "UpdateRepositoryDescription"
|
554
|
-
o.http_method = "POST"
|
555
|
-
o.http_request_uri = "/"
|
556
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateRepositoryDescriptionInput)
|
557
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
558
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
559
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
560
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
561
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryDescriptionException)
|
562
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
563
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
564
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
565
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
566
|
-
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
567
|
-
end)
|
568
|
-
|
569
|
-
api.add_operation(:update_repository_name, Seahorse::Model::Operation.new.tap do |o|
|
570
|
-
o.name = "UpdateRepositoryName"
|
571
|
-
o.http_method = "POST"
|
572
|
-
o.http_request_uri = "/"
|
573
|
-
o.input = Shapes::ShapeRef.new(shape: UpdateRepositoryNameInput)
|
574
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
575
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
576
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameExistsException)
|
577
|
-
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
578
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
579
|
-
end)
|
580
|
-
end
|
8
|
+
module Aws::CodeCommit
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
15
|
+
AdditionalData = Shapes::StringShape.new(name: 'AdditionalData')
|
16
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
17
|
+
BatchGetRepositoriesInput = Shapes::StructureShape.new(name: 'BatchGetRepositoriesInput')
|
18
|
+
BatchGetRepositoriesOutput = Shapes::StructureShape.new(name: 'BatchGetRepositoriesOutput')
|
19
|
+
BlobIdDoesNotExistException = Shapes::StructureShape.new(name: 'BlobIdDoesNotExistException')
|
20
|
+
BlobIdRequiredException = Shapes::StructureShape.new(name: 'BlobIdRequiredException')
|
21
|
+
BlobMetadata = Shapes::StructureShape.new(name: 'BlobMetadata')
|
22
|
+
BranchDoesNotExistException = Shapes::StructureShape.new(name: 'BranchDoesNotExistException')
|
23
|
+
BranchInfo = Shapes::StructureShape.new(name: 'BranchInfo')
|
24
|
+
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
25
|
+
BranchNameExistsException = Shapes::StructureShape.new(name: 'BranchNameExistsException')
|
26
|
+
BranchNameList = Shapes::ListShape.new(name: 'BranchNameList')
|
27
|
+
BranchNameRequiredException = Shapes::StructureShape.new(name: 'BranchNameRequiredException')
|
28
|
+
ChangeTypeEnum = Shapes::StringShape.new(name: 'ChangeTypeEnum')
|
29
|
+
CloneUrlHttp = Shapes::StringShape.new(name: 'CloneUrlHttp')
|
30
|
+
CloneUrlSsh = Shapes::StringShape.new(name: 'CloneUrlSsh')
|
31
|
+
Commit = Shapes::StructureShape.new(name: 'Commit')
|
32
|
+
CommitDoesNotExistException = Shapes::StructureShape.new(name: 'CommitDoesNotExistException')
|
33
|
+
CommitId = Shapes::StringShape.new(name: 'CommitId')
|
34
|
+
CommitIdDoesNotExistException = Shapes::StructureShape.new(name: 'CommitIdDoesNotExistException')
|
35
|
+
CommitIdRequiredException = Shapes::StructureShape.new(name: 'CommitIdRequiredException')
|
36
|
+
CommitName = Shapes::StringShape.new(name: 'CommitName')
|
37
|
+
CommitRequiredException = Shapes::StructureShape.new(name: 'CommitRequiredException')
|
38
|
+
CreateBranchInput = Shapes::StructureShape.new(name: 'CreateBranchInput')
|
39
|
+
CreateRepositoryInput = Shapes::StructureShape.new(name: 'CreateRepositoryInput')
|
40
|
+
CreateRepositoryOutput = Shapes::StructureShape.new(name: 'CreateRepositoryOutput')
|
41
|
+
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
42
|
+
Date = Shapes::StringShape.new(name: 'Date')
|
43
|
+
DeleteRepositoryInput = Shapes::StructureShape.new(name: 'DeleteRepositoryInput')
|
44
|
+
DeleteRepositoryOutput = Shapes::StructureShape.new(name: 'DeleteRepositoryOutput')
|
45
|
+
Difference = Shapes::StructureShape.new(name: 'Difference')
|
46
|
+
DifferenceList = Shapes::ListShape.new(name: 'DifferenceList')
|
47
|
+
Email = Shapes::StringShape.new(name: 'Email')
|
48
|
+
EncryptionIntegrityChecksFailedException = Shapes::StructureShape.new(name: 'EncryptionIntegrityChecksFailedException')
|
49
|
+
EncryptionKeyAccessDeniedException = Shapes::StructureShape.new(name: 'EncryptionKeyAccessDeniedException')
|
50
|
+
EncryptionKeyDisabledException = Shapes::StructureShape.new(name: 'EncryptionKeyDisabledException')
|
51
|
+
EncryptionKeyNotFoundException = Shapes::StructureShape.new(name: 'EncryptionKeyNotFoundException')
|
52
|
+
EncryptionKeyUnavailableException = Shapes::StructureShape.new(name: 'EncryptionKeyUnavailableException')
|
53
|
+
FileTooLargeException = Shapes::StructureShape.new(name: 'FileTooLargeException')
|
54
|
+
GetBlobInput = Shapes::StructureShape.new(name: 'GetBlobInput')
|
55
|
+
GetBlobOutput = Shapes::StructureShape.new(name: 'GetBlobOutput')
|
56
|
+
GetBranchInput = Shapes::StructureShape.new(name: 'GetBranchInput')
|
57
|
+
GetBranchOutput = Shapes::StructureShape.new(name: 'GetBranchOutput')
|
58
|
+
GetCommitInput = Shapes::StructureShape.new(name: 'GetCommitInput')
|
59
|
+
GetCommitOutput = Shapes::StructureShape.new(name: 'GetCommitOutput')
|
60
|
+
GetDifferencesInput = Shapes::StructureShape.new(name: 'GetDifferencesInput')
|
61
|
+
GetDifferencesOutput = Shapes::StructureShape.new(name: 'GetDifferencesOutput')
|
62
|
+
GetRepositoryInput = Shapes::StructureShape.new(name: 'GetRepositoryInput')
|
63
|
+
GetRepositoryOutput = Shapes::StructureShape.new(name: 'GetRepositoryOutput')
|
64
|
+
GetRepositoryTriggersInput = Shapes::StructureShape.new(name: 'GetRepositoryTriggersInput')
|
65
|
+
GetRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'GetRepositoryTriggersOutput')
|
66
|
+
InvalidBlobIdException = Shapes::StructureShape.new(name: 'InvalidBlobIdException')
|
67
|
+
InvalidBranchNameException = Shapes::StructureShape.new(name: 'InvalidBranchNameException')
|
68
|
+
InvalidCommitException = Shapes::StructureShape.new(name: 'InvalidCommitException')
|
69
|
+
InvalidCommitIdException = Shapes::StructureShape.new(name: 'InvalidCommitIdException')
|
70
|
+
InvalidContinuationTokenException = Shapes::StructureShape.new(name: 'InvalidContinuationTokenException')
|
71
|
+
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
72
|
+
InvalidOrderException = Shapes::StructureShape.new(name: 'InvalidOrderException')
|
73
|
+
InvalidPathException = Shapes::StructureShape.new(name: 'InvalidPathException')
|
74
|
+
InvalidRepositoryDescriptionException = Shapes::StructureShape.new(name: 'InvalidRepositoryDescriptionException')
|
75
|
+
InvalidRepositoryNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryNameException')
|
76
|
+
InvalidRepositoryTriggerBranchNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerBranchNameException')
|
77
|
+
InvalidRepositoryTriggerCustomDataException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerCustomDataException')
|
78
|
+
InvalidRepositoryTriggerDestinationArnException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerDestinationArnException')
|
79
|
+
InvalidRepositoryTriggerEventsException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerEventsException')
|
80
|
+
InvalidRepositoryTriggerNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerNameException')
|
81
|
+
InvalidRepositoryTriggerRegionException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerRegionException')
|
82
|
+
InvalidSortByException = Shapes::StructureShape.new(name: 'InvalidSortByException')
|
83
|
+
LastModifiedDate = Shapes::TimestampShape.new(name: 'LastModifiedDate')
|
84
|
+
Limit = Shapes::IntegerShape.new(name: 'Limit')
|
85
|
+
ListBranchesInput = Shapes::StructureShape.new(name: 'ListBranchesInput')
|
86
|
+
ListBranchesOutput = Shapes::StructureShape.new(name: 'ListBranchesOutput')
|
87
|
+
ListRepositoriesInput = Shapes::StructureShape.new(name: 'ListRepositoriesInput')
|
88
|
+
ListRepositoriesOutput = Shapes::StructureShape.new(name: 'ListRepositoriesOutput')
|
89
|
+
MaximumBranchesExceededException = Shapes::StructureShape.new(name: 'MaximumBranchesExceededException')
|
90
|
+
MaximumRepositoryNamesExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryNamesExceededException')
|
91
|
+
MaximumRepositoryTriggersExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryTriggersExceededException')
|
92
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
93
|
+
Mode = Shapes::StringShape.new(name: 'Mode')
|
94
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
95
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
96
|
+
ObjectId = Shapes::StringShape.new(name: 'ObjectId')
|
97
|
+
OrderEnum = Shapes::StringShape.new(name: 'OrderEnum')
|
98
|
+
ParentList = Shapes::ListShape.new(name: 'ParentList')
|
99
|
+
Path = Shapes::StringShape.new(name: 'Path')
|
100
|
+
PathDoesNotExistException = Shapes::StructureShape.new(name: 'PathDoesNotExistException')
|
101
|
+
PutRepositoryTriggersInput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersInput')
|
102
|
+
PutRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersOutput')
|
103
|
+
RepositoryDescription = Shapes::StringShape.new(name: 'RepositoryDescription')
|
104
|
+
RepositoryDoesNotExistException = Shapes::StructureShape.new(name: 'RepositoryDoesNotExistException')
|
105
|
+
RepositoryId = Shapes::StringShape.new(name: 'RepositoryId')
|
106
|
+
RepositoryLimitExceededException = Shapes::StructureShape.new(name: 'RepositoryLimitExceededException')
|
107
|
+
RepositoryMetadata = Shapes::StructureShape.new(name: 'RepositoryMetadata')
|
108
|
+
RepositoryMetadataList = Shapes::ListShape.new(name: 'RepositoryMetadataList')
|
109
|
+
RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
|
110
|
+
RepositoryNameExistsException = Shapes::StructureShape.new(name: 'RepositoryNameExistsException')
|
111
|
+
RepositoryNameIdPair = Shapes::StructureShape.new(name: 'RepositoryNameIdPair')
|
112
|
+
RepositoryNameIdPairList = Shapes::ListShape.new(name: 'RepositoryNameIdPairList')
|
113
|
+
RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
|
114
|
+
RepositoryNameRequiredException = Shapes::StructureShape.new(name: 'RepositoryNameRequiredException')
|
115
|
+
RepositoryNamesRequiredException = Shapes::StructureShape.new(name: 'RepositoryNamesRequiredException')
|
116
|
+
RepositoryNotFoundList = Shapes::ListShape.new(name: 'RepositoryNotFoundList')
|
117
|
+
RepositoryTrigger = Shapes::StructureShape.new(name: 'RepositoryTrigger')
|
118
|
+
RepositoryTriggerBranchNameListRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggerBranchNameListRequiredException')
|
119
|
+
RepositoryTriggerCustomData = Shapes::StringShape.new(name: 'RepositoryTriggerCustomData')
|
120
|
+
RepositoryTriggerDestinationArnRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggerDestinationArnRequiredException')
|
121
|
+
RepositoryTriggerEventEnum = Shapes::StringShape.new(name: 'RepositoryTriggerEventEnum')
|
122
|
+
RepositoryTriggerEventList = Shapes::ListShape.new(name: 'RepositoryTriggerEventList')
|
123
|
+
RepositoryTriggerEventsListRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggerEventsListRequiredException')
|
124
|
+
RepositoryTriggerExecutionFailure = Shapes::StructureShape.new(name: 'RepositoryTriggerExecutionFailure')
|
125
|
+
RepositoryTriggerExecutionFailureList = Shapes::ListShape.new(name: 'RepositoryTriggerExecutionFailureList')
|
126
|
+
RepositoryTriggerExecutionFailureMessage = Shapes::StringShape.new(name: 'RepositoryTriggerExecutionFailureMessage')
|
127
|
+
RepositoryTriggerName = Shapes::StringShape.new(name: 'RepositoryTriggerName')
|
128
|
+
RepositoryTriggerNameList = Shapes::ListShape.new(name: 'RepositoryTriggerNameList')
|
129
|
+
RepositoryTriggerNameRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggerNameRequiredException')
|
130
|
+
RepositoryTriggersConfigurationId = Shapes::StringShape.new(name: 'RepositoryTriggersConfigurationId')
|
131
|
+
RepositoryTriggersList = Shapes::ListShape.new(name: 'RepositoryTriggersList')
|
132
|
+
RepositoryTriggersListRequiredException = Shapes::StructureShape.new(name: 'RepositoryTriggersListRequiredException')
|
133
|
+
SortByEnum = Shapes::StringShape.new(name: 'SortByEnum')
|
134
|
+
TestRepositoryTriggersInput = Shapes::StructureShape.new(name: 'TestRepositoryTriggersInput')
|
135
|
+
TestRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'TestRepositoryTriggersOutput')
|
136
|
+
UpdateDefaultBranchInput = Shapes::StructureShape.new(name: 'UpdateDefaultBranchInput')
|
137
|
+
UpdateRepositoryDescriptionInput = Shapes::StructureShape.new(name: 'UpdateRepositoryDescriptionInput')
|
138
|
+
UpdateRepositoryNameInput = Shapes::StructureShape.new(name: 'UpdateRepositoryNameInput')
|
139
|
+
UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
|
140
|
+
blob = Shapes::BlobShape.new(name: 'blob')
|
141
|
+
|
142
|
+
BatchGetRepositoriesInput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "repositoryNames"))
|
143
|
+
BatchGetRepositoriesInput.struct_class = Types::BatchGetRepositoriesInput
|
144
|
+
|
145
|
+
BatchGetRepositoriesOutput.add_member(:repositories, Shapes::ShapeRef.new(shape: RepositoryMetadataList, location_name: "repositories"))
|
146
|
+
BatchGetRepositoriesOutput.add_member(:repositories_not_found, Shapes::ShapeRef.new(shape: RepositoryNotFoundList, location_name: "repositoriesNotFound"))
|
147
|
+
BatchGetRepositoriesOutput.struct_class = Types::BatchGetRepositoriesOutput
|
148
|
+
|
149
|
+
BlobMetadata.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "blobId"))
|
150
|
+
BlobMetadata.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "path"))
|
151
|
+
BlobMetadata.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "mode"))
|
152
|
+
BlobMetadata.struct_class = Types::BlobMetadata
|
153
|
+
|
154
|
+
BranchInfo.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
|
155
|
+
BranchInfo.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
|
156
|
+
BranchInfo.struct_class = Types::BranchInfo
|
157
|
+
|
158
|
+
BranchNameList.member = Shapes::ShapeRef.new(shape: BranchName)
|
159
|
+
|
160
|
+
Commit.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
|
161
|
+
Commit.add_member(:parents, Shapes::ShapeRef.new(shape: ParentList, location_name: "parents"))
|
162
|
+
Commit.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
163
|
+
Commit.add_member(:author, Shapes::ShapeRef.new(shape: UserInfo, location_name: "author"))
|
164
|
+
Commit.add_member(:committer, Shapes::ShapeRef.new(shape: UserInfo, location_name: "committer"))
|
165
|
+
Commit.add_member(:additional_data, Shapes::ShapeRef.new(shape: AdditionalData, location_name: "additionalData"))
|
166
|
+
Commit.struct_class = Types::Commit
|
167
|
+
|
168
|
+
CreateBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
169
|
+
CreateBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
|
170
|
+
CreateBranchInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "commitId"))
|
171
|
+
CreateBranchInput.struct_class = Types::CreateBranchInput
|
172
|
+
|
173
|
+
CreateRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
174
|
+
CreateRepositoryInput.add_member(:repository_description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repositoryDescription"))
|
175
|
+
CreateRepositoryInput.struct_class = Types::CreateRepositoryInput
|
176
|
+
|
177
|
+
CreateRepositoryOutput.add_member(:repository_metadata, Shapes::ShapeRef.new(shape: RepositoryMetadata, location_name: "repositoryMetadata"))
|
178
|
+
CreateRepositoryOutput.struct_class = Types::CreateRepositoryOutput
|
179
|
+
|
180
|
+
DeleteRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
181
|
+
DeleteRepositoryInput.struct_class = Types::DeleteRepositoryInput
|
182
|
+
|
183
|
+
DeleteRepositoryOutput.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
|
184
|
+
DeleteRepositoryOutput.struct_class = Types::DeleteRepositoryOutput
|
185
|
+
|
186
|
+
Difference.add_member(:before_blob, Shapes::ShapeRef.new(shape: BlobMetadata, location_name: "beforeBlob"))
|
187
|
+
Difference.add_member(:after_blob, Shapes::ShapeRef.new(shape: BlobMetadata, location_name: "afterBlob"))
|
188
|
+
Difference.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeTypeEnum, location_name: "changeType"))
|
189
|
+
Difference.struct_class = Types::Difference
|
190
|
+
|
191
|
+
DifferenceList.member = Shapes::ShapeRef.new(shape: Difference)
|
192
|
+
|
193
|
+
GetBlobInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
194
|
+
GetBlobInput.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "blobId"))
|
195
|
+
GetBlobInput.struct_class = Types::GetBlobInput
|
196
|
+
|
197
|
+
GetBlobOutput.add_member(:content, Shapes::ShapeRef.new(shape: blob, required: true, location_name: "content"))
|
198
|
+
GetBlobOutput.struct_class = Types::GetBlobOutput
|
199
|
+
|
200
|
+
GetBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
201
|
+
GetBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
|
202
|
+
GetBranchInput.struct_class = Types::GetBranchInput
|
203
|
+
|
204
|
+
GetBranchOutput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchInfo, location_name: "branch"))
|
205
|
+
GetBranchOutput.struct_class = Types::GetBranchOutput
|
206
|
+
|
207
|
+
GetCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
208
|
+
GetCommitInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "commitId"))
|
209
|
+
GetCommitInput.struct_class = Types::GetCommitInput
|
210
|
+
|
211
|
+
GetCommitOutput.add_member(:commit, Shapes::ShapeRef.new(shape: Commit, required: true, location_name: "commit"))
|
212
|
+
GetCommitOutput.struct_class = Types::GetCommitOutput
|
213
|
+
|
214
|
+
GetDifferencesInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
215
|
+
GetDifferencesInput.add_member(:before_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, location_name: "beforeCommitSpecifier"))
|
216
|
+
GetDifferencesInput.add_member(:after_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "afterCommitSpecifier"))
|
217
|
+
GetDifferencesInput.add_member(:before_path, Shapes::ShapeRef.new(shape: Path, location_name: "beforePath"))
|
218
|
+
GetDifferencesInput.add_member(:after_path, Shapes::ShapeRef.new(shape: Path, location_name: "afterPath"))
|
219
|
+
GetDifferencesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
|
220
|
+
GetDifferencesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
221
|
+
GetDifferencesInput.struct_class = Types::GetDifferencesInput
|
222
|
+
|
223
|
+
GetDifferencesOutput.add_member(:differences, Shapes::ShapeRef.new(shape: DifferenceList, location_name: "differences"))
|
224
|
+
GetDifferencesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
225
|
+
GetDifferencesOutput.struct_class = Types::GetDifferencesOutput
|
226
|
+
|
227
|
+
GetRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
228
|
+
GetRepositoryInput.struct_class = Types::GetRepositoryInput
|
229
|
+
|
230
|
+
GetRepositoryOutput.add_member(:repository_metadata, Shapes::ShapeRef.new(shape: RepositoryMetadata, location_name: "repositoryMetadata"))
|
231
|
+
GetRepositoryOutput.struct_class = Types::GetRepositoryOutput
|
232
|
+
|
233
|
+
GetRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
234
|
+
GetRepositoryTriggersInput.struct_class = Types::GetRepositoryTriggersInput
|
235
|
+
|
236
|
+
GetRepositoryTriggersOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: RepositoryTriggersConfigurationId, location_name: "configurationId"))
|
237
|
+
GetRepositoryTriggersOutput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, location_name: "triggers"))
|
238
|
+
GetRepositoryTriggersOutput.struct_class = Types::GetRepositoryTriggersOutput
|
239
|
+
|
240
|
+
ListBranchesInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
241
|
+
ListBranchesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
242
|
+
ListBranchesInput.struct_class = Types::ListBranchesInput
|
243
|
+
|
244
|
+
ListBranchesOutput.add_member(:branches, Shapes::ShapeRef.new(shape: BranchNameList, location_name: "branches"))
|
245
|
+
ListBranchesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
246
|
+
ListBranchesOutput.struct_class = Types::ListBranchesOutput
|
247
|
+
|
248
|
+
ListRepositoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
249
|
+
ListRepositoriesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortByEnum, location_name: "sortBy"))
|
250
|
+
ListRepositoriesInput.add_member(:order, Shapes::ShapeRef.new(shape: OrderEnum, location_name: "order"))
|
251
|
+
ListRepositoriesInput.struct_class = Types::ListRepositoriesInput
|
252
|
+
|
253
|
+
ListRepositoriesOutput.add_member(:repositories, Shapes::ShapeRef.new(shape: RepositoryNameIdPairList, location_name: "repositories"))
|
254
|
+
ListRepositoriesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
255
|
+
ListRepositoriesOutput.struct_class = Types::ListRepositoriesOutput
|
256
|
+
|
257
|
+
ParentList.member = Shapes::ShapeRef.new(shape: ObjectId)
|
258
|
+
|
259
|
+
PutRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
260
|
+
PutRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
|
261
|
+
PutRepositoryTriggersInput.struct_class = Types::PutRepositoryTriggersInput
|
262
|
+
|
263
|
+
PutRepositoryTriggersOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: RepositoryTriggersConfigurationId, location_name: "configurationId"))
|
264
|
+
PutRepositoryTriggersOutput.struct_class = Types::PutRepositoryTriggersOutput
|
265
|
+
|
266
|
+
RepositoryMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
267
|
+
RepositoryMetadata.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
|
268
|
+
RepositoryMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
269
|
+
RepositoryMetadata.add_member(:repository_description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repositoryDescription"))
|
270
|
+
RepositoryMetadata.add_member(:default_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "defaultBranch"))
|
271
|
+
RepositoryMetadata.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
|
272
|
+
RepositoryMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
|
273
|
+
RepositoryMetadata.add_member(:clone_url_http, Shapes::ShapeRef.new(shape: CloneUrlHttp, location_name: "cloneUrlHttp"))
|
274
|
+
RepositoryMetadata.add_member(:clone_url_ssh, Shapes::ShapeRef.new(shape: CloneUrlSsh, location_name: "cloneUrlSsh"))
|
275
|
+
RepositoryMetadata.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
276
|
+
RepositoryMetadata.struct_class = Types::RepositoryMetadata
|
277
|
+
|
278
|
+
RepositoryMetadataList.member = Shapes::ShapeRef.new(shape: RepositoryMetadata)
|
279
|
+
|
280
|
+
RepositoryNameIdPair.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
281
|
+
RepositoryNameIdPair.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
|
282
|
+
RepositoryNameIdPair.struct_class = Types::RepositoryNameIdPair
|
283
|
+
|
284
|
+
RepositoryNameIdPairList.member = Shapes::ShapeRef.new(shape: RepositoryNameIdPair)
|
285
|
+
|
286
|
+
RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
|
581
287
|
|
288
|
+
RepositoryNotFoundList.member = Shapes::ShapeRef.new(shape: RepositoryName)
|
289
|
+
|
290
|
+
RepositoryTrigger.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryTriggerName, required: true, location_name: "name"))
|
291
|
+
RepositoryTrigger.add_member(:destination_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "destinationArn"))
|
292
|
+
RepositoryTrigger.add_member(:custom_data, Shapes::ShapeRef.new(shape: RepositoryTriggerCustomData, location_name: "customData"))
|
293
|
+
RepositoryTrigger.add_member(:branches, Shapes::ShapeRef.new(shape: BranchNameList, location_name: "branches"))
|
294
|
+
RepositoryTrigger.add_member(:events, Shapes::ShapeRef.new(shape: RepositoryTriggerEventList, required: true, location_name: "events"))
|
295
|
+
RepositoryTrigger.struct_class = Types::RepositoryTrigger
|
296
|
+
|
297
|
+
RepositoryTriggerEventList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerEventEnum)
|
298
|
+
|
299
|
+
RepositoryTriggerExecutionFailure.add_member(:trigger, Shapes::ShapeRef.new(shape: RepositoryTriggerName, location_name: "trigger"))
|
300
|
+
RepositoryTriggerExecutionFailure.add_member(:failure_message, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureMessage, location_name: "failureMessage"))
|
301
|
+
RepositoryTriggerExecutionFailure.struct_class = Types::RepositoryTriggerExecutionFailure
|
302
|
+
|
303
|
+
RepositoryTriggerExecutionFailureList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailure)
|
304
|
+
|
305
|
+
RepositoryTriggerNameList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerName)
|
306
|
+
|
307
|
+
RepositoryTriggersList.member = Shapes::ShapeRef.new(shape: RepositoryTrigger)
|
308
|
+
|
309
|
+
TestRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
310
|
+
TestRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
|
311
|
+
TestRepositoryTriggersInput.struct_class = Types::TestRepositoryTriggersInput
|
312
|
+
|
313
|
+
TestRepositoryTriggersOutput.add_member(:successful_executions, Shapes::ShapeRef.new(shape: RepositoryTriggerNameList, location_name: "successfulExecutions"))
|
314
|
+
TestRepositoryTriggersOutput.add_member(:failed_executions, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureList, location_name: "failedExecutions"))
|
315
|
+
TestRepositoryTriggersOutput.struct_class = Types::TestRepositoryTriggersOutput
|
316
|
+
|
317
|
+
UpdateDefaultBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
318
|
+
UpdateDefaultBranchInput.add_member(:default_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "defaultBranchName"))
|
319
|
+
UpdateDefaultBranchInput.struct_class = Types::UpdateDefaultBranchInput
|
320
|
+
|
321
|
+
UpdateRepositoryDescriptionInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
322
|
+
UpdateRepositoryDescriptionInput.add_member(:repository_description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repositoryDescription"))
|
323
|
+
UpdateRepositoryDescriptionInput.struct_class = Types::UpdateRepositoryDescriptionInput
|
324
|
+
|
325
|
+
UpdateRepositoryNameInput.add_member(:old_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "oldName"))
|
326
|
+
UpdateRepositoryNameInput.add_member(:new_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "newName"))
|
327
|
+
UpdateRepositoryNameInput.struct_class = Types::UpdateRepositoryNameInput
|
328
|
+
|
329
|
+
UserInfo.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
330
|
+
UserInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
|
331
|
+
UserInfo.add_member(:date, Shapes::ShapeRef.new(shape: Date, location_name: "date"))
|
332
|
+
UserInfo.struct_class = Types::UserInfo
|
333
|
+
|
334
|
+
|
335
|
+
# @api private
|
336
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
337
|
+
|
338
|
+
api.version = "2015-04-13"
|
339
|
+
|
340
|
+
api.metadata = {
|
341
|
+
"endpointPrefix" => "codecommit",
|
342
|
+
"jsonVersion" => "1.1",
|
343
|
+
"protocol" => "json",
|
344
|
+
"serviceFullName" => "AWS CodeCommit",
|
345
|
+
"signatureVersion" => "v4",
|
346
|
+
"targetPrefix" => "CodeCommit_20150413",
|
347
|
+
}
|
348
|
+
|
349
|
+
api.add_operation(:batch_get_repositories, Seahorse::Model::Operation.new.tap do |o|
|
350
|
+
o.name = "BatchGetRepositories"
|
351
|
+
o.http_method = "POST"
|
352
|
+
o.http_request_uri = "/"
|
353
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetRepositoriesInput)
|
354
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetRepositoriesOutput)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
363
|
+
end)
|
364
|
+
|
365
|
+
api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
|
366
|
+
o.name = "CreateBranch"
|
367
|
+
o.http_method = "POST"
|
368
|
+
o.http_request_uri = "/"
|
369
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBranchInput)
|
370
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
371
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
372
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
373
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
374
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchNameExistsException)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
383
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
385
|
+
end)
|
386
|
+
|
387
|
+
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
388
|
+
o.name = "CreateRepository"
|
389
|
+
o.http_method = "POST"
|
390
|
+
o.http_request_uri = "/"
|
391
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRepositoryInput)
|
392
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRepositoryOutput)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameExistsException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryDescriptionException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryLimitExceededException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "DeleteRepository"
|
407
|
+
o.http_method = "POST"
|
408
|
+
o.http_request_uri = "/"
|
409
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryInput)
|
410
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryOutput)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:get_blob, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "GetBlob"
|
422
|
+
o.http_method = "POST"
|
423
|
+
o.http_request_uri = "/"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: GetBlobInput)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: GetBlobOutput)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: BlobIdRequiredException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidBlobIdException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: BlobIdDoesNotExistException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: FileTooLargeException)
|
438
|
+
end)
|
439
|
+
|
440
|
+
api.add_operation(:get_branch, Seahorse::Model::Operation.new.tap do |o|
|
441
|
+
o.name = "GetBranch"
|
442
|
+
o.http_method = "POST"
|
443
|
+
o.http_request_uri = "/"
|
444
|
+
o.input = Shapes::ShapeRef.new(shape: GetBranchInput)
|
445
|
+
o.output = Shapes::ShapeRef.new(shape: GetBranchOutput)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchDoesNotExistException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
457
|
+
end)
|
458
|
+
|
459
|
+
api.add_operation(:get_commit, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "GetCommit"
|
461
|
+
o.http_method = "POST"
|
462
|
+
o.http_request_uri = "/"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: GetCommitInput)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: GetCommitOutput)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitIdDoesNotExistException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
476
|
+
end)
|
477
|
+
|
478
|
+
api.add_operation(:get_differences, Seahorse::Model::Operation.new.tap do |o|
|
479
|
+
o.name = "GetDifferences"
|
480
|
+
o.http_method = "POST"
|
481
|
+
o.http_request_uri = "/"
|
482
|
+
o.input = Shapes::ShapeRef.new(shape: GetDifferencesInput)
|
483
|
+
o.output = Shapes::ShapeRef.new(shape: GetDifferencesOutput)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitRequiredException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCommitException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPathException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: PathDoesNotExistException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
500
|
+
o[:pager] = Aws::Pager.new(
|
501
|
+
limit_key: "max_results",
|
502
|
+
tokens: {
|
503
|
+
"next_token" => "next_token"
|
504
|
+
}
|
505
|
+
)
|
506
|
+
end)
|
507
|
+
|
508
|
+
api.add_operation(:get_repository, Seahorse::Model::Operation.new.tap do |o|
|
509
|
+
o.name = "GetRepository"
|
510
|
+
o.http_method = "POST"
|
511
|
+
o.http_request_uri = "/"
|
512
|
+
o.input = Shapes::ShapeRef.new(shape: GetRepositoryInput)
|
513
|
+
o.output = Shapes::ShapeRef.new(shape: GetRepositoryOutput)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
522
|
+
end)
|
523
|
+
|
524
|
+
api.add_operation(:get_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
525
|
+
o.name = "GetRepositoryTriggers"
|
526
|
+
o.http_method = "POST"
|
527
|
+
o.http_request_uri = "/"
|
528
|
+
o.input = Shapes::ShapeRef.new(shape: GetRepositoryTriggersInput)
|
529
|
+
o.output = Shapes::ShapeRef.new(shape: GetRepositoryTriggersOutput)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
538
|
+
end)
|
539
|
+
|
540
|
+
api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
|
541
|
+
o.name = "ListBranches"
|
542
|
+
o.http_method = "POST"
|
543
|
+
o.http_request_uri = "/"
|
544
|
+
o.input = Shapes::ShapeRef.new(shape: ListBranchesInput)
|
545
|
+
o.output = Shapes::ShapeRef.new(shape: ListBranchesOutput)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
555
|
+
o[:pager] = Aws::Pager.new(
|
556
|
+
tokens: {
|
557
|
+
"next_token" => "next_token"
|
558
|
+
}
|
559
|
+
)
|
560
|
+
end)
|
561
|
+
|
562
|
+
api.add_operation(:list_repositories, Seahorse::Model::Operation.new.tap do |o|
|
563
|
+
o.name = "ListRepositories"
|
564
|
+
o.http_method = "POST"
|
565
|
+
o.http_request_uri = "/"
|
566
|
+
o.input = Shapes::ShapeRef.new(shape: ListRepositoriesInput)
|
567
|
+
o.output = Shapes::ShapeRef.new(shape: ListRepositoriesOutput)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSortByException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOrderException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
|
571
|
+
o[:pager] = Aws::Pager.new(
|
572
|
+
tokens: {
|
573
|
+
"next_token" => "next_token"
|
574
|
+
}
|
575
|
+
)
|
576
|
+
end)
|
577
|
+
|
578
|
+
api.add_operation(:put_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
579
|
+
o.name = "PutRepositoryTriggers"
|
580
|
+
o.http_method = "POST"
|
581
|
+
o.http_request_uri = "/"
|
582
|
+
o.input = Shapes::ShapeRef.new(shape: PutRepositoryTriggersInput)
|
583
|
+
o.output = Shapes::ShapeRef.new(shape: PutRepositoryTriggersOutput)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggersListRequiredException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryTriggersExceededException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerNameException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerDestinationArnException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerRegionException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerCustomDataException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumBranchesExceededException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerBranchNameException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerEventsException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerNameRequiredException)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerDestinationArnRequiredException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerBranchNameListRequiredException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerEventsListRequiredException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
605
|
+
end)
|
606
|
+
|
607
|
+
api.add_operation(:test_repository_triggers, Seahorse::Model::Operation.new.tap do |o|
|
608
|
+
o.name = "TestRepositoryTriggers"
|
609
|
+
o.http_method = "POST"
|
610
|
+
o.http_request_uri = "/"
|
611
|
+
o.input = Shapes::ShapeRef.new(shape: TestRepositoryTriggersInput)
|
612
|
+
o.output = Shapes::ShapeRef.new(shape: TestRepositoryTriggersOutput)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggersListRequiredException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryTriggersExceededException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerNameException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerDestinationArnException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerRegionException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerCustomDataException)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: MaximumBranchesExceededException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerBranchNameException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryTriggerEventsException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerNameRequiredException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerDestinationArnRequiredException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerBranchNameListRequiredException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryTriggerEventsListRequiredException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
634
|
+
end)
|
635
|
+
|
636
|
+
api.add_operation(:update_default_branch, Seahorse::Model::Operation.new.tap do |o|
|
637
|
+
o.name = "UpdateDefaultBranch"
|
638
|
+
o.http_method = "POST"
|
639
|
+
o.http_request_uri = "/"
|
640
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDefaultBranchInput)
|
641
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchNameRequiredException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidBranchNameException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: BranchDoesNotExistException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
653
|
+
end)
|
654
|
+
|
655
|
+
api.add_operation(:update_repository_description, Seahorse::Model::Operation.new.tap do |o|
|
656
|
+
o.name = "UpdateRepositoryDescription"
|
657
|
+
o.http_method = "POST"
|
658
|
+
o.http_request_uri = "/"
|
659
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRepositoryDescriptionInput)
|
660
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryDescriptionException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
|
670
|
+
end)
|
671
|
+
|
672
|
+
api.add_operation(:update_repository_name, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "UpdateRepositoryName"
|
674
|
+
o.http_method = "POST"
|
675
|
+
o.http_request_uri = "/"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRepositoryNameInput)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameExistsException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
|
682
|
+
end)
|
582
683
|
end
|
684
|
+
|
583
685
|
end
|
584
686
|
end
|