aws-sdk-codecommit 1.1.0 → 1.2.0
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 +980 -1
- data/lib/aws-sdk-codecommit/client_api.rb +757 -0
- data/lib/aws-sdk-codecommit/types.rb +1446 -7
- metadata +2 -2
@@ -98,6 +98,168 @@ module Aws::CodeCommit
|
|
98
98
|
include Aws::Structure
|
99
99
|
end
|
100
100
|
|
101
|
+
# Returns information about a specific comment.
|
102
|
+
#
|
103
|
+
# @!attribute [rw] comment_id
|
104
|
+
# The system-generated comment ID.
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] content
|
108
|
+
# The content of the comment.
|
109
|
+
# @return [String]
|
110
|
+
#
|
111
|
+
# @!attribute [rw] in_reply_to
|
112
|
+
# The ID of the comment for which this comment is a reply, if any.
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] creation_date
|
116
|
+
# The date and time the comment was created, in timestamp format.
|
117
|
+
# @return [Time]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] last_modified_date
|
120
|
+
# The date and time the comment was most recently modified, in
|
121
|
+
# timestamp format.
|
122
|
+
# @return [Time]
|
123
|
+
#
|
124
|
+
# @!attribute [rw] author_arn
|
125
|
+
# The Amazon Resource Name (ARN) of the person who posted the comment.
|
126
|
+
# @return [String]
|
127
|
+
#
|
128
|
+
# @!attribute [rw] deleted
|
129
|
+
# A Boolean value indicating whether the comment has been deleted.
|
130
|
+
# @return [Boolean]
|
131
|
+
#
|
132
|
+
# @!attribute [rw] client_request_token
|
133
|
+
# A unique, client-generated idempotency token that when provided in a
|
134
|
+
# request, ensures the request cannot be repeated with a changed
|
135
|
+
# parameter. If a request is received with the same parameters and a
|
136
|
+
# token is included, the request will return information about the
|
137
|
+
# initial request that used that token.
|
138
|
+
# @return [String]
|
139
|
+
#
|
140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment AWS API Documentation
|
141
|
+
#
|
142
|
+
class Comment < Struct.new(
|
143
|
+
:comment_id,
|
144
|
+
:content,
|
145
|
+
:in_reply_to,
|
146
|
+
:creation_date,
|
147
|
+
:last_modified_date,
|
148
|
+
:author_arn,
|
149
|
+
:deleted,
|
150
|
+
:client_request_token)
|
151
|
+
include Aws::Structure
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns information about comments on the comparison between two
|
155
|
+
# commits.
|
156
|
+
#
|
157
|
+
# @!attribute [rw] repository_name
|
158
|
+
# The name of the repository that contains the compared commits.
|
159
|
+
# @return [String]
|
160
|
+
#
|
161
|
+
# @!attribute [rw] before_commit_id
|
162
|
+
# The full commit ID of the commit used to establish the 'before' of
|
163
|
+
# the comparison.
|
164
|
+
# @return [String]
|
165
|
+
#
|
166
|
+
# @!attribute [rw] after_commit_id
|
167
|
+
# The full commit ID of the commit used to establish the 'after' of
|
168
|
+
# the comparison.
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] before_blob_id
|
172
|
+
# The full blob ID of the commit used to establish the 'before' of
|
173
|
+
# the comparison.
|
174
|
+
# @return [String]
|
175
|
+
#
|
176
|
+
# @!attribute [rw] after_blob_id
|
177
|
+
# The full blob ID of the commit used to establish the 'after' of
|
178
|
+
# the comparison.
|
179
|
+
# @return [String]
|
180
|
+
#
|
181
|
+
# @!attribute [rw] location
|
182
|
+
# Location information about the comment on the comparison, including
|
183
|
+
# the file name, line number, and whether the version of the file
|
184
|
+
# where the comment was made is 'BEFORE' or 'AFTER'.
|
185
|
+
# @return [Types::Location]
|
186
|
+
#
|
187
|
+
# @!attribute [rw] comments
|
188
|
+
# An array of comment objects. Each comment object contains
|
189
|
+
# information about a comment on the comparison between commits.
|
190
|
+
# @return [Array<Types::Comment>]
|
191
|
+
#
|
192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForComparedCommit AWS API Documentation
|
193
|
+
#
|
194
|
+
class CommentsForComparedCommit < Struct.new(
|
195
|
+
:repository_name,
|
196
|
+
:before_commit_id,
|
197
|
+
:after_commit_id,
|
198
|
+
:before_blob_id,
|
199
|
+
:after_blob_id,
|
200
|
+
:location,
|
201
|
+
:comments)
|
202
|
+
include Aws::Structure
|
203
|
+
end
|
204
|
+
|
205
|
+
# Returns information about comments on a pull request.
|
206
|
+
#
|
207
|
+
# @!attribute [rw] pull_request_id
|
208
|
+
# The system-generated ID of the pull request.
|
209
|
+
# @return [String]
|
210
|
+
#
|
211
|
+
# @!attribute [rw] repository_name
|
212
|
+
# The name of the repository that contains the pull request.
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] before_commit_id
|
216
|
+
# The full commit ID of the commit that was the tip of the destination
|
217
|
+
# branch when the pull request was created. This commit will be
|
218
|
+
# superceded by the after commit in the source branch when and if you
|
219
|
+
# merge the source branch into the destination branch.
|
220
|
+
# @return [String]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] after_commit_id
|
223
|
+
# he full commit ID of the commit that was the tip of the source
|
224
|
+
# branch at the time the comment was made.
|
225
|
+
# @return [String]
|
226
|
+
#
|
227
|
+
# @!attribute [rw] before_blob_id
|
228
|
+
# The full blob ID of the file on which you want to comment on the
|
229
|
+
# destination commit.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] after_blob_id
|
233
|
+
# The full blob ID of the file on which you want to comment on the
|
234
|
+
# source commit.
|
235
|
+
# @return [String]
|
236
|
+
#
|
237
|
+
# @!attribute [rw] location
|
238
|
+
# Location information about the comment on the pull request,
|
239
|
+
# including the file name, line number, and whether the version of the
|
240
|
+
# file where the comment was made is 'BEFORE' (destination branch)
|
241
|
+
# or 'AFTER' (source branch).
|
242
|
+
# @return [Types::Location]
|
243
|
+
#
|
244
|
+
# @!attribute [rw] comments
|
245
|
+
# An array of comment objects. Each comment object contains
|
246
|
+
# information about a comment on the pull request.
|
247
|
+
# @return [Array<Types::Comment>]
|
248
|
+
#
|
249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForPullRequest AWS API Documentation
|
250
|
+
#
|
251
|
+
class CommentsForPullRequest < Struct.new(
|
252
|
+
:pull_request_id,
|
253
|
+
:repository_name,
|
254
|
+
:before_commit_id,
|
255
|
+
:after_commit_id,
|
256
|
+
:before_blob_id,
|
257
|
+
:after_blob_id,
|
258
|
+
:location,
|
259
|
+
:comments)
|
260
|
+
include Aws::Structure
|
261
|
+
end
|
262
|
+
|
101
263
|
# Returns information about a specific commit.
|
102
264
|
#
|
103
265
|
# @!attribute [rw] commit_id
|
@@ -188,6 +350,76 @@ module Aws::CodeCommit
|
|
188
350
|
include Aws::Structure
|
189
351
|
end
|
190
352
|
|
353
|
+
# @note When making an API call, you may pass CreatePullRequestInput
|
354
|
+
# data as a hash:
|
355
|
+
#
|
356
|
+
# {
|
357
|
+
# title: "Title", # required
|
358
|
+
# description: "Description",
|
359
|
+
# targets: [ # required
|
360
|
+
# {
|
361
|
+
# repository_name: "RepositoryName", # required
|
362
|
+
# source_reference: "ReferenceName", # required
|
363
|
+
# destination_reference: "ReferenceName",
|
364
|
+
# },
|
365
|
+
# ],
|
366
|
+
# client_request_token: "ClientRequestToken",
|
367
|
+
# }
|
368
|
+
#
|
369
|
+
# @!attribute [rw] title
|
370
|
+
# The title of the pull request. This title will be used to identify
|
371
|
+
# the pull request to other users in the repository.
|
372
|
+
# @return [String]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] description
|
375
|
+
# A description of the pull request.
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] targets
|
379
|
+
# The targets for the pull request, including the source of the code
|
380
|
+
# to be reviewed (the source branch), and the destination where the
|
381
|
+
# creator of the pull request intends the code to be merged after the
|
382
|
+
# pull request is closed (the destination branch).
|
383
|
+
# @return [Array<Types::Target>]
|
384
|
+
#
|
385
|
+
# @!attribute [rw] client_request_token
|
386
|
+
# A unique, client-generated idempotency token that when provided in a
|
387
|
+
# request, ensures the request cannot be repeated with a changed
|
388
|
+
# parameter. If a request is received with the same parameters and a
|
389
|
+
# token is included, the request will return information about the
|
390
|
+
# initial request that used that token.
|
391
|
+
#
|
392
|
+
# <note markdown="1"> The AWS SDKs prepopulate client request tokens. If using an AWS SDK,
|
393
|
+
# you do not have to generate an idempotency token, as this will be
|
394
|
+
# done for you.
|
395
|
+
#
|
396
|
+
# </note>
|
397
|
+
#
|
398
|
+
# **A suitable default value is auto-generated.** You should normally
|
399
|
+
# not need to pass this option.
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestInput AWS API Documentation
|
403
|
+
#
|
404
|
+
class CreatePullRequestInput < Struct.new(
|
405
|
+
:title,
|
406
|
+
:description,
|
407
|
+
:targets,
|
408
|
+
:client_request_token)
|
409
|
+
include Aws::Structure
|
410
|
+
end
|
411
|
+
|
412
|
+
# @!attribute [rw] pull_request
|
413
|
+
# Information about the newly created pull request.
|
414
|
+
# @return [Types::PullRequest]
|
415
|
+
#
|
416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestOutput AWS API Documentation
|
417
|
+
#
|
418
|
+
class CreatePullRequestOutput < Struct.new(
|
419
|
+
:pull_request)
|
420
|
+
include Aws::Structure
|
421
|
+
end
|
422
|
+
|
191
423
|
# Represents the input of a create repository operation.
|
192
424
|
#
|
193
425
|
# @note When making an API call, you may pass CreateRepositoryInput
|
@@ -289,6 +521,36 @@ module Aws::CodeCommit
|
|
289
521
|
include Aws::Structure
|
290
522
|
end
|
291
523
|
|
524
|
+
# @note When making an API call, you may pass DeleteCommentContentInput
|
525
|
+
# data as a hash:
|
526
|
+
#
|
527
|
+
# {
|
528
|
+
# comment_id: "CommentId", # required
|
529
|
+
# }
|
530
|
+
#
|
531
|
+
# @!attribute [rw] comment_id
|
532
|
+
# The unique, system-generated ID of the comment. To get this ID, use
|
533
|
+
# GetCommentsForComparedCommit or GetCommentsForPullRequest.
|
534
|
+
# @return [String]
|
535
|
+
#
|
536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentInput AWS API Documentation
|
537
|
+
#
|
538
|
+
class DeleteCommentContentInput < Struct.new(
|
539
|
+
:comment_id)
|
540
|
+
include Aws::Structure
|
541
|
+
end
|
542
|
+
|
543
|
+
# @!attribute [rw] comment
|
544
|
+
# Information about the comment you just deleted.
|
545
|
+
# @return [Types::Comment]
|
546
|
+
#
|
547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentOutput AWS API Documentation
|
548
|
+
#
|
549
|
+
class DeleteCommentContentOutput < Struct.new(
|
550
|
+
:comment)
|
551
|
+
include Aws::Structure
|
552
|
+
end
|
553
|
+
|
292
554
|
# Represents the input of a delete repository operation.
|
293
555
|
#
|
294
556
|
# @note When making an API call, you may pass DeleteRepositoryInput
|
@@ -322,6 +584,72 @@ module Aws::CodeCommit
|
|
322
584
|
include Aws::Structure
|
323
585
|
end
|
324
586
|
|
587
|
+
# @note When making an API call, you may pass DescribePullRequestEventsInput
|
588
|
+
# data as a hash:
|
589
|
+
#
|
590
|
+
# {
|
591
|
+
# pull_request_id: "PullRequestId", # required
|
592
|
+
# pull_request_event_type: "PULL_REQUEST_CREATED", # accepts PULL_REQUEST_CREATED, PULL_REQUEST_STATUS_CHANGED, PULL_REQUEST_SOURCE_REFERENCE_UPDATED, PULL_REQUEST_MERGE_STATE_CHANGED
|
593
|
+
# actor_arn: "Arn",
|
594
|
+
# next_token: "NextToken",
|
595
|
+
# max_results: 1,
|
596
|
+
# }
|
597
|
+
#
|
598
|
+
# @!attribute [rw] pull_request_id
|
599
|
+
# The system-generated ID of the pull request. To get this ID, use
|
600
|
+
# ListPullRequests.
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] pull_request_event_type
|
604
|
+
# Optional. The pull request event type about which you want to return
|
605
|
+
# information.
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] actor_arn
|
609
|
+
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
610
|
+
# the event. Examples include updating the pull request with
|
611
|
+
# additional commits or changing the status of a pull request.
|
612
|
+
# @return [String]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] next_token
|
615
|
+
# An enumeration token that when provided in a request, returns the
|
616
|
+
# next batch of the results.
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] max_results
|
620
|
+
# A non-negative integer used to limit the number of returned results.
|
621
|
+
# The default is 100 events, which is also the maximum number of
|
622
|
+
# events that can be returned in a result.
|
623
|
+
# @return [Integer]
|
624
|
+
#
|
625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput AWS API Documentation
|
626
|
+
#
|
627
|
+
class DescribePullRequestEventsInput < Struct.new(
|
628
|
+
:pull_request_id,
|
629
|
+
:pull_request_event_type,
|
630
|
+
:actor_arn,
|
631
|
+
:next_token,
|
632
|
+
:max_results)
|
633
|
+
include Aws::Structure
|
634
|
+
end
|
635
|
+
|
636
|
+
# @!attribute [rw] pull_request_events
|
637
|
+
# Information about the pull request events.
|
638
|
+
# @return [Array<Types::PullRequestEvent>]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] next_token
|
641
|
+
# An enumeration token that can be used in a request to return the
|
642
|
+
# next batch of the results.
|
643
|
+
# @return [String]
|
644
|
+
#
|
645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsOutput AWS API Documentation
|
646
|
+
#
|
647
|
+
class DescribePullRequestEventsOutput < Struct.new(
|
648
|
+
:pull_request_events,
|
649
|
+
:next_token)
|
650
|
+
include Aws::Structure
|
651
|
+
end
|
652
|
+
|
325
653
|
# Returns information about a set of differences for a commit specifier.
|
326
654
|
#
|
327
655
|
# @!attribute [rw] before_blob
|
@@ -427,6 +755,170 @@ module Aws::CodeCommit
|
|
427
755
|
include Aws::Structure
|
428
756
|
end
|
429
757
|
|
758
|
+
# @note When making an API call, you may pass GetCommentInput
|
759
|
+
# data as a hash:
|
760
|
+
#
|
761
|
+
# {
|
762
|
+
# comment_id: "CommentId", # required
|
763
|
+
# }
|
764
|
+
#
|
765
|
+
# @!attribute [rw] comment_id
|
766
|
+
# The unique, system-generated ID of the comment. To get this ID, use
|
767
|
+
# GetCommentsForComparedCommit or GetCommentsForPullRequest.
|
768
|
+
# @return [String]
|
769
|
+
#
|
770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentInput AWS API Documentation
|
771
|
+
#
|
772
|
+
class GetCommentInput < Struct.new(
|
773
|
+
:comment_id)
|
774
|
+
include Aws::Structure
|
775
|
+
end
|
776
|
+
|
777
|
+
# @!attribute [rw] comment
|
778
|
+
# The contents of the comment.
|
779
|
+
# @return [Types::Comment]
|
780
|
+
#
|
781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentOutput AWS API Documentation
|
782
|
+
#
|
783
|
+
class GetCommentOutput < Struct.new(
|
784
|
+
:comment)
|
785
|
+
include Aws::Structure
|
786
|
+
end
|
787
|
+
|
788
|
+
# @note When making an API call, you may pass GetCommentsForComparedCommitInput
|
789
|
+
# data as a hash:
|
790
|
+
#
|
791
|
+
# {
|
792
|
+
# repository_name: "RepositoryName", # required
|
793
|
+
# before_commit_id: "CommitId",
|
794
|
+
# after_commit_id: "CommitId", # required
|
795
|
+
# next_token: "NextToken",
|
796
|
+
# max_results: 1,
|
797
|
+
# }
|
798
|
+
#
|
799
|
+
# @!attribute [rw] repository_name
|
800
|
+
# The name of the repository where you want to compare commits.
|
801
|
+
# @return [String]
|
802
|
+
#
|
803
|
+
# @!attribute [rw] before_commit_id
|
804
|
+
# To establish the directionality of the comparison, the full commit
|
805
|
+
# ID of the 'before' commit.
|
806
|
+
# @return [String]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] after_commit_id
|
809
|
+
# To establish the directionality of the comparison, the full commit
|
810
|
+
# ID of the 'after' commit.
|
811
|
+
# @return [String]
|
812
|
+
#
|
813
|
+
# @!attribute [rw] next_token
|
814
|
+
# An enumeration token that when provided in a request, returns the
|
815
|
+
# next batch of the results.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] max_results
|
819
|
+
# A non-negative integer used to limit the number of returned results.
|
820
|
+
# The default is 100 comments, and is configurable up to 500.
|
821
|
+
# @return [Integer]
|
822
|
+
#
|
823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput AWS API Documentation
|
824
|
+
#
|
825
|
+
class GetCommentsForComparedCommitInput < Struct.new(
|
826
|
+
:repository_name,
|
827
|
+
:before_commit_id,
|
828
|
+
:after_commit_id,
|
829
|
+
:next_token,
|
830
|
+
:max_results)
|
831
|
+
include Aws::Structure
|
832
|
+
end
|
833
|
+
|
834
|
+
# @!attribute [rw] comments_for_compared_commit_data
|
835
|
+
# A list of comment objects on the compared commit.
|
836
|
+
# @return [Array<Types::CommentsForComparedCommit>]
|
837
|
+
#
|
838
|
+
# @!attribute [rw] next_token
|
839
|
+
# An enumeration token that can be used in a request to return the
|
840
|
+
# next batch of the results.
|
841
|
+
# @return [String]
|
842
|
+
#
|
843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitOutput AWS API Documentation
|
844
|
+
#
|
845
|
+
class GetCommentsForComparedCommitOutput < Struct.new(
|
846
|
+
:comments_for_compared_commit_data,
|
847
|
+
:next_token)
|
848
|
+
include Aws::Structure
|
849
|
+
end
|
850
|
+
|
851
|
+
# @note When making an API call, you may pass GetCommentsForPullRequestInput
|
852
|
+
# data as a hash:
|
853
|
+
#
|
854
|
+
# {
|
855
|
+
# pull_request_id: "PullRequestId", # required
|
856
|
+
# repository_name: "RepositoryName",
|
857
|
+
# before_commit_id: "CommitId",
|
858
|
+
# after_commit_id: "CommitId",
|
859
|
+
# next_token: "NextToken",
|
860
|
+
# max_results: 1,
|
861
|
+
# }
|
862
|
+
#
|
863
|
+
# @!attribute [rw] pull_request_id
|
864
|
+
# The system-generated ID of the pull request. To get this ID, use
|
865
|
+
# ListPullRequests.
|
866
|
+
# @return [String]
|
867
|
+
#
|
868
|
+
# @!attribute [rw] repository_name
|
869
|
+
# The name of the repository that contains the pull request.
|
870
|
+
# @return [String]
|
871
|
+
#
|
872
|
+
# @!attribute [rw] before_commit_id
|
873
|
+
# The full commit ID of the commit in the destination branch that was
|
874
|
+
# the tip of the branch at the time the pull request was created.
|
875
|
+
# @return [String]
|
876
|
+
#
|
877
|
+
# @!attribute [rw] after_commit_id
|
878
|
+
# The full commit ID of the commit in the source branch that was the
|
879
|
+
# tip of the branch at the time the comment was made.
|
880
|
+
# @return [String]
|
881
|
+
#
|
882
|
+
# @!attribute [rw] next_token
|
883
|
+
# An enumeration token that when provided in a request, returns the
|
884
|
+
# next batch of the results.
|
885
|
+
# @return [String]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] max_results
|
888
|
+
# A non-negative integer used to limit the number of returned results.
|
889
|
+
# The default is 100 comments. You can return up to 500 comments with
|
890
|
+
# a single request.
|
891
|
+
# @return [Integer]
|
892
|
+
#
|
893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput AWS API Documentation
|
894
|
+
#
|
895
|
+
class GetCommentsForPullRequestInput < Struct.new(
|
896
|
+
:pull_request_id,
|
897
|
+
:repository_name,
|
898
|
+
:before_commit_id,
|
899
|
+
:after_commit_id,
|
900
|
+
:next_token,
|
901
|
+
:max_results)
|
902
|
+
include Aws::Structure
|
903
|
+
end
|
904
|
+
|
905
|
+
# @!attribute [rw] comments_for_pull_request_data
|
906
|
+
# An array of comment objects on the pull request.
|
907
|
+
# @return [Array<Types::CommentsForPullRequest>]
|
908
|
+
#
|
909
|
+
# @!attribute [rw] next_token
|
910
|
+
# An enumeration token that can be used in a request to return the
|
911
|
+
# next batch of the results.
|
912
|
+
# @return [String]
|
913
|
+
#
|
914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestOutput AWS API Documentation
|
915
|
+
#
|
916
|
+
class GetCommentsForPullRequestOutput < Struct.new(
|
917
|
+
:comments_for_pull_request_data,
|
918
|
+
:next_token)
|
919
|
+
include Aws::Structure
|
920
|
+
end
|
921
|
+
|
430
922
|
# Represents the input of a get commit operation.
|
431
923
|
#
|
432
924
|
# @note When making an API call, you may pass GetCommitInput
|
@@ -552,23 +1044,116 @@ module Aws::CodeCommit
|
|
552
1044
|
include Aws::Structure
|
553
1045
|
end
|
554
1046
|
|
555
|
-
#
|
556
|
-
#
|
557
|
-
# @note When making an API call, you may pass GetRepositoryInput
|
1047
|
+
# @note When making an API call, you may pass GetMergeConflictsInput
|
558
1048
|
# data as a hash:
|
559
1049
|
#
|
560
1050
|
# {
|
561
1051
|
# repository_name: "RepositoryName", # required
|
1052
|
+
# destination_commit_specifier: "CommitName", # required
|
1053
|
+
# source_commit_specifier: "CommitName", # required
|
1054
|
+
# merge_option: "FAST_FORWARD_MERGE", # required, accepts FAST_FORWARD_MERGE
|
562
1055
|
# }
|
563
1056
|
#
|
564
1057
|
# @!attribute [rw] repository_name
|
565
|
-
# The name of the repository
|
1058
|
+
# The name of the repository where the pull request was created.
|
566
1059
|
# @return [String]
|
567
1060
|
#
|
568
|
-
#
|
1061
|
+
# @!attribute [rw] destination_commit_specifier
|
1062
|
+
# The branch, tag, HEAD, or other fully qualified reference used to
|
1063
|
+
# identify a commit. For example, a branch name or a full commit ID.
|
1064
|
+
# @return [String]
|
569
1065
|
#
|
570
|
-
|
571
|
-
|
1066
|
+
# @!attribute [rw] source_commit_specifier
|
1067
|
+
# The branch, tag, HEAD, or other fully qualified reference used to
|
1068
|
+
# identify a commit. For example, a branch name or a full commit ID.
|
1069
|
+
# @return [String]
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] merge_option
|
1072
|
+
# The merge option or strategy you want to use to merge the code. The
|
1073
|
+
# only valid value is FAST\_FORWARD\_MERGE.
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsInput AWS API Documentation
|
1077
|
+
#
|
1078
|
+
class GetMergeConflictsInput < Struct.new(
|
1079
|
+
:repository_name,
|
1080
|
+
:destination_commit_specifier,
|
1081
|
+
:source_commit_specifier,
|
1082
|
+
:merge_option)
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# @!attribute [rw] mergeable
|
1087
|
+
# A Boolean value that indicates whether the code is mergable by the
|
1088
|
+
# specified merge option.
|
1089
|
+
# @return [Boolean]
|
1090
|
+
#
|
1091
|
+
# @!attribute [rw] destination_commit_id
|
1092
|
+
# The commit ID of the destination commit specifier that was used in
|
1093
|
+
# the merge evaluation.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1096
|
+
# @!attribute [rw] source_commit_id
|
1097
|
+
# The commit ID of the source commit specifier that was used in the
|
1098
|
+
# merge evaluation.
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsOutput AWS API Documentation
|
1102
|
+
#
|
1103
|
+
class GetMergeConflictsOutput < Struct.new(
|
1104
|
+
:mergeable,
|
1105
|
+
:destination_commit_id,
|
1106
|
+
:source_commit_id)
|
1107
|
+
include Aws::Structure
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# @note When making an API call, you may pass GetPullRequestInput
|
1111
|
+
# data as a hash:
|
1112
|
+
#
|
1113
|
+
# {
|
1114
|
+
# pull_request_id: "PullRequestId", # required
|
1115
|
+
# }
|
1116
|
+
#
|
1117
|
+
# @!attribute [rw] pull_request_id
|
1118
|
+
# The system-generated ID of the pull request. To get this ID, use
|
1119
|
+
# ListPullRequests.
|
1120
|
+
# @return [String]
|
1121
|
+
#
|
1122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestInput AWS API Documentation
|
1123
|
+
#
|
1124
|
+
class GetPullRequestInput < Struct.new(
|
1125
|
+
:pull_request_id)
|
1126
|
+
include Aws::Structure
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# @!attribute [rw] pull_request
|
1130
|
+
# Information about the specified pull request.
|
1131
|
+
# @return [Types::PullRequest]
|
1132
|
+
#
|
1133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOutput AWS API Documentation
|
1134
|
+
#
|
1135
|
+
class GetPullRequestOutput < Struct.new(
|
1136
|
+
:pull_request)
|
1137
|
+
include Aws::Structure
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# Represents the input of a get repository operation.
|
1141
|
+
#
|
1142
|
+
# @note When making an API call, you may pass GetRepositoryInput
|
1143
|
+
# data as a hash:
|
1144
|
+
#
|
1145
|
+
# {
|
1146
|
+
# repository_name: "RepositoryName", # required
|
1147
|
+
# }
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] repository_name
|
1150
|
+
# The name of the repository to get information about.
|
1151
|
+
# @return [String]
|
1152
|
+
#
|
1153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput AWS API Documentation
|
1154
|
+
#
|
1155
|
+
class GetRepositoryInput < Struct.new(
|
1156
|
+
:repository_name)
|
572
1157
|
include Aws::Structure
|
573
1158
|
end
|
574
1159
|
|
@@ -667,6 +1252,69 @@ module Aws::CodeCommit
|
|
667
1252
|
include Aws::Structure
|
668
1253
|
end
|
669
1254
|
|
1255
|
+
# @note When making an API call, you may pass ListPullRequestsInput
|
1256
|
+
# data as a hash:
|
1257
|
+
#
|
1258
|
+
# {
|
1259
|
+
# repository_name: "RepositoryName", # required
|
1260
|
+
# author_arn: "Arn",
|
1261
|
+
# pull_request_status: "OPEN", # accepts OPEN, CLOSED
|
1262
|
+
# next_token: "NextToken",
|
1263
|
+
# max_results: 1,
|
1264
|
+
# }
|
1265
|
+
#
|
1266
|
+
# @!attribute [rw] repository_name
|
1267
|
+
# The name of the repository for which you want to list pull requests.
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1270
|
+
# @!attribute [rw] author_arn
|
1271
|
+
# Optional. The Amazon Resource Name (ARN) of the user who created the
|
1272
|
+
# pull request. If used, this filters the results to pull requests
|
1273
|
+
# created by that user.
|
1274
|
+
# @return [String]
|
1275
|
+
#
|
1276
|
+
# @!attribute [rw] pull_request_status
|
1277
|
+
# Optional. The status of the pull request. If used, this refines the
|
1278
|
+
# results to the pull requests that match the specified status.
|
1279
|
+
# @return [String]
|
1280
|
+
#
|
1281
|
+
# @!attribute [rw] next_token
|
1282
|
+
# An enumeration token that when provided in a request, returns the
|
1283
|
+
# next batch of the results.
|
1284
|
+
# @return [String]
|
1285
|
+
#
|
1286
|
+
# @!attribute [rw] max_results
|
1287
|
+
# A non-negative integer used to limit the number of returned results.
|
1288
|
+
# @return [Integer]
|
1289
|
+
#
|
1290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput AWS API Documentation
|
1291
|
+
#
|
1292
|
+
class ListPullRequestsInput < Struct.new(
|
1293
|
+
:repository_name,
|
1294
|
+
:author_arn,
|
1295
|
+
:pull_request_status,
|
1296
|
+
:next_token,
|
1297
|
+
:max_results)
|
1298
|
+
include Aws::Structure
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# @!attribute [rw] pull_request_ids
|
1302
|
+
# The system-generated IDs of the pull requests.
|
1303
|
+
# @return [Array<String>]
|
1304
|
+
#
|
1305
|
+
# @!attribute [rw] next_token
|
1306
|
+
# An enumeration token that when provided in a request, returns the
|
1307
|
+
# next batch of the results.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput AWS API Documentation
|
1311
|
+
#
|
1312
|
+
class ListPullRequestsOutput < Struct.new(
|
1313
|
+
:pull_request_ids,
|
1314
|
+
:next_token)
|
1315
|
+
include Aws::Structure
|
1316
|
+
end
|
1317
|
+
|
670
1318
|
# Represents the input of a list repositories operation.
|
671
1319
|
#
|
672
1320
|
# @note When making an API call, you may pass ListRepositoriesInput
|
@@ -725,6 +1373,613 @@ module Aws::CodeCommit
|
|
725
1373
|
include Aws::Structure
|
726
1374
|
end
|
727
1375
|
|
1376
|
+
# Returns information about the location of a change or comment in the
|
1377
|
+
# comparison between two commits or a pull request.
|
1378
|
+
#
|
1379
|
+
# @note When making an API call, you may pass Location
|
1380
|
+
# data as a hash:
|
1381
|
+
#
|
1382
|
+
# {
|
1383
|
+
# file_path: "Path",
|
1384
|
+
# file_position: 1,
|
1385
|
+
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
1386
|
+
# }
|
1387
|
+
#
|
1388
|
+
# @!attribute [rw] file_path
|
1389
|
+
# The name of the file being compared, including its extension and
|
1390
|
+
# subdirectory, if any.
|
1391
|
+
# @return [String]
|
1392
|
+
#
|
1393
|
+
# @!attribute [rw] file_position
|
1394
|
+
# The position of a change within a compared file, in line number
|
1395
|
+
# format.
|
1396
|
+
# @return [Integer]
|
1397
|
+
#
|
1398
|
+
# @!attribute [rw] relative_file_version
|
1399
|
+
# In a comparison of commits or a pull request, whether the change is
|
1400
|
+
# in the 'before' or 'after' of that comparison.
|
1401
|
+
# @return [String]
|
1402
|
+
#
|
1403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location AWS API Documentation
|
1404
|
+
#
|
1405
|
+
class Location < Struct.new(
|
1406
|
+
:file_path,
|
1407
|
+
:file_position,
|
1408
|
+
:relative_file_version)
|
1409
|
+
include Aws::Structure
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Returns information about a merge or potential merge between a source
|
1413
|
+
# reference and a destination reference in a pull request.
|
1414
|
+
#
|
1415
|
+
# @!attribute [rw] is_merged
|
1416
|
+
# A Boolean value indicating whether the merge has been made.
|
1417
|
+
# @return [Boolean]
|
1418
|
+
#
|
1419
|
+
# @!attribute [rw] merged_by
|
1420
|
+
# The Amazon Resource Name (ARN) of the user who merged the branches.
|
1421
|
+
# @return [String]
|
1422
|
+
#
|
1423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeMetadata AWS API Documentation
|
1424
|
+
#
|
1425
|
+
class MergeMetadata < Struct.new(
|
1426
|
+
:is_merged,
|
1427
|
+
:merged_by)
|
1428
|
+
include Aws::Structure
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
# @note When making an API call, you may pass MergePullRequestByFastForwardInput
|
1432
|
+
# data as a hash:
|
1433
|
+
#
|
1434
|
+
# {
|
1435
|
+
# pull_request_id: "PullRequestId", # required
|
1436
|
+
# repository_name: "RepositoryName", # required
|
1437
|
+
# source_commit_id: "CommitId",
|
1438
|
+
# }
|
1439
|
+
#
|
1440
|
+
# @!attribute [rw] pull_request_id
|
1441
|
+
# The system-generated ID of the pull request. To get this ID, use
|
1442
|
+
# ListPullRequests.
|
1443
|
+
# @return [String]
|
1444
|
+
#
|
1445
|
+
# @!attribute [rw] repository_name
|
1446
|
+
# The name of the repository where the pull request was created.
|
1447
|
+
# @return [String]
|
1448
|
+
#
|
1449
|
+
# @!attribute [rw] source_commit_id
|
1450
|
+
# The full commit ID of the original or updated commit in the pull
|
1451
|
+
# request source branch. Pass this value if you want an exception
|
1452
|
+
# thrown if the current commit ID of the tip of the source branch does
|
1453
|
+
# not match this commit ID.
|
1454
|
+
# @return [String]
|
1455
|
+
#
|
1456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardInput AWS API Documentation
|
1457
|
+
#
|
1458
|
+
class MergePullRequestByFastForwardInput < Struct.new(
|
1459
|
+
:pull_request_id,
|
1460
|
+
:repository_name,
|
1461
|
+
:source_commit_id)
|
1462
|
+
include Aws::Structure
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# @!attribute [rw] pull_request
|
1466
|
+
# Information about the specified pull request, including information
|
1467
|
+
# about the merge.
|
1468
|
+
# @return [Types::PullRequest]
|
1469
|
+
#
|
1470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput AWS API Documentation
|
1471
|
+
#
|
1472
|
+
class MergePullRequestByFastForwardOutput < Struct.new(
|
1473
|
+
:pull_request)
|
1474
|
+
include Aws::Structure
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
# @note When making an API call, you may pass PostCommentForComparedCommitInput
|
1478
|
+
# data as a hash:
|
1479
|
+
#
|
1480
|
+
# {
|
1481
|
+
# repository_name: "RepositoryName", # required
|
1482
|
+
# before_commit_id: "CommitId",
|
1483
|
+
# after_commit_id: "CommitId", # required
|
1484
|
+
# location: {
|
1485
|
+
# file_path: "Path",
|
1486
|
+
# file_position: 1,
|
1487
|
+
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
1488
|
+
# },
|
1489
|
+
# content: "Content", # required
|
1490
|
+
# client_request_token: "ClientRequestToken",
|
1491
|
+
# }
|
1492
|
+
#
|
1493
|
+
# @!attribute [rw] repository_name
|
1494
|
+
# The name of the repository where you want to post a comment on the
|
1495
|
+
# comparison between commits.
|
1496
|
+
# @return [String]
|
1497
|
+
#
|
1498
|
+
# @!attribute [rw] before_commit_id
|
1499
|
+
# To establish the directionality of the comparison, the full commit
|
1500
|
+
# ID of the 'before' commit.
|
1501
|
+
# @return [String]
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] after_commit_id
|
1504
|
+
# To establish the directionality of the comparison, the full commit
|
1505
|
+
# ID of the 'after' commit.
|
1506
|
+
# @return [String]
|
1507
|
+
#
|
1508
|
+
# @!attribute [rw] location
|
1509
|
+
# The location of the comparison where you want to comment.
|
1510
|
+
# @return [Types::Location]
|
1511
|
+
#
|
1512
|
+
# @!attribute [rw] content
|
1513
|
+
# The content of the comment you want to make.
|
1514
|
+
# @return [String]
|
1515
|
+
#
|
1516
|
+
# @!attribute [rw] client_request_token
|
1517
|
+
# A unique, client-generated idempotency token that when provided in a
|
1518
|
+
# request, ensures the request cannot be repeated with a changed
|
1519
|
+
# parameter. If a request is received with the same parameters and a
|
1520
|
+
# token is included, the request will return information about the
|
1521
|
+
# initial request that used that token.
|
1522
|
+
#
|
1523
|
+
# **A suitable default value is auto-generated.** You should normally
|
1524
|
+
# not need to pass this option.
|
1525
|
+
# @return [String]
|
1526
|
+
#
|
1527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitInput AWS API Documentation
|
1528
|
+
#
|
1529
|
+
class PostCommentForComparedCommitInput < Struct.new(
|
1530
|
+
:repository_name,
|
1531
|
+
:before_commit_id,
|
1532
|
+
:after_commit_id,
|
1533
|
+
:location,
|
1534
|
+
:content,
|
1535
|
+
:client_request_token)
|
1536
|
+
include Aws::Structure
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
# @!attribute [rw] repository_name
|
1540
|
+
# The name of the repository where you posted a comment on the
|
1541
|
+
# comparison between commits.
|
1542
|
+
# @return [String]
|
1543
|
+
#
|
1544
|
+
# @!attribute [rw] before_commit_id
|
1545
|
+
# In the directionality you established, the full commit ID of the
|
1546
|
+
# 'before' commit.
|
1547
|
+
# @return [String]
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] after_commit_id
|
1550
|
+
# In the directionality you established, the full commit ID of the
|
1551
|
+
# 'after' commit.
|
1552
|
+
# @return [String]
|
1553
|
+
#
|
1554
|
+
# @!attribute [rw] before_blob_id
|
1555
|
+
# In the directionality you established, the blob ID of the 'before'
|
1556
|
+
# blob.
|
1557
|
+
# @return [String]
|
1558
|
+
#
|
1559
|
+
# @!attribute [rw] after_blob_id
|
1560
|
+
# In the directionality you established, the blob ID of the 'after'
|
1561
|
+
# blob.
|
1562
|
+
# @return [String]
|
1563
|
+
#
|
1564
|
+
# @!attribute [rw] location
|
1565
|
+
# The location of the comment in the comparison between the two
|
1566
|
+
# commits.
|
1567
|
+
# @return [Types::Location]
|
1568
|
+
#
|
1569
|
+
# @!attribute [rw] comment
|
1570
|
+
# The content of the comment you posted.
|
1571
|
+
# @return [Types::Comment]
|
1572
|
+
#
|
1573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitOutput AWS API Documentation
|
1574
|
+
#
|
1575
|
+
class PostCommentForComparedCommitOutput < Struct.new(
|
1576
|
+
:repository_name,
|
1577
|
+
:before_commit_id,
|
1578
|
+
:after_commit_id,
|
1579
|
+
:before_blob_id,
|
1580
|
+
:after_blob_id,
|
1581
|
+
:location,
|
1582
|
+
:comment)
|
1583
|
+
include Aws::Structure
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# @note When making an API call, you may pass PostCommentForPullRequestInput
|
1587
|
+
# data as a hash:
|
1588
|
+
#
|
1589
|
+
# {
|
1590
|
+
# pull_request_id: "PullRequestId", # required
|
1591
|
+
# repository_name: "RepositoryName", # required
|
1592
|
+
# before_commit_id: "CommitId", # required
|
1593
|
+
# after_commit_id: "CommitId", # required
|
1594
|
+
# location: {
|
1595
|
+
# file_path: "Path",
|
1596
|
+
# file_position: 1,
|
1597
|
+
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
1598
|
+
# },
|
1599
|
+
# content: "Content", # required
|
1600
|
+
# client_request_token: "ClientRequestToken",
|
1601
|
+
# }
|
1602
|
+
#
|
1603
|
+
# @!attribute [rw] pull_request_id
|
1604
|
+
# The system-generated ID of the pull request. To get this ID, use
|
1605
|
+
# ListPullRequests.
|
1606
|
+
# @return [String]
|
1607
|
+
#
|
1608
|
+
# @!attribute [rw] repository_name
|
1609
|
+
# The name of the repository where you want to post a comment on a
|
1610
|
+
# pull request.
|
1611
|
+
# @return [String]
|
1612
|
+
#
|
1613
|
+
# @!attribute [rw] before_commit_id
|
1614
|
+
# The full commit ID of the commit in the destination branch that was
|
1615
|
+
# the tip of the branch at the time the pull request was created.
|
1616
|
+
# @return [String]
|
1617
|
+
#
|
1618
|
+
# @!attribute [rw] after_commit_id
|
1619
|
+
# The full commit ID of the commit in the source branch that is the
|
1620
|
+
# current tip of the branch for the pull request when you post the
|
1621
|
+
# comment.
|
1622
|
+
# @return [String]
|
1623
|
+
#
|
1624
|
+
# @!attribute [rw] location
|
1625
|
+
# The location of the change where you want to post your comment. If
|
1626
|
+
# no location is provided, the comment will be posted as a general
|
1627
|
+
# comment on the pull request difference between the before commit ID
|
1628
|
+
# and the after commit ID.
|
1629
|
+
# @return [Types::Location]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] content
|
1632
|
+
# The content of your comment on the change.
|
1633
|
+
# @return [String]
|
1634
|
+
#
|
1635
|
+
# @!attribute [rw] client_request_token
|
1636
|
+
# A unique, client-generated idempotency token that when provided in a
|
1637
|
+
# request, ensures the request cannot be repeated with a changed
|
1638
|
+
# parameter. If a request is received with the same parameters and a
|
1639
|
+
# token is included, the request will return information about the
|
1640
|
+
# initial request that used that token.
|
1641
|
+
#
|
1642
|
+
# **A suitable default value is auto-generated.** You should normally
|
1643
|
+
# not need to pass this option.
|
1644
|
+
# @return [String]
|
1645
|
+
#
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestInput AWS API Documentation
|
1647
|
+
#
|
1648
|
+
class PostCommentForPullRequestInput < Struct.new(
|
1649
|
+
:pull_request_id,
|
1650
|
+
:repository_name,
|
1651
|
+
:before_commit_id,
|
1652
|
+
:after_commit_id,
|
1653
|
+
:location,
|
1654
|
+
:content,
|
1655
|
+
:client_request_token)
|
1656
|
+
include Aws::Structure
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# @!attribute [rw] repository_name
|
1660
|
+
# The name of the repository where you posted a comment on a pull
|
1661
|
+
# request.
|
1662
|
+
# @return [String]
|
1663
|
+
#
|
1664
|
+
# @!attribute [rw] pull_request_id
|
1665
|
+
# The system-generated ID of the pull request.
|
1666
|
+
# @return [String]
|
1667
|
+
#
|
1668
|
+
# @!attribute [rw] before_commit_id
|
1669
|
+
# The full commit ID of the commit in the source branch used to create
|
1670
|
+
# the pull request, or in the case of an updated pull request, the
|
1671
|
+
# full commit ID of the commit used to update the pull request.
|
1672
|
+
# @return [String]
|
1673
|
+
#
|
1674
|
+
# @!attribute [rw] after_commit_id
|
1675
|
+
# The full commit ID of the commit in the destination branch where the
|
1676
|
+
# pull request will be merged.
|
1677
|
+
# @return [String]
|
1678
|
+
#
|
1679
|
+
# @!attribute [rw] before_blob_id
|
1680
|
+
# In the directionality of the pull request, the blob ID of the
|
1681
|
+
# 'before' blob.
|
1682
|
+
# @return [String]
|
1683
|
+
#
|
1684
|
+
# @!attribute [rw] after_blob_id
|
1685
|
+
# In the directionality of the pull request, the blob ID of the
|
1686
|
+
# 'after' blob.
|
1687
|
+
# @return [String]
|
1688
|
+
#
|
1689
|
+
# @!attribute [rw] location
|
1690
|
+
# The location of the change where you posted your comment.
|
1691
|
+
# @return [Types::Location]
|
1692
|
+
#
|
1693
|
+
# @!attribute [rw] comment
|
1694
|
+
# The content of the comment you posted.
|
1695
|
+
# @return [Types::Comment]
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestOutput AWS API Documentation
|
1698
|
+
#
|
1699
|
+
class PostCommentForPullRequestOutput < Struct.new(
|
1700
|
+
:repository_name,
|
1701
|
+
:pull_request_id,
|
1702
|
+
:before_commit_id,
|
1703
|
+
:after_commit_id,
|
1704
|
+
:before_blob_id,
|
1705
|
+
:after_blob_id,
|
1706
|
+
:location,
|
1707
|
+
:comment)
|
1708
|
+
include Aws::Structure
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# @note When making an API call, you may pass PostCommentReplyInput
|
1712
|
+
# data as a hash:
|
1713
|
+
#
|
1714
|
+
# {
|
1715
|
+
# in_reply_to: "CommentId", # required
|
1716
|
+
# client_request_token: "ClientRequestToken",
|
1717
|
+
# content: "Content", # required
|
1718
|
+
# }
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] in_reply_to
|
1721
|
+
# The system-generated ID of the comment to which you want to reply.
|
1722
|
+
# To get this ID, use GetCommentsForComparedCommit or
|
1723
|
+
# GetCommentsForPullRequest.
|
1724
|
+
# @return [String]
|
1725
|
+
#
|
1726
|
+
# @!attribute [rw] client_request_token
|
1727
|
+
# A unique, client-generated idempotency token that when provided in a
|
1728
|
+
# request, ensures the request cannot be repeated with a changed
|
1729
|
+
# parameter. If a request is received with the same parameters and a
|
1730
|
+
# token is included, the request will return information about the
|
1731
|
+
# initial request that used that token.
|
1732
|
+
#
|
1733
|
+
# **A suitable default value is auto-generated.** You should normally
|
1734
|
+
# not need to pass this option.
|
1735
|
+
# @return [String]
|
1736
|
+
#
|
1737
|
+
# @!attribute [rw] content
|
1738
|
+
# The contents of your reply to a comment.
|
1739
|
+
# @return [String]
|
1740
|
+
#
|
1741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyInput AWS API Documentation
|
1742
|
+
#
|
1743
|
+
class PostCommentReplyInput < Struct.new(
|
1744
|
+
:in_reply_to,
|
1745
|
+
:client_request_token,
|
1746
|
+
:content)
|
1747
|
+
include Aws::Structure
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
# @!attribute [rw] comment
|
1751
|
+
# Information about the reply to a comment.
|
1752
|
+
# @return [Types::Comment]
|
1753
|
+
#
|
1754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyOutput AWS API Documentation
|
1755
|
+
#
|
1756
|
+
class PostCommentReplyOutput < Struct.new(
|
1757
|
+
:comment)
|
1758
|
+
include Aws::Structure
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# Returns information about a pull request.
|
1762
|
+
#
|
1763
|
+
# @!attribute [rw] pull_request_id
|
1764
|
+
# The system-generated ID of the pull request.
|
1765
|
+
# @return [String]
|
1766
|
+
#
|
1767
|
+
# @!attribute [rw] title
|
1768
|
+
# The user-defined title of the pull request. This title is displayed
|
1769
|
+
# in the list of pull requests to other users of the repository.
|
1770
|
+
# @return [String]
|
1771
|
+
#
|
1772
|
+
# @!attribute [rw] description
|
1773
|
+
# The user-defined description of the pull request. This description
|
1774
|
+
# can be used to clarify what should be reviewed and other details of
|
1775
|
+
# the request.
|
1776
|
+
# @return [String]
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] last_activity_date
|
1779
|
+
# The day and time of the last user or system activity on the pull
|
1780
|
+
# request, in timestamp format.
|
1781
|
+
# @return [Time]
|
1782
|
+
#
|
1783
|
+
# @!attribute [rw] creation_date
|
1784
|
+
# The date and time the pull request was originally created, in
|
1785
|
+
# timestamp format.
|
1786
|
+
# @return [Time]
|
1787
|
+
#
|
1788
|
+
# @!attribute [rw] pull_request_status
|
1789
|
+
# The status of the pull request. Pull request status can only change
|
1790
|
+
# from `OPEN` to `CLOSED`.
|
1791
|
+
# @return [String]
|
1792
|
+
#
|
1793
|
+
# @!attribute [rw] author_arn
|
1794
|
+
# The Amazon Resource Name (ARN) of the user who created the pull
|
1795
|
+
# request.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @!attribute [rw] pull_request_targets
|
1799
|
+
# The targets of the pull request, including the source branch and
|
1800
|
+
# destination branch for the pull request.
|
1801
|
+
# @return [Array<Types::PullRequestTarget>]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] client_request_token
|
1804
|
+
# A unique, client-generated idempotency token that when provided in a
|
1805
|
+
# request, ensures the request cannot be repeated with a changed
|
1806
|
+
# parameter. If a request is received with the same parameters and a
|
1807
|
+
# token is included, the request will return information about the
|
1808
|
+
# initial request that used that token.
|
1809
|
+
# @return [String]
|
1810
|
+
#
|
1811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest AWS API Documentation
|
1812
|
+
#
|
1813
|
+
class PullRequest < Struct.new(
|
1814
|
+
:pull_request_id,
|
1815
|
+
:title,
|
1816
|
+
:description,
|
1817
|
+
:last_activity_date,
|
1818
|
+
:creation_date,
|
1819
|
+
:pull_request_status,
|
1820
|
+
:author_arn,
|
1821
|
+
:pull_request_targets,
|
1822
|
+
:client_request_token)
|
1823
|
+
include Aws::Structure
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# Returns information about a pull request event.
|
1827
|
+
#
|
1828
|
+
# @!attribute [rw] pull_request_id
|
1829
|
+
# The system-generated ID of the pull request.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] event_date
|
1833
|
+
# The day and time of the pull request event, in timestamp format.
|
1834
|
+
# @return [Time]
|
1835
|
+
#
|
1836
|
+
# @!attribute [rw] pull_request_event_type
|
1837
|
+
# The type of the pull request event, for example a status change
|
1838
|
+
# event (PULL\_REQUEST\_STATUS\_CHANGED) or update event
|
1839
|
+
# (PULL\_REQUEST\_SOURCE\_REFERENCE\_UPDATED).
|
1840
|
+
# @return [String]
|
1841
|
+
#
|
1842
|
+
# @!attribute [rw] actor_arn
|
1843
|
+
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
1844
|
+
# the event. Examples include updating the pull request with
|
1845
|
+
# additional commits or changing the status of a pull request.
|
1846
|
+
# @return [String]
|
1847
|
+
#
|
1848
|
+
# @!attribute [rw] pull_request_status_changed_event_metadata
|
1849
|
+
# Information about the change in status for the pull request event.
|
1850
|
+
# @return [Types::PullRequestStatusChangedEventMetadata]
|
1851
|
+
#
|
1852
|
+
# @!attribute [rw] pull_request_source_reference_updated_event_metadata
|
1853
|
+
# Information about the updated source branch for the pull request
|
1854
|
+
# event.
|
1855
|
+
# @return [Types::PullRequestSourceReferenceUpdatedEventMetadata]
|
1856
|
+
#
|
1857
|
+
# @!attribute [rw] pull_request_merged_state_changed_event_metadata
|
1858
|
+
# Information about the change in mergability state for the pull
|
1859
|
+
# request event.
|
1860
|
+
# @return [Types::PullRequestMergedStateChangedEventMetadata]
|
1861
|
+
#
|
1862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent AWS API Documentation
|
1863
|
+
#
|
1864
|
+
class PullRequestEvent < Struct.new(
|
1865
|
+
:pull_request_id,
|
1866
|
+
:event_date,
|
1867
|
+
:pull_request_event_type,
|
1868
|
+
:actor_arn,
|
1869
|
+
:pull_request_status_changed_event_metadata,
|
1870
|
+
:pull_request_source_reference_updated_event_metadata,
|
1871
|
+
:pull_request_merged_state_changed_event_metadata)
|
1872
|
+
include Aws::Structure
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
# Returns information about the change in the merge state for a pull
|
1876
|
+
# request event.
|
1877
|
+
#
|
1878
|
+
# @!attribute [rw] repository_name
|
1879
|
+
# The name of the repository where the pull request was created.
|
1880
|
+
# @return [String]
|
1881
|
+
#
|
1882
|
+
# @!attribute [rw] destination_reference
|
1883
|
+
# The name of the branch that the pull request will be merged into.
|
1884
|
+
# @return [String]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] merge_metadata
|
1887
|
+
# Information about the merge state change event.
|
1888
|
+
# @return [Types::MergeMetadata]
|
1889
|
+
#
|
1890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestMergedStateChangedEventMetadata AWS API Documentation
|
1891
|
+
#
|
1892
|
+
class PullRequestMergedStateChangedEventMetadata < Struct.new(
|
1893
|
+
:repository_name,
|
1894
|
+
:destination_reference,
|
1895
|
+
:merge_metadata)
|
1896
|
+
include Aws::Structure
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Information about an update to the source branch of a pull request.
|
1900
|
+
#
|
1901
|
+
# @!attribute [rw] repository_name
|
1902
|
+
# The name of the repository where the pull request was updated.
|
1903
|
+
# @return [String]
|
1904
|
+
#
|
1905
|
+
# @!attribute [rw] before_commit_id
|
1906
|
+
# The full commit ID of the commit in the destination branch that was
|
1907
|
+
# the tip of the branch at the time the pull request was updated.
|
1908
|
+
# @return [String]
|
1909
|
+
#
|
1910
|
+
# @!attribute [rw] after_commit_id
|
1911
|
+
# The full commit ID of the commit in the source branch that was the
|
1912
|
+
# tip of the branch at the time the pull request was updated.
|
1913
|
+
# @return [String]
|
1914
|
+
#
|
1915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestSourceReferenceUpdatedEventMetadata AWS API Documentation
|
1916
|
+
#
|
1917
|
+
class PullRequestSourceReferenceUpdatedEventMetadata < Struct.new(
|
1918
|
+
:repository_name,
|
1919
|
+
:before_commit_id,
|
1920
|
+
:after_commit_id)
|
1921
|
+
include Aws::Structure
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
# Information about a change to the status of a pull request.
|
1925
|
+
#
|
1926
|
+
# @!attribute [rw] pull_request_status
|
1927
|
+
# The changed status of the pull request.
|
1928
|
+
# @return [String]
|
1929
|
+
#
|
1930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusChangedEventMetadata AWS API Documentation
|
1931
|
+
#
|
1932
|
+
class PullRequestStatusChangedEventMetadata < Struct.new(
|
1933
|
+
:pull_request_status)
|
1934
|
+
include Aws::Structure
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
# Returns information about a pull request target.
|
1938
|
+
#
|
1939
|
+
# @!attribute [rw] repository_name
|
1940
|
+
# The name of the repository that contains the pull request source and
|
1941
|
+
# destination branches.
|
1942
|
+
# @return [String]
|
1943
|
+
#
|
1944
|
+
# @!attribute [rw] source_reference
|
1945
|
+
# The branch of the repository that contains the changes for the pull
|
1946
|
+
# request. Also known as the source branch.
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1949
|
+
# @!attribute [rw] destination_reference
|
1950
|
+
# The branch of the repository where the pull request changes will be
|
1951
|
+
# merged into. Also known as the destination branch.
|
1952
|
+
# @return [String]
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] destination_commit
|
1955
|
+
# The full commit ID that is the tip of the destination branch. This
|
1956
|
+
# is the commit where the pull request was or will be merged.
|
1957
|
+
# @return [String]
|
1958
|
+
#
|
1959
|
+
# @!attribute [rw] source_commit
|
1960
|
+
# The full commit ID of the tip of the source branch used to create
|
1961
|
+
# the pull request. If the pull request branch is updated by a push
|
1962
|
+
# while the pull request is open, the commit ID will change to reflect
|
1963
|
+
# the new tip of the branch.
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1966
|
+
# @!attribute [rw] merge_metadata
|
1967
|
+
# Returns metadata about the state of the merge, including whether the
|
1968
|
+
# merge has been made.
|
1969
|
+
# @return [Types::MergeMetadata]
|
1970
|
+
#
|
1971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestTarget AWS API Documentation
|
1972
|
+
#
|
1973
|
+
class PullRequestTarget < Struct.new(
|
1974
|
+
:repository_name,
|
1975
|
+
:source_reference,
|
1976
|
+
:destination_reference,
|
1977
|
+
:destination_commit,
|
1978
|
+
:source_commit,
|
1979
|
+
:merge_metadata)
|
1980
|
+
include Aws::Structure
|
1981
|
+
end
|
1982
|
+
|
728
1983
|
# Represents the input ofa put repository triggers operation.
|
729
1984
|
#
|
730
1985
|
# @note When making an API call, you may pass PutRepositoryTriggersInput
|
@@ -927,6 +2182,40 @@ module Aws::CodeCommit
|
|
927
2182
|
include Aws::Structure
|
928
2183
|
end
|
929
2184
|
|
2185
|
+
# Returns information about a target for a pull request.
|
2186
|
+
#
|
2187
|
+
# @note When making an API call, you may pass Target
|
2188
|
+
# data as a hash:
|
2189
|
+
#
|
2190
|
+
# {
|
2191
|
+
# repository_name: "RepositoryName", # required
|
2192
|
+
# source_reference: "ReferenceName", # required
|
2193
|
+
# destination_reference: "ReferenceName",
|
2194
|
+
# }
|
2195
|
+
#
|
2196
|
+
# @!attribute [rw] repository_name
|
2197
|
+
# The name of the repository that contains the pull request.
|
2198
|
+
# @return [String]
|
2199
|
+
#
|
2200
|
+
# @!attribute [rw] source_reference
|
2201
|
+
# The branch of the repository that contains the changes for the pull
|
2202
|
+
# request. Also known as the source branch.
|
2203
|
+
# @return [String]
|
2204
|
+
#
|
2205
|
+
# @!attribute [rw] destination_reference
|
2206
|
+
# The branch of the repository where the pull request changes will be
|
2207
|
+
# merged into. Also known as the destination branch.
|
2208
|
+
# @return [String]
|
2209
|
+
#
|
2210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target AWS API Documentation
|
2211
|
+
#
|
2212
|
+
class Target < Struct.new(
|
2213
|
+
:repository_name,
|
2214
|
+
:source_reference,
|
2215
|
+
:destination_reference)
|
2216
|
+
include Aws::Structure
|
2217
|
+
end
|
2218
|
+
|
930
2219
|
# Represents the input of a test repository triggers operation.
|
931
2220
|
#
|
932
2221
|
# @note When making an API call, you may pass TestRepositoryTriggersInput
|
@@ -983,6 +2272,44 @@ module Aws::CodeCommit
|
|
983
2272
|
include Aws::Structure
|
984
2273
|
end
|
985
2274
|
|
2275
|
+
# @note When making an API call, you may pass UpdateCommentInput
|
2276
|
+
# data as a hash:
|
2277
|
+
#
|
2278
|
+
# {
|
2279
|
+
# comment_id: "CommentId", # required
|
2280
|
+
# content: "Content", # required
|
2281
|
+
# }
|
2282
|
+
#
|
2283
|
+
# @!attribute [rw] comment_id
|
2284
|
+
# The system-generated ID of the comment you want to update. To get
|
2285
|
+
# this ID, use GetCommentsForComparedCommit or
|
2286
|
+
# GetCommentsForPullRequest.
|
2287
|
+
# @return [String]
|
2288
|
+
#
|
2289
|
+
# @!attribute [rw] content
|
2290
|
+
# The updated content with which you want to replace the existing
|
2291
|
+
# content of the comment.
|
2292
|
+
# @return [String]
|
2293
|
+
#
|
2294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput AWS API Documentation
|
2295
|
+
#
|
2296
|
+
class UpdateCommentInput < Struct.new(
|
2297
|
+
:comment_id,
|
2298
|
+
:content)
|
2299
|
+
include Aws::Structure
|
2300
|
+
end
|
2301
|
+
|
2302
|
+
# @!attribute [rw] comment
|
2303
|
+
# Information about the updated comment.
|
2304
|
+
# @return [Types::Comment]
|
2305
|
+
#
|
2306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentOutput AWS API Documentation
|
2307
|
+
#
|
2308
|
+
class UpdateCommentOutput < Struct.new(
|
2309
|
+
:comment)
|
2310
|
+
include Aws::Structure
|
2311
|
+
end
|
2312
|
+
|
986
2313
|
# Represents the input of an update default branch operation.
|
987
2314
|
#
|
988
2315
|
# @note When making an API call, you may pass UpdateDefaultBranchInput
|
@@ -1009,6 +2336,118 @@ module Aws::CodeCommit
|
|
1009
2336
|
include Aws::Structure
|
1010
2337
|
end
|
1011
2338
|
|
2339
|
+
# @note When making an API call, you may pass UpdatePullRequestDescriptionInput
|
2340
|
+
# data as a hash:
|
2341
|
+
#
|
2342
|
+
# {
|
2343
|
+
# pull_request_id: "PullRequestId", # required
|
2344
|
+
# description: "Description", # required
|
2345
|
+
# }
|
2346
|
+
#
|
2347
|
+
# @!attribute [rw] pull_request_id
|
2348
|
+
# The system-generated ID of the pull request. To get this ID, use
|
2349
|
+
# ListPullRequests.
|
2350
|
+
# @return [String]
|
2351
|
+
#
|
2352
|
+
# @!attribute [rw] description
|
2353
|
+
# The updated content of the description for the pull request. This
|
2354
|
+
# content will replace the existing description.
|
2355
|
+
# @return [String]
|
2356
|
+
#
|
2357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionInput AWS API Documentation
|
2358
|
+
#
|
2359
|
+
class UpdatePullRequestDescriptionInput < Struct.new(
|
2360
|
+
:pull_request_id,
|
2361
|
+
:description)
|
2362
|
+
include Aws::Structure
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
# @!attribute [rw] pull_request
|
2366
|
+
# Information about the updated pull request.
|
2367
|
+
# @return [Types::PullRequest]
|
2368
|
+
#
|
2369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionOutput AWS API Documentation
|
2370
|
+
#
|
2371
|
+
class UpdatePullRequestDescriptionOutput < Struct.new(
|
2372
|
+
:pull_request)
|
2373
|
+
include Aws::Structure
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
# @note When making an API call, you may pass UpdatePullRequestStatusInput
|
2377
|
+
# data as a hash:
|
2378
|
+
#
|
2379
|
+
# {
|
2380
|
+
# pull_request_id: "PullRequestId", # required
|
2381
|
+
# pull_request_status: "OPEN", # required, accepts OPEN, CLOSED
|
2382
|
+
# }
|
2383
|
+
#
|
2384
|
+
# @!attribute [rw] pull_request_id
|
2385
|
+
# The system-generated ID of the pull request. To get this ID, use
|
2386
|
+
# ListPullRequests.
|
2387
|
+
# @return [String]
|
2388
|
+
#
|
2389
|
+
# @!attribute [rw] pull_request_status
|
2390
|
+
# The status of the pull request. The only valid operations are to
|
2391
|
+
# update the status from `OPEN` to `OPEN`, `OPEN` to `CLOSED` or from
|
2392
|
+
# from `CLOSED` to `CLOSED`.
|
2393
|
+
# @return [String]
|
2394
|
+
#
|
2395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput AWS API Documentation
|
2396
|
+
#
|
2397
|
+
class UpdatePullRequestStatusInput < Struct.new(
|
2398
|
+
:pull_request_id,
|
2399
|
+
:pull_request_status)
|
2400
|
+
include Aws::Structure
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# @!attribute [rw] pull_request
|
2404
|
+
# Information about the pull request.
|
2405
|
+
# @return [Types::PullRequest]
|
2406
|
+
#
|
2407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusOutput AWS API Documentation
|
2408
|
+
#
|
2409
|
+
class UpdatePullRequestStatusOutput < Struct.new(
|
2410
|
+
:pull_request)
|
2411
|
+
include Aws::Structure
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
# @note When making an API call, you may pass UpdatePullRequestTitleInput
|
2415
|
+
# data as a hash:
|
2416
|
+
#
|
2417
|
+
# {
|
2418
|
+
# pull_request_id: "PullRequestId", # required
|
2419
|
+
# title: "Title", # required
|
2420
|
+
# }
|
2421
|
+
#
|
2422
|
+
# @!attribute [rw] pull_request_id
|
2423
|
+
# The system-generated ID of the pull request. To get this ID, use
|
2424
|
+
# ListPullRequests.
|
2425
|
+
# @return [String]
|
2426
|
+
#
|
2427
|
+
# @!attribute [rw] title
|
2428
|
+
# The updated title of the pull request. This will replace the
|
2429
|
+
# existing title.
|
2430
|
+
# @return [String]
|
2431
|
+
#
|
2432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput AWS API Documentation
|
2433
|
+
#
|
2434
|
+
class UpdatePullRequestTitleInput < Struct.new(
|
2435
|
+
:pull_request_id,
|
2436
|
+
:title)
|
2437
|
+
include Aws::Structure
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
# @!attribute [rw] pull_request
|
2441
|
+
# Information about the updated pull request.
|
2442
|
+
# @return [Types::PullRequest]
|
2443
|
+
#
|
2444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleOutput AWS API Documentation
|
2445
|
+
#
|
2446
|
+
class UpdatePullRequestTitleOutput < Struct.new(
|
2447
|
+
:pull_request)
|
2448
|
+
include Aws::Structure
|
2449
|
+
end
|
2450
|
+
|
1012
2451
|
# Represents the input of an update repository description operation.
|
1013
2452
|
#
|
1014
2453
|
# @note When making an API call, you may pass UpdateRepositoryDescriptionInput
|