aws-sdk-codecommit 1.0.0.rc1 → 1.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,23 +1,14 @@
|
|
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
|
-
module
|
10
|
-
module Errors
|
8
|
+
module Aws::CodeCommit
|
9
|
+
module Errors
|
11
10
|
|
12
|
-
|
11
|
+
extend Aws::Errors::DynamicErrors
|
13
12
|
|
14
|
-
# Raised when calling #load or #data on a resource class that can not be
|
15
|
-
# loaded. This can happen when:
|
16
|
-
#
|
17
|
-
# * A resource class has identifiers, but no data attributes.
|
18
|
-
# * Resource data is only available when making an API call that
|
19
|
-
# enumerates all resources of that type.
|
20
|
-
class ResourceNotLoadable < RuntimeError; end
|
21
|
-
end
|
22
13
|
end
|
23
14
|
end
|
@@ -1,25 +1,23 @@
|
|
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
|
-
class Resource
|
8
|
+
module Aws::CodeCommit
|
9
|
+
class Resource
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
# @return [Client]
|
19
|
-
def client
|
20
|
-
@client
|
21
|
-
end
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
22
16
|
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
23
20
|
end
|
21
|
+
|
24
22
|
end
|
25
23
|
end
|
@@ -1,702 +1,963 @@
|
|
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
|
-
module
|
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
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
# The new name for the repository.
|
673
|
-
# @return [String]
|
674
|
-
class UpdateRepositoryNameInput < Struct.new(
|
675
|
-
:old_name,
|
676
|
-
:new_name)
|
677
|
-
include Aws::Structure
|
678
|
-
end
|
679
|
-
|
680
|
-
# Information about the user who made a specified commit.
|
681
|
-
# @!attribute [rw] name
|
682
|
-
# The name of the user who made the specified commit.
|
683
|
-
# @return [String]
|
684
|
-
#
|
685
|
-
# @!attribute [rw] email
|
686
|
-
# The email address associated with the user who made the commit, if
|
687
|
-
# any.
|
688
|
-
# @return [String]
|
689
|
-
#
|
690
|
-
# @!attribute [rw] date
|
691
|
-
# The date when the specified commit was pushed to the repository.
|
692
|
-
# @return [String]
|
693
|
-
class UserInfo < Struct.new(
|
694
|
-
:name,
|
695
|
-
:email,
|
696
|
-
:date)
|
697
|
-
include Aws::Structure
|
698
|
-
end
|
8
|
+
module Aws::CodeCommit
|
9
|
+
module Types
|
10
|
+
|
11
|
+
# Represents the input of a batch get repositories operation.
|
12
|
+
#
|
13
|
+
# @note When making an API call, you may pass BatchGetRepositoriesInput
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# repository_names: ["RepositoryName"], # required
|
18
|
+
# }
|
19
|
+
#
|
20
|
+
# @!attribute [rw] repository_names
|
21
|
+
# The names of the repositories to get information about.
|
22
|
+
# @return [Array<String>]
|
23
|
+
#
|
24
|
+
class BatchGetRepositoriesInput < Struct.new(
|
25
|
+
:repository_names)
|
26
|
+
include Aws::Structure
|
27
|
+
end
|
28
|
+
|
29
|
+
# Represents the output of a batch get repositories operation.
|
30
|
+
#
|
31
|
+
# @!attribute [rw] repositories
|
32
|
+
# A list of repositories returned by the batch get repositories
|
33
|
+
# operation.
|
34
|
+
# @return [Array<Types::RepositoryMetadata>]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] repositories_not_found
|
37
|
+
# Returns a list of repository names for which information could not
|
38
|
+
# be found.
|
39
|
+
# @return [Array<String>]
|
40
|
+
#
|
41
|
+
class BatchGetRepositoriesOutput < Struct.new(
|
42
|
+
:repositories,
|
43
|
+
:repositories_not_found)
|
44
|
+
include Aws::Structure
|
45
|
+
end
|
46
|
+
|
47
|
+
# Returns information about a specific Git blob object.
|
48
|
+
#
|
49
|
+
# @!attribute [rw] blob_id
|
50
|
+
# The full ID of the blob.
|
51
|
+
# @return [String]
|
52
|
+
#
|
53
|
+
# @!attribute [rw] path
|
54
|
+
# The path to the blob and any associated file name, if any.
|
55
|
+
# @return [String]
|
56
|
+
#
|
57
|
+
# @!attribute [rw] mode
|
58
|
+
# The file mode permissions of the blob. File mode permission codes
|
59
|
+
# include:
|
60
|
+
#
|
61
|
+
# * `100644` indicates read/write
|
62
|
+
#
|
63
|
+
# * `100755` indicates read/write/execute
|
64
|
+
#
|
65
|
+
# * `160000` indicates a submodule
|
66
|
+
#
|
67
|
+
# * `120000` indicates a symlink
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
class BlobMetadata < Struct.new(
|
71
|
+
:blob_id,
|
72
|
+
:path,
|
73
|
+
:mode)
|
74
|
+
include Aws::Structure
|
75
|
+
end
|
76
|
+
|
77
|
+
# Returns information about a branch.
|
78
|
+
#
|
79
|
+
# @!attribute [rw] branch_name
|
80
|
+
# The name of the branch.
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] commit_id
|
84
|
+
# The ID of the last commit made to the branch.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
class BranchInfo < Struct.new(
|
88
|
+
:branch_name,
|
89
|
+
:commit_id)
|
90
|
+
include Aws::Structure
|
91
|
+
end
|
92
|
+
|
93
|
+
# Returns information about a specific commit.
|
94
|
+
#
|
95
|
+
# @!attribute [rw] tree_id
|
96
|
+
# Tree information for the specified commit.
|
97
|
+
# @return [String]
|
98
|
+
#
|
99
|
+
# @!attribute [rw] parents
|
100
|
+
# The parent list for the specified commit.
|
101
|
+
# @return [Array<String>]
|
102
|
+
#
|
103
|
+
# @!attribute [rw] message
|
104
|
+
# The commit message associated with the specified commit.
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] author
|
108
|
+
# Information about the author of the specified commit. Information
|
109
|
+
# includes the date in timestamp format with GMT offset, the name of
|
110
|
+
# the author, and the email address for the author, as configured in
|
111
|
+
# Git.
|
112
|
+
# @return [Types::UserInfo]
|
113
|
+
#
|
114
|
+
# @!attribute [rw] committer
|
115
|
+
# Information about the person who committed the specified commit,
|
116
|
+
# also known as the committer. Information includes the date in
|
117
|
+
# timestamp format with GMT offset, the name of the committer, and the
|
118
|
+
# email address for the committer, as configured in Git.
|
119
|
+
#
|
120
|
+
# For more information about the difference between an author and a
|
121
|
+
# committer in Git, see [Viewing the Commit History][1] in Pro Git by
|
122
|
+
# Scott Chacon and Ben Straub.
|
123
|
+
#
|
124
|
+
#
|
125
|
+
#
|
126
|
+
# [1]: http://git-scm.com/book/ch2-3.html
|
127
|
+
# @return [Types::UserInfo]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] additional_data
|
130
|
+
# Any additional data associated with the specified commit.
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
class Commit < Struct.new(
|
134
|
+
:tree_id,
|
135
|
+
:parents,
|
136
|
+
:message,
|
137
|
+
:author,
|
138
|
+
:committer,
|
139
|
+
:additional_data)
|
140
|
+
include Aws::Structure
|
141
|
+
end
|
142
|
+
|
143
|
+
# Represents the input of a create branch operation.
|
144
|
+
#
|
145
|
+
# @note When making an API call, you may pass CreateBranchInput
|
146
|
+
# data as a hash:
|
147
|
+
#
|
148
|
+
# {
|
149
|
+
# repository_name: "RepositoryName", # required
|
150
|
+
# branch_name: "BranchName", # required
|
151
|
+
# commit_id: "CommitId", # required
|
152
|
+
# }
|
153
|
+
#
|
154
|
+
# @!attribute [rw] repository_name
|
155
|
+
# The name of the repository in which you want to create the new
|
156
|
+
# branch.
|
157
|
+
# @return [String]
|
158
|
+
#
|
159
|
+
# @!attribute [rw] branch_name
|
160
|
+
# The name of the new branch to create.
|
161
|
+
# @return [String]
|
162
|
+
#
|
163
|
+
# @!attribute [rw] commit_id
|
164
|
+
# The ID of the commit to point the new branch to.
|
165
|
+
# @return [String]
|
166
|
+
#
|
167
|
+
class CreateBranchInput < Struct.new(
|
168
|
+
:repository_name,
|
169
|
+
:branch_name,
|
170
|
+
:commit_id)
|
171
|
+
include Aws::Structure
|
172
|
+
end
|
173
|
+
|
174
|
+
# Represents the input of a create repository operation.
|
175
|
+
#
|
176
|
+
# @note When making an API call, you may pass CreateRepositoryInput
|
177
|
+
# data as a hash:
|
178
|
+
#
|
179
|
+
# {
|
180
|
+
# repository_name: "RepositoryName", # required
|
181
|
+
# repository_description: "RepositoryDescription",
|
182
|
+
# }
|
183
|
+
#
|
184
|
+
# @!attribute [rw] repository_name
|
185
|
+
# The name of the new repository to be created.
|
186
|
+
#
|
187
|
+
# <note markdown="1"> The repository name must be unique across the calling AWS account.
|
188
|
+
# In addition, repository names are limited to 100 alphanumeric, dash,
|
189
|
+
# and underscore characters, and cannot include certain characters.
|
190
|
+
# For a full description of the limits on repository names, see
|
191
|
+
# [Limits][1] in the AWS CodeCommit User Guide. The suffix ".git" is
|
192
|
+
# prohibited.
|
193
|
+
#
|
194
|
+
# </note>
|
195
|
+
#
|
196
|
+
#
|
197
|
+
#
|
198
|
+
# [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
|
199
|
+
# @return [String]
|
200
|
+
#
|
201
|
+
# @!attribute [rw] repository_description
|
202
|
+
# A comment or description about the new repository.
|
203
|
+
#
|
204
|
+
# <note markdown="1"> The description field for a repository accepts all HTML characters
|
205
|
+
# and all valid Unicode characters. Applications that do not
|
206
|
+
# HTML-encode the description and display it in a web page could
|
207
|
+
# expose users to potentially malicious code. Make sure that you
|
208
|
+
# HTML-encode the description field in any application that uses this
|
209
|
+
# API to display the repository description on a web page.
|
210
|
+
#
|
211
|
+
# </note>
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
class CreateRepositoryInput < Struct.new(
|
215
|
+
:repository_name,
|
216
|
+
:repository_description)
|
217
|
+
include Aws::Structure
|
218
|
+
end
|
219
|
+
|
220
|
+
# Represents the output of a create repository operation.
|
221
|
+
#
|
222
|
+
# @!attribute [rw] repository_metadata
|
223
|
+
# Information about the newly created repository.
|
224
|
+
# @return [Types::RepositoryMetadata]
|
225
|
+
#
|
226
|
+
class CreateRepositoryOutput < Struct.new(
|
227
|
+
:repository_metadata)
|
228
|
+
include Aws::Structure
|
229
|
+
end
|
230
|
+
|
231
|
+
# Represents the input of a delete repository operation.
|
232
|
+
#
|
233
|
+
# @note When making an API call, you may pass DeleteRepositoryInput
|
234
|
+
# data as a hash:
|
235
|
+
#
|
236
|
+
# {
|
237
|
+
# repository_name: "RepositoryName", # required
|
238
|
+
# }
|
239
|
+
#
|
240
|
+
# @!attribute [rw] repository_name
|
241
|
+
# The name of the repository to delete.
|
242
|
+
# @return [String]
|
243
|
+
#
|
244
|
+
class DeleteRepositoryInput < Struct.new(
|
245
|
+
:repository_name)
|
246
|
+
include Aws::Structure
|
247
|
+
end
|
248
|
+
|
249
|
+
# Represents the output of a delete repository operation.
|
250
|
+
#
|
251
|
+
# @!attribute [rw] repository_id
|
252
|
+
# The ID of the repository that was deleted.
|
253
|
+
# @return [String]
|
254
|
+
#
|
255
|
+
class DeleteRepositoryOutput < Struct.new(
|
256
|
+
:repository_id)
|
257
|
+
include Aws::Structure
|
258
|
+
end
|
259
|
+
|
260
|
+
# Returns information about a set of differences for a commit specifier.
|
261
|
+
#
|
262
|
+
# @!attribute [rw] before_blob
|
263
|
+
# Information about a `beforeBlob` data type object, including the ID,
|
264
|
+
# the file mode permission code, and the path.
|
265
|
+
# @return [Types::BlobMetadata]
|
266
|
+
#
|
267
|
+
# @!attribute [rw] after_blob
|
268
|
+
# Information about an `afterBlob` data type object, including the ID,
|
269
|
+
# the file mode permission code, and the path.
|
270
|
+
# @return [Types::BlobMetadata]
|
271
|
+
#
|
272
|
+
# @!attribute [rw] change_type
|
273
|
+
# Whether the change type of the difference is an addition (A),
|
274
|
+
# deletion (D), or modification (M).
|
275
|
+
# @return [String]
|
276
|
+
#
|
277
|
+
class Difference < Struct.new(
|
278
|
+
:before_blob,
|
279
|
+
:after_blob,
|
280
|
+
:change_type)
|
281
|
+
include Aws::Structure
|
282
|
+
end
|
283
|
+
|
284
|
+
# Represents the input of a get blob operation.
|
285
|
+
#
|
286
|
+
# @note When making an API call, you may pass GetBlobInput
|
287
|
+
# data as a hash:
|
288
|
+
#
|
289
|
+
# {
|
290
|
+
# repository_name: "RepositoryName", # required
|
291
|
+
# blob_id: "ObjectId", # required
|
292
|
+
# }
|
293
|
+
#
|
294
|
+
# @!attribute [rw] repository_name
|
295
|
+
# The name of the repository that contains the blob.
|
296
|
+
# @return [String]
|
297
|
+
#
|
298
|
+
# @!attribute [rw] blob_id
|
299
|
+
# The ID of the blob, which is its SHA-1 pointer.
|
300
|
+
# @return [String]
|
301
|
+
#
|
302
|
+
class GetBlobInput < Struct.new(
|
303
|
+
:repository_name,
|
304
|
+
:blob_id)
|
305
|
+
include Aws::Structure
|
306
|
+
end
|
307
|
+
|
308
|
+
# Represents the output of a get blob operation.
|
309
|
+
#
|
310
|
+
# @!attribute [rw] content
|
311
|
+
# The content of the blob, usually a file.
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
class GetBlobOutput < Struct.new(
|
315
|
+
:content)
|
316
|
+
include Aws::Structure
|
317
|
+
end
|
318
|
+
|
319
|
+
# Represents the input of a get branch operation.
|
320
|
+
#
|
321
|
+
# @note When making an API call, you may pass GetBranchInput
|
322
|
+
# data as a hash:
|
323
|
+
#
|
324
|
+
# {
|
325
|
+
# repository_name: "RepositoryName",
|
326
|
+
# branch_name: "BranchName",
|
327
|
+
# }
|
328
|
+
#
|
329
|
+
# @!attribute [rw] repository_name
|
330
|
+
# The name of the repository that contains the branch for which you
|
331
|
+
# want to retrieve information.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] branch_name
|
335
|
+
# The name of the branch for which you want to retrieve information.
|
336
|
+
# @return [String]
|
337
|
+
#
|
338
|
+
class GetBranchInput < Struct.new(
|
339
|
+
:repository_name,
|
340
|
+
:branch_name)
|
341
|
+
include Aws::Structure
|
342
|
+
end
|
343
|
+
|
344
|
+
# Represents the output of a get branch operation.
|
345
|
+
#
|
346
|
+
# @!attribute [rw] branch
|
347
|
+
# The name of the branch.
|
348
|
+
# @return [Types::BranchInfo]
|
349
|
+
#
|
350
|
+
class GetBranchOutput < Struct.new(
|
351
|
+
:branch)
|
352
|
+
include Aws::Structure
|
353
|
+
end
|
354
|
+
|
355
|
+
# Represents the input of a get commit operation.
|
356
|
+
#
|
357
|
+
# @note When making an API call, you may pass GetCommitInput
|
358
|
+
# data as a hash:
|
359
|
+
#
|
360
|
+
# {
|
361
|
+
# repository_name: "RepositoryName", # required
|
362
|
+
# commit_id: "ObjectId", # required
|
363
|
+
# }
|
364
|
+
#
|
365
|
+
# @!attribute [rw] repository_name
|
366
|
+
# The name of the repository to which the commit was made.
|
367
|
+
# @return [String]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] commit_id
|
370
|
+
# The commit ID.
|
371
|
+
# @return [String]
|
372
|
+
#
|
373
|
+
class GetCommitInput < Struct.new(
|
374
|
+
:repository_name,
|
375
|
+
:commit_id)
|
376
|
+
include Aws::Structure
|
377
|
+
end
|
378
|
+
|
379
|
+
# Represents the output of a get commit operation.
|
380
|
+
#
|
381
|
+
# @!attribute [rw] commit
|
382
|
+
# A commit data type object that contains information about the
|
383
|
+
# specified commit.
|
384
|
+
# @return [Types::Commit]
|
385
|
+
#
|
386
|
+
class GetCommitOutput < Struct.new(
|
387
|
+
:commit)
|
388
|
+
include Aws::Structure
|
389
|
+
end
|
390
|
+
|
391
|
+
# @note When making an API call, you may pass GetDifferencesInput
|
392
|
+
# data as a hash:
|
393
|
+
#
|
394
|
+
# {
|
395
|
+
# repository_name: "RepositoryName", # required
|
396
|
+
# before_commit_specifier: "CommitName",
|
397
|
+
# after_commit_specifier: "CommitName", # required
|
398
|
+
# before_path: "Path",
|
399
|
+
# after_path: "Path",
|
400
|
+
# max_results: 1,
|
401
|
+
# next_token: "NextToken",
|
402
|
+
# }
|
403
|
+
#
|
404
|
+
# @!attribute [rw] repository_name
|
405
|
+
# The name of the repository where you want to get differences.
|
406
|
+
# @return [String]
|
407
|
+
#
|
408
|
+
# @!attribute [rw] before_commit_specifier
|
409
|
+
# The branch, tag, HEAD, or other fully qualified reference used to
|
410
|
+
# identify a commit. For example, the full commit ID. Optional. If not
|
411
|
+
# specified, all changes prior to the `afterCommitSpecifier` value
|
412
|
+
# will be shown. If you do not use `beforeCommitSpecifier` in your
|
413
|
+
# request, consider limiting the results with `maxResults`.
|
414
|
+
# @return [String]
|
415
|
+
#
|
416
|
+
# @!attribute [rw] after_commit_specifier
|
417
|
+
# The branch, tag, HEAD, or other fully qualified reference used to
|
418
|
+
# identify a commit.
|
419
|
+
# @return [String]
|
420
|
+
#
|
421
|
+
# @!attribute [rw] before_path
|
422
|
+
# The file path in which to check for differences. Limits the results
|
423
|
+
# to this path. Can also be used to specify the previous name of a
|
424
|
+
# directory or folder. If `beforePath` and `afterPath` are not
|
425
|
+
# specified, differences will be shown for all paths.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] after_path
|
429
|
+
# The file path in which to check differences. Limits the results to
|
430
|
+
# this path. Can also be used to specify the changed name of a
|
431
|
+
# directory or folder, if it has changed. If not specified,
|
432
|
+
# differences will be shown for all paths.
|
433
|
+
# @return [String]
|
434
|
+
#
|
435
|
+
# @!attribute [rw] max_results
|
436
|
+
# A non-negative integer used to limit the number of returned results.
|
437
|
+
# @return [Integer]
|
438
|
+
#
|
439
|
+
# @!attribute [rw] next_token
|
440
|
+
# An enumeration token that when provided in a request, returns the
|
441
|
+
# next batch of the results.
|
442
|
+
# @return [String]
|
443
|
+
#
|
444
|
+
class GetDifferencesInput < Struct.new(
|
445
|
+
:repository_name,
|
446
|
+
:before_commit_specifier,
|
447
|
+
:after_commit_specifier,
|
448
|
+
:before_path,
|
449
|
+
:after_path,
|
450
|
+
:max_results,
|
451
|
+
:next_token)
|
452
|
+
include Aws::Structure
|
453
|
+
end
|
454
|
+
|
455
|
+
# @!attribute [rw] differences
|
456
|
+
# A differences data type object that contains information about the
|
457
|
+
# differences, including whether the difference is added, modified, or
|
458
|
+
# deleted (A, D, M).
|
459
|
+
# @return [Array<Types::Difference>]
|
460
|
+
#
|
461
|
+
# @!attribute [rw] next_token
|
462
|
+
# An enumeration token that can be used in a request to return the
|
463
|
+
# next batch of the results.
|
464
|
+
# @return [String]
|
465
|
+
#
|
466
|
+
class GetDifferencesOutput < Struct.new(
|
467
|
+
:differences,
|
468
|
+
:next_token)
|
469
|
+
include Aws::Structure
|
470
|
+
end
|
471
|
+
|
472
|
+
# Represents the input of a get repository operation.
|
473
|
+
#
|
474
|
+
# @note When making an API call, you may pass GetRepositoryInput
|
475
|
+
# data as a hash:
|
476
|
+
#
|
477
|
+
# {
|
478
|
+
# repository_name: "RepositoryName", # required
|
479
|
+
# }
|
480
|
+
#
|
481
|
+
# @!attribute [rw] repository_name
|
482
|
+
# The name of the repository to get information about.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
class GetRepositoryInput < Struct.new(
|
486
|
+
:repository_name)
|
487
|
+
include Aws::Structure
|
488
|
+
end
|
489
|
+
|
490
|
+
# Represents the output of a get repository operation.
|
491
|
+
#
|
492
|
+
# @!attribute [rw] repository_metadata
|
493
|
+
# Information about the repository.
|
494
|
+
# @return [Types::RepositoryMetadata]
|
495
|
+
#
|
496
|
+
class GetRepositoryOutput < Struct.new(
|
497
|
+
:repository_metadata)
|
498
|
+
include Aws::Structure
|
499
|
+
end
|
500
|
+
|
501
|
+
# Represents the input of a get repository triggers operation.
|
502
|
+
#
|
503
|
+
# @note When making an API call, you may pass GetRepositoryTriggersInput
|
504
|
+
# data as a hash:
|
505
|
+
#
|
506
|
+
# {
|
507
|
+
# repository_name: "RepositoryName", # required
|
508
|
+
# }
|
509
|
+
#
|
510
|
+
# @!attribute [rw] repository_name
|
511
|
+
# The name of the repository for which the trigger is configured.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
class GetRepositoryTriggersInput < Struct.new(
|
515
|
+
:repository_name)
|
516
|
+
include Aws::Structure
|
517
|
+
end
|
518
|
+
|
519
|
+
# Represents the output of a get repository triggers operation.
|
520
|
+
#
|
521
|
+
# @!attribute [rw] configuration_id
|
522
|
+
# The system-generated unique ID for the trigger.
|
523
|
+
# @return [String]
|
524
|
+
#
|
525
|
+
# @!attribute [rw] triggers
|
526
|
+
# The JSON block of configuration information for each trigger.
|
527
|
+
# @return [Array<Types::RepositoryTrigger>]
|
528
|
+
#
|
529
|
+
class GetRepositoryTriggersOutput < Struct.new(
|
530
|
+
:configuration_id,
|
531
|
+
:triggers)
|
532
|
+
include Aws::Structure
|
533
|
+
end
|
534
|
+
|
535
|
+
# Represents the input of a list branches operation.
|
536
|
+
#
|
537
|
+
# @note When making an API call, you may pass ListBranchesInput
|
538
|
+
# data as a hash:
|
539
|
+
#
|
540
|
+
# {
|
541
|
+
# repository_name: "RepositoryName", # required
|
542
|
+
# next_token: "NextToken",
|
543
|
+
# }
|
544
|
+
#
|
545
|
+
# @!attribute [rw] repository_name
|
546
|
+
# The name of the repository that contains the branches.
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @!attribute [rw] next_token
|
550
|
+
# An enumeration token that allows the operation to batch the results.
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
class ListBranchesInput < Struct.new(
|
554
|
+
:repository_name,
|
555
|
+
:next_token)
|
556
|
+
include Aws::Structure
|
557
|
+
end
|
558
|
+
|
559
|
+
# Represents the output of a list branches operation.
|
560
|
+
#
|
561
|
+
# @!attribute [rw] branches
|
562
|
+
# The list of branch names.
|
563
|
+
# @return [Array<String>]
|
564
|
+
#
|
565
|
+
# @!attribute [rw] next_token
|
566
|
+
# An enumeration token that returns the batch of the results.
|
567
|
+
# @return [String]
|
568
|
+
#
|
569
|
+
class ListBranchesOutput < Struct.new(
|
570
|
+
:branches,
|
571
|
+
:next_token)
|
572
|
+
include Aws::Structure
|
573
|
+
end
|
574
|
+
|
575
|
+
# Represents the input of a list repositories operation.
|
576
|
+
#
|
577
|
+
# @note When making an API call, you may pass ListRepositoriesInput
|
578
|
+
# data as a hash:
|
579
|
+
#
|
580
|
+
# {
|
581
|
+
# next_token: "NextToken",
|
582
|
+
# sort_by: "repositoryName", # accepts repositoryName, lastModifiedDate
|
583
|
+
# order: "ascending", # accepts ascending, descending
|
584
|
+
# }
|
585
|
+
#
|
586
|
+
# @!attribute [rw] next_token
|
587
|
+
# An enumeration token that allows the operation to batch the results
|
588
|
+
# of the operation. Batch sizes are 1,000 for list repository
|
589
|
+
# operations. When the client sends the token back to AWS CodeCommit,
|
590
|
+
# another page of 1,000 records is retrieved.
|
591
|
+
# @return [String]
|
592
|
+
#
|
593
|
+
# @!attribute [rw] sort_by
|
594
|
+
# The criteria used to sort the results of a list repositories
|
595
|
+
# operation.
|
596
|
+
# @return [String]
|
597
|
+
#
|
598
|
+
# @!attribute [rw] order
|
599
|
+
# The order in which to sort the results of a list repositories
|
600
|
+
# operation.
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
class ListRepositoriesInput < Struct.new(
|
604
|
+
:next_token,
|
605
|
+
:sort_by,
|
606
|
+
:order)
|
607
|
+
include Aws::Structure
|
608
|
+
end
|
609
|
+
|
610
|
+
# Represents the output of a list repositories operation.
|
611
|
+
#
|
612
|
+
# @!attribute [rw] repositories
|
613
|
+
# Lists the repositories called by the list repositories operation.
|
614
|
+
# @return [Array<Types::RepositoryNameIdPair>]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] next_token
|
617
|
+
# An enumeration token that allows the operation to batch the results
|
618
|
+
# of the operation. Batch sizes are 1,000 for list repository
|
619
|
+
# operations. When the client sends the token back to AWS CodeCommit,
|
620
|
+
# another page of 1,000 records is retrieved.
|
621
|
+
# @return [String]
|
622
|
+
#
|
623
|
+
class ListRepositoriesOutput < Struct.new(
|
624
|
+
:repositories,
|
625
|
+
:next_token)
|
626
|
+
include Aws::Structure
|
627
|
+
end
|
628
|
+
|
629
|
+
# Represents the input ofa put repository triggers operation.
|
630
|
+
#
|
631
|
+
# @note When making an API call, you may pass PutRepositoryTriggersInput
|
632
|
+
# data as a hash:
|
633
|
+
#
|
634
|
+
# {
|
635
|
+
# repository_name: "RepositoryName", # required
|
636
|
+
# triggers: [ # required
|
637
|
+
# {
|
638
|
+
# name: "RepositoryTriggerName", # required
|
639
|
+
# destination_arn: "Arn", # required
|
640
|
+
# custom_data: "RepositoryTriggerCustomData",
|
641
|
+
# branches: ["BranchName"],
|
642
|
+
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
643
|
+
# },
|
644
|
+
# ],
|
645
|
+
# }
|
646
|
+
#
|
647
|
+
# @!attribute [rw] repository_name
|
648
|
+
# The name of the repository where you want to create or update the
|
649
|
+
# trigger.
|
650
|
+
# @return [String]
|
651
|
+
#
|
652
|
+
# @!attribute [rw] triggers
|
653
|
+
# The JSON block of configuration information for each trigger.
|
654
|
+
# @return [Array<Types::RepositoryTrigger>]
|
655
|
+
#
|
656
|
+
class PutRepositoryTriggersInput < Struct.new(
|
657
|
+
:repository_name,
|
658
|
+
:triggers)
|
659
|
+
include Aws::Structure
|
660
|
+
end
|
661
|
+
|
662
|
+
# Represents the output of a put repository triggers operation.
|
663
|
+
#
|
664
|
+
# @!attribute [rw] configuration_id
|
665
|
+
# The system-generated unique ID for the create or update operation.
|
666
|
+
# @return [String]
|
667
|
+
#
|
668
|
+
class PutRepositoryTriggersOutput < Struct.new(
|
669
|
+
:configuration_id)
|
670
|
+
include Aws::Structure
|
671
|
+
end
|
699
672
|
|
673
|
+
# Information about a repository.
|
674
|
+
#
|
675
|
+
# @!attribute [rw] account_id
|
676
|
+
# The ID of the AWS account associated with the repository.
|
677
|
+
# @return [String]
|
678
|
+
#
|
679
|
+
# @!attribute [rw] repository_id
|
680
|
+
# The ID of the repository.
|
681
|
+
# @return [String]
|
682
|
+
#
|
683
|
+
# @!attribute [rw] repository_name
|
684
|
+
# The repository's name.
|
685
|
+
# @return [String]
|
686
|
+
#
|
687
|
+
# @!attribute [rw] repository_description
|
688
|
+
# A comment or description about the repository.
|
689
|
+
# @return [String]
|
690
|
+
#
|
691
|
+
# @!attribute [rw] default_branch
|
692
|
+
# The repository's default branch name.
|
693
|
+
# @return [String]
|
694
|
+
#
|
695
|
+
# @!attribute [rw] last_modified_date
|
696
|
+
# The date and time the repository was last modified, in timestamp
|
697
|
+
# format.
|
698
|
+
# @return [Time]
|
699
|
+
#
|
700
|
+
# @!attribute [rw] creation_date
|
701
|
+
# The date and time the repository was created, in timestamp format.
|
702
|
+
# @return [Time]
|
703
|
+
#
|
704
|
+
# @!attribute [rw] clone_url_http
|
705
|
+
# The URL to use for cloning the repository over HTTPS.
|
706
|
+
# @return [String]
|
707
|
+
#
|
708
|
+
# @!attribute [rw] clone_url_ssh
|
709
|
+
# The URL to use for cloning the repository over SSH.
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @!attribute [rw] arn
|
713
|
+
# The Amazon Resource Name (ARN) of the repository.
|
714
|
+
# @return [String]
|
715
|
+
#
|
716
|
+
class RepositoryMetadata < Struct.new(
|
717
|
+
:account_id,
|
718
|
+
:repository_id,
|
719
|
+
:repository_name,
|
720
|
+
:repository_description,
|
721
|
+
:default_branch,
|
722
|
+
:last_modified_date,
|
723
|
+
:creation_date,
|
724
|
+
:clone_url_http,
|
725
|
+
:clone_url_ssh,
|
726
|
+
:arn)
|
727
|
+
include Aws::Structure
|
700
728
|
end
|
729
|
+
|
730
|
+
# Information about a repository name and ID.
|
731
|
+
#
|
732
|
+
# @!attribute [rw] repository_name
|
733
|
+
# The name associated with the repository.
|
734
|
+
# @return [String]
|
735
|
+
#
|
736
|
+
# @!attribute [rw] repository_id
|
737
|
+
# The ID associated with the repository.
|
738
|
+
# @return [String]
|
739
|
+
#
|
740
|
+
class RepositoryNameIdPair < Struct.new(
|
741
|
+
:repository_name,
|
742
|
+
:repository_id)
|
743
|
+
include Aws::Structure
|
744
|
+
end
|
745
|
+
|
746
|
+
# Information about a trigger for a repository.
|
747
|
+
#
|
748
|
+
# @note When making an API call, you may pass RepositoryTrigger
|
749
|
+
# data as a hash:
|
750
|
+
#
|
751
|
+
# {
|
752
|
+
# name: "RepositoryTriggerName", # required
|
753
|
+
# destination_arn: "Arn", # required
|
754
|
+
# custom_data: "RepositoryTriggerCustomData",
|
755
|
+
# branches: ["BranchName"],
|
756
|
+
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
757
|
+
# }
|
758
|
+
#
|
759
|
+
# @!attribute [rw] name
|
760
|
+
# The name of the trigger.
|
761
|
+
# @return [String]
|
762
|
+
#
|
763
|
+
# @!attribute [rw] destination_arn
|
764
|
+
# The ARN of the resource that is the target for a trigger. For
|
765
|
+
# example, the ARN of a topic in Amazon Simple Notification Service
|
766
|
+
# (SNS).
|
767
|
+
# @return [String]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] custom_data
|
770
|
+
# Any custom data associated with the trigger that will be included in
|
771
|
+
# the information sent to the target of the trigger.
|
772
|
+
# @return [String]
|
773
|
+
#
|
774
|
+
# @!attribute [rw] branches
|
775
|
+
# The branches that will be included in the trigger configuration. If
|
776
|
+
# no branches are specified, the trigger will apply to all branches.
|
777
|
+
# @return [Array<String>]
|
778
|
+
#
|
779
|
+
# @!attribute [rw] events
|
780
|
+
# The repository events that will cause the trigger to run actions in
|
781
|
+
# another service, such as sending a notification through Amazon
|
782
|
+
# Simple Notification Service (SNS).
|
783
|
+
#
|
784
|
+
# <note markdown="1"> The valid value "all" cannot be used with any other values.
|
785
|
+
#
|
786
|
+
# </note>
|
787
|
+
# @return [Array<String>]
|
788
|
+
#
|
789
|
+
class RepositoryTrigger < Struct.new(
|
790
|
+
:name,
|
791
|
+
:destination_arn,
|
792
|
+
:custom_data,
|
793
|
+
:branches,
|
794
|
+
:events)
|
795
|
+
include Aws::Structure
|
796
|
+
end
|
797
|
+
|
798
|
+
# A trigger failed to run.
|
799
|
+
#
|
800
|
+
# @!attribute [rw] trigger
|
801
|
+
# The name of the trigger that did not run.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] failure_message
|
805
|
+
# Additional message information about the trigger that did not run.
|
806
|
+
# @return [String]
|
807
|
+
#
|
808
|
+
class RepositoryTriggerExecutionFailure < Struct.new(
|
809
|
+
:trigger,
|
810
|
+
:failure_message)
|
811
|
+
include Aws::Structure
|
812
|
+
end
|
813
|
+
|
814
|
+
# Represents the input of a test repository triggers operation.
|
815
|
+
#
|
816
|
+
# @note When making an API call, you may pass TestRepositoryTriggersInput
|
817
|
+
# data as a hash:
|
818
|
+
#
|
819
|
+
# {
|
820
|
+
# repository_name: "RepositoryName", # required
|
821
|
+
# triggers: [ # required
|
822
|
+
# {
|
823
|
+
# name: "RepositoryTriggerName", # required
|
824
|
+
# destination_arn: "Arn", # required
|
825
|
+
# custom_data: "RepositoryTriggerCustomData",
|
826
|
+
# branches: ["BranchName"],
|
827
|
+
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
828
|
+
# },
|
829
|
+
# ],
|
830
|
+
# }
|
831
|
+
#
|
832
|
+
# @!attribute [rw] repository_name
|
833
|
+
# The name of the repository in which to test the triggers.
|
834
|
+
# @return [String]
|
835
|
+
#
|
836
|
+
# @!attribute [rw] triggers
|
837
|
+
# The list of triggers to test.
|
838
|
+
# @return [Array<Types::RepositoryTrigger>]
|
839
|
+
#
|
840
|
+
class TestRepositoryTriggersInput < Struct.new(
|
841
|
+
:repository_name,
|
842
|
+
:triggers)
|
843
|
+
include Aws::Structure
|
844
|
+
end
|
845
|
+
|
846
|
+
# Represents the output of a test repository triggers operation.
|
847
|
+
#
|
848
|
+
# @!attribute [rw] successful_executions
|
849
|
+
# The list of triggers that were successfully tested. This list
|
850
|
+
# provides the names of the triggers that were successfully tested,
|
851
|
+
# separated by commas.
|
852
|
+
# @return [Array<String>]
|
853
|
+
#
|
854
|
+
# @!attribute [rw] failed_executions
|
855
|
+
# The list of triggers that were not able to be tested. This list
|
856
|
+
# provides the names of the triggers that could not be tested,
|
857
|
+
# separated by commas.
|
858
|
+
# @return [Array<Types::RepositoryTriggerExecutionFailure>]
|
859
|
+
#
|
860
|
+
class TestRepositoryTriggersOutput < Struct.new(
|
861
|
+
:successful_executions,
|
862
|
+
:failed_executions)
|
863
|
+
include Aws::Structure
|
864
|
+
end
|
865
|
+
|
866
|
+
# Represents the input of an update default branch operation.
|
867
|
+
#
|
868
|
+
# @note When making an API call, you may pass UpdateDefaultBranchInput
|
869
|
+
# data as a hash:
|
870
|
+
#
|
871
|
+
# {
|
872
|
+
# repository_name: "RepositoryName", # required
|
873
|
+
# default_branch_name: "BranchName", # required
|
874
|
+
# }
|
875
|
+
#
|
876
|
+
# @!attribute [rw] repository_name
|
877
|
+
# The name of the repository to set or change the default branch for.
|
878
|
+
# @return [String]
|
879
|
+
#
|
880
|
+
# @!attribute [rw] default_branch_name
|
881
|
+
# The name of the branch to set as the default.
|
882
|
+
# @return [String]
|
883
|
+
#
|
884
|
+
class UpdateDefaultBranchInput < Struct.new(
|
885
|
+
:repository_name,
|
886
|
+
:default_branch_name)
|
887
|
+
include Aws::Structure
|
888
|
+
end
|
889
|
+
|
890
|
+
# Represents the input of an update repository description operation.
|
891
|
+
#
|
892
|
+
# @note When making an API call, you may pass UpdateRepositoryDescriptionInput
|
893
|
+
# data as a hash:
|
894
|
+
#
|
895
|
+
# {
|
896
|
+
# repository_name: "RepositoryName", # required
|
897
|
+
# repository_description: "RepositoryDescription",
|
898
|
+
# }
|
899
|
+
#
|
900
|
+
# @!attribute [rw] repository_name
|
901
|
+
# The name of the repository to set or change the comment or
|
902
|
+
# description for.
|
903
|
+
# @return [String]
|
904
|
+
#
|
905
|
+
# @!attribute [rw] repository_description
|
906
|
+
# The new comment or description for the specified repository.
|
907
|
+
# Repository descriptions are limited to 1,000 characters.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
class UpdateRepositoryDescriptionInput < Struct.new(
|
911
|
+
:repository_name,
|
912
|
+
:repository_description)
|
913
|
+
include Aws::Structure
|
914
|
+
end
|
915
|
+
|
916
|
+
# Represents the input of an update repository description operation.
|
917
|
+
#
|
918
|
+
# @note When making an API call, you may pass UpdateRepositoryNameInput
|
919
|
+
# data as a hash:
|
920
|
+
#
|
921
|
+
# {
|
922
|
+
# old_name: "RepositoryName", # required
|
923
|
+
# new_name: "RepositoryName", # required
|
924
|
+
# }
|
925
|
+
#
|
926
|
+
# @!attribute [rw] old_name
|
927
|
+
# The existing name of the repository.
|
928
|
+
# @return [String]
|
929
|
+
#
|
930
|
+
# @!attribute [rw] new_name
|
931
|
+
# The new name for the repository.
|
932
|
+
# @return [String]
|
933
|
+
#
|
934
|
+
class UpdateRepositoryNameInput < Struct.new(
|
935
|
+
:old_name,
|
936
|
+
:new_name)
|
937
|
+
include Aws::Structure
|
938
|
+
end
|
939
|
+
|
940
|
+
# Information about the user who made a specified commit.
|
941
|
+
#
|
942
|
+
# @!attribute [rw] name
|
943
|
+
# The name of the user who made the specified commit.
|
944
|
+
# @return [String]
|
945
|
+
#
|
946
|
+
# @!attribute [rw] email
|
947
|
+
# The email address associated with the user who made the commit, if
|
948
|
+
# any.
|
949
|
+
# @return [String]
|
950
|
+
#
|
951
|
+
# @!attribute [rw] date
|
952
|
+
# The date when the specified commit was pushed to the repository.
|
953
|
+
# @return [String]
|
954
|
+
#
|
955
|
+
class UserInfo < Struct.new(
|
956
|
+
:name,
|
957
|
+
:email,
|
958
|
+
:date)
|
959
|
+
include Aws::Structure
|
960
|
+
end
|
961
|
+
|
701
962
|
end
|
702
963
|
end
|