aws-sdk-codecommit 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeCommit
10
+ module Errors
11
+
12
+ extend Aws::Errors::DynamicErrors
13
+
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
+ end
23
+ end
@@ -0,0 +1,25 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeCommit
10
+ class Resource
11
+
12
+ # @param options ({})
13
+ # @option options [Client] :client
14
+ def initialize(options = {})
15
+ @client = options[:client] || Client.new(options)
16
+ end
17
+
18
+ # @return [Client]
19
+ def client
20
+ @client
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,702 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeCommit
10
+ module Types
11
+
12
+ # Represents the input of a batch get repositories operation.
13
+ # @note When making an API call, pass BatchGetRepositoriesInput
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # repository_names: ["RepositoryName"], # required
18
+ # }
19
+ # @!attribute [rw] repository_names
20
+ # The names of the repositories to get information about.
21
+ # @return [Array<String>]
22
+ class BatchGetRepositoriesInput < Struct.new(
23
+ :repository_names)
24
+ include Aws::Structure
25
+ end
26
+
27
+ # Represents the output of a batch get repositories operation.
28
+ # @!attribute [rw] repositories
29
+ # A list of repositories returned by the batch get repositories
30
+ # operation.
31
+ # @return [Array<Types::RepositoryMetadata>]
32
+ #
33
+ # @!attribute [rw] repositories_not_found
34
+ # Returns a list of repository names for which information could not
35
+ # be found.
36
+ # @return [Array<String>]
37
+ class BatchGetRepositoriesOutput < Struct.new(
38
+ :repositories,
39
+ :repositories_not_found)
40
+ include Aws::Structure
41
+ end
42
+
43
+ # Returns information about a branch.
44
+ # @!attribute [rw] branch_name
45
+ # The name of the branch.
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] commit_id
49
+ # The ID of the last commit made to the branch.
50
+ # @return [String]
51
+ class BranchInfo < Struct.new(
52
+ :branch_name,
53
+ :commit_id)
54
+ include Aws::Structure
55
+ end
56
+
57
+ # Returns information about a specific commit.
58
+ # @!attribute [rw] tree_id
59
+ # Tree information for the specified commit.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] parents
63
+ # The parent list for the specified commit.
64
+ # @return [Array<String>]
65
+ #
66
+ # @!attribute [rw] message
67
+ # The message associated with the specified commit.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] author
71
+ # Information about the author of the specified commit.
72
+ # @return [Types::UserInfo]
73
+ #
74
+ # @!attribute [rw] committer
75
+ # Information about the person who committed the specified commit,
76
+ # also known as the committer. For more information about the
77
+ # difference between an author and a committer in Git, see [Viewing
78
+ # the Commit History][1] in Pro Git by Scott Chacon and Ben Straub.
79
+ #
80
+ #
81
+ #
82
+ # [1]: http://git-scm.com/book/ch2-3.html
83
+ # @return [Types::UserInfo]
84
+ #
85
+ # @!attribute [rw] additional_data
86
+ # Any additional data associated with the specified commit.
87
+ # @return [String]
88
+ class Commit < Struct.new(
89
+ :tree_id,
90
+ :parents,
91
+ :message,
92
+ :author,
93
+ :committer,
94
+ :additional_data)
95
+ include Aws::Structure
96
+ end
97
+
98
+ # Represents the input of a create branch operation.
99
+ # @note When making an API call, pass CreateBranchInput
100
+ # data as a hash:
101
+ #
102
+ # {
103
+ # repository_name: "RepositoryName", # required
104
+ # branch_name: "BranchName", # required
105
+ # commit_id: "CommitId", # required
106
+ # }
107
+ # @!attribute [rw] repository_name
108
+ # The name of the repository in which you want to create the new
109
+ # branch.
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] branch_name
113
+ # The name of the new branch to create.
114
+ # @return [String]
115
+ #
116
+ # @!attribute [rw] commit_id
117
+ # The ID of the commit to point the new branch to.
118
+ # @return [String]
119
+ class CreateBranchInput < Struct.new(
120
+ :repository_name,
121
+ :branch_name,
122
+ :commit_id)
123
+ include Aws::Structure
124
+ end
125
+
126
+ # Represents the input of a create repository operation.
127
+ # @note When making an API call, pass CreateRepositoryInput
128
+ # data as a hash:
129
+ #
130
+ # {
131
+ # repository_name: "RepositoryName", # required
132
+ # repository_description: "RepositoryDescription",
133
+ # }
134
+ # @!attribute [rw] repository_name
135
+ # The name of the new repository to be created.
136
+ #
137
+ # <note markdown="1">The repository name must be unique across the calling AWS account.
138
+ # In addition, repository names are limited to 100 alphanumeric, dash,
139
+ # and underscore characters, and cannot include certain characters.
140
+ # For a full description of the limits on repository names, see
141
+ # [Limits][1] in the AWS CodeCommit User Guide. The suffix ".git" is
142
+ # prohibited.
143
+ #
144
+ # </note>
145
+ #
146
+ #
147
+ #
148
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
149
+ # @return [String]
150
+ #
151
+ # @!attribute [rw] repository_description
152
+ # A comment or description about the new repository.
153
+ #
154
+ # <note markdown="1">The description field for a repository accepts all HTML characters
155
+ # and all valid Unicode characters. Applications that do not
156
+ # HTML-encode the description and display it in a web page could
157
+ # expose users to potentially malicious code. Make sure that you
158
+ # HTML-encode the description field in any application that uses this
159
+ # API to display the repository description on a web page.
160
+ #
161
+ # </note>
162
+ # @return [String]
163
+ class CreateRepositoryInput < Struct.new(
164
+ :repository_name,
165
+ :repository_description)
166
+ include Aws::Structure
167
+ end
168
+
169
+ # Represents the output of a create repository operation.
170
+ # @!attribute [rw] repository_metadata
171
+ # Information about the newly created repository.
172
+ # @return [Types::RepositoryMetadata]
173
+ class CreateRepositoryOutput < Struct.new(
174
+ :repository_metadata)
175
+ include Aws::Structure
176
+ end
177
+
178
+ # Represents the input of a delete repository operation.
179
+ # @note When making an API call, pass DeleteRepositoryInput
180
+ # data as a hash:
181
+ #
182
+ # {
183
+ # repository_name: "RepositoryName", # required
184
+ # }
185
+ # @!attribute [rw] repository_name
186
+ # The name of the repository to delete.
187
+ # @return [String]
188
+ class DeleteRepositoryInput < Struct.new(
189
+ :repository_name)
190
+ include Aws::Structure
191
+ end
192
+
193
+ # Represents the output of a delete repository operation.
194
+ # @!attribute [rw] repository_id
195
+ # The ID of the repository that was deleted.
196
+ # @return [String]
197
+ class DeleteRepositoryOutput < Struct.new(
198
+ :repository_id)
199
+ include Aws::Structure
200
+ end
201
+
202
+ # Represents the input of a get branch operation.
203
+ # @note When making an API call, pass GetBranchInput
204
+ # data as a hash:
205
+ #
206
+ # {
207
+ # repository_name: "RepositoryName",
208
+ # branch_name: "BranchName",
209
+ # }
210
+ # @!attribute [rw] repository_name
211
+ # The name of the repository that contains the branch for which you
212
+ # want to retrieve information.
213
+ # @return [String]
214
+ #
215
+ # @!attribute [rw] branch_name
216
+ # The name of the branch for which you want to retrieve information.
217
+ # @return [String]
218
+ class GetBranchInput < Struct.new(
219
+ :repository_name,
220
+ :branch_name)
221
+ include Aws::Structure
222
+ end
223
+
224
+ # Represents the output of a get branch operation.
225
+ # @!attribute [rw] branch
226
+ # The name of the branch.
227
+ # @return [Types::BranchInfo]
228
+ class GetBranchOutput < Struct.new(
229
+ :branch)
230
+ include Aws::Structure
231
+ end
232
+
233
+ # Represents the input of a get commit operation.
234
+ # @note When making an API call, pass GetCommitInput
235
+ # data as a hash:
236
+ #
237
+ # {
238
+ # repository_name: "RepositoryName", # required
239
+ # commit_id: "ObjectId", # required
240
+ # }
241
+ # @!attribute [rw] repository_name
242
+ # The name of the repository to which the commit was made.
243
+ # @return [String]
244
+ #
245
+ # @!attribute [rw] commit_id
246
+ # The commit ID.
247
+ # @return [String]
248
+ class GetCommitInput < Struct.new(
249
+ :repository_name,
250
+ :commit_id)
251
+ include Aws::Structure
252
+ end
253
+
254
+ # Represents the output of a get commit operation.
255
+ # @!attribute [rw] commit
256
+ # Information about the specified commit.
257
+ # @return [Types::Commit]
258
+ class GetCommitOutput < Struct.new(
259
+ :commit)
260
+ include Aws::Structure
261
+ end
262
+
263
+ # Represents the input of a get repository operation.
264
+ # @note When making an API call, pass GetRepositoryInput
265
+ # data as a hash:
266
+ #
267
+ # {
268
+ # repository_name: "RepositoryName", # required
269
+ # }
270
+ # @!attribute [rw] repository_name
271
+ # The name of the repository to get information about.
272
+ # @return [String]
273
+ class GetRepositoryInput < Struct.new(
274
+ :repository_name)
275
+ include Aws::Structure
276
+ end
277
+
278
+ # Represents the output of a get repository operation.
279
+ # @!attribute [rw] repository_metadata
280
+ # Information about the repository.
281
+ # @return [Types::RepositoryMetadata]
282
+ class GetRepositoryOutput < Struct.new(
283
+ :repository_metadata)
284
+ include Aws::Structure
285
+ end
286
+
287
+ # Represents the input of a get repository triggers operation.
288
+ # @note When making an API call, pass GetRepositoryTriggersInput
289
+ # data as a hash:
290
+ #
291
+ # {
292
+ # repository_name: "RepositoryName",
293
+ # }
294
+ # @!attribute [rw] repository_name
295
+ # The name of the repository for which the trigger is configured.
296
+ # @return [String]
297
+ class GetRepositoryTriggersInput < Struct.new(
298
+ :repository_name)
299
+ include Aws::Structure
300
+ end
301
+
302
+ # Represents the output of a get repository triggers operation.
303
+ # @!attribute [rw] configuration_id
304
+ # The system-generated unique ID for the trigger.
305
+ # @return [String]
306
+ #
307
+ # @!attribute [rw] triggers
308
+ # The JSON block of configuration information for each trigger.
309
+ # @return [Array<Types::RepositoryTrigger>]
310
+ class GetRepositoryTriggersOutput < Struct.new(
311
+ :configuration_id,
312
+ :triggers)
313
+ include Aws::Structure
314
+ end
315
+
316
+ # Represents the input of a list branches operation.
317
+ # @note When making an API call, pass ListBranchesInput
318
+ # data as a hash:
319
+ #
320
+ # {
321
+ # repository_name: "RepositoryName", # required
322
+ # next_token: "NextToken",
323
+ # }
324
+ # @!attribute [rw] repository_name
325
+ # The name of the repository that contains the branches.
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] next_token
329
+ # An enumeration token that allows the operation to batch the results.
330
+ # @return [String]
331
+ class ListBranchesInput < Struct.new(
332
+ :repository_name,
333
+ :next_token)
334
+ include Aws::Structure
335
+ end
336
+
337
+ # Represents the output of a list branches operation.
338
+ # @!attribute [rw] branches
339
+ # The list of branch names.
340
+ # @return [Array<String>]
341
+ #
342
+ # @!attribute [rw] next_token
343
+ # An enumeration token that returns the batch of the results.
344
+ # @return [String]
345
+ class ListBranchesOutput < Struct.new(
346
+ :branches,
347
+ :next_token)
348
+ include Aws::Structure
349
+ end
350
+
351
+ # Represents the input of a list repositories operation.
352
+ # @note When making an API call, pass ListRepositoriesInput
353
+ # data as a hash:
354
+ #
355
+ # {
356
+ # next_token: "NextToken",
357
+ # sort_by: "repositoryName", # accepts repositoryName, lastModifiedDate
358
+ # order: "ascending", # accepts ascending, descending
359
+ # }
360
+ # @!attribute [rw] next_token
361
+ # An enumeration token that allows the operation to batch the results
362
+ # of the operation. Batch sizes are 1,000 for list repository
363
+ # operations. When the client sends the token back to AWS CodeCommit,
364
+ # another page of 1,000 records is retrieved.
365
+ # @return [String]
366
+ #
367
+ # @!attribute [rw] sort_by
368
+ # The criteria used to sort the results of a list repositories
369
+ # operation.
370
+ # @return [String]
371
+ #
372
+ # @!attribute [rw] order
373
+ # The order in which to sort the results of a list repositories
374
+ # operation.
375
+ # @return [String]
376
+ class ListRepositoriesInput < Struct.new(
377
+ :next_token,
378
+ :sort_by,
379
+ :order)
380
+ include Aws::Structure
381
+ end
382
+
383
+ # Represents the output of a list repositories operation.
384
+ # @!attribute [rw] repositories
385
+ # Lists the repositories called by the list repositories operation.
386
+ # @return [Array<Types::RepositoryNameIdPair>]
387
+ #
388
+ # @!attribute [rw] next_token
389
+ # An enumeration token that allows the operation to batch the results
390
+ # of the operation. Batch sizes are 1,000 for list repository
391
+ # operations. When the client sends the token back to AWS CodeCommit,
392
+ # another page of 1,000 records is retrieved.
393
+ # @return [String]
394
+ class ListRepositoriesOutput < Struct.new(
395
+ :repositories,
396
+ :next_token)
397
+ include Aws::Structure
398
+ end
399
+
400
+ # Represents the input ofa put repository triggers operation.
401
+ # @note When making an API call, pass PutRepositoryTriggersInput
402
+ # data as a hash:
403
+ #
404
+ # {
405
+ # repository_name: "RepositoryName",
406
+ # triggers: [
407
+ # {
408
+ # name: "RepositoryTriggerName",
409
+ # destination_arn: "Arn",
410
+ # custom_data: "RepositoryTriggerCustomData",
411
+ # branches: ["BranchName"],
412
+ # events: ["all"], # accepts all, updateReference, createReference, deleteReference
413
+ # },
414
+ # ],
415
+ # }
416
+ # @!attribute [rw] repository_name
417
+ # The name of the repository where you want to create or update the
418
+ # trigger.
419
+ # @return [String]
420
+ #
421
+ # @!attribute [rw] triggers
422
+ # The JSON block of configuration information for each trigger.
423
+ # @return [Array<Types::RepositoryTrigger>]
424
+ class PutRepositoryTriggersInput < Struct.new(
425
+ :repository_name,
426
+ :triggers)
427
+ include Aws::Structure
428
+ end
429
+
430
+ # Represents the output of a put repository triggers operation.
431
+ # @!attribute [rw] configuration_id
432
+ # The system-generated unique ID for the create or update operation.
433
+ # @return [String]
434
+ class PutRepositoryTriggersOutput < Struct.new(
435
+ :configuration_id)
436
+ include Aws::Structure
437
+ end
438
+
439
+ # Information about a repository.
440
+ # @!attribute [rw] account_id
441
+ # The ID of the AWS account associated with the repository.
442
+ # @return [String]
443
+ #
444
+ # @!attribute [rw] repository_id
445
+ # The ID of the repository.
446
+ # @return [String]
447
+ #
448
+ # @!attribute [rw] repository_name
449
+ # The repository's name.
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] repository_description
453
+ # A comment or description about the repository.
454
+ # @return [String]
455
+ #
456
+ # @!attribute [rw] default_branch
457
+ # The repository's default branch name.
458
+ # @return [String]
459
+ #
460
+ # @!attribute [rw] last_modified_date
461
+ # The date and time the repository was last modified, in timestamp
462
+ # format.
463
+ # @return [Time]
464
+ #
465
+ # @!attribute [rw] creation_date
466
+ # The date and time the repository was created, in timestamp format.
467
+ # @return [Time]
468
+ #
469
+ # @!attribute [rw] clone_url_http
470
+ # The URL to use for cloning the repository over HTTPS.
471
+ # @return [String]
472
+ #
473
+ # @!attribute [rw] clone_url_ssh
474
+ # The URL to use for cloning the repository over SSH.
475
+ # @return [String]
476
+ #
477
+ # @!attribute [rw] arn
478
+ # The Amazon Resource Name (ARN) of the repository.
479
+ # @return [String]
480
+ class RepositoryMetadata < Struct.new(
481
+ :account_id,
482
+ :repository_id,
483
+ :repository_name,
484
+ :repository_description,
485
+ :default_branch,
486
+ :last_modified_date,
487
+ :creation_date,
488
+ :clone_url_http,
489
+ :clone_url_ssh,
490
+ :arn)
491
+ include Aws::Structure
492
+ end
493
+
494
+ # Information about a repository name and ID.
495
+ # @!attribute [rw] repository_name
496
+ # The name associated with the repository.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] repository_id
500
+ # The ID associated with the repository.
501
+ # @return [String]
502
+ class RepositoryNameIdPair < Struct.new(
503
+ :repository_name,
504
+ :repository_id)
505
+ include Aws::Structure
506
+ end
507
+
508
+ # Information about a trigger for a repository.
509
+ # @note When making an API call, pass RepositoryTrigger
510
+ # data as a hash:
511
+ #
512
+ # {
513
+ # name: "RepositoryTriggerName",
514
+ # destination_arn: "Arn",
515
+ # custom_data: "RepositoryTriggerCustomData",
516
+ # branches: ["BranchName"],
517
+ # events: ["all"], # accepts all, updateReference, createReference, deleteReference
518
+ # }
519
+ # @!attribute [rw] name
520
+ # The name of the trigger.
521
+ # @return [String]
522
+ #
523
+ # @!attribute [rw] destination_arn
524
+ # The ARN of the resource that is the target for a trigger. For
525
+ # example, the ARN of a topic in Amazon Simple Notification Service
526
+ # (SNS).
527
+ # @return [String]
528
+ #
529
+ # @!attribute [rw] custom_data
530
+ # Any custom data associated with the trigger that will be included in
531
+ # the information sent to the target of the trigger.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] branches
535
+ # The branches that will be included in the trigger configuration. If
536
+ # no branches are specified, the trigger will apply to all branches.
537
+ # @return [Array<String>]
538
+ #
539
+ # @!attribute [rw] events
540
+ # The repository events that will cause the trigger to run actions in
541
+ # another service, such as sending a notification through Amazon
542
+ # Simple Notification Service (SNS). If no events are specified, the
543
+ # trigger will run for all repository events.
544
+ # @return [Array<String>]
545
+ class RepositoryTrigger < Struct.new(
546
+ :name,
547
+ :destination_arn,
548
+ :custom_data,
549
+ :branches,
550
+ :events)
551
+ include Aws::Structure
552
+ end
553
+
554
+ # A trigger failed to run.
555
+ # @!attribute [rw] trigger
556
+ # The name of the trigger that did not run.
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] failure_message
560
+ # Additional message information about the trigger that did not run.
561
+ # @return [String]
562
+ class RepositoryTriggerExecutionFailure < Struct.new(
563
+ :trigger,
564
+ :failure_message)
565
+ include Aws::Structure
566
+ end
567
+
568
+ # Represents the input of a test repository triggers operation.
569
+ # @note When making an API call, pass TestRepositoryTriggersInput
570
+ # data as a hash:
571
+ #
572
+ # {
573
+ # repository_name: "RepositoryName",
574
+ # triggers: [
575
+ # {
576
+ # name: "RepositoryTriggerName",
577
+ # destination_arn: "Arn",
578
+ # custom_data: "RepositoryTriggerCustomData",
579
+ # branches: ["BranchName"],
580
+ # events: ["all"], # accepts all, updateReference, createReference, deleteReference
581
+ # },
582
+ # ],
583
+ # }
584
+ # @!attribute [rw] repository_name
585
+ # The name of the repository in which to test the triggers.
586
+ # @return [String]
587
+ #
588
+ # @!attribute [rw] triggers
589
+ # The list of triggers to test.
590
+ # @return [Array<Types::RepositoryTrigger>]
591
+ class TestRepositoryTriggersInput < Struct.new(
592
+ :repository_name,
593
+ :triggers)
594
+ include Aws::Structure
595
+ end
596
+
597
+ # Represents the output of a test repository triggers operation.
598
+ # @!attribute [rw] successful_executions
599
+ # The list of triggers that were successfully tested. This list
600
+ # provides the names of the triggers that were successfully tested,
601
+ # separated by commas.
602
+ # @return [Array<String>]
603
+ #
604
+ # @!attribute [rw] failed_executions
605
+ # The list of triggers that were not able to be tested. This list
606
+ # provides the names of the triggers that could not be tested,
607
+ # separated by commas.
608
+ # @return [Array<Types::RepositoryTriggerExecutionFailure>]
609
+ class TestRepositoryTriggersOutput < Struct.new(
610
+ :successful_executions,
611
+ :failed_executions)
612
+ include Aws::Structure
613
+ end
614
+
615
+ # Represents the input of an update default branch operation.
616
+ # @note When making an API call, pass UpdateDefaultBranchInput
617
+ # data as a hash:
618
+ #
619
+ # {
620
+ # repository_name: "RepositoryName", # required
621
+ # default_branch_name: "BranchName", # required
622
+ # }
623
+ # @!attribute [rw] repository_name
624
+ # The name of the repository to set or change the default branch for.
625
+ # @return [String]
626
+ #
627
+ # @!attribute [rw] default_branch_name
628
+ # The name of the branch to set as the default.
629
+ # @return [String]
630
+ class UpdateDefaultBranchInput < Struct.new(
631
+ :repository_name,
632
+ :default_branch_name)
633
+ include Aws::Structure
634
+ end
635
+
636
+ # Represents the input of an update repository description operation.
637
+ # @note When making an API call, pass UpdateRepositoryDescriptionInput
638
+ # data as a hash:
639
+ #
640
+ # {
641
+ # repository_name: "RepositoryName", # required
642
+ # repository_description: "RepositoryDescription",
643
+ # }
644
+ # @!attribute [rw] repository_name
645
+ # The name of the repository to set or change the comment or
646
+ # description for.
647
+ # @return [String]
648
+ #
649
+ # @!attribute [rw] repository_description
650
+ # The new comment or description for the specified repository.
651
+ # Repository descriptions are limited to 1,000 characters.
652
+ # @return [String]
653
+ class UpdateRepositoryDescriptionInput < Struct.new(
654
+ :repository_name,
655
+ :repository_description)
656
+ include Aws::Structure
657
+ end
658
+
659
+ # Represents the input of an update repository description operation.
660
+ # @note When making an API call, pass UpdateRepositoryNameInput
661
+ # data as a hash:
662
+ #
663
+ # {
664
+ # old_name: "RepositoryName", # required
665
+ # new_name: "RepositoryName", # required
666
+ # }
667
+ # @!attribute [rw] old_name
668
+ # The existing name of the repository.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] new_name
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
699
+
700
+ end
701
+ end
702
+ end