aws-sdk-codecommit 1.29.0 → 1.30.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 +1323 -282
- data/lib/aws-sdk-codecommit/client_api.rb +709 -0
- data/lib/aws-sdk-codecommit/types.rb +1652 -400
- metadata +2 -2
@@ -8,7 +8,291 @@
|
|
8
8
|
module Aws::CodeCommit
|
9
9
|
module Types
|
10
10
|
|
11
|
-
#
|
11
|
+
# Returns information about a specific approval on a pull request.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] user_arn
|
14
|
+
# The Amazon Resource Name (ARN) of the user.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @!attribute [rw] approval_state
|
18
|
+
# The state of the approval, APPROVE or REVOKE. REVOKE states are not
|
19
|
+
# stored.
|
20
|
+
# @return [String]
|
21
|
+
#
|
22
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Approval AWS API Documentation
|
23
|
+
#
|
24
|
+
class Approval < Struct.new(
|
25
|
+
:user_arn,
|
26
|
+
:approval_state)
|
27
|
+
include Aws::Structure
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns information about an approval rule.
|
31
|
+
#
|
32
|
+
# @!attribute [rw] approval_rule_id
|
33
|
+
# The system-generated ID of the approval rule.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] approval_rule_name
|
37
|
+
# The name of the approval rule.
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] approval_rule_content
|
41
|
+
# The content of the approval rule.
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
# @!attribute [rw] rule_content_sha_256
|
45
|
+
# The SHA-256 hash signature for the content of the approval rule.
|
46
|
+
# @return [String]
|
47
|
+
#
|
48
|
+
# @!attribute [rw] last_modified_date
|
49
|
+
# The date the approval rule was most recently changed, in timestamp
|
50
|
+
# format.
|
51
|
+
# @return [Time]
|
52
|
+
#
|
53
|
+
# @!attribute [rw] creation_date
|
54
|
+
# The date the approval rule was created, in timestamp format.
|
55
|
+
# @return [Time]
|
56
|
+
#
|
57
|
+
# @!attribute [rw] last_modified_user
|
58
|
+
# The Amazon Resource Name (ARN) of the user who made the most recent
|
59
|
+
# changes to the approval rule.
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @!attribute [rw] origin_approval_rule_template
|
63
|
+
# The approval rule template used to create the rule.
|
64
|
+
# @return [Types::OriginApprovalRuleTemplate]
|
65
|
+
#
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRule AWS API Documentation
|
67
|
+
#
|
68
|
+
class ApprovalRule < Struct.new(
|
69
|
+
:approval_rule_id,
|
70
|
+
:approval_rule_name,
|
71
|
+
:approval_rule_content,
|
72
|
+
:rule_content_sha_256,
|
73
|
+
:last_modified_date,
|
74
|
+
:creation_date,
|
75
|
+
:last_modified_user,
|
76
|
+
:origin_approval_rule_template)
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
80
|
+
# Returns information about an event for an approval rule.
|
81
|
+
#
|
82
|
+
# @!attribute [rw] approval_rule_name
|
83
|
+
# The name of the approval rule.
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
# @!attribute [rw] approval_rule_id
|
87
|
+
# The system-generated ID of the approval rule.
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
# @!attribute [rw] approval_rule_content
|
91
|
+
# The content of the approval rule.
|
92
|
+
# @return [String]
|
93
|
+
#
|
94
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleEventMetadata AWS API Documentation
|
95
|
+
#
|
96
|
+
class ApprovalRuleEventMetadata < Struct.new(
|
97
|
+
:approval_rule_name,
|
98
|
+
:approval_rule_id,
|
99
|
+
:approval_rule_content)
|
100
|
+
include Aws::Structure
|
101
|
+
end
|
102
|
+
|
103
|
+
# Returns information about an override event for approval rules for a
|
104
|
+
# pull request.
|
105
|
+
#
|
106
|
+
# @!attribute [rw] revision_id
|
107
|
+
# The revision ID of the pull request when the override event
|
108
|
+
# occurred.
|
109
|
+
# @return [String]
|
110
|
+
#
|
111
|
+
# @!attribute [rw] override_status
|
112
|
+
# The status of the override event.
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleOverriddenEventMetadata AWS API Documentation
|
116
|
+
#
|
117
|
+
class ApprovalRuleOverriddenEventMetadata < Struct.new(
|
118
|
+
:revision_id,
|
119
|
+
:override_status)
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# Returns information about an approval rule template.
|
124
|
+
#
|
125
|
+
# @!attribute [rw] approval_rule_template_id
|
126
|
+
# The system-generated ID of the approval rule template.
|
127
|
+
# @return [String]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] approval_rule_template_name
|
130
|
+
# The name of the approval rule template.
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
# @!attribute [rw] approval_rule_template_description
|
134
|
+
# The description of the approval rule template.
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @!attribute [rw] approval_rule_template_content
|
138
|
+
# The content of the approval rule template.
|
139
|
+
# @return [String]
|
140
|
+
#
|
141
|
+
# @!attribute [rw] rule_content_sha_256
|
142
|
+
# The SHA-256 hash signature for the content of the approval rule
|
143
|
+
# template.
|
144
|
+
# @return [String]
|
145
|
+
#
|
146
|
+
# @!attribute [rw] last_modified_date
|
147
|
+
# The date the approval rule template was most recently changed, in
|
148
|
+
# timestamp format.
|
149
|
+
# @return [Time]
|
150
|
+
#
|
151
|
+
# @!attribute [rw] creation_date
|
152
|
+
# The date the approval rule template was created, in timestamp
|
153
|
+
# format.
|
154
|
+
# @return [Time]
|
155
|
+
#
|
156
|
+
# @!attribute [rw] last_modified_user
|
157
|
+
# The Amazon Resource Name (ARN) of the user who made the most recent
|
158
|
+
# changes to the approval rule template.
|
159
|
+
# @return [String]
|
160
|
+
#
|
161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplate AWS API Documentation
|
162
|
+
#
|
163
|
+
class ApprovalRuleTemplate < Struct.new(
|
164
|
+
:approval_rule_template_id,
|
165
|
+
:approval_rule_template_name,
|
166
|
+
:approval_rule_template_description,
|
167
|
+
:approval_rule_template_content,
|
168
|
+
:rule_content_sha_256,
|
169
|
+
:last_modified_date,
|
170
|
+
:creation_date,
|
171
|
+
:last_modified_user)
|
172
|
+
include Aws::Structure
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns information about a change in the approval state for a pull
|
176
|
+
# request.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] revision_id
|
179
|
+
# The revision ID of the pull request when the approval state changed.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] approval_status
|
183
|
+
# The approval status for the pull request.
|
184
|
+
# @return [String]
|
185
|
+
#
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalStateChangedEventMetadata AWS API Documentation
|
187
|
+
#
|
188
|
+
class ApprovalStateChangedEventMetadata < Struct.new(
|
189
|
+
:revision_id,
|
190
|
+
:approval_status)
|
191
|
+
include Aws::Structure
|
192
|
+
end
|
193
|
+
|
194
|
+
# @note When making an API call, you may pass AssociateApprovalRuleTemplateWithRepositoryInput
|
195
|
+
# data as a hash:
|
196
|
+
#
|
197
|
+
# {
|
198
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
199
|
+
# repository_name: "RepositoryName", # required
|
200
|
+
# }
|
201
|
+
#
|
202
|
+
# @!attribute [rw] approval_rule_template_name
|
203
|
+
# The name for the approval rule template.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] repository_name
|
207
|
+
# The name of the repository that you want to associate with the
|
208
|
+
# template.
|
209
|
+
# @return [String]
|
210
|
+
#
|
211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepositoryInput AWS API Documentation
|
212
|
+
#
|
213
|
+
class AssociateApprovalRuleTemplateWithRepositoryInput < Struct.new(
|
214
|
+
:approval_rule_template_name,
|
215
|
+
:repository_name)
|
216
|
+
include Aws::Structure
|
217
|
+
end
|
218
|
+
|
219
|
+
# Returns information about errors in a
|
220
|
+
# BatchAssociateApprovalRuleTemplateWithRepositories operation.
|
221
|
+
#
|
222
|
+
# @!attribute [rw] repository_name
|
223
|
+
# The name of the repository where the association was not made.
|
224
|
+
# @return [String]
|
225
|
+
#
|
226
|
+
# @!attribute [rw] error_code
|
227
|
+
# An error code that specifies whether the repository name was not
|
228
|
+
# valid or not found.
|
229
|
+
# @return [String]
|
230
|
+
#
|
231
|
+
# @!attribute [rw] error_message
|
232
|
+
# An error message that provides details about why the repository name
|
233
|
+
# was not found or not valid.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesError AWS API Documentation
|
237
|
+
#
|
238
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesError < Struct.new(
|
239
|
+
:repository_name,
|
240
|
+
:error_code,
|
241
|
+
:error_message)
|
242
|
+
include Aws::Structure
|
243
|
+
end
|
244
|
+
|
245
|
+
# @note When making an API call, you may pass BatchAssociateApprovalRuleTemplateWithRepositoriesInput
|
246
|
+
# data as a hash:
|
247
|
+
#
|
248
|
+
# {
|
249
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
250
|
+
# repository_names: ["RepositoryName"], # required
|
251
|
+
# }
|
252
|
+
#
|
253
|
+
# @!attribute [rw] approval_rule_template_name
|
254
|
+
# The name of the template you want to associate with one or more
|
255
|
+
# repositories.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @!attribute [rw] repository_names
|
259
|
+
# The names of the repositories you want to associate with the
|
260
|
+
# template.
|
261
|
+
#
|
262
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
263
|
+
# array itself can be empty.
|
264
|
+
#
|
265
|
+
# </note>
|
266
|
+
# @return [Array<String>]
|
267
|
+
#
|
268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesInput AWS API Documentation
|
269
|
+
#
|
270
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesInput < Struct.new(
|
271
|
+
:approval_rule_template_name,
|
272
|
+
:repository_names)
|
273
|
+
include Aws::Structure
|
274
|
+
end
|
275
|
+
|
276
|
+
# @!attribute [rw] associated_repository_names
|
277
|
+
# A list of names of the repositories that have been associated with
|
278
|
+
# the template.
|
279
|
+
# @return [Array<String>]
|
280
|
+
#
|
281
|
+
# @!attribute [rw] errors
|
282
|
+
# A list of any errors that might have occurred while attempting to
|
283
|
+
# create the association between the template and the repositories.
|
284
|
+
# @return [Array<Types::BatchAssociateApprovalRuleTemplateWithRepositoriesError>]
|
285
|
+
#
|
286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesOutput AWS API Documentation
|
287
|
+
#
|
288
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesOutput < Struct.new(
|
289
|
+
:associated_repository_names,
|
290
|
+
:errors)
|
291
|
+
include Aws::Structure
|
292
|
+
end
|
293
|
+
|
294
|
+
# Returns information about errors in a BatchDescribeMergeConflicts
|
295
|
+
# operation.
|
12
296
|
#
|
13
297
|
# @!attribute [rw] file_path
|
14
298
|
# The path to the file.
|
@@ -54,12 +338,12 @@ module Aws::CodeCommit
|
|
54
338
|
#
|
55
339
|
# @!attribute [rw] destination_commit_specifier
|
56
340
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
57
|
-
# identify a commit
|
341
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
58
342
|
# @return [String]
|
59
343
|
#
|
60
344
|
# @!attribute [rw] source_commit_specifier
|
61
345
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
62
|
-
# identify a commit
|
346
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
63
347
|
# @return [String]
|
64
348
|
#
|
65
349
|
# @!attribute [rw] merge_option
|
@@ -81,21 +365,21 @@ module Aws::CodeCommit
|
|
81
365
|
#
|
82
366
|
# @!attribute [rw] conflict_detail_level
|
83
367
|
# The level of conflict detail to use. If unspecified, the default
|
84
|
-
# FILE\_LEVEL is used, which
|
368
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
85
369
|
# same file has differences in both branches. If LINE\_LEVEL is
|
86
|
-
# specified, a conflict
|
87
|
-
#
|
370
|
+
# specified, a conflict is considered not mergeable if the same file
|
371
|
+
# in both branches has differences on the same line.
|
88
372
|
# @return [String]
|
89
373
|
#
|
90
374
|
# @!attribute [rw] conflict_resolution_strategy
|
91
375
|
# Specifies which branch to use when resolving conflicts, or whether
|
92
376
|
# to attempt automatically merging two versions of a file. The default
|
93
377
|
# is NONE, which requires any conflicts to be resolved manually before
|
94
|
-
# the merge operation
|
378
|
+
# the merge operation is successful.
|
95
379
|
# @return [String]
|
96
380
|
#
|
97
381
|
# @!attribute [rw] next_token
|
98
|
-
# An enumeration token that when provided in a request, returns the
|
382
|
+
# An enumeration token that, when provided in a request, returns the
|
99
383
|
# next batch of the results.
|
100
384
|
# @return [String]
|
101
385
|
#
|
@@ -156,6 +440,82 @@ module Aws::CodeCommit
|
|
156
440
|
include Aws::Structure
|
157
441
|
end
|
158
442
|
|
443
|
+
# Returns information about errors in a
|
444
|
+
# BatchDisassociateApprovalRuleTemplateFromRepositories operation.
|
445
|
+
#
|
446
|
+
# @!attribute [rw] repository_name
|
447
|
+
# The name of the repository where the association with the template
|
448
|
+
# was not able to be removed.
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] error_code
|
452
|
+
# An error code that specifies whether the repository name was not
|
453
|
+
# valid or not found.
|
454
|
+
# @return [String]
|
455
|
+
#
|
456
|
+
# @!attribute [rw] error_message
|
457
|
+
# An error message that provides details about why the repository name
|
458
|
+
# was either not found or not valid.
|
459
|
+
# @return [String]
|
460
|
+
#
|
461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesError AWS API Documentation
|
462
|
+
#
|
463
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesError < Struct.new(
|
464
|
+
:repository_name,
|
465
|
+
:error_code,
|
466
|
+
:error_message)
|
467
|
+
include Aws::Structure
|
468
|
+
end
|
469
|
+
|
470
|
+
# @note When making an API call, you may pass BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
|
471
|
+
# data as a hash:
|
472
|
+
#
|
473
|
+
# {
|
474
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
475
|
+
# repository_names: ["RepositoryName"], # required
|
476
|
+
# }
|
477
|
+
#
|
478
|
+
# @!attribute [rw] approval_rule_template_name
|
479
|
+
# The name of the template that you want to disassociate from one or
|
480
|
+
# more repositories.
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @!attribute [rw] repository_names
|
484
|
+
# The repository names that you want to disassociate from the approval
|
485
|
+
# rule template.
|
486
|
+
#
|
487
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
488
|
+
# array itself can be empty.
|
489
|
+
#
|
490
|
+
# </note>
|
491
|
+
# @return [Array<String>]
|
492
|
+
#
|
493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesInput AWS API Documentation
|
494
|
+
#
|
495
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesInput < Struct.new(
|
496
|
+
:approval_rule_template_name,
|
497
|
+
:repository_names)
|
498
|
+
include Aws::Structure
|
499
|
+
end
|
500
|
+
|
501
|
+
# @!attribute [rw] disassociated_repository_names
|
502
|
+
# A list of repository names that have had their association with the
|
503
|
+
# template removed.
|
504
|
+
# @return [Array<String>]
|
505
|
+
#
|
506
|
+
# @!attribute [rw] errors
|
507
|
+
# A list of any errors that might have occurred while attempting to
|
508
|
+
# remove the association between the template and the repositories.
|
509
|
+
# @return [Array<Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesError>]
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput AWS API Documentation
|
512
|
+
#
|
513
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput < Struct.new(
|
514
|
+
:disassociated_repository_names,
|
515
|
+
:errors)
|
516
|
+
include Aws::Structure
|
517
|
+
end
|
518
|
+
|
159
519
|
# Returns information about errors in a BatchGetCommits operation.
|
160
520
|
#
|
161
521
|
# @!attribute [rw] commit_id
|
@@ -193,8 +553,8 @@ module Aws::CodeCommit
|
|
193
553
|
# @!attribute [rw] commit_ids
|
194
554
|
# The full commit IDs of the commits to get information about.
|
195
555
|
#
|
196
|
-
# <note markdown="1"> You must supply the full
|
197
|
-
# shortened
|
556
|
+
# <note markdown="1"> You must supply the full SHA IDs of each commit. You cannot use
|
557
|
+
# shortened SHA IDs.
|
198
558
|
#
|
199
559
|
# </note>
|
200
560
|
# @return [Array<String>]
|
@@ -218,9 +578,9 @@ module Aws::CodeCommit
|
|
218
578
|
#
|
219
579
|
# @!attribute [rw] errors
|
220
580
|
# Returns any commit IDs for which information could not be found. For
|
221
|
-
# example, if one of the commit IDs was a shortened SHA or that
|
222
|
-
# was not found in the specified repository, the ID
|
223
|
-
# error object with
|
581
|
+
# example, if one of the commit IDs was a shortened SHA ID or that
|
582
|
+
# commit was not found in the specified repository, the ID returns an
|
583
|
+
# error object with more information.
|
224
584
|
# @return [Array<Types::BatchGetCommitsError>]
|
225
585
|
#
|
226
586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommitsOutput AWS API Documentation
|
@@ -242,6 +602,11 @@ module Aws::CodeCommit
|
|
242
602
|
#
|
243
603
|
# @!attribute [rw] repository_names
|
244
604
|
# The names of the repositories to get information about.
|
605
|
+
#
|
606
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
607
|
+
# array itself can be empty.
|
608
|
+
#
|
609
|
+
# </note>
|
245
610
|
# @return [Array<String>]
|
246
611
|
#
|
247
612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput AWS API Documentation
|
@@ -278,7 +643,7 @@ module Aws::CodeCommit
|
|
278
643
|
# @return [String]
|
279
644
|
#
|
280
645
|
# @!attribute [rw] path
|
281
|
-
# The path to the blob and
|
646
|
+
# The path to the blob and associated file name, if any.
|
282
647
|
# @return [String]
|
283
648
|
#
|
284
649
|
# @!attribute [rw] mode
|
@@ -353,11 +718,11 @@ module Aws::CodeCommit
|
|
353
718
|
# @return [Boolean]
|
354
719
|
#
|
355
720
|
# @!attribute [rw] client_request_token
|
356
|
-
# A unique, client-generated idempotency token that when provided in
|
357
|
-
# request, ensures the request cannot be repeated with a changed
|
721
|
+
# A unique, client-generated idempotency token that, when provided in
|
722
|
+
# a request, ensures the request cannot be repeated with a changed
|
358
723
|
# parameter. If a request is received with the same parameters and a
|
359
|
-
# token is included, the request
|
360
|
-
#
|
724
|
+
# token is included, the request returns information about the initial
|
725
|
+
# request that used that token.
|
361
726
|
# @return [String]
|
362
727
|
#
|
363
728
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment AWS API Documentation
|
@@ -382,29 +747,29 @@ module Aws::CodeCommit
|
|
382
747
|
# @return [String]
|
383
748
|
#
|
384
749
|
# @!attribute [rw] before_commit_id
|
385
|
-
# The full commit ID of the commit used to establish the
|
386
|
-
#
|
750
|
+
# The full commit ID of the commit used to establish the before of the
|
751
|
+
# comparison.
|
387
752
|
# @return [String]
|
388
753
|
#
|
389
754
|
# @!attribute [rw] after_commit_id
|
390
|
-
# The full commit ID of the commit used to establish the
|
391
|
-
#
|
755
|
+
# The full commit ID of the commit used to establish the after of the
|
756
|
+
# comparison.
|
392
757
|
# @return [String]
|
393
758
|
#
|
394
759
|
# @!attribute [rw] before_blob_id
|
395
|
-
# The full blob ID of the commit used to establish the
|
396
|
-
#
|
760
|
+
# The full blob ID of the commit used to establish the before of the
|
761
|
+
# comparison.
|
397
762
|
# @return [String]
|
398
763
|
#
|
399
764
|
# @!attribute [rw] after_blob_id
|
400
|
-
# The full blob ID of the commit used to establish the
|
401
|
-
#
|
765
|
+
# The full blob ID of the commit used to establish the after of the
|
766
|
+
# comparison.
|
402
767
|
# @return [String]
|
403
768
|
#
|
404
769
|
# @!attribute [rw] location
|
405
770
|
# Location information about the comment on the comparison, including
|
406
771
|
# the file name, line number, and whether the version of the file
|
407
|
-
# where the comment was made is
|
772
|
+
# where the comment was made is BEFORE or AFTER.
|
408
773
|
# @return [Types::Location]
|
409
774
|
#
|
410
775
|
# @!attribute [rw] comments
|
@@ -437,13 +802,13 @@ module Aws::CodeCommit
|
|
437
802
|
#
|
438
803
|
# @!attribute [rw] before_commit_id
|
439
804
|
# The full commit ID of the commit that was the tip of the destination
|
440
|
-
# branch when the pull request was created. This commit
|
441
|
-
#
|
442
|
-
#
|
805
|
+
# branch when the pull request was created. This commit is superceded
|
806
|
+
# by the after commit in the source branch when and if you merge the
|
807
|
+
# source branch into the destination branch.
|
443
808
|
# @return [String]
|
444
809
|
#
|
445
810
|
# @!attribute [rw] after_commit_id
|
446
|
-
#
|
811
|
+
# The full commit ID of the commit that was the tip of the source
|
447
812
|
# branch at the time the comment was made.
|
448
813
|
# @return [String]
|
449
814
|
#
|
@@ -460,8 +825,8 @@ module Aws::CodeCommit
|
|
460
825
|
# @!attribute [rw] location
|
461
826
|
# Location information about the comment on the pull request,
|
462
827
|
# including the file name, line number, and whether the version of the
|
463
|
-
# file where the comment was made is
|
464
|
-
#
|
828
|
+
# file where the comment was made is BEFORE (destination branch) or
|
829
|
+
# AFTER (source branch).
|
465
830
|
# @return [Types::Location]
|
466
831
|
#
|
467
832
|
# @!attribute [rw] comments
|
@@ -486,7 +851,7 @@ module Aws::CodeCommit
|
|
486
851
|
# Returns information about a specific commit.
|
487
852
|
#
|
488
853
|
# @!attribute [rw] commit_id
|
489
|
-
# The full SHA of the specified commit.
|
854
|
+
# The full SHA ID of the specified commit.
|
490
855
|
# @return [String]
|
491
856
|
#
|
492
857
|
# @!attribute [rw] tree_id
|
@@ -525,7 +890,7 @@ module Aws::CodeCommit
|
|
525
890
|
# @return [Types::UserInfo]
|
526
891
|
#
|
527
892
|
# @!attribute [rw] additional_data
|
528
|
-
# Any
|
893
|
+
# Any other data associated with the specified commit.
|
529
894
|
# @return [String]
|
530
895
|
#
|
531
896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit AWS API Documentation
|
@@ -627,8 +992,8 @@ module Aws::CodeCommit
|
|
627
992
|
include Aws::Structure
|
628
993
|
end
|
629
994
|
|
630
|
-
#
|
631
|
-
#
|
995
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs to
|
996
|
+
# use when resolving conflicts during a merge.
|
632
997
|
#
|
633
998
|
# @note When making an API call, you may pass ConflictResolution
|
634
999
|
# data as a hash:
|
@@ -656,17 +1021,16 @@ module Aws::CodeCommit
|
|
656
1021
|
# }
|
657
1022
|
#
|
658
1023
|
# @!attribute [rw] replace_contents
|
659
|
-
# Files
|
1024
|
+
# Files to have content replaced as part of the merge conflict
|
660
1025
|
# resolution.
|
661
1026
|
# @return [Array<Types::ReplaceContentEntry>]
|
662
1027
|
#
|
663
1028
|
# @!attribute [rw] delete_files
|
664
|
-
# Files
|
1029
|
+
# Files to be deleted as part of the merge conflict resolution.
|
665
1030
|
# @return [Array<Types::DeleteFileEntry>]
|
666
1031
|
#
|
667
1032
|
# @!attribute [rw] set_file_modes
|
668
|
-
# File modes that
|
669
|
-
# resolution.
|
1033
|
+
# File modes that are set as part of the merge conflict resolution.
|
670
1034
|
# @return [Array<Types::SetFileModeEntry>]
|
671
1035
|
#
|
672
1036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ConflictResolution AWS API Documentation
|
@@ -678,6 +1042,91 @@ module Aws::CodeCommit
|
|
678
1042
|
include Aws::Structure
|
679
1043
|
end
|
680
1044
|
|
1045
|
+
# @note When making an API call, you may pass CreateApprovalRuleTemplateInput
|
1046
|
+
# data as a hash:
|
1047
|
+
#
|
1048
|
+
# {
|
1049
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1050
|
+
# approval_rule_template_content: "ApprovalRuleTemplateContent", # required
|
1051
|
+
# approval_rule_template_description: "ApprovalRuleTemplateDescription",
|
1052
|
+
# }
|
1053
|
+
#
|
1054
|
+
# @!attribute [rw] approval_rule_template_name
|
1055
|
+
# The name of the approval rule template. Provide descriptive names,
|
1056
|
+
# because this name is applied to the approval rules created
|
1057
|
+
# automatically in associated repositories.
|
1058
|
+
# @return [String]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] approval_rule_template_content
|
1061
|
+
# The content of the approval rule that is created on pull requests in
|
1062
|
+
# associated repositories. If you specify one or more destination
|
1063
|
+
# references (branches), approval rules are created in an associated
|
1064
|
+
# repository only if their destination references (branches) match
|
1065
|
+
# those specified in the template.
|
1066
|
+
#
|
1067
|
+
# <note markdown="1"> When you create the content of the approval rule template, you can
|
1068
|
+
# specify approvers in an approval pool in one of two ways:
|
1069
|
+
#
|
1070
|
+
# * **CodeCommitApprovers**\: This option only requires an AWS account
|
1071
|
+
# and a resource. It can be used for both IAM users and federated
|
1072
|
+
# access users whose name matches the provided resource name. This
|
1073
|
+
# is a very powerful option that offers a great deal of flexibility.
|
1074
|
+
# For example, if you specify the AWS account *123456789012* and
|
1075
|
+
# *Mary\_Major*, all of the following are counted as approvals
|
1076
|
+
# coming from that user:
|
1077
|
+
#
|
1078
|
+
# * An IAM user in the account
|
1079
|
+
# (arn:aws:iam::*123456789012*\:user/*Mary\_Major*)
|
1080
|
+
#
|
1081
|
+
# * A federated user identified in IAM as Mary\_Major
|
1082
|
+
# (arn:aws:sts::*123456789012*\:federated-user/*Mary\_Major*)
|
1083
|
+
#
|
1084
|
+
# This option does not recognize an active session of someone
|
1085
|
+
# assuming the role of CodeCommitReview with a role session name of
|
1086
|
+
# *Mary\_Major*
|
1087
|
+
# (arn:aws:sts::*123456789012*\:assumed-role/CodeCommitReview/*Mary\_Major*)
|
1088
|
+
# unless you include a wildcard (*Mary\_Major).
|
1089
|
+
#
|
1090
|
+
# * **Fully qualified ARN**\: This option allows you to specify the
|
1091
|
+
# fully qualified Amazon Resource Name (ARN) of the IAM user or
|
1092
|
+
# role.
|
1093
|
+
#
|
1094
|
+
# For more information about IAM ARNs, wildcards, and formats, see
|
1095
|
+
# [IAM Identifiers][1] in the *IAM User Guide*.
|
1096
|
+
#
|
1097
|
+
# </note>
|
1098
|
+
#
|
1099
|
+
#
|
1100
|
+
#
|
1101
|
+
# [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
|
1102
|
+
# @return [String]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] approval_rule_template_description
|
1105
|
+
# The description of the approval rule template. Consider providing a
|
1106
|
+
# description that explains what this template does and when it might
|
1107
|
+
# be appropriate to associate it with repositories.
|
1108
|
+
# @return [String]
|
1109
|
+
#
|
1110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplateInput AWS API Documentation
|
1111
|
+
#
|
1112
|
+
class CreateApprovalRuleTemplateInput < Struct.new(
|
1113
|
+
:approval_rule_template_name,
|
1114
|
+
:approval_rule_template_content,
|
1115
|
+
:approval_rule_template_description)
|
1116
|
+
include Aws::Structure
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# @!attribute [rw] approval_rule_template
|
1120
|
+
# The content and structure of the created approval rule template.
|
1121
|
+
# @return [Types::ApprovalRuleTemplate]
|
1122
|
+
#
|
1123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplateOutput AWS API Documentation
|
1124
|
+
#
|
1125
|
+
class CreateApprovalRuleTemplateOutput < Struct.new(
|
1126
|
+
:approval_rule_template)
|
1127
|
+
include Aws::Structure
|
1128
|
+
end
|
1129
|
+
|
681
1130
|
# Represents the input of a create branch operation.
|
682
1131
|
#
|
683
1132
|
# @note When making an API call, you may pass CreateBranchInput
|
@@ -747,21 +1196,21 @@ module Aws::CodeCommit
|
|
747
1196
|
# }
|
748
1197
|
#
|
749
1198
|
# @!attribute [rw] repository_name
|
750
|
-
# The name of the repository where you
|
1199
|
+
# The name of the repository where you create the commit.
|
751
1200
|
# @return [String]
|
752
1201
|
#
|
753
1202
|
# @!attribute [rw] branch_name
|
754
|
-
# The name of the branch where you
|
1203
|
+
# The name of the branch where you create the commit.
|
755
1204
|
# @return [String]
|
756
1205
|
#
|
757
1206
|
# @!attribute [rw] parent_commit_id
|
758
|
-
# The ID of the commit that is the parent of the commit you
|
759
|
-
#
|
1207
|
+
# The ID of the commit that is the parent of the commit you create.
|
1208
|
+
# Not required if this is an empty repository.
|
760
1209
|
# @return [String]
|
761
1210
|
#
|
762
1211
|
# @!attribute [rw] author_name
|
763
|
-
# The name of the author who created the commit. This information
|
764
|
-
#
|
1212
|
+
# The name of the author who created the commit. This information is
|
1213
|
+
# used as both the author and committer for the commit.
|
765
1214
|
# @return [String]
|
766
1215
|
#
|
767
1216
|
# @!attribute [rw] email
|
@@ -769,16 +1218,15 @@ module Aws::CodeCommit
|
|
769
1218
|
# @return [String]
|
770
1219
|
#
|
771
1220
|
# @!attribute [rw] commit_message
|
772
|
-
# The commit message you want to include
|
773
|
-
#
|
774
|
-
#
|
1221
|
+
# The commit message you want to include in the commit. Commit
|
1222
|
+
# messages are limited to 256 KB. If no message is specified, a
|
1223
|
+
# default message is used.
|
775
1224
|
# @return [String]
|
776
1225
|
#
|
777
1226
|
# @!attribute [rw] keep_empty_folders
|
778
1227
|
# If the commit contains deletions, whether to keep a folder or folder
|
779
|
-
# structure if the changes leave the folders empty. If
|
780
|
-
#
|
781
|
-
# folders. The default is false.
|
1228
|
+
# structure if the changes leave the folders empty. If true, a
|
1229
|
+
# ..gitkeep file is created for empty folders. The default is false.
|
782
1230
|
# @return [Boolean]
|
783
1231
|
#
|
784
1232
|
# @!attribute [rw] put_files
|
@@ -786,8 +1234,8 @@ module Aws::CodeCommit
|
|
786
1234
|
# @return [Array<Types::PutFileEntry>]
|
787
1235
|
#
|
788
1236
|
# @!attribute [rw] delete_files
|
789
|
-
# The files to delete in this commit. These files
|
790
|
-
#
|
1237
|
+
# The files to delete in this commit. These files still exist in
|
1238
|
+
# earlier commits.
|
791
1239
|
# @return [Array<Types::DeleteFileEntry>]
|
792
1240
|
#
|
793
1241
|
# @!attribute [rw] set_file_modes
|
@@ -843,6 +1291,87 @@ module Aws::CodeCommit
|
|
843
1291
|
include Aws::Structure
|
844
1292
|
end
|
845
1293
|
|
1294
|
+
# @note When making an API call, you may pass CreatePullRequestApprovalRuleInput
|
1295
|
+
# data as a hash:
|
1296
|
+
#
|
1297
|
+
# {
|
1298
|
+
# pull_request_id: "PullRequestId", # required
|
1299
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
1300
|
+
# approval_rule_content: "ApprovalRuleContent", # required
|
1301
|
+
# }
|
1302
|
+
#
|
1303
|
+
# @!attribute [rw] pull_request_id
|
1304
|
+
# The system-generated ID of the pull request for which you want to
|
1305
|
+
# create the approval rule.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] approval_rule_name
|
1309
|
+
# The name for the approval rule.
|
1310
|
+
# @return [String]
|
1311
|
+
#
|
1312
|
+
# @!attribute [rw] approval_rule_content
|
1313
|
+
# The content of the approval rule, including the number of approvals
|
1314
|
+
# needed and the structure of an approval pool defined for approvals,
|
1315
|
+
# if any. For more information about approval pools, see the AWS
|
1316
|
+
# CodeCommit User Guide.
|
1317
|
+
#
|
1318
|
+
# <note markdown="1"> When you create the content of the approval rule, you can specify
|
1319
|
+
# approvers in an approval pool in one of two ways:
|
1320
|
+
#
|
1321
|
+
# * **CodeCommitApprovers**\: This option only requires an AWS account
|
1322
|
+
# and a resource. It can be used for both IAM users and federated
|
1323
|
+
# access users whose name matches the provided resource name. This
|
1324
|
+
# is a very powerful option that offers a great deal of flexibility.
|
1325
|
+
# For example, if you specify the AWS account *123456789012* and
|
1326
|
+
# *Mary\_Major*, all of the following would be counted as approvals
|
1327
|
+
# coming from that user:
|
1328
|
+
#
|
1329
|
+
# * An IAM user in the account
|
1330
|
+
# (arn:aws:iam::*123456789012*\:user/*Mary\_Major*)
|
1331
|
+
#
|
1332
|
+
# * A federated user identified in IAM as Mary\_Major
|
1333
|
+
# (arn:aws:sts::*123456789012*\:federated-user/*Mary\_Major*)
|
1334
|
+
#
|
1335
|
+
# This option does not recognize an active session of someone
|
1336
|
+
# assuming the role of CodeCommitReview with a role session name of
|
1337
|
+
# *Mary\_Major*
|
1338
|
+
# (arn:aws:sts::*123456789012*\:assumed-role/CodeCommitReview/*Mary\_Major*)
|
1339
|
+
# unless you include a wildcard (*Mary\_Major).
|
1340
|
+
#
|
1341
|
+
# * **Fully qualified ARN**\: This option allows you to specify the
|
1342
|
+
# fully qualified Amazon Resource Name (ARN) of the IAM user or
|
1343
|
+
# role.
|
1344
|
+
#
|
1345
|
+
# For more information about IAM ARNs, wildcards, and formats, see
|
1346
|
+
# [IAM Identifiers][1] in the *IAM User Guide*.
|
1347
|
+
#
|
1348
|
+
# </note>
|
1349
|
+
#
|
1350
|
+
#
|
1351
|
+
#
|
1352
|
+
# [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
|
1353
|
+
# @return [String]
|
1354
|
+
#
|
1355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleInput AWS API Documentation
|
1356
|
+
#
|
1357
|
+
class CreatePullRequestApprovalRuleInput < Struct.new(
|
1358
|
+
:pull_request_id,
|
1359
|
+
:approval_rule_name,
|
1360
|
+
:approval_rule_content)
|
1361
|
+
include Aws::Structure
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# @!attribute [rw] approval_rule
|
1365
|
+
# Information about the created approval rule.
|
1366
|
+
# @return [Types::ApprovalRule]
|
1367
|
+
#
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleOutput AWS API Documentation
|
1369
|
+
#
|
1370
|
+
class CreatePullRequestApprovalRuleOutput < Struct.new(
|
1371
|
+
:approval_rule)
|
1372
|
+
include Aws::Structure
|
1373
|
+
end
|
1374
|
+
|
846
1375
|
# @note When making an API call, you may pass CreatePullRequestInput
|
847
1376
|
# data as a hash:
|
848
1377
|
#
|
@@ -860,8 +1389,8 @@ module Aws::CodeCommit
|
|
860
1389
|
# }
|
861
1390
|
#
|
862
1391
|
# @!attribute [rw] title
|
863
|
-
# The title of the pull request. This title
|
864
|
-
#
|
1392
|
+
# The title of the pull request. This title is used to identify the
|
1393
|
+
# pull request to other users in the repository.
|
865
1394
|
# @return [String]
|
866
1395
|
#
|
867
1396
|
# @!attribute [rw] description
|
@@ -870,21 +1399,20 @@ module Aws::CodeCommit
|
|
870
1399
|
#
|
871
1400
|
# @!attribute [rw] targets
|
872
1401
|
# The targets for the pull request, including the source of the code
|
873
|
-
# to be reviewed (the source branch)
|
1402
|
+
# to be reviewed (the source branch) and the destination where the
|
874
1403
|
# creator of the pull request intends the code to be merged after the
|
875
1404
|
# pull request is closed (the destination branch).
|
876
1405
|
# @return [Array<Types::Target>]
|
877
1406
|
#
|
878
1407
|
# @!attribute [rw] client_request_token
|
879
|
-
# A unique, client-generated idempotency token that when provided in
|
880
|
-
# request, ensures the request cannot be repeated with a changed
|
1408
|
+
# A unique, client-generated idempotency token that, when provided in
|
1409
|
+
# a request, ensures the request cannot be repeated with a changed
|
881
1410
|
# parameter. If a request is received with the same parameters and a
|
882
|
-
# token is included, the request
|
883
|
-
#
|
1411
|
+
# token is included, the request returns information about the initial
|
1412
|
+
# request that used that token.
|
884
1413
|
#
|
885
|
-
# <note markdown="1"> The AWS SDKs prepopulate client request tokens. If using an
|
886
|
-
#
|
887
|
-
# done for you.
|
1414
|
+
# <note markdown="1"> The AWS SDKs prepopulate client request tokens. If you are using an
|
1415
|
+
# AWS SDK, an idempotency token is created for you.
|
888
1416
|
#
|
889
1417
|
# </note>
|
890
1418
|
#
|
@@ -930,10 +1458,10 @@ module Aws::CodeCommit
|
|
930
1458
|
# The name of the new repository to be created.
|
931
1459
|
#
|
932
1460
|
# <note markdown="1"> The repository name must be unique across the calling AWS account.
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
# [Limits][1] in the AWS CodeCommit User Guide
|
1461
|
+
# Repository names are limited to 100 alphanumeric, dash, and
|
1462
|
+
# underscore characters, and cannot include certain characters. For
|
1463
|
+
# more information about the limits on repository names, see
|
1464
|
+
# [Limits][1] in the *AWS CodeCommit User Guide*. The suffix .git is
|
937
1465
|
# prohibited.
|
938
1466
|
#
|
939
1467
|
# </note>
|
@@ -948,10 +1476,10 @@ module Aws::CodeCommit
|
|
948
1476
|
#
|
949
1477
|
# <note markdown="1"> The description field for a repository accepts all HTML characters
|
950
1478
|
# and all valid Unicode characters. Applications that do not
|
951
|
-
# HTML-encode the description and display it in a
|
952
|
-
#
|
953
|
-
#
|
954
|
-
#
|
1479
|
+
# HTML-encode the description and display it in a webpage can expose
|
1480
|
+
# users to potentially malicious code. Make sure that you HTML-encode
|
1481
|
+
# the description field in any application that uses this API to
|
1482
|
+
# display the repository description on a webpage.
|
955
1483
|
#
|
956
1484
|
# </note>
|
957
1485
|
# @return [String]
|
@@ -1026,12 +1554,12 @@ module Aws::CodeCommit
|
|
1026
1554
|
#
|
1027
1555
|
# @!attribute [rw] source_commit_specifier
|
1028
1556
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1029
|
-
# identify a commit
|
1557
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1030
1558
|
# @return [String]
|
1031
1559
|
#
|
1032
1560
|
# @!attribute [rw] destination_commit_specifier
|
1033
1561
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1034
|
-
# identify a commit
|
1562
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1035
1563
|
# @return [String]
|
1036
1564
|
#
|
1037
1565
|
# @!attribute [rw] merge_option
|
@@ -1040,23 +1568,22 @@ module Aws::CodeCommit
|
|
1040
1568
|
#
|
1041
1569
|
# @!attribute [rw] conflict_detail_level
|
1042
1570
|
# The level of conflict detail to use. If unspecified, the default
|
1043
|
-
# FILE\_LEVEL is used, which
|
1571
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
1044
1572
|
# same file has differences in both branches. If LINE\_LEVEL is
|
1045
|
-
# specified, a conflict
|
1046
|
-
#
|
1573
|
+
# specified, a conflict is considered not mergeable if the same file
|
1574
|
+
# in both branches has differences on the same line.
|
1047
1575
|
# @return [String]
|
1048
1576
|
#
|
1049
1577
|
# @!attribute [rw] conflict_resolution_strategy
|
1050
1578
|
# Specifies which branch to use when resolving conflicts, or whether
|
1051
1579
|
# to attempt automatically merging two versions of a file. The default
|
1052
1580
|
# is NONE, which requires any conflicts to be resolved manually before
|
1053
|
-
# the merge operation
|
1581
|
+
# the merge operation is successful.
|
1054
1582
|
# @return [String]
|
1055
1583
|
#
|
1056
1584
|
# @!attribute [rw] author_name
|
1057
1585
|
# The name of the author who created the unreferenced commit. This
|
1058
|
-
# information
|
1059
|
-
# commit.
|
1586
|
+
# information is used as both the author and committer for the commit.
|
1060
1587
|
# @return [String]
|
1061
1588
|
#
|
1062
1589
|
# @!attribute [rw] email
|
@@ -1071,13 +1598,13 @@ module Aws::CodeCommit
|
|
1071
1598
|
# @!attribute [rw] keep_empty_folders
|
1072
1599
|
# If the commit contains deletions, whether to keep a folder or folder
|
1073
1600
|
# structure if the changes leave the folders empty. If this is
|
1074
|
-
# specified as true, a .gitkeep file
|
1075
|
-
#
|
1601
|
+
# specified as true, a .gitkeep file is created for empty folders. The
|
1602
|
+
# default is false.
|
1076
1603
|
# @return [Boolean]
|
1077
1604
|
#
|
1078
1605
|
# @!attribute [rw] conflict_resolution
|
1079
|
-
#
|
1080
|
-
#
|
1606
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
1607
|
+
# to use when resolving conflicts during a merge.
|
1081
1608
|
# @return [Types::ConflictResolution]
|
1082
1609
|
#
|
1083
1610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommitInput AWS API Documentation
|
@@ -1097,20 +1624,51 @@ module Aws::CodeCommit
|
|
1097
1624
|
include Aws::Structure
|
1098
1625
|
end
|
1099
1626
|
|
1100
|
-
# @!attribute [rw] commit_id
|
1101
|
-
# The full commit ID of the commit that contains your merge results.
|
1102
|
-
# @return [String]
|
1103
|
-
#
|
1104
|
-
# @!attribute [rw] tree_id
|
1105
|
-
# The full SHA-1 pointer of the tree information for the commit that
|
1106
|
-
# contains the merge results.
|
1627
|
+
# @!attribute [rw] commit_id
|
1628
|
+
# The full commit ID of the commit that contains your merge results.
|
1629
|
+
# @return [String]
|
1630
|
+
#
|
1631
|
+
# @!attribute [rw] tree_id
|
1632
|
+
# The full SHA-1 pointer of the tree information for the commit that
|
1633
|
+
# contains the merge results.
|
1634
|
+
# @return [String]
|
1635
|
+
#
|
1636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommitOutput AWS API Documentation
|
1637
|
+
#
|
1638
|
+
class CreateUnreferencedMergeCommitOutput < Struct.new(
|
1639
|
+
:commit_id,
|
1640
|
+
:tree_id)
|
1641
|
+
include Aws::Structure
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# @note When making an API call, you may pass DeleteApprovalRuleTemplateInput
|
1645
|
+
# data as a hash:
|
1646
|
+
#
|
1647
|
+
# {
|
1648
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1649
|
+
# }
|
1650
|
+
#
|
1651
|
+
# @!attribute [rw] approval_rule_template_name
|
1652
|
+
# The name of the approval rule template to delete.
|
1653
|
+
# @return [String]
|
1654
|
+
#
|
1655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplateInput AWS API Documentation
|
1656
|
+
#
|
1657
|
+
class DeleteApprovalRuleTemplateInput < Struct.new(
|
1658
|
+
:approval_rule_template_name)
|
1659
|
+
include Aws::Structure
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# @!attribute [rw] approval_rule_template_id
|
1663
|
+
# The system-generated ID of the deleted approval rule template. If
|
1664
|
+
# the template has been previously deleted, the only response is a 200
|
1665
|
+
# OK.
|
1107
1666
|
# @return [String]
|
1108
1667
|
#
|
1109
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
1668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplateOutput AWS API Documentation
|
1110
1669
|
#
|
1111
|
-
class
|
1112
|
-
:
|
1113
|
-
:tree_id)
|
1670
|
+
class DeleteApprovalRuleTemplateOutput < Struct.new(
|
1671
|
+
:approval_rule_template_id)
|
1114
1672
|
include Aws::Structure
|
1115
1673
|
end
|
1116
1674
|
|
@@ -1184,7 +1742,7 @@ module Aws::CodeCommit
|
|
1184
1742
|
include Aws::Structure
|
1185
1743
|
end
|
1186
1744
|
|
1187
|
-
# A file that
|
1745
|
+
# A file that is deleted as part of a commit.
|
1188
1746
|
#
|
1189
1747
|
# @note When making an API call, you may pass DeleteFileEntry
|
1190
1748
|
# data as a hash:
|
@@ -1194,8 +1752,8 @@ module Aws::CodeCommit
|
|
1194
1752
|
# }
|
1195
1753
|
#
|
1196
1754
|
# @!attribute [rw] file_path
|
1197
|
-
# The full path of the file
|
1198
|
-
#
|
1755
|
+
# The full path of the file to be deleted, including the name of the
|
1756
|
+
# file.
|
1199
1757
|
# @return [String]
|
1200
1758
|
#
|
1201
1759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileEntry AWS API Documentation
|
@@ -1224,12 +1782,12 @@ module Aws::CodeCommit
|
|
1224
1782
|
# @return [String]
|
1225
1783
|
#
|
1226
1784
|
# @!attribute [rw] branch_name
|
1227
|
-
# The name of the branch where the commit
|
1228
|
-
#
|
1785
|
+
# The name of the branch where the commit that deletes the file is
|
1786
|
+
# made.
|
1229
1787
|
# @return [String]
|
1230
1788
|
#
|
1231
1789
|
# @!attribute [rw] file_path
|
1232
|
-
# The fully
|
1790
|
+
# The fully qualified path to the file that to be deleted, including
|
1233
1791
|
# the full name and extension of that file. For example,
|
1234
1792
|
# /examples/file.md is a fully qualified path to a file named file.md
|
1235
1793
|
# in a folder named examples.
|
@@ -1237,36 +1795,36 @@ module Aws::CodeCommit
|
|
1237
1795
|
#
|
1238
1796
|
# @!attribute [rw] parent_commit_id
|
1239
1797
|
# The ID of the commit that is the tip of the branch where you want to
|
1240
|
-
# create the commit that
|
1241
|
-
# commit for the branch. The commit that deletes the file
|
1242
|
-
#
|
1798
|
+
# create the commit that deletes the file. This must be the HEAD
|
1799
|
+
# commit for the branch. The commit that deletes the file is created
|
1800
|
+
# from this commit ID.
|
1243
1801
|
# @return [String]
|
1244
1802
|
#
|
1245
1803
|
# @!attribute [rw] keep_empty_folders
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
#
|
1249
|
-
#
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1804
|
+
# If a file is the only object in the folder or directory, specifies
|
1805
|
+
# whether to delete the folder or directory that contains the file. By
|
1806
|
+
# default, empty folders are deleted. This includes empty folders that
|
1807
|
+
# are part of the directory structure. For example, if the path to a
|
1808
|
+
# file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting
|
1809
|
+
# the last file in dir4 also deletes the empty folders dir4, dir3, and
|
1810
|
+
# dir2.
|
1253
1811
|
# @return [Boolean]
|
1254
1812
|
#
|
1255
1813
|
# @!attribute [rw] commit_message
|
1256
1814
|
# The commit message you want to include as part of deleting the file.
|
1257
1815
|
# Commit messages are limited to 256 KB. If no message is specified, a
|
1258
|
-
# default message
|
1816
|
+
# default message is used.
|
1259
1817
|
# @return [String]
|
1260
1818
|
#
|
1261
1819
|
# @!attribute [rw] name
|
1262
1820
|
# The name of the author of the commit that deletes the file. If no
|
1263
|
-
# name is specified, the user's ARN
|
1264
|
-
#
|
1821
|
+
# name is specified, the user's ARN is used as the author name and
|
1822
|
+
# committer name.
|
1265
1823
|
# @return [String]
|
1266
1824
|
#
|
1267
1825
|
# @!attribute [rw] email
|
1268
1826
|
# The email address for the commit that deletes the file. If no email
|
1269
|
-
# address is specified, the email address
|
1827
|
+
# address is specified, the email address is left blank.
|
1270
1828
|
# @return [String]
|
1271
1829
|
#
|
1272
1830
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileInput AWS API Documentation
|
@@ -1298,8 +1856,8 @@ module Aws::CodeCommit
|
|
1298
1856
|
# @return [String]
|
1299
1857
|
#
|
1300
1858
|
# @!attribute [rw] file_path
|
1301
|
-
# The fully
|
1302
|
-
#
|
1859
|
+
# The fully qualified path to the file to be deleted, including the
|
1860
|
+
# full name and extension of that file.
|
1303
1861
|
# @return [String]
|
1304
1862
|
#
|
1305
1863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileOutput AWS API Documentation
|
@@ -1312,6 +1870,47 @@ module Aws::CodeCommit
|
|
1312
1870
|
include Aws::Structure
|
1313
1871
|
end
|
1314
1872
|
|
1873
|
+
# @note When making an API call, you may pass DeletePullRequestApprovalRuleInput
|
1874
|
+
# data as a hash:
|
1875
|
+
#
|
1876
|
+
# {
|
1877
|
+
# pull_request_id: "PullRequestId", # required
|
1878
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
1879
|
+
# }
|
1880
|
+
#
|
1881
|
+
# @!attribute [rw] pull_request_id
|
1882
|
+
# The system-generated ID of the pull request that contains the
|
1883
|
+
# approval rule you want to delete.
|
1884
|
+
# @return [String]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] approval_rule_name
|
1887
|
+
# The name of the approval rule you want to delete.
|
1888
|
+
# @return [String]
|
1889
|
+
#
|
1890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRuleInput AWS API Documentation
|
1891
|
+
#
|
1892
|
+
class DeletePullRequestApprovalRuleInput < Struct.new(
|
1893
|
+
:pull_request_id,
|
1894
|
+
:approval_rule_name)
|
1895
|
+
include Aws::Structure
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# @!attribute [rw] approval_rule_id
|
1899
|
+
# The ID of the deleted approval rule.
|
1900
|
+
#
|
1901
|
+
# <note markdown="1"> If the approval rule was deleted in an earlier API call, the
|
1902
|
+
# response is 200 OK without content.
|
1903
|
+
#
|
1904
|
+
# </note>
|
1905
|
+
# @return [String]
|
1906
|
+
#
|
1907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRuleOutput AWS API Documentation
|
1908
|
+
#
|
1909
|
+
class DeletePullRequestApprovalRuleOutput < Struct.new(
|
1910
|
+
:approval_rule_id)
|
1911
|
+
include Aws::Structure
|
1912
|
+
end
|
1913
|
+
|
1315
1914
|
# Represents the input of a delete repository operation.
|
1316
1915
|
#
|
1317
1916
|
# @note When making an API call, you may pass DeleteRepositoryInput
|
@@ -1367,12 +1966,12 @@ module Aws::CodeCommit
|
|
1367
1966
|
#
|
1368
1967
|
# @!attribute [rw] destination_commit_specifier
|
1369
1968
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1370
|
-
# identify a commit
|
1969
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1371
1970
|
# @return [String]
|
1372
1971
|
#
|
1373
1972
|
# @!attribute [rw] source_commit_specifier
|
1374
1973
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1375
|
-
# identify a commit
|
1974
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1376
1975
|
# @return [String]
|
1377
1976
|
#
|
1378
1977
|
# @!attribute [rw] merge_option
|
@@ -1389,21 +1988,21 @@ module Aws::CodeCommit
|
|
1389
1988
|
#
|
1390
1989
|
# @!attribute [rw] conflict_detail_level
|
1391
1990
|
# The level of conflict detail to use. If unspecified, the default
|
1392
|
-
# FILE\_LEVEL is used, which
|
1991
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
1393
1992
|
# same file has differences in both branches. If LINE\_LEVEL is
|
1394
|
-
# specified, a conflict
|
1395
|
-
#
|
1993
|
+
# specified, a conflict is considered not mergeable if the same file
|
1994
|
+
# in both branches has differences on the same line.
|
1396
1995
|
# @return [String]
|
1397
1996
|
#
|
1398
1997
|
# @!attribute [rw] conflict_resolution_strategy
|
1399
1998
|
# Specifies which branch to use when resolving conflicts, or whether
|
1400
1999
|
# to attempt automatically merging two versions of a file. The default
|
1401
2000
|
# is NONE, which requires any conflicts to be resolved manually before
|
1402
|
-
# the merge operation
|
2001
|
+
# the merge operation is successful.
|
1403
2002
|
# @return [String]
|
1404
2003
|
#
|
1405
2004
|
# @!attribute [rw] next_token
|
1406
|
-
# An enumeration token that when provided in a request, returns the
|
2005
|
+
# An enumeration token that, when provided in a request, returns the
|
1407
2006
|
# next batch of the results.
|
1408
2007
|
# @return [String]
|
1409
2008
|
#
|
@@ -1466,7 +2065,7 @@ module Aws::CodeCommit
|
|
1466
2065
|
#
|
1467
2066
|
# {
|
1468
2067
|
# pull_request_id: "PullRequestId", # required
|
1469
|
-
# 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
|
2068
|
+
# 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, PULL_REQUEST_APPROVAL_RULE_CREATED, PULL_REQUEST_APPROVAL_RULE_UPDATED, PULL_REQUEST_APPROVAL_RULE_DELETED, PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN, PULL_REQUEST_APPROVAL_STATE_CHANGED
|
1470
2069
|
# actor_arn: "Arn",
|
1471
2070
|
# next_token: "NextToken",
|
1472
2071
|
# max_results: 1,
|
@@ -1484,19 +2083,19 @@ module Aws::CodeCommit
|
|
1484
2083
|
#
|
1485
2084
|
# @!attribute [rw] actor_arn
|
1486
2085
|
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
1487
|
-
# the event. Examples include updating the pull request with
|
1488
|
-
#
|
2086
|
+
# the event. Examples include updating the pull request with more
|
2087
|
+
# commits or changing the status of a pull request.
|
1489
2088
|
# @return [String]
|
1490
2089
|
#
|
1491
2090
|
# @!attribute [rw] next_token
|
1492
|
-
# An enumeration token that when provided in a request, returns the
|
2091
|
+
# An enumeration token that, when provided in a request, returns the
|
1493
2092
|
# next batch of the results.
|
1494
2093
|
# @return [String]
|
1495
2094
|
#
|
1496
2095
|
# @!attribute [rw] max_results
|
1497
|
-
# A non-negative integer used to limit the number of
|
1498
|
-
# The default is 100 events, which is also the
|
1499
|
-
# events that can be returned in a result.
|
2096
|
+
# A non-zero, non-negative integer used to limit the number of
|
2097
|
+
# returned results. The default is 100 events, which is also the
|
2098
|
+
# maximum number of events that can be returned in a result.
|
1500
2099
|
# @return [Integer]
|
1501
2100
|
#
|
1502
2101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput AWS API Documentation
|
@@ -1553,6 +2152,103 @@ module Aws::CodeCommit
|
|
1553
2152
|
include Aws::Structure
|
1554
2153
|
end
|
1555
2154
|
|
2155
|
+
# @note When making an API call, you may pass DisassociateApprovalRuleTemplateFromRepositoryInput
|
2156
|
+
# data as a hash:
|
2157
|
+
#
|
2158
|
+
# {
|
2159
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2160
|
+
# repository_name: "RepositoryName", # required
|
2161
|
+
# }
|
2162
|
+
#
|
2163
|
+
# @!attribute [rw] approval_rule_template_name
|
2164
|
+
# The name of the approval rule template to disassociate from a
|
2165
|
+
# specified repository.
|
2166
|
+
# @return [String]
|
2167
|
+
#
|
2168
|
+
# @!attribute [rw] repository_name
|
2169
|
+
# The name of the repository you want to disassociate from the
|
2170
|
+
# template.
|
2171
|
+
# @return [String]
|
2172
|
+
#
|
2173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepositoryInput AWS API Documentation
|
2174
|
+
#
|
2175
|
+
class DisassociateApprovalRuleTemplateFromRepositoryInput < Struct.new(
|
2176
|
+
:approval_rule_template_name,
|
2177
|
+
:repository_name)
|
2178
|
+
include Aws::Structure
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
# @note When making an API call, you may pass EvaluatePullRequestApprovalRulesInput
|
2182
|
+
# data as a hash:
|
2183
|
+
#
|
2184
|
+
# {
|
2185
|
+
# pull_request_id: "PullRequestId", # required
|
2186
|
+
# revision_id: "RevisionId", # required
|
2187
|
+
# }
|
2188
|
+
#
|
2189
|
+
# @!attribute [rw] pull_request_id
|
2190
|
+
# The system-generated ID of the pull request you want to evaluate.
|
2191
|
+
# @return [String]
|
2192
|
+
#
|
2193
|
+
# @!attribute [rw] revision_id
|
2194
|
+
# The system-generated ID for the pull request revision. To retrieve
|
2195
|
+
# the most recent revision ID for a pull request, use GetPullRequest.
|
2196
|
+
# @return [String]
|
2197
|
+
#
|
2198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRulesInput AWS API Documentation
|
2199
|
+
#
|
2200
|
+
class EvaluatePullRequestApprovalRulesInput < Struct.new(
|
2201
|
+
:pull_request_id,
|
2202
|
+
:revision_id)
|
2203
|
+
include Aws::Structure
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
# @!attribute [rw] evaluation
|
2207
|
+
# The result of the evaluation, including the names of the rules whose
|
2208
|
+
# conditions have been met (if any), the names of the rules whose
|
2209
|
+
# conditions have not been met (if any), whether the pull request is
|
2210
|
+
# in the approved state, and whether the pull request approval rule
|
2211
|
+
# has been set aside by an override.
|
2212
|
+
# @return [Types::Evaluation]
|
2213
|
+
#
|
2214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRulesOutput AWS API Documentation
|
2215
|
+
#
|
2216
|
+
class EvaluatePullRequestApprovalRulesOutput < Struct.new(
|
2217
|
+
:evaluation)
|
2218
|
+
include Aws::Structure
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
# Returns information about the approval rules applied to a pull request
|
2222
|
+
# and whether conditions have been met.
|
2223
|
+
#
|
2224
|
+
# @!attribute [rw] approved
|
2225
|
+
# Whether the state of the pull request is approved.
|
2226
|
+
# @return [Boolean]
|
2227
|
+
#
|
2228
|
+
# @!attribute [rw] overridden
|
2229
|
+
# Whether the approval rule requirements for the pull request have
|
2230
|
+
# been overridden and no longer need to be met.
|
2231
|
+
# @return [Boolean]
|
2232
|
+
#
|
2233
|
+
# @!attribute [rw] approval_rules_satisfied
|
2234
|
+
# The names of the approval rules that have had their conditions met.
|
2235
|
+
# @return [Array<String>]
|
2236
|
+
#
|
2237
|
+
# @!attribute [rw] approval_rules_not_satisfied
|
2238
|
+
# The names of the approval rules that have not had their conditions
|
2239
|
+
# met.
|
2240
|
+
# @return [Array<String>]
|
2241
|
+
#
|
2242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Evaluation AWS API Documentation
|
2243
|
+
#
|
2244
|
+
class Evaluation < Struct.new(
|
2245
|
+
:approved,
|
2246
|
+
:overridden,
|
2247
|
+
:approval_rules_satisfied,
|
2248
|
+
:approval_rules_not_satisfied)
|
2249
|
+
include Aws::Structure
|
2250
|
+
end
|
2251
|
+
|
1556
2252
|
# Returns information about a file in a repository.
|
1557
2253
|
#
|
1558
2254
|
# @!attribute [rw] blob_id
|
@@ -1560,7 +2256,7 @@ module Aws::CodeCommit
|
|
1560
2256
|
# @return [String]
|
1561
2257
|
#
|
1562
2258
|
# @!attribute [rw] absolute_path
|
1563
|
-
# The fully
|
2259
|
+
# The fully qualified path to the file in the repository.
|
1564
2260
|
# @return [String]
|
1565
2261
|
#
|
1566
2262
|
# @!attribute [rw] relative_path
|
@@ -1583,11 +2279,11 @@ module Aws::CodeCommit
|
|
1583
2279
|
include Aws::Structure
|
1584
2280
|
end
|
1585
2281
|
|
1586
|
-
# A file
|
2282
|
+
# A file to be added, updated, or deleted as part of a commit.
|
1587
2283
|
#
|
1588
2284
|
# @!attribute [rw] absolute_path
|
1589
|
-
# The full path to the file
|
1590
|
-
#
|
2285
|
+
# The full path to the file to be added or updated, including the name
|
2286
|
+
# of the file.
|
1591
2287
|
# @return [String]
|
1592
2288
|
#
|
1593
2289
|
# @!attribute [rw] blob_id
|
@@ -1663,7 +2359,7 @@ module Aws::CodeCommit
|
|
1663
2359
|
# @return [String]
|
1664
2360
|
#
|
1665
2361
|
# @!attribute [rw] absolute_path
|
1666
|
-
# The fully
|
2362
|
+
# The fully qualified path of the folder in the repository.
|
1667
2363
|
# @return [String]
|
1668
2364
|
#
|
1669
2365
|
# @!attribute [rw] relative_path
|
@@ -1680,6 +2376,36 @@ module Aws::CodeCommit
|
|
1680
2376
|
include Aws::Structure
|
1681
2377
|
end
|
1682
2378
|
|
2379
|
+
# @note When making an API call, you may pass GetApprovalRuleTemplateInput
|
2380
|
+
# data as a hash:
|
2381
|
+
#
|
2382
|
+
# {
|
2383
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2384
|
+
# }
|
2385
|
+
#
|
2386
|
+
# @!attribute [rw] approval_rule_template_name
|
2387
|
+
# The name of the approval rule template for which you want to get
|
2388
|
+
# information.
|
2389
|
+
# @return [String]
|
2390
|
+
#
|
2391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplateInput AWS API Documentation
|
2392
|
+
#
|
2393
|
+
class GetApprovalRuleTemplateInput < Struct.new(
|
2394
|
+
:approval_rule_template_name)
|
2395
|
+
include Aws::Structure
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
# @!attribute [rw] approval_rule_template
|
2399
|
+
# The content and structure of the approval rule template.
|
2400
|
+
# @return [Types::ApprovalRuleTemplate]
|
2401
|
+
#
|
2402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplateOutput AWS API Documentation
|
2403
|
+
#
|
2404
|
+
class GetApprovalRuleTemplateOutput < Struct.new(
|
2405
|
+
:approval_rule_template)
|
2406
|
+
include Aws::Structure
|
2407
|
+
end
|
2408
|
+
|
1683
2409
|
# Represents the input of a get blob operation.
|
1684
2410
|
#
|
1685
2411
|
# @note When making an API call, you may pass GetBlobInput
|
@@ -1806,12 +2532,12 @@ module Aws::CodeCommit
|
|
1806
2532
|
#
|
1807
2533
|
# @!attribute [rw] before_commit_id
|
1808
2534
|
# To establish the directionality of the comparison, the full commit
|
1809
|
-
# ID of the
|
2535
|
+
# ID of the before commit.
|
1810
2536
|
# @return [String]
|
1811
2537
|
#
|
1812
2538
|
# @!attribute [rw] after_commit_id
|
1813
2539
|
# To establish the directionality of the comparison, the full commit
|
1814
|
-
# ID of the
|
2540
|
+
# ID of the after commit.
|
1815
2541
|
# @return [String]
|
1816
2542
|
#
|
1817
2543
|
# @!attribute [rw] next_token
|
@@ -1820,8 +2546,9 @@ module Aws::CodeCommit
|
|
1820
2546
|
# @return [String]
|
1821
2547
|
#
|
1822
2548
|
# @!attribute [rw] max_results
|
1823
|
-
# A non-negative integer used to limit the number of
|
1824
|
-
# The default is 100 comments,
|
2549
|
+
# A non-zero, non-negative integer used to limit the number of
|
2550
|
+
# returned results. The default is 100 comments, but you can configure
|
2551
|
+
# up to 500.
|
1825
2552
|
# @return [Integer]
|
1826
2553
|
#
|
1827
2554
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput AWS API Documentation
|
@@ -1884,14 +2611,14 @@ module Aws::CodeCommit
|
|
1884
2611
|
# @return [String]
|
1885
2612
|
#
|
1886
2613
|
# @!attribute [rw] next_token
|
1887
|
-
# An enumeration token that when provided in a request, returns the
|
2614
|
+
# An enumeration token that, when provided in a request, returns the
|
1888
2615
|
# next batch of the results.
|
1889
2616
|
# @return [String]
|
1890
2617
|
#
|
1891
2618
|
# @!attribute [rw] max_results
|
1892
|
-
# A non-negative integer used to limit the number of
|
1893
|
-
# The default is 100 comments. You can return up to
|
1894
|
-
# a single request.
|
2619
|
+
# A non-zero, non-negative integer used to limit the number of
|
2620
|
+
# returned results. The default is 100 comments. You can return up to
|
2621
|
+
# 500 comments with a single request.
|
1895
2622
|
# @return [Integer]
|
1896
2623
|
#
|
1897
2624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput AWS API Documentation
|
@@ -1938,7 +2665,7 @@ module Aws::CodeCommit
|
|
1938
2665
|
# @return [String]
|
1939
2666
|
#
|
1940
2667
|
# @!attribute [rw] commit_id
|
1941
|
-
# The commit ID. Commit IDs are the full SHA of the commit.
|
2668
|
+
# The commit ID. Commit IDs are the full SHA ID of the commit.
|
1942
2669
|
# @return [String]
|
1943
2670
|
#
|
1944
2671
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput AWS API Documentation
|
@@ -1982,9 +2709,9 @@ module Aws::CodeCommit
|
|
1982
2709
|
#
|
1983
2710
|
# @!attribute [rw] before_commit_specifier
|
1984
2711
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1985
|
-
# identify a commit
|
1986
|
-
# specified, all changes
|
1987
|
-
#
|
2712
|
+
# identify a commit (for example, the full commit ID). Optional. If
|
2713
|
+
# not specified, all changes before the `afterCommitSpecifier` value
|
2714
|
+
# are shown. If you do not use `beforeCommitSpecifier` in your
|
1988
2715
|
# request, consider limiting the results with `maxResults`.
|
1989
2716
|
# @return [String]
|
1990
2717
|
#
|
@@ -1997,22 +2724,23 @@ module Aws::CodeCommit
|
|
1997
2724
|
# The file path in which to check for differences. Limits the results
|
1998
2725
|
# to this path. Can also be used to specify the previous name of a
|
1999
2726
|
# directory or folder. If `beforePath` and `afterPath` are not
|
2000
|
-
# specified, differences
|
2727
|
+
# specified, differences are shown for all paths.
|
2001
2728
|
# @return [String]
|
2002
2729
|
#
|
2003
2730
|
# @!attribute [rw] after_path
|
2004
2731
|
# The file path in which to check differences. Limits the results to
|
2005
2732
|
# this path. Can also be used to specify the changed name of a
|
2006
2733
|
# directory or folder, if it has changed. If not specified,
|
2007
|
-
# differences
|
2734
|
+
# differences are shown for all paths.
|
2008
2735
|
# @return [String]
|
2009
2736
|
#
|
2010
2737
|
# @!attribute [rw] max_results
|
2011
|
-
# A non-negative integer used to limit the number of
|
2738
|
+
# A non-zero, non-negative integer used to limit the number of
|
2739
|
+
# returned results.
|
2012
2740
|
# @return [Integer]
|
2013
2741
|
#
|
2014
2742
|
# @!attribute [rw] next_token
|
2015
|
-
# An enumeration token that when provided in a request, returns the
|
2743
|
+
# An enumeration token that, when provided in a request, returns the
|
2016
2744
|
# next batch of the results.
|
2017
2745
|
# @return [String]
|
2018
2746
|
#
|
@@ -2030,9 +2758,9 @@ module Aws::CodeCommit
|
|
2030
2758
|
end
|
2031
2759
|
|
2032
2760
|
# @!attribute [rw] differences
|
2033
|
-
# A
|
2034
|
-
#
|
2035
|
-
#
|
2761
|
+
# A data type object that contains information about the differences,
|
2762
|
+
# including whether the difference is added, modified, or deleted (A,
|
2763
|
+
# D, M).
|
2036
2764
|
# @return [Array<Types::Difference>]
|
2037
2765
|
#
|
2038
2766
|
# @!attribute [rw] next_token
|
@@ -2062,17 +2790,16 @@ module Aws::CodeCommit
|
|
2062
2790
|
# @return [String]
|
2063
2791
|
#
|
2064
2792
|
# @!attribute [rw] commit_specifier
|
2065
|
-
# The fully
|
2066
|
-
# contains the file. For example, you
|
2067
|
-
#
|
2068
|
-
# none is provided,
|
2793
|
+
# The fully quaified reference that identifies the commit that
|
2794
|
+
# contains the file. For example, you can specify a full commit ID, a
|
2795
|
+
# tag, a branch name, or a reference such as refs/heads/master. If
|
2796
|
+
# none is provided, the head commit is used.
|
2069
2797
|
# @return [String]
|
2070
2798
|
#
|
2071
2799
|
# @!attribute [rw] file_path
|
2072
|
-
# The fully
|
2073
|
-
# extension of the file. For example, /examples/file.md is the
|
2074
|
-
#
|
2075
|
-
# examples.
|
2800
|
+
# The fully qualified path to the file, including the full name and
|
2801
|
+
# extension of the file. For example, /examples/file.md is the fully
|
2802
|
+
# qualified path to a file named file.md in a folder named examples.
|
2076
2803
|
# @return [String]
|
2077
2804
|
#
|
2078
2805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFileInput AWS API Documentation
|
@@ -2094,8 +2821,8 @@ module Aws::CodeCommit
|
|
2094
2821
|
# @return [String]
|
2095
2822
|
#
|
2096
2823
|
# @!attribute [rw] file_path
|
2097
|
-
# The fully qualified path to the specified file.
|
2098
|
-
#
|
2824
|
+
# The fully qualified path to the specified file. Returns the name and
|
2825
|
+
# extension of the file.
|
2099
2826
|
# @return [String]
|
2100
2827
|
#
|
2101
2828
|
# @!attribute [rw] file_mode
|
@@ -2104,7 +2831,7 @@ module Aws::CodeCommit
|
|
2104
2831
|
#
|
2105
2832
|
# <note markdown="1"> The file mode permissions returned by this API are not the standard
|
2106
2833
|
# file mode permission values, such as 100644, but rather extrapolated
|
2107
|
-
# values. See
|
2834
|
+
# values. See the supported return values.
|
2108
2835
|
#
|
2109
2836
|
# </note>
|
2110
2837
|
# @return [String]
|
@@ -2144,16 +2871,16 @@ module Aws::CodeCommit
|
|
2144
2871
|
# @return [String]
|
2145
2872
|
#
|
2146
2873
|
# @!attribute [rw] commit_specifier
|
2147
|
-
# A fully
|
2148
|
-
# the version of the folder's content to return. A fully
|
2874
|
+
# A fully qualified reference used to identify a commit that contains
|
2875
|
+
# the version of the folder's content to return. A fully qualified
|
2149
2876
|
# reference can be a commit ID, branch name, tag, or reference such as
|
2150
|
-
# HEAD. If no specifier is provided, the folder content
|
2151
|
-
#
|
2877
|
+
# HEAD. If no specifier is provided, the folder content is returned as
|
2878
|
+
# it exists in the HEAD commit.
|
2152
2879
|
# @return [String]
|
2153
2880
|
#
|
2154
2881
|
# @!attribute [rw] folder_path
|
2155
|
-
# The fully
|
2156
|
-
#
|
2882
|
+
# The fully qualified path to the folder whose contents are returned,
|
2883
|
+
# including the folder name. For example, /examples is a
|
2157
2884
|
# fully-qualified path to a folder named examples that was created off
|
2158
2885
|
# of the root directory (/) of a repository.
|
2159
2886
|
# @return [String]
|
@@ -2168,12 +2895,12 @@ module Aws::CodeCommit
|
|
2168
2895
|
end
|
2169
2896
|
|
2170
2897
|
# @!attribute [rw] commit_id
|
2171
|
-
# The full commit ID used as a reference for
|
2172
|
-
# folder content
|
2898
|
+
# The full commit ID used as a reference for the returned version of
|
2899
|
+
# the folder content.
|
2173
2900
|
# @return [String]
|
2174
2901
|
#
|
2175
2902
|
# @!attribute [rw] folder_path
|
2176
|
-
# The fully
|
2903
|
+
# The fully qualified path of the folder whose contents are returned.
|
2177
2904
|
# @return [String]
|
2178
2905
|
#
|
2179
2906
|
# @!attribute [rw] tree_id
|
@@ -2182,20 +2909,20 @@ module Aws::CodeCommit
|
|
2182
2909
|
# @return [String]
|
2183
2910
|
#
|
2184
2911
|
# @!attribute [rw] sub_folders
|
2185
|
-
# The list of folders that exist
|
2912
|
+
# The list of folders that exist under the specified folder, if any.
|
2186
2913
|
# @return [Array<Types::Folder>]
|
2187
2914
|
#
|
2188
2915
|
# @!attribute [rw] files
|
2189
|
-
# The list of files
|
2916
|
+
# The list of files in the specified folder, if any.
|
2190
2917
|
# @return [Array<Types::File>]
|
2191
2918
|
#
|
2192
2919
|
# @!attribute [rw] symbolic_links
|
2193
|
-
# The list of symbolic links to other files and folders
|
2194
|
-
#
|
2920
|
+
# The list of symbolic links to other files and folders in the
|
2921
|
+
# specified folder, if any.
|
2195
2922
|
# @return [Array<Types::SymbolicLink>]
|
2196
2923
|
#
|
2197
2924
|
# @!attribute [rw] sub_modules
|
2198
|
-
# The list of submodules
|
2925
|
+
# The list of submodules in the specified folder, if any.
|
2199
2926
|
# @return [Array<Types::SubModule>]
|
2200
2927
|
#
|
2201
2928
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolderOutput AWS API Documentation
|
@@ -2229,27 +2956,27 @@ module Aws::CodeCommit
|
|
2229
2956
|
#
|
2230
2957
|
# @!attribute [rw] source_commit_specifier
|
2231
2958
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2232
|
-
# identify a commit
|
2959
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2233
2960
|
# @return [String]
|
2234
2961
|
#
|
2235
2962
|
# @!attribute [rw] destination_commit_specifier
|
2236
2963
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2237
|
-
# identify a commit
|
2964
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2238
2965
|
# @return [String]
|
2239
2966
|
#
|
2240
2967
|
# @!attribute [rw] conflict_detail_level
|
2241
2968
|
# The level of conflict detail to use. If unspecified, the default
|
2242
|
-
# FILE\_LEVEL is used, which
|
2969
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2243
2970
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2244
|
-
# specified, a conflict
|
2245
|
-
#
|
2971
|
+
# specified, a conflict is considered not mergeable if the same file
|
2972
|
+
# in both branches has differences on the same line.
|
2246
2973
|
# @return [String]
|
2247
2974
|
#
|
2248
2975
|
# @!attribute [rw] conflict_resolution_strategy
|
2249
2976
|
# Specifies which branch to use when resolving conflicts, or whether
|
2250
2977
|
# to attempt automatically merging two versions of a file. The default
|
2251
2978
|
# is NONE, which requires any conflicts to be resolved manually before
|
2252
|
-
# the merge operation
|
2979
|
+
# the merge operation is successful.
|
2253
2980
|
# @return [String]
|
2254
2981
|
#
|
2255
2982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommitInput AWS API Documentation
|
@@ -2280,7 +3007,7 @@ module Aws::CodeCommit
|
|
2280
3007
|
# @!attribute [rw] merged_commit_id
|
2281
3008
|
# The commit ID for the merge commit created when the source branch
|
2282
3009
|
# was merged into the destination branch. If the fast-forward merge
|
2283
|
-
# strategy was used, no merge commit
|
3010
|
+
# strategy was used, there is no merge commit.
|
2284
3011
|
# @return [String]
|
2285
3012
|
#
|
2286
3013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommitOutput AWS API Documentation
|
@@ -2313,12 +3040,12 @@ module Aws::CodeCommit
|
|
2313
3040
|
#
|
2314
3041
|
# @!attribute [rw] destination_commit_specifier
|
2315
3042
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2316
|
-
# identify a commit
|
3043
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2317
3044
|
# @return [String]
|
2318
3045
|
#
|
2319
3046
|
# @!attribute [rw] source_commit_specifier
|
2320
3047
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2321
|
-
# identify a commit
|
3048
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2322
3049
|
# @return [String]
|
2323
3050
|
#
|
2324
3051
|
# @!attribute [rw] merge_option
|
@@ -2327,10 +3054,10 @@ module Aws::CodeCommit
|
|
2327
3054
|
#
|
2328
3055
|
# @!attribute [rw] conflict_detail_level
|
2329
3056
|
# The level of conflict detail to use. If unspecified, the default
|
2330
|
-
# FILE\_LEVEL is used, which
|
3057
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2331
3058
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2332
|
-
# specified, a conflict
|
2333
|
-
#
|
3059
|
+
# specified, a conflict is considered not mergeable if the same file
|
3060
|
+
# in both branches has differences on the same line.
|
2334
3061
|
# @return [String]
|
2335
3062
|
#
|
2336
3063
|
# @!attribute [rw] max_conflict_files
|
@@ -2341,11 +3068,11 @@ module Aws::CodeCommit
|
|
2341
3068
|
# Specifies which branch to use when resolving conflicts, or whether
|
2342
3069
|
# to attempt automatically merging two versions of a file. The default
|
2343
3070
|
# is NONE, which requires any conflicts to be resolved manually before
|
2344
|
-
# the merge operation
|
3071
|
+
# the merge operation is successful.
|
2345
3072
|
# @return [String]
|
2346
3073
|
#
|
2347
3074
|
# @!attribute [rw] next_token
|
2348
|
-
# An enumeration token that when provided in a request, returns the
|
3075
|
+
# An enumeration token that, when provided in a request, returns the
|
2349
3076
|
# next batch of the results.
|
2350
3077
|
# @return [String]
|
2351
3078
|
#
|
@@ -2384,7 +3111,7 @@ module Aws::CodeCommit
|
|
2384
3111
|
#
|
2385
3112
|
# @!attribute [rw] conflict_metadata_list
|
2386
3113
|
# A list of metadata for any conflicting files. If the specified merge
|
2387
|
-
# strategy is FAST\_FORWARD\_MERGE, this list
|
3114
|
+
# strategy is FAST\_FORWARD\_MERGE, this list is always empty.
|
2388
3115
|
# @return [Array<Types::ConflictMetadata>]
|
2389
3116
|
#
|
2390
3117
|
# @!attribute [rw] next_token
|
@@ -2422,27 +3149,27 @@ module Aws::CodeCommit
|
|
2422
3149
|
#
|
2423
3150
|
# @!attribute [rw] source_commit_specifier
|
2424
3151
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2425
|
-
# identify a commit
|
3152
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2426
3153
|
# @return [String]
|
2427
3154
|
#
|
2428
3155
|
# @!attribute [rw] destination_commit_specifier
|
2429
3156
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2430
|
-
# identify a commit
|
3157
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2431
3158
|
# @return [String]
|
2432
3159
|
#
|
2433
3160
|
# @!attribute [rw] conflict_detail_level
|
2434
3161
|
# The level of conflict detail to use. If unspecified, the default
|
2435
|
-
# FILE\_LEVEL is used, which
|
3162
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2436
3163
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2437
|
-
# specified, a conflict
|
2438
|
-
#
|
3164
|
+
# specified, a conflict is considered not mergeable if the same file
|
3165
|
+
# in both branches has differences on the same line.
|
2439
3166
|
# @return [String]
|
2440
3167
|
#
|
2441
3168
|
# @!attribute [rw] conflict_resolution_strategy
|
2442
3169
|
# Specifies which branch to use when resolving conflicts, or whether
|
2443
3170
|
# to attempt automatically merging two versions of a file. The default
|
2444
3171
|
# is NONE, which requires any conflicts to be resolved manually before
|
2445
|
-
# the merge operation
|
3172
|
+
# the merge operation is successful.
|
2446
3173
|
# @return [String]
|
2447
3174
|
#
|
2448
3175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptionsInput AWS API Documentation
|
@@ -2484,6 +3211,41 @@ module Aws::CodeCommit
|
|
2484
3211
|
include Aws::Structure
|
2485
3212
|
end
|
2486
3213
|
|
3214
|
+
# @note When making an API call, you may pass GetPullRequestApprovalStatesInput
|
3215
|
+
# data as a hash:
|
3216
|
+
#
|
3217
|
+
# {
|
3218
|
+
# pull_request_id: "PullRequestId", # required
|
3219
|
+
# revision_id: "RevisionId", # required
|
3220
|
+
# }
|
3221
|
+
#
|
3222
|
+
# @!attribute [rw] pull_request_id
|
3223
|
+
# The system-generated ID for the pull request.
|
3224
|
+
# @return [String]
|
3225
|
+
#
|
3226
|
+
# @!attribute [rw] revision_id
|
3227
|
+
# The system-generated ID for the pull request revision.
|
3228
|
+
# @return [String]
|
3229
|
+
#
|
3230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStatesInput AWS API Documentation
|
3231
|
+
#
|
3232
|
+
class GetPullRequestApprovalStatesInput < Struct.new(
|
3233
|
+
:pull_request_id,
|
3234
|
+
:revision_id)
|
3235
|
+
include Aws::Structure
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
# @!attribute [rw] approvals
|
3239
|
+
# Information about users who have approved the pull request.
|
3240
|
+
# @return [Array<Types::Approval>]
|
3241
|
+
#
|
3242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStatesOutput AWS API Documentation
|
3243
|
+
#
|
3244
|
+
class GetPullRequestApprovalStatesOutput < Struct.new(
|
3245
|
+
:approvals)
|
3246
|
+
include Aws::Structure
|
3247
|
+
end
|
3248
|
+
|
2487
3249
|
# @note When making an API call, you may pass GetPullRequestInput
|
2488
3250
|
# data as a hash:
|
2489
3251
|
#
|
@@ -2514,6 +3276,51 @@ module Aws::CodeCommit
|
|
2514
3276
|
include Aws::Structure
|
2515
3277
|
end
|
2516
3278
|
|
3279
|
+
# @note When making an API call, you may pass GetPullRequestOverrideStateInput
|
3280
|
+
# data as a hash:
|
3281
|
+
#
|
3282
|
+
# {
|
3283
|
+
# pull_request_id: "PullRequestId", # required
|
3284
|
+
# revision_id: "RevisionId", # required
|
3285
|
+
# }
|
3286
|
+
#
|
3287
|
+
# @!attribute [rw] pull_request_id
|
3288
|
+
# The ID of the pull request for which you want to get information
|
3289
|
+
# about whether approval rules have been set aside (overridden).
|
3290
|
+
# @return [String]
|
3291
|
+
#
|
3292
|
+
# @!attribute [rw] revision_id
|
3293
|
+
# The system-generated ID of the revision for the pull request. To
|
3294
|
+
# retrieve the most recent revision ID, use GetPullRequest.
|
3295
|
+
# @return [String]
|
3296
|
+
#
|
3297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideStateInput AWS API Documentation
|
3298
|
+
#
|
3299
|
+
class GetPullRequestOverrideStateInput < Struct.new(
|
3300
|
+
:pull_request_id,
|
3301
|
+
:revision_id)
|
3302
|
+
include Aws::Structure
|
3303
|
+
end
|
3304
|
+
|
3305
|
+
# @!attribute [rw] overridden
|
3306
|
+
# A Boolean value that indicates whether a pull request has had its
|
3307
|
+
# rules set aside (TRUE) or whether all approval rules still apply
|
3308
|
+
# (FALSE).
|
3309
|
+
# @return [Boolean]
|
3310
|
+
#
|
3311
|
+
# @!attribute [rw] overrider
|
3312
|
+
# The Amazon Resource Name (ARN) of the user or identity that overrode
|
3313
|
+
# the rules and their requirements for the pull request.
|
3314
|
+
# @return [String]
|
3315
|
+
#
|
3316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideStateOutput AWS API Documentation
|
3317
|
+
#
|
3318
|
+
class GetPullRequestOverrideStateOutput < Struct.new(
|
3319
|
+
:overridden,
|
3320
|
+
:overrider)
|
3321
|
+
include Aws::Structure
|
3322
|
+
end
|
3323
|
+
|
2517
3324
|
# Represents the input of a get repository operation.
|
2518
3325
|
#
|
2519
3326
|
# @note When making an API call, you may pass GetRepositoryInput
|
@@ -2557,58 +3364,153 @@ module Aws::CodeCommit
|
|
2557
3364
|
# }
|
2558
3365
|
#
|
2559
3366
|
# @!attribute [rw] repository_name
|
2560
|
-
# The name of the repository for which the trigger is configured.
|
3367
|
+
# The name of the repository for which the trigger is configured.
|
3368
|
+
# @return [String]
|
3369
|
+
#
|
3370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput AWS API Documentation
|
3371
|
+
#
|
3372
|
+
class GetRepositoryTriggersInput < Struct.new(
|
3373
|
+
:repository_name)
|
3374
|
+
include Aws::Structure
|
3375
|
+
end
|
3376
|
+
|
3377
|
+
# Represents the output of a get repository triggers operation.
|
3378
|
+
#
|
3379
|
+
# @!attribute [rw] configuration_id
|
3380
|
+
# The system-generated unique ID for the trigger.
|
3381
|
+
# @return [String]
|
3382
|
+
#
|
3383
|
+
# @!attribute [rw] triggers
|
3384
|
+
# The JSON block of configuration information for each trigger.
|
3385
|
+
# @return [Array<Types::RepositoryTrigger>]
|
3386
|
+
#
|
3387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput AWS API Documentation
|
3388
|
+
#
|
3389
|
+
class GetRepositoryTriggersOutput < Struct.new(
|
3390
|
+
:configuration_id,
|
3391
|
+
:triggers)
|
3392
|
+
include Aws::Structure
|
3393
|
+
end
|
3394
|
+
|
3395
|
+
# Information about whether a file is binary or textual in a merge or
|
3396
|
+
# pull request operation.
|
3397
|
+
#
|
3398
|
+
# @!attribute [rw] source
|
3399
|
+
# The binary or non-binary status of file in the source of a merge or
|
3400
|
+
# pull request.
|
3401
|
+
# @return [Boolean]
|
3402
|
+
#
|
3403
|
+
# @!attribute [rw] destination
|
3404
|
+
# The binary or non-binary status of a file in the destination of a
|
3405
|
+
# merge or pull request.
|
3406
|
+
# @return [Boolean]
|
3407
|
+
#
|
3408
|
+
# @!attribute [rw] base
|
3409
|
+
# The binary or non-binary status of a file in the base of a merge or
|
3410
|
+
# pull request.
|
3411
|
+
# @return [Boolean]
|
3412
|
+
#
|
3413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
|
3414
|
+
#
|
3415
|
+
class IsBinaryFile < Struct.new(
|
3416
|
+
:source,
|
3417
|
+
:destination,
|
3418
|
+
:base)
|
3419
|
+
include Aws::Structure
|
3420
|
+
end
|
3421
|
+
|
3422
|
+
# @note When making an API call, you may pass ListApprovalRuleTemplatesInput
|
3423
|
+
# data as a hash:
|
3424
|
+
#
|
3425
|
+
# {
|
3426
|
+
# next_token: "NextToken",
|
3427
|
+
# max_results: 1,
|
3428
|
+
# }
|
3429
|
+
#
|
3430
|
+
# @!attribute [rw] next_token
|
3431
|
+
# An enumeration token that, when provided in a request, returns the
|
3432
|
+
# next batch of the results.
|
3433
|
+
# @return [String]
|
3434
|
+
#
|
3435
|
+
# @!attribute [rw] max_results
|
3436
|
+
# A non-zero, non-negative integer used to limit the number of
|
3437
|
+
# returned results.
|
3438
|
+
# @return [Integer]
|
3439
|
+
#
|
3440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
|
3441
|
+
#
|
3442
|
+
class ListApprovalRuleTemplatesInput < Struct.new(
|
3443
|
+
:next_token,
|
3444
|
+
:max_results)
|
3445
|
+
include Aws::Structure
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
# @!attribute [rw] approval_rule_template_names
|
3449
|
+
# The names of all the approval rule templates found in the AWS Region
|
3450
|
+
# for your AWS account.
|
3451
|
+
# @return [Array<String>]
|
3452
|
+
#
|
3453
|
+
# @!attribute [rw] next_token
|
3454
|
+
# An enumeration token that allows the operation to batch the next
|
3455
|
+
# results of the operation.
|
3456
|
+
# @return [String]
|
3457
|
+
#
|
3458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
|
3459
|
+
#
|
3460
|
+
class ListApprovalRuleTemplatesOutput < Struct.new(
|
3461
|
+
:approval_rule_template_names,
|
3462
|
+
:next_token)
|
3463
|
+
include Aws::Structure
|
3464
|
+
end
|
3465
|
+
|
3466
|
+
# @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
|
3467
|
+
# data as a hash:
|
3468
|
+
#
|
3469
|
+
# {
|
3470
|
+
# repository_name: "RepositoryName", # required
|
3471
|
+
# next_token: "NextToken",
|
3472
|
+
# max_results: 1,
|
3473
|
+
# }
|
3474
|
+
#
|
3475
|
+
# @!attribute [rw] repository_name
|
3476
|
+
# The name of the repository for which you want to list all associated
|
3477
|
+
# approval rule templates.
|
2561
3478
|
# @return [String]
|
2562
3479
|
#
|
2563
|
-
#
|
2564
|
-
#
|
2565
|
-
|
2566
|
-
:repository_name)
|
2567
|
-
include Aws::Structure
|
2568
|
-
end
|
2569
|
-
|
2570
|
-
# Represents the output of a get repository triggers operation.
|
2571
|
-
#
|
2572
|
-
# @!attribute [rw] configuration_id
|
2573
|
-
# The system-generated unique ID for the trigger.
|
3480
|
+
# @!attribute [rw] next_token
|
3481
|
+
# An enumeration token that, when provided in a request, returns the
|
3482
|
+
# next batch of the results.
|
2574
3483
|
# @return [String]
|
2575
3484
|
#
|
2576
|
-
# @!attribute [rw]
|
2577
|
-
#
|
2578
|
-
#
|
3485
|
+
# @!attribute [rw] max_results
|
3486
|
+
# A non-zero, non-negative integer used to limit the number of
|
3487
|
+
# returned results.
|
3488
|
+
# @return [Integer]
|
2579
3489
|
#
|
2580
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
3490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
|
2581
3491
|
#
|
2582
|
-
class
|
2583
|
-
:
|
2584
|
-
:
|
3492
|
+
class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
|
3493
|
+
:repository_name,
|
3494
|
+
:next_token,
|
3495
|
+
:max_results)
|
2585
3496
|
include Aws::Structure
|
2586
3497
|
end
|
2587
3498
|
|
2588
|
-
#
|
2589
|
-
#
|
2590
|
-
#
|
2591
|
-
#
|
2592
|
-
# The binary or non-binary status of file in the source of a merge or
|
2593
|
-
# pull request.
|
2594
|
-
# @return [Boolean]
|
2595
|
-
#
|
2596
|
-
# @!attribute [rw] destination
|
2597
|
-
# The binary or non-binary status of a file in the destination of a
|
2598
|
-
# merge or pull request.
|
2599
|
-
# @return [Boolean]
|
3499
|
+
# @!attribute [rw] approval_rule_template_names
|
3500
|
+
# The names of all approval rule templates associated with the
|
3501
|
+
# repository.
|
3502
|
+
# @return [Array<String>]
|
2600
3503
|
#
|
2601
|
-
# @!attribute [rw]
|
2602
|
-
#
|
2603
|
-
#
|
2604
|
-
# @return [
|
3504
|
+
# @!attribute [rw] next_token
|
3505
|
+
# An enumeration token that allows the operation to batch the next
|
3506
|
+
# results of the operation.
|
3507
|
+
# @return [String]
|
2605
3508
|
#
|
2606
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
3509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryOutput AWS API Documentation
|
2607
3510
|
#
|
2608
|
-
class
|
2609
|
-
:
|
2610
|
-
:
|
2611
|
-
:base)
|
3511
|
+
class ListAssociatedApprovalRuleTemplatesForRepositoryOutput < Struct.new(
|
3512
|
+
:approval_rule_template_names,
|
3513
|
+
:next_token)
|
2612
3514
|
include Aws::Structure
|
2613
3515
|
end
|
2614
3516
|
|
@@ -2683,12 +3585,13 @@ module Aws::CodeCommit
|
|
2683
3585
|
# @return [String]
|
2684
3586
|
#
|
2685
3587
|
# @!attribute [rw] next_token
|
2686
|
-
# An enumeration token that when provided in a request, returns the
|
3588
|
+
# An enumeration token that, when provided in a request, returns the
|
2687
3589
|
# next batch of the results.
|
2688
3590
|
# @return [String]
|
2689
3591
|
#
|
2690
3592
|
# @!attribute [rw] max_results
|
2691
|
-
# A non-negative integer used to limit the number of
|
3593
|
+
# A non-zero, non-negative integer used to limit the number of
|
3594
|
+
# returned results.
|
2692
3595
|
# @return [Integer]
|
2693
3596
|
#
|
2694
3597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput AWS API Documentation
|
@@ -2707,8 +3610,8 @@ module Aws::CodeCommit
|
|
2707
3610
|
# @return [Array<String>]
|
2708
3611
|
#
|
2709
3612
|
# @!attribute [rw] next_token
|
2710
|
-
# An enumeration token that
|
2711
|
-
#
|
3613
|
+
# An enumeration token that allows the operation to batch the next
|
3614
|
+
# results of the operation.
|
2712
3615
|
# @return [String]
|
2713
3616
|
#
|
2714
3617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput AWS API Documentation
|
@@ -2719,6 +3622,57 @@ module Aws::CodeCommit
|
|
2719
3622
|
include Aws::Structure
|
2720
3623
|
end
|
2721
3624
|
|
3625
|
+
# @note When making an API call, you may pass ListRepositoriesForApprovalRuleTemplateInput
|
3626
|
+
# data as a hash:
|
3627
|
+
#
|
3628
|
+
# {
|
3629
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
3630
|
+
# next_token: "NextToken",
|
3631
|
+
# max_results: 1,
|
3632
|
+
# }
|
3633
|
+
#
|
3634
|
+
# @!attribute [rw] approval_rule_template_name
|
3635
|
+
# The name of the approval rule template for which you want to list
|
3636
|
+
# repositories that are associated with that template.
|
3637
|
+
# @return [String]
|
3638
|
+
#
|
3639
|
+
# @!attribute [rw] next_token
|
3640
|
+
# An enumeration token that, when provided in a request, returns the
|
3641
|
+
# next batch of the results.
|
3642
|
+
# @return [String]
|
3643
|
+
#
|
3644
|
+
# @!attribute [rw] max_results
|
3645
|
+
# A non-zero, non-negative integer used to limit the number of
|
3646
|
+
# returned results.
|
3647
|
+
# @return [Integer]
|
3648
|
+
#
|
3649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplateInput AWS API Documentation
|
3650
|
+
#
|
3651
|
+
class ListRepositoriesForApprovalRuleTemplateInput < Struct.new(
|
3652
|
+
:approval_rule_template_name,
|
3653
|
+
:next_token,
|
3654
|
+
:max_results)
|
3655
|
+
include Aws::Structure
|
3656
|
+
end
|
3657
|
+
|
3658
|
+
# @!attribute [rw] repository_names
|
3659
|
+
# A list of repository names that are associated with the specified
|
3660
|
+
# approval rule template.
|
3661
|
+
# @return [Array<String>]
|
3662
|
+
#
|
3663
|
+
# @!attribute [rw] next_token
|
3664
|
+
# An enumeration token that allows the operation to batch the next
|
3665
|
+
# results of the operation.
|
3666
|
+
# @return [String]
|
3667
|
+
#
|
3668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplateOutput AWS API Documentation
|
3669
|
+
#
|
3670
|
+
class ListRepositoriesForApprovalRuleTemplateOutput < Struct.new(
|
3671
|
+
:repository_names,
|
3672
|
+
:next_token)
|
3673
|
+
include Aws::Structure
|
3674
|
+
end
|
3675
|
+
|
2722
3676
|
# Represents the input of a list repositories operation.
|
2723
3677
|
#
|
2724
3678
|
# @note When making an API call, you may pass ListRepositoriesInput
|
@@ -2791,7 +3745,7 @@ module Aws::CodeCommit
|
|
2791
3745
|
# @return [String]
|
2792
3746
|
#
|
2793
3747
|
# @!attribute [rw] next_token
|
2794
|
-
# An enumeration token that when provided in a request, returns the
|
3748
|
+
# An enumeration token that, when provided in a request, returns the
|
2795
3749
|
# next batch of the results.
|
2796
3750
|
# @return [String]
|
2797
3751
|
#
|
@@ -2839,13 +3793,12 @@ module Aws::CodeCommit
|
|
2839
3793
|
# @return [String]
|
2840
3794
|
#
|
2841
3795
|
# @!attribute [rw] file_position
|
2842
|
-
# The position of a change
|
2843
|
-
# format.
|
3796
|
+
# The position of a change in a compared file, in line number format.
|
2844
3797
|
# @return [Integer]
|
2845
3798
|
#
|
2846
3799
|
# @!attribute [rw] relative_file_version
|
2847
3800
|
# In a comparison of commits or a pull request, whether the change is
|
2848
|
-
# in the
|
3801
|
+
# in the before or after of that comparison.
|
2849
3802
|
# @return [String]
|
2850
3803
|
#
|
2851
3804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location AWS API Documentation
|
@@ -2873,16 +3826,16 @@ module Aws::CodeCommit
|
|
2873
3826
|
#
|
2874
3827
|
# @!attribute [rw] source_commit_specifier
|
2875
3828
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2876
|
-
# identify a commit
|
3829
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2877
3830
|
# @return [String]
|
2878
3831
|
#
|
2879
3832
|
# @!attribute [rw] destination_commit_specifier
|
2880
3833
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2881
|
-
# identify a commit
|
3834
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2882
3835
|
# @return [String]
|
2883
3836
|
#
|
2884
3837
|
# @!attribute [rw] target_branch
|
2885
|
-
# The branch where the merge
|
3838
|
+
# The branch where the merge is applied.
|
2886
3839
|
# @return [String]
|
2887
3840
|
#
|
2888
3841
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForwardInput AWS API Documentation
|
@@ -2954,41 +3907,41 @@ module Aws::CodeCommit
|
|
2954
3907
|
#
|
2955
3908
|
# @!attribute [rw] source_commit_specifier
|
2956
3909
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2957
|
-
# identify a commit
|
3910
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2958
3911
|
# @return [String]
|
2959
3912
|
#
|
2960
3913
|
# @!attribute [rw] destination_commit_specifier
|
2961
3914
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2962
|
-
# identify a commit
|
3915
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2963
3916
|
# @return [String]
|
2964
3917
|
#
|
2965
3918
|
# @!attribute [rw] target_branch
|
2966
|
-
# The branch where the merge
|
3919
|
+
# The branch where the merge is applied.
|
2967
3920
|
# @return [String]
|
2968
3921
|
#
|
2969
3922
|
# @!attribute [rw] conflict_detail_level
|
2970
3923
|
# The level of conflict detail to use. If unspecified, the default
|
2971
|
-
# FILE\_LEVEL is used, which
|
3924
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2972
3925
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2973
|
-
# specified, a conflict
|
2974
|
-
#
|
3926
|
+
# specified, a conflict is considered not mergeable if the same file
|
3927
|
+
# in both branches has differences on the same line.
|
2975
3928
|
# @return [String]
|
2976
3929
|
#
|
2977
3930
|
# @!attribute [rw] conflict_resolution_strategy
|
2978
3931
|
# Specifies which branch to use when resolving conflicts, or whether
|
2979
3932
|
# to attempt automatically merging two versions of a file. The default
|
2980
3933
|
# is NONE, which requires any conflicts to be resolved manually before
|
2981
|
-
# the merge operation
|
3934
|
+
# the merge operation is successful.
|
2982
3935
|
# @return [String]
|
2983
3936
|
#
|
2984
3937
|
# @!attribute [rw] author_name
|
2985
|
-
# The name of the author who created the commit. This information
|
2986
|
-
#
|
3938
|
+
# The name of the author who created the commit. This information is
|
3939
|
+
# used as both the author and committer for the commit.
|
2987
3940
|
# @return [String]
|
2988
3941
|
#
|
2989
3942
|
# @!attribute [rw] email
|
2990
3943
|
# The email address of the person merging the branches. This
|
2991
|
-
# information
|
3944
|
+
# information is used in the commit information for the merge.
|
2992
3945
|
# @return [String]
|
2993
3946
|
#
|
2994
3947
|
# @!attribute [rw] commit_message
|
@@ -2998,13 +3951,13 @@ module Aws::CodeCommit
|
|
2998
3951
|
# @!attribute [rw] keep_empty_folders
|
2999
3952
|
# If the commit contains deletions, whether to keep a folder or folder
|
3000
3953
|
# structure if the changes leave the folders empty. If this is
|
3001
|
-
# specified as true, a .gitkeep file
|
3002
|
-
#
|
3954
|
+
# specified as true, a .gitkeep file is created for empty folders. The
|
3955
|
+
# default is false.
|
3003
3956
|
# @return [Boolean]
|
3004
3957
|
#
|
3005
3958
|
# @!attribute [rw] conflict_resolution
|
3006
|
-
#
|
3007
|
-
#
|
3959
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
3960
|
+
# to use when resolving conflicts during a merge.
|
3008
3961
|
# @return [Types::ConflictResolution]
|
3009
3962
|
#
|
3010
3963
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquashInput AWS API Documentation
|
@@ -3083,41 +4036,41 @@ module Aws::CodeCommit
|
|
3083
4036
|
#
|
3084
4037
|
# @!attribute [rw] source_commit_specifier
|
3085
4038
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
3086
|
-
# identify a commit
|
4039
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
3087
4040
|
# @return [String]
|
3088
4041
|
#
|
3089
4042
|
# @!attribute [rw] destination_commit_specifier
|
3090
4043
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
3091
|
-
# identify a commit
|
4044
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
3092
4045
|
# @return [String]
|
3093
4046
|
#
|
3094
4047
|
# @!attribute [rw] target_branch
|
3095
|
-
# The branch where the merge
|
4048
|
+
# The branch where the merge is applied.
|
3096
4049
|
# @return [String]
|
3097
4050
|
#
|
3098
4051
|
# @!attribute [rw] conflict_detail_level
|
3099
4052
|
# The level of conflict detail to use. If unspecified, the default
|
3100
|
-
# FILE\_LEVEL is used, which
|
4053
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3101
4054
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3102
|
-
# specified, a conflict
|
3103
|
-
#
|
4055
|
+
# specified, a conflict is considered not mergeable if the same file
|
4056
|
+
# in both branches has differences on the same line.
|
3104
4057
|
# @return [String]
|
3105
4058
|
#
|
3106
4059
|
# @!attribute [rw] conflict_resolution_strategy
|
3107
4060
|
# Specifies which branch to use when resolving conflicts, or whether
|
3108
4061
|
# to attempt automatically merging two versions of a file. The default
|
3109
4062
|
# is NONE, which requires any conflicts to be resolved manually before
|
3110
|
-
# the merge operation
|
4063
|
+
# the merge operation is successful.
|
3111
4064
|
# @return [String]
|
3112
4065
|
#
|
3113
4066
|
# @!attribute [rw] author_name
|
3114
|
-
# The name of the author who created the commit. This information
|
3115
|
-
#
|
4067
|
+
# The name of the author who created the commit. This information is
|
4068
|
+
# used as both the author and committer for the commit.
|
3116
4069
|
# @return [String]
|
3117
4070
|
#
|
3118
4071
|
# @!attribute [rw] email
|
3119
4072
|
# The email address of the person merging the branches. This
|
3120
|
-
# information
|
4073
|
+
# information is used in the commit information for the merge.
|
3121
4074
|
# @return [String]
|
3122
4075
|
#
|
3123
4076
|
# @!attribute [rw] commit_message
|
@@ -3127,14 +4080,13 @@ module Aws::CodeCommit
|
|
3127
4080
|
#
|
3128
4081
|
# @!attribute [rw] keep_empty_folders
|
3129
4082
|
# If the commit contains deletions, whether to keep a folder or folder
|
3130
|
-
# structure if the changes leave the folders empty. If
|
3131
|
-
#
|
3132
|
-
# folders. The default is false.
|
4083
|
+
# structure if the changes leave the folders empty. If true, a
|
4084
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3133
4085
|
# @return [Boolean]
|
3134
4086
|
#
|
3135
4087
|
# @!attribute [rw] conflict_resolution
|
3136
|
-
#
|
3137
|
-
#
|
4088
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
4089
|
+
# to use when resolving conflicts during a merge.
|
3138
4090
|
# @return [Types::ConflictResolution]
|
3139
4091
|
#
|
3140
4092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWayInput AWS API Documentation
|
@@ -3176,10 +4128,9 @@ module Aws::CodeCommit
|
|
3176
4128
|
# A Boolean value indicating whether a combination of hunks contains a
|
3177
4129
|
# conflict. Conflicts occur when the same file or the same lines in a
|
3178
4130
|
# file were modified in both the source and destination of a merge or
|
3179
|
-
# pull request. Valid values include true, false, and null.
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
# set this to be true.
|
4131
|
+
# pull request. Valid values include true, false, and null. True when
|
4132
|
+
# the hunk represents a conflict and one or more files contains a line
|
4133
|
+
# conflict. File mode conflicts in a merge do not set this to true.
|
3183
4134
|
# @return [Boolean]
|
3184
4135
|
#
|
3185
4136
|
# @!attribute [rw] source
|
@@ -3219,8 +4170,8 @@ module Aws::CodeCommit
|
|
3219
4170
|
# @return [Integer]
|
3220
4171
|
#
|
3221
4172
|
# @!attribute [rw] hunk_content
|
3222
|
-
# The base-64 encoded content of the hunk merged region that might
|
3223
|
-
#
|
4173
|
+
# The base-64 encoded content of the hunk merged region that might
|
4174
|
+
# contain a conflict.
|
3224
4175
|
# @return [String]
|
3225
4176
|
#
|
3226
4177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeHunkDetail AWS API Documentation
|
@@ -3264,8 +4215,8 @@ module Aws::CodeCommit
|
|
3264
4215
|
# Information about the file operation conflicts in a merge operation.
|
3265
4216
|
#
|
3266
4217
|
# @!attribute [rw] source
|
3267
|
-
# The operation
|
3268
|
-
#
|
4218
|
+
# The operation (add, modify, or delete) on a file in the source of a
|
4219
|
+
# merge or pull request.
|
3269
4220
|
# @return [String]
|
3270
4221
|
#
|
3271
4222
|
# @!attribute [rw] destination
|
@@ -3316,8 +4267,7 @@ module Aws::CodeCommit
|
|
3316
4267
|
end
|
3317
4268
|
|
3318
4269
|
# @!attribute [rw] pull_request
|
3319
|
-
# Information about the specified pull request, including
|
3320
|
-
# about the merge.
|
4270
|
+
# Information about the specified pull request, including the merge.
|
3321
4271
|
# @return [Types::PullRequest]
|
3322
4272
|
#
|
3323
4273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput AWS API Documentation
|
@@ -3381,17 +4331,17 @@ module Aws::CodeCommit
|
|
3381
4331
|
#
|
3382
4332
|
# @!attribute [rw] conflict_detail_level
|
3383
4333
|
# The level of conflict detail to use. If unspecified, the default
|
3384
|
-
# FILE\_LEVEL is used, which
|
4334
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3385
4335
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3386
|
-
# specified, a conflict
|
3387
|
-
#
|
4336
|
+
# specified, a conflict is considered not mergeable if the same file
|
4337
|
+
# in both branches has differences on the same line.
|
3388
4338
|
# @return [String]
|
3389
4339
|
#
|
3390
4340
|
# @!attribute [rw] conflict_resolution_strategy
|
3391
4341
|
# Specifies which branch to use when resolving conflicts, or whether
|
3392
4342
|
# to attempt automatically merging two versions of a file. The default
|
3393
4343
|
# is NONE, which requires any conflicts to be resolved manually before
|
3394
|
-
# the merge operation
|
4344
|
+
# the merge operation is successful.
|
3395
4345
|
# @return [String]
|
3396
4346
|
#
|
3397
4347
|
# @!attribute [rw] commit_message
|
@@ -3400,25 +4350,24 @@ module Aws::CodeCommit
|
|
3400
4350
|
# @return [String]
|
3401
4351
|
#
|
3402
4352
|
# @!attribute [rw] author_name
|
3403
|
-
# The name of the author who created the commit. This information
|
3404
|
-
#
|
4353
|
+
# The name of the author who created the commit. This information is
|
4354
|
+
# used as both the author and committer for the commit.
|
3405
4355
|
# @return [String]
|
3406
4356
|
#
|
3407
4357
|
# @!attribute [rw] email
|
3408
4358
|
# The email address of the person merging the branches. This
|
3409
|
-
# information
|
4359
|
+
# information is used in the commit information for the merge.
|
3410
4360
|
# @return [String]
|
3411
4361
|
#
|
3412
4362
|
# @!attribute [rw] keep_empty_folders
|
3413
4363
|
# If the commit contains deletions, whether to keep a folder or folder
|
3414
|
-
# structure if the changes leave the folders empty. If
|
3415
|
-
#
|
3416
|
-
# folders. The default is false.
|
4364
|
+
# structure if the changes leave the folders empty. If true, a
|
4365
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3417
4366
|
# @return [Boolean]
|
3418
4367
|
#
|
3419
4368
|
# @!attribute [rw] conflict_resolution
|
3420
|
-
#
|
3421
|
-
#
|
4369
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
4370
|
+
# to use when resolving conflicts during a merge.
|
3422
4371
|
# @return [Types::ConflictResolution]
|
3423
4372
|
#
|
3424
4373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquashInput AWS API Documentation
|
@@ -3502,17 +4451,17 @@ module Aws::CodeCommit
|
|
3502
4451
|
#
|
3503
4452
|
# @!attribute [rw] conflict_detail_level
|
3504
4453
|
# The level of conflict detail to use. If unspecified, the default
|
3505
|
-
# FILE\_LEVEL is used, which
|
4454
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3506
4455
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3507
|
-
# specified, a conflict
|
3508
|
-
#
|
4456
|
+
# specified, a conflict is considered not mergeable if the same file
|
4457
|
+
# in both branches has differences on the same line.
|
3509
4458
|
# @return [String]
|
3510
4459
|
#
|
3511
4460
|
# @!attribute [rw] conflict_resolution_strategy
|
3512
4461
|
# Specifies which branch to use when resolving conflicts, or whether
|
3513
4462
|
# to attempt automatically merging two versions of a file. The default
|
3514
4463
|
# is NONE, which requires any conflicts to be resolved manually before
|
3515
|
-
# the merge operation
|
4464
|
+
# the merge operation is successful.
|
3516
4465
|
# @return [String]
|
3517
4466
|
#
|
3518
4467
|
# @!attribute [rw] commit_message
|
@@ -3521,25 +4470,24 @@ module Aws::CodeCommit
|
|
3521
4470
|
# @return [String]
|
3522
4471
|
#
|
3523
4472
|
# @!attribute [rw] author_name
|
3524
|
-
# The name of the author who created the commit. This information
|
3525
|
-
#
|
4473
|
+
# The name of the author who created the commit. This information is
|
4474
|
+
# used as both the author and committer for the commit.
|
3526
4475
|
# @return [String]
|
3527
4476
|
#
|
3528
4477
|
# @!attribute [rw] email
|
3529
4478
|
# The email address of the person merging the branches. This
|
3530
|
-
# information
|
4479
|
+
# information is used in the commit information for the merge.
|
3531
4480
|
# @return [String]
|
3532
4481
|
#
|
3533
4482
|
# @!attribute [rw] keep_empty_folders
|
3534
4483
|
# If the commit contains deletions, whether to keep a folder or folder
|
3535
|
-
# structure if the changes leave the folders empty. If
|
3536
|
-
#
|
3537
|
-
# folders. The default is false.
|
4484
|
+
# structure if the changes leave the folders empty. If true, a
|
4485
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3538
4486
|
# @return [Boolean]
|
3539
4487
|
#
|
3540
4488
|
# @!attribute [rw] conflict_resolution
|
3541
|
-
#
|
3542
|
-
#
|
4489
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
4490
|
+
# to use when resolving conflicts during a merge.
|
3543
4491
|
# @return [Types::ConflictResolution]
|
3544
4492
|
#
|
3545
4493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWayInput AWS API Documentation
|
@@ -3592,6 +4540,62 @@ module Aws::CodeCommit
|
|
3592
4540
|
include Aws::Structure
|
3593
4541
|
end
|
3594
4542
|
|
4543
|
+
# Returns information about the template that created the approval rule
|
4544
|
+
# for a pull request.
|
4545
|
+
#
|
4546
|
+
# @!attribute [rw] approval_rule_template_id
|
4547
|
+
# The ID of the template that created the approval rule.
|
4548
|
+
# @return [String]
|
4549
|
+
#
|
4550
|
+
# @!attribute [rw] approval_rule_template_name
|
4551
|
+
# The name of the template that created the approval rule.
|
4552
|
+
# @return [String]
|
4553
|
+
#
|
4554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OriginApprovalRuleTemplate AWS API Documentation
|
4555
|
+
#
|
4556
|
+
class OriginApprovalRuleTemplate < Struct.new(
|
4557
|
+
:approval_rule_template_id,
|
4558
|
+
:approval_rule_template_name)
|
4559
|
+
include Aws::Structure
|
4560
|
+
end
|
4561
|
+
|
4562
|
+
# @note When making an API call, you may pass OverridePullRequestApprovalRulesInput
|
4563
|
+
# data as a hash:
|
4564
|
+
#
|
4565
|
+
# {
|
4566
|
+
# pull_request_id: "PullRequestId", # required
|
4567
|
+
# revision_id: "RevisionId", # required
|
4568
|
+
# override_status: "OVERRIDE", # required, accepts OVERRIDE, REVOKE
|
4569
|
+
# }
|
4570
|
+
#
|
4571
|
+
# @!attribute [rw] pull_request_id
|
4572
|
+
# The system-generated ID of the pull request for which you want to
|
4573
|
+
# override all approval rule requirements. To get this information,
|
4574
|
+
# use GetPullRequest.
|
4575
|
+
# @return [String]
|
4576
|
+
#
|
4577
|
+
# @!attribute [rw] revision_id
|
4578
|
+
# The system-generated ID of the most recent revision of the pull
|
4579
|
+
# request. You cannot override approval rules for anything but the
|
4580
|
+
# most recent revision of a pull request. To get the revision ID, use
|
4581
|
+
# GetPullRequest.
|
4582
|
+
# @return [String]
|
4583
|
+
#
|
4584
|
+
# @!attribute [rw] override_status
|
4585
|
+
# Whether you want to set aside approval rule requirements for the
|
4586
|
+
# pull request (OVERRIDE) or revoke a previous override and apply
|
4587
|
+
# approval rule requirements (REVOKE). REVOKE status is not stored.
|
4588
|
+
# @return [String]
|
4589
|
+
#
|
4590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRulesInput AWS API Documentation
|
4591
|
+
#
|
4592
|
+
class OverridePullRequestApprovalRulesInput < Struct.new(
|
4593
|
+
:pull_request_id,
|
4594
|
+
:revision_id,
|
4595
|
+
:override_status)
|
4596
|
+
include Aws::Structure
|
4597
|
+
end
|
4598
|
+
|
3595
4599
|
# @note When making an API call, you may pass PostCommentForComparedCommitInput
|
3596
4600
|
# data as a hash:
|
3597
4601
|
#
|
@@ -3615,17 +4619,13 @@ module Aws::CodeCommit
|
|
3615
4619
|
#
|
3616
4620
|
# @!attribute [rw] before_commit_id
|
3617
4621
|
# To establish the directionality of the comparison, the full commit
|
3618
|
-
# ID of the
|
3619
|
-
#
|
3620
|
-
# <note markdown="1"> This is required for commenting on any commit unless that commit is
|
3621
|
-
# the initial commit.
|
3622
|
-
#
|
3623
|
-
# </note>
|
4622
|
+
# ID of the before commit. Required for commenting on any commit
|
4623
|
+
# unless that commit is the initial commit.
|
3624
4624
|
# @return [String]
|
3625
4625
|
#
|
3626
4626
|
# @!attribute [rw] after_commit_id
|
3627
4627
|
# To establish the directionality of the comparison, the full commit
|
3628
|
-
# ID of the
|
4628
|
+
# ID of the after commit.
|
3629
4629
|
# @return [String]
|
3630
4630
|
#
|
3631
4631
|
# @!attribute [rw] location
|
@@ -3637,11 +4637,11 @@ module Aws::CodeCommit
|
|
3637
4637
|
# @return [String]
|
3638
4638
|
#
|
3639
4639
|
# @!attribute [rw] client_request_token
|
3640
|
-
# A unique, client-generated idempotency token that when provided in
|
3641
|
-
# request, ensures the request cannot be repeated with a changed
|
4640
|
+
# A unique, client-generated idempotency token that, when provided in
|
4641
|
+
# a request, ensures the request cannot be repeated with a changed
|
3642
4642
|
# parameter. If a request is received with the same parameters and a
|
3643
|
-
# token is included, the request
|
3644
|
-
#
|
4643
|
+
# token is included, the request returns information about the initial
|
4644
|
+
# request that used that token.
|
3645
4645
|
#
|
3646
4646
|
# **A suitable default value is auto-generated.** You should normally
|
3647
4647
|
# not need to pass this option.
|
@@ -3666,21 +4666,21 @@ module Aws::CodeCommit
|
|
3666
4666
|
#
|
3667
4667
|
# @!attribute [rw] before_commit_id
|
3668
4668
|
# In the directionality you established, the full commit ID of the
|
3669
|
-
#
|
4669
|
+
# before commit.
|
3670
4670
|
# @return [String]
|
3671
4671
|
#
|
3672
4672
|
# @!attribute [rw] after_commit_id
|
3673
4673
|
# In the directionality you established, the full commit ID of the
|
3674
|
-
#
|
4674
|
+
# after commit.
|
3675
4675
|
# @return [String]
|
3676
4676
|
#
|
3677
4677
|
# @!attribute [rw] before_blob_id
|
3678
|
-
# In the directionality you established, the blob ID of the
|
4678
|
+
# In the directionality you established, the blob ID of the before
|
3679
4679
|
# blob.
|
3680
4680
|
# @return [String]
|
3681
4681
|
#
|
3682
4682
|
# @!attribute [rw] after_blob_id
|
3683
|
-
# In the directionality you established, the blob ID of the
|
4683
|
+
# In the directionality you established, the blob ID of the after
|
3684
4684
|
# blob.
|
3685
4685
|
# @return [String]
|
3686
4686
|
#
|
@@ -3746,9 +4746,9 @@ module Aws::CodeCommit
|
|
3746
4746
|
#
|
3747
4747
|
# @!attribute [rw] location
|
3748
4748
|
# The location of the change where you want to post your comment. If
|
3749
|
-
# no location is provided, the comment
|
3750
|
-
#
|
3751
|
-
#
|
4749
|
+
# no location is provided, the comment is posted as a general comment
|
4750
|
+
# on the pull request difference between the before commit ID and the
|
4751
|
+
# after commit ID.
|
3752
4752
|
# @return [Types::Location]
|
3753
4753
|
#
|
3754
4754
|
# @!attribute [rw] content
|
@@ -3756,11 +4756,11 @@ module Aws::CodeCommit
|
|
3756
4756
|
# @return [String]
|
3757
4757
|
#
|
3758
4758
|
# @!attribute [rw] client_request_token
|
3759
|
-
# A unique, client-generated idempotency token that when provided in
|
3760
|
-
# request, ensures the request cannot be repeated with a changed
|
4759
|
+
# A unique, client-generated idempotency token that, when provided in
|
4760
|
+
# a request, ensures the request cannot be repeated with a changed
|
3761
4761
|
# parameter. If a request is received with the same parameters and a
|
3762
|
-
# token is included, the request
|
3763
|
-
#
|
4762
|
+
# token is included, the request returns information about the initial
|
4763
|
+
# request that used that token.
|
3764
4764
|
#
|
3765
4765
|
# **A suitable default value is auto-generated.** You should normally
|
3766
4766
|
# not need to pass this option.
|
@@ -3796,17 +4796,17 @@ module Aws::CodeCommit
|
|
3796
4796
|
#
|
3797
4797
|
# @!attribute [rw] after_commit_id
|
3798
4798
|
# The full commit ID of the commit in the destination branch where the
|
3799
|
-
# pull request
|
4799
|
+
# pull request is merged.
|
3800
4800
|
# @return [String]
|
3801
4801
|
#
|
3802
4802
|
# @!attribute [rw] before_blob_id
|
3803
|
-
# In the directionality of the pull request, the blob ID of the
|
3804
|
-
#
|
4803
|
+
# In the directionality of the pull request, the blob ID of the before
|
4804
|
+
# blob.
|
3805
4805
|
# @return [String]
|
3806
4806
|
#
|
3807
4807
|
# @!attribute [rw] after_blob_id
|
3808
|
-
# In the directionality of the pull request, the blob ID of the
|
3809
|
-
#
|
4808
|
+
# In the directionality of the pull request, the blob ID of the after
|
4809
|
+
# blob.
|
3810
4810
|
# @return [String]
|
3811
4811
|
#
|
3812
4812
|
# @!attribute [rw] location
|
@@ -3847,11 +4847,11 @@ module Aws::CodeCommit
|
|
3847
4847
|
# @return [String]
|
3848
4848
|
#
|
3849
4849
|
# @!attribute [rw] client_request_token
|
3850
|
-
# A unique, client-generated idempotency token that when provided in
|
3851
|
-
# request, ensures the request cannot be repeated with a changed
|
4850
|
+
# A unique, client-generated idempotency token that, when provided in
|
4851
|
+
# a request, ensures the request cannot be repeated with a changed
|
3852
4852
|
# parameter. If a request is received with the same parameters and a
|
3853
|
-
# token is included, the request
|
3854
|
-
#
|
4853
|
+
# token is included, the request returns information about the initial
|
4854
|
+
# request that used that token.
|
3855
4855
|
#
|
3856
4856
|
# **A suitable default value is auto-generated.** You should normally
|
3857
4857
|
# not need to pass this option.
|
@@ -3889,7 +4889,7 @@ module Aws::CodeCommit
|
|
3889
4889
|
#
|
3890
4890
|
# @!attribute [rw] title
|
3891
4891
|
# The user-defined title of the pull request. This title is displayed
|
3892
|
-
# in the list of pull requests to other users
|
4892
|
+
# in the list of pull requests to other repository users.
|
3893
4893
|
# @return [String]
|
3894
4894
|
#
|
3895
4895
|
# @!attribute [rw] description
|
@@ -3924,13 +4924,21 @@ module Aws::CodeCommit
|
|
3924
4924
|
# @return [Array<Types::PullRequestTarget>]
|
3925
4925
|
#
|
3926
4926
|
# @!attribute [rw] client_request_token
|
3927
|
-
# A unique, client-generated idempotency token that when provided in
|
3928
|
-
# request, ensures the request cannot be repeated with a changed
|
4927
|
+
# A unique, client-generated idempotency token that, when provided in
|
4928
|
+
# a request, ensures the request cannot be repeated with a changed
|
3929
4929
|
# parameter. If a request is received with the same parameters and a
|
3930
|
-
# token is included, the request
|
3931
|
-
#
|
4930
|
+
# token is included, the request returns information about the initial
|
4931
|
+
# request that used that token.
|
3932
4932
|
# @return [String]
|
3933
4933
|
#
|
4934
|
+
# @!attribute [rw] revision_id
|
4935
|
+
# The system-generated revision ID for the pull request.
|
4936
|
+
# @return [String]
|
4937
|
+
#
|
4938
|
+
# @!attribute [rw] approval_rules
|
4939
|
+
# The approval rules applied to the pull request.
|
4940
|
+
# @return [Array<Types::ApprovalRule>]
|
4941
|
+
#
|
3934
4942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest AWS API Documentation
|
3935
4943
|
#
|
3936
4944
|
class PullRequest < Struct.new(
|
@@ -3942,7 +4950,9 @@ module Aws::CodeCommit
|
|
3942
4950
|
:pull_request_status,
|
3943
4951
|
:author_arn,
|
3944
4952
|
:pull_request_targets,
|
3945
|
-
:client_request_token
|
4953
|
+
:client_request_token,
|
4954
|
+
:revision_id,
|
4955
|
+
:approval_rules)
|
3946
4956
|
include Aws::Structure
|
3947
4957
|
end
|
3948
4958
|
|
@@ -3989,15 +4999,15 @@ module Aws::CodeCommit
|
|
3989
4999
|
# @return [Time]
|
3990
5000
|
#
|
3991
5001
|
# @!attribute [rw] pull_request_event_type
|
3992
|
-
# The type of the pull request event
|
5002
|
+
# The type of the pull request event (for example, a status change
|
3993
5003
|
# event (PULL\_REQUEST\_STATUS\_CHANGED) or update event
|
3994
|
-
# (PULL\_REQUEST\_SOURCE\_REFERENCE\_UPDATED).
|
5004
|
+
# (PULL\_REQUEST\_SOURCE\_REFERENCE\_UPDATED)).
|
3995
5005
|
# @return [String]
|
3996
5006
|
#
|
3997
5007
|
# @!attribute [rw] actor_arn
|
3998
5008
|
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
3999
|
-
# the event. Examples include updating the pull request with
|
4000
|
-
#
|
5009
|
+
# the event. Examples include updating the pull request with more
|
5010
|
+
# commits or changing the status of a pull request.
|
4001
5011
|
# @return [String]
|
4002
5012
|
#
|
4003
5013
|
# @!attribute [rw] pull_request_created_event_metadata
|
@@ -4019,6 +5029,19 @@ module Aws::CodeCommit
|
|
4019
5029
|
# request event.
|
4020
5030
|
# @return [Types::PullRequestMergedStateChangedEventMetadata]
|
4021
5031
|
#
|
5032
|
+
# @!attribute [rw] approval_rule_event_metadata
|
5033
|
+
# Information about a pull request event.
|
5034
|
+
# @return [Types::ApprovalRuleEventMetadata]
|
5035
|
+
#
|
5036
|
+
# @!attribute [rw] approval_state_changed_event_metadata
|
5037
|
+
# Information about an approval state change for a pull request.
|
5038
|
+
# @return [Types::ApprovalStateChangedEventMetadata]
|
5039
|
+
#
|
5040
|
+
# @!attribute [rw] approval_rule_overridden_event_metadata
|
5041
|
+
# Information about an approval rule override event for a pull
|
5042
|
+
# request.
|
5043
|
+
# @return [Types::ApprovalRuleOverriddenEventMetadata]
|
5044
|
+
#
|
4022
5045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent AWS API Documentation
|
4023
5046
|
#
|
4024
5047
|
class PullRequestEvent < Struct.new(
|
@@ -4029,7 +5052,10 @@ module Aws::CodeCommit
|
|
4029
5052
|
:pull_request_created_event_metadata,
|
4030
5053
|
:pull_request_status_changed_event_metadata,
|
4031
5054
|
:pull_request_source_reference_updated_event_metadata,
|
4032
|
-
:pull_request_merged_state_changed_event_metadata
|
5055
|
+
:pull_request_merged_state_changed_event_metadata,
|
5056
|
+
:approval_rule_event_metadata,
|
5057
|
+
:approval_state_changed_event_metadata,
|
5058
|
+
:approval_rule_overridden_event_metadata)
|
4033
5059
|
include Aws::Structure
|
4034
5060
|
end
|
4035
5061
|
|
@@ -4041,7 +5067,7 @@ module Aws::CodeCommit
|
|
4041
5067
|
# @return [String]
|
4042
5068
|
#
|
4043
5069
|
# @!attribute [rw] destination_reference
|
4044
|
-
# The name of the branch that the pull request
|
5070
|
+
# The name of the branch that the pull request is merged into.
|
4045
5071
|
# @return [String]
|
4046
5072
|
#
|
4047
5073
|
# @!attribute [rw] merge_metadata
|
@@ -4114,8 +5140,8 @@ module Aws::CodeCommit
|
|
4114
5140
|
# @return [String]
|
4115
5141
|
#
|
4116
5142
|
# @!attribute [rw] destination_reference
|
4117
|
-
# The branch of the repository where the pull request changes
|
4118
|
-
# merged
|
5143
|
+
# The branch of the repository where the pull request changes are
|
5144
|
+
# merged. Also known as the destination branch.
|
4119
5145
|
# @return [String]
|
4120
5146
|
#
|
4121
5147
|
# @!attribute [rw] destination_commit
|
@@ -4126,8 +5152,8 @@ module Aws::CodeCommit
|
|
4126
5152
|
# @!attribute [rw] source_commit
|
4127
5153
|
# The full commit ID of the tip of the source branch used to create
|
4128
5154
|
# the pull request. If the pull request branch is updated by a push
|
4129
|
-
# while the pull request is open, the commit ID
|
4130
|
-
#
|
5155
|
+
# while the pull request is open, the commit ID changes to reflect the
|
5156
|
+
# new tip of the branch.
|
4131
5157
|
# @return [String]
|
4132
5158
|
#
|
4133
5159
|
# @!attribute [rw] merge_base
|
@@ -4153,8 +5179,7 @@ module Aws::CodeCommit
|
|
4153
5179
|
include Aws::Structure
|
4154
5180
|
end
|
4155
5181
|
|
4156
|
-
# Information about a file
|
4157
|
-
# commit.
|
5182
|
+
# Information about a file added or updated as part of a commit.
|
4158
5183
|
#
|
4159
5184
|
# @note When making an API call, you may pass PutFileEntry
|
4160
5185
|
# data as a hash:
|
@@ -4220,7 +5245,7 @@ module Aws::CodeCommit
|
|
4220
5245
|
#
|
4221
5246
|
# @!attribute [rw] branch_name
|
4222
5247
|
# The name of the branch where you want to add or update the file. If
|
4223
|
-
# this is an empty repository, this branch
|
5248
|
+
# this is an empty repository, this branch is created.
|
4224
5249
|
# @return [String]
|
4225
5250
|
#
|
4226
5251
|
# @!attribute [rw] file_content
|
@@ -4231,15 +5256,15 @@ module Aws::CodeCommit
|
|
4231
5256
|
# The name of the file you want to add or update, including the
|
4232
5257
|
# relative path to the file in the repository.
|
4233
5258
|
#
|
4234
|
-
# <note markdown="1"> If the path does not currently exist in the repository, the path
|
4235
|
-
#
|
5259
|
+
# <note markdown="1"> If the path does not currently exist in the repository, the path is
|
5260
|
+
# created as part of adding the file.
|
4236
5261
|
#
|
4237
5262
|
# </note>
|
4238
5263
|
# @return [String]
|
4239
5264
|
#
|
4240
5265
|
# @!attribute [rw] file_mode
|
4241
5266
|
# The file mode permissions of the blob. Valid file mode permissions
|
4242
|
-
# are listed
|
5267
|
+
# are listed here.
|
4243
5268
|
# @return [String]
|
4244
5269
|
#
|
4245
5270
|
# @!attribute [rw] parent_commit_id
|
@@ -4249,20 +5274,20 @@ module Aws::CodeCommit
|
|
4249
5274
|
# required.
|
4250
5275
|
#
|
4251
5276
|
# The commit ID must match the ID of the head commit at the time of
|
4252
|
-
# the operation,
|
4253
|
-
#
|
5277
|
+
# the operation. Otherwise, an error occurs, and the file is not added
|
5278
|
+
# or updated.
|
4254
5279
|
# @return [String]
|
4255
5280
|
#
|
4256
5281
|
# @!attribute [rw] commit_message
|
4257
|
-
# A message about why this file was added or updated.
|
4258
|
-
#
|
4259
|
-
# useful
|
5282
|
+
# A message about why this file was added or updated. Although it is
|
5283
|
+
# optional, a message makes the commit history for your repository
|
5284
|
+
# more useful.
|
4260
5285
|
# @return [String]
|
4261
5286
|
#
|
4262
5287
|
# @!attribute [rw] name
|
4263
|
-
# The name of the person adding or updating the file.
|
4264
|
-
#
|
4265
|
-
# useful
|
5288
|
+
# The name of the person adding or updating the file. Although it is
|
5289
|
+
# optional, a name makes the commit history for your repository more
|
5290
|
+
# useful.
|
4266
5291
|
# @return [String]
|
4267
5292
|
#
|
4268
5293
|
# @!attribute [rw] email
|
@@ -4285,7 +5310,7 @@ module Aws::CodeCommit
|
|
4285
5310
|
end
|
4286
5311
|
|
4287
5312
|
# @!attribute [rw] commit_id
|
4288
|
-
# The full SHA of the commit that contains this file change.
|
5313
|
+
# The full SHA ID of the commit that contains this file change.
|
4289
5314
|
# @return [String]
|
4290
5315
|
#
|
4291
5316
|
# @!attribute [rw] blob_id
|
@@ -4306,7 +5331,7 @@ module Aws::CodeCommit
|
|
4306
5331
|
include Aws::Structure
|
4307
5332
|
end
|
4308
5333
|
|
4309
|
-
# Represents the input
|
5334
|
+
# Represents the input of a put repository triggers operation.
|
4310
5335
|
#
|
4311
5336
|
# @note When making an API call, you may pass PutRepositoryTriggersInput
|
4312
5337
|
# data as a hash:
|
@@ -4490,18 +5515,18 @@ module Aws::CodeCommit
|
|
4490
5515
|
# @return [String]
|
4491
5516
|
#
|
4492
5517
|
# @!attribute [rw] destination_arn
|
4493
|
-
# The ARN of the resource that is the target for a trigger
|
4494
|
-
# example, the ARN of a topic in Amazon SNS.
|
5518
|
+
# The ARN of the resource that is the target for a trigger (for
|
5519
|
+
# example, the ARN of a topic in Amazon SNS).
|
4495
5520
|
# @return [String]
|
4496
5521
|
#
|
4497
5522
|
# @!attribute [rw] custom_data
|
4498
|
-
# Any custom data associated with the trigger
|
4499
|
-
#
|
5523
|
+
# Any custom data associated with the trigger to be included in the
|
5524
|
+
# information sent to the target of the trigger.
|
4500
5525
|
# @return [String]
|
4501
5526
|
#
|
4502
5527
|
# @!attribute [rw] branches
|
4503
|
-
# The branches
|
4504
|
-
#
|
5528
|
+
# The branches to be included in the trigger configuration. If you
|
5529
|
+
# specify an empty array, the trigger applies to all branches.
|
4505
5530
|
#
|
4506
5531
|
# <note markdown="1"> Although no content is required in the array, you must include the
|
4507
5532
|
# array itself.
|
@@ -4510,7 +5535,7 @@ module Aws::CodeCommit
|
|
4510
5535
|
# @return [Array<String>]
|
4511
5536
|
#
|
4512
5537
|
# @!attribute [rw] events
|
4513
|
-
# The repository events that
|
5538
|
+
# The repository events that cause the trigger to run actions in
|
4514
5539
|
# another service, such as sending a notification through Amazon SNS.
|
4515
5540
|
#
|
4516
5541
|
# <note markdown="1"> The valid value "all" cannot be used with any other values.
|
@@ -4536,7 +5561,7 @@ module Aws::CodeCommit
|
|
4536
5561
|
# @return [String]
|
4537
5562
|
#
|
4538
5563
|
# @!attribute [rw] failure_message
|
4539
|
-
#
|
5564
|
+
# Message information about the trigger that did not run.
|
4540
5565
|
# @return [String]
|
4541
5566
|
#
|
4542
5567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure AWS API Documentation
|
@@ -4633,7 +5658,7 @@ module Aws::CodeCommit
|
|
4633
5658
|
# @return [String]
|
4634
5659
|
#
|
4635
5660
|
# @!attribute [rw] absolute_path
|
4636
|
-
# The fully
|
5661
|
+
# The fully qualified path to the folder that contains the symbolic
|
4637
5662
|
# link.
|
4638
5663
|
# @return [String]
|
4639
5664
|
#
|
@@ -4705,8 +5730,8 @@ module Aws::CodeCommit
|
|
4705
5730
|
# @return [String]
|
4706
5731
|
#
|
4707
5732
|
# @!attribute [rw] destination_reference
|
4708
|
-
# The branch of the repository where the pull request changes
|
4709
|
-
# merged
|
5733
|
+
# The branch of the repository where the pull request changes are
|
5734
|
+
# merged. Also known as the destination branch.
|
4710
5735
|
# @return [String]
|
4711
5736
|
#
|
4712
5737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target AWS API Documentation
|
@@ -4761,9 +5786,8 @@ module Aws::CodeCommit
|
|
4761
5786
|
# @return [Array<String>]
|
4762
5787
|
#
|
4763
5788
|
# @!attribute [rw] failed_executions
|
4764
|
-
# The list of triggers that were not
|
4765
|
-
#
|
4766
|
-
# separated by commas.
|
5789
|
+
# The list of triggers that were not tested. This list provides the
|
5790
|
+
# names of the triggers that could not be tested, separated by commas.
|
4767
5791
|
# @return [Array<Types::RepositoryTriggerExecutionFailure>]
|
4768
5792
|
#
|
4769
5793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput AWS API Documentation
|
@@ -4799,6 +5823,121 @@ module Aws::CodeCommit
|
|
4799
5823
|
include Aws::Structure
|
4800
5824
|
end
|
4801
5825
|
|
5826
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateContentInput
|
5827
|
+
# data as a hash:
|
5828
|
+
#
|
5829
|
+
# {
|
5830
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
5831
|
+
# new_rule_content: "ApprovalRuleTemplateContent", # required
|
5832
|
+
# existing_rule_content_sha_256: "RuleContentSha256",
|
5833
|
+
# }
|
5834
|
+
#
|
5835
|
+
# @!attribute [rw] approval_rule_template_name
|
5836
|
+
# The name of the approval rule template where you want to update the
|
5837
|
+
# content of the rule.
|
5838
|
+
# @return [String]
|
5839
|
+
#
|
5840
|
+
# @!attribute [rw] new_rule_content
|
5841
|
+
# The content that replaces the existing content of the rule. Content
|
5842
|
+
# statements must be complete. You cannot provide only the changes.
|
5843
|
+
# @return [String]
|
5844
|
+
#
|
5845
|
+
# @!attribute [rw] existing_rule_content_sha_256
|
5846
|
+
# The SHA-256 hash signature for the content of the approval rule. You
|
5847
|
+
# can retrieve this information by using GetPullRequest.
|
5848
|
+
# @return [String]
|
5849
|
+
#
|
5850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContentInput AWS API Documentation
|
5851
|
+
#
|
5852
|
+
class UpdateApprovalRuleTemplateContentInput < Struct.new(
|
5853
|
+
:approval_rule_template_name,
|
5854
|
+
:new_rule_content,
|
5855
|
+
:existing_rule_content_sha_256)
|
5856
|
+
include Aws::Structure
|
5857
|
+
end
|
5858
|
+
|
5859
|
+
# @!attribute [rw] approval_rule_template
|
5860
|
+
# Returns information about an approval rule template.
|
5861
|
+
# @return [Types::ApprovalRuleTemplate]
|
5862
|
+
#
|
5863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContentOutput AWS API Documentation
|
5864
|
+
#
|
5865
|
+
class UpdateApprovalRuleTemplateContentOutput < Struct.new(
|
5866
|
+
:approval_rule_template)
|
5867
|
+
include Aws::Structure
|
5868
|
+
end
|
5869
|
+
|
5870
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateDescriptionInput
|
5871
|
+
# data as a hash:
|
5872
|
+
#
|
5873
|
+
# {
|
5874
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
5875
|
+
# approval_rule_template_description: "ApprovalRuleTemplateDescription", # required
|
5876
|
+
# }
|
5877
|
+
#
|
5878
|
+
# @!attribute [rw] approval_rule_template_name
|
5879
|
+
# The name of the template for which you want to update the
|
5880
|
+
# description.
|
5881
|
+
# @return [String]
|
5882
|
+
#
|
5883
|
+
# @!attribute [rw] approval_rule_template_description
|
5884
|
+
# The updated description of the approval rule template.
|
5885
|
+
# @return [String]
|
5886
|
+
#
|
5887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescriptionInput AWS API Documentation
|
5888
|
+
#
|
5889
|
+
class UpdateApprovalRuleTemplateDescriptionInput < Struct.new(
|
5890
|
+
:approval_rule_template_name,
|
5891
|
+
:approval_rule_template_description)
|
5892
|
+
include Aws::Structure
|
5893
|
+
end
|
5894
|
+
|
5895
|
+
# @!attribute [rw] approval_rule_template
|
5896
|
+
# The structure and content of the updated approval rule template.
|
5897
|
+
# @return [Types::ApprovalRuleTemplate]
|
5898
|
+
#
|
5899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescriptionOutput AWS API Documentation
|
5900
|
+
#
|
5901
|
+
class UpdateApprovalRuleTemplateDescriptionOutput < Struct.new(
|
5902
|
+
:approval_rule_template)
|
5903
|
+
include Aws::Structure
|
5904
|
+
end
|
5905
|
+
|
5906
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateNameInput
|
5907
|
+
# data as a hash:
|
5908
|
+
#
|
5909
|
+
# {
|
5910
|
+
# old_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
5911
|
+
# new_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
5912
|
+
# }
|
5913
|
+
#
|
5914
|
+
# @!attribute [rw] old_approval_rule_template_name
|
5915
|
+
# The current name of the approval rule template.
|
5916
|
+
# @return [String]
|
5917
|
+
#
|
5918
|
+
# @!attribute [rw] new_approval_rule_template_name
|
5919
|
+
# The new name you want to apply to the approval rule template.
|
5920
|
+
# @return [String]
|
5921
|
+
#
|
5922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateNameInput AWS API Documentation
|
5923
|
+
#
|
5924
|
+
class UpdateApprovalRuleTemplateNameInput < Struct.new(
|
5925
|
+
:old_approval_rule_template_name,
|
5926
|
+
:new_approval_rule_template_name)
|
5927
|
+
include Aws::Structure
|
5928
|
+
end
|
5929
|
+
|
5930
|
+
# @!attribute [rw] approval_rule_template
|
5931
|
+
# The structure and content of the updated approval rule template.
|
5932
|
+
# @return [Types::ApprovalRuleTemplate]
|
5933
|
+
#
|
5934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateNameOutput AWS API Documentation
|
5935
|
+
#
|
5936
|
+
class UpdateApprovalRuleTemplateNameOutput < Struct.new(
|
5937
|
+
:approval_rule_template)
|
5938
|
+
include Aws::Structure
|
5939
|
+
end
|
5940
|
+
|
4802
5941
|
# @note When making an API call, you may pass UpdateCommentInput
|
4803
5942
|
# data as a hash:
|
4804
5943
|
#
|
@@ -4814,8 +5953,7 @@ module Aws::CodeCommit
|
|
4814
5953
|
# @return [String]
|
4815
5954
|
#
|
4816
5955
|
# @!attribute [rw] content
|
4817
|
-
# The updated content
|
4818
|
-
# content of the comment.
|
5956
|
+
# The updated content to replace the existing content of the comment.
|
4819
5957
|
# @return [String]
|
4820
5958
|
#
|
4821
5959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput AWS API Documentation
|
@@ -4863,6 +6001,120 @@ module Aws::CodeCommit
|
|
4863
6001
|
include Aws::Structure
|
4864
6002
|
end
|
4865
6003
|
|
6004
|
+
# @note When making an API call, you may pass UpdatePullRequestApprovalRuleContentInput
|
6005
|
+
# data as a hash:
|
6006
|
+
#
|
6007
|
+
# {
|
6008
|
+
# pull_request_id: "PullRequestId", # required
|
6009
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
6010
|
+
# existing_rule_content_sha_256: "RuleContentSha256",
|
6011
|
+
# new_rule_content: "ApprovalRuleContent", # required
|
6012
|
+
# }
|
6013
|
+
#
|
6014
|
+
# @!attribute [rw] pull_request_id
|
6015
|
+
# The system-generated ID of the pull request.
|
6016
|
+
# @return [String]
|
6017
|
+
#
|
6018
|
+
# @!attribute [rw] approval_rule_name
|
6019
|
+
# The name of the approval rule you want to update.
|
6020
|
+
# @return [String]
|
6021
|
+
#
|
6022
|
+
# @!attribute [rw] existing_rule_content_sha_256
|
6023
|
+
# The SHA-256 hash signature for the content of the approval rule. You
|
6024
|
+
# can retrieve this information by using GetPullRequest.
|
6025
|
+
# @return [String]
|
6026
|
+
#
|
6027
|
+
# @!attribute [rw] new_rule_content
|
6028
|
+
# The updated content for the approval rule.
|
6029
|
+
#
|
6030
|
+
# <note markdown="1"> When you update the content of the approval rule, you can specify
|
6031
|
+
# approvers in an approval pool in one of two ways:
|
6032
|
+
#
|
6033
|
+
# * **CodeCommitApprovers**\: This option only requires an AWS account
|
6034
|
+
# and a resource. It can be used for both IAM users and federated
|
6035
|
+
# access users whose name matches the provided resource name. This
|
6036
|
+
# is a very powerful option that offers a great deal of flexibility.
|
6037
|
+
# For example, if you specify the AWS account *123456789012* and
|
6038
|
+
# *Mary\_Major*, all of the following are counted as approvals
|
6039
|
+
# coming from that user:
|
6040
|
+
#
|
6041
|
+
# * An IAM user in the account
|
6042
|
+
# (arn:aws:iam::*123456789012*\:user/*Mary\_Major*)
|
6043
|
+
#
|
6044
|
+
# * A federated user identified in IAM as Mary\_Major
|
6045
|
+
# (arn:aws:sts::*123456789012*\:federated-user/*Mary\_Major*)
|
6046
|
+
#
|
6047
|
+
# This option does not recognize an active session of someone
|
6048
|
+
# assuming the role of CodeCommitReview with a role session name of
|
6049
|
+
# *Mary\_Major*
|
6050
|
+
# (arn:aws:sts::*123456789012*\:assumed-role/CodeCommitReview/*Mary\_Major*)
|
6051
|
+
# unless you include a wildcard (*Mary\_Major).
|
6052
|
+
#
|
6053
|
+
# * **Fully qualified ARN**\: This option allows you to specify the
|
6054
|
+
# fully qualified Amazon Resource Name (ARN) of the IAM user or
|
6055
|
+
# role.
|
6056
|
+
#
|
6057
|
+
# For more information about IAM ARNs, wildcards, and formats, see
|
6058
|
+
# [IAM Identifiers][1] in the *IAM User Guide*.
|
6059
|
+
#
|
6060
|
+
# </note>
|
6061
|
+
#
|
6062
|
+
#
|
6063
|
+
#
|
6064
|
+
# [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
|
6065
|
+
# @return [String]
|
6066
|
+
#
|
6067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContentInput AWS API Documentation
|
6068
|
+
#
|
6069
|
+
class UpdatePullRequestApprovalRuleContentInput < Struct.new(
|
6070
|
+
:pull_request_id,
|
6071
|
+
:approval_rule_name,
|
6072
|
+
:existing_rule_content_sha_256,
|
6073
|
+
:new_rule_content)
|
6074
|
+
include Aws::Structure
|
6075
|
+
end
|
6076
|
+
|
6077
|
+
# @!attribute [rw] approval_rule
|
6078
|
+
# Information about the updated approval rule.
|
6079
|
+
# @return [Types::ApprovalRule]
|
6080
|
+
#
|
6081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContentOutput AWS API Documentation
|
6082
|
+
#
|
6083
|
+
class UpdatePullRequestApprovalRuleContentOutput < Struct.new(
|
6084
|
+
:approval_rule)
|
6085
|
+
include Aws::Structure
|
6086
|
+
end
|
6087
|
+
|
6088
|
+
# @note When making an API call, you may pass UpdatePullRequestApprovalStateInput
|
6089
|
+
# data as a hash:
|
6090
|
+
#
|
6091
|
+
# {
|
6092
|
+
# pull_request_id: "PullRequestId", # required
|
6093
|
+
# revision_id: "RevisionId", # required
|
6094
|
+
# approval_state: "APPROVE", # required, accepts APPROVE, REVOKE
|
6095
|
+
# }
|
6096
|
+
#
|
6097
|
+
# @!attribute [rw] pull_request_id
|
6098
|
+
# The system-generated ID of the pull request.
|
6099
|
+
# @return [String]
|
6100
|
+
#
|
6101
|
+
# @!attribute [rw] revision_id
|
6102
|
+
# The system-generated ID of the revision.
|
6103
|
+
# @return [String]
|
6104
|
+
#
|
6105
|
+
# @!attribute [rw] approval_state
|
6106
|
+
# The approval state to associate with the user on the pull request.
|
6107
|
+
# @return [String]
|
6108
|
+
#
|
6109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalStateInput AWS API Documentation
|
6110
|
+
#
|
6111
|
+
class UpdatePullRequestApprovalStateInput < Struct.new(
|
6112
|
+
:pull_request_id,
|
6113
|
+
:revision_id,
|
6114
|
+
:approval_state)
|
6115
|
+
include Aws::Structure
|
6116
|
+
end
|
6117
|
+
|
4866
6118
|
# @note When making an API call, you may pass UpdatePullRequestDescriptionInput
|
4867
6119
|
# data as a hash:
|
4868
6120
|
#
|
@@ -4878,7 +6130,7 @@ module Aws::CodeCommit
|
|
4878
6130
|
#
|
4879
6131
|
# @!attribute [rw] description
|
4880
6132
|
# The updated content of the description for the pull request. This
|
4881
|
-
# content
|
6133
|
+
# content replaces the existing description.
|
4882
6134
|
# @return [String]
|
4883
6135
|
#
|
4884
6136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionInput AWS API Documentation
|
@@ -4916,7 +6168,7 @@ module Aws::CodeCommit
|
|
4916
6168
|
# @!attribute [rw] pull_request_status
|
4917
6169
|
# The status of the pull request. The only valid operations are to
|
4918
6170
|
# update the status from `OPEN` to `OPEN`, `OPEN` to `CLOSED` or from
|
4919
|
-
#
|
6171
|
+
# `CLOSED` to `CLOSED`.
|
4920
6172
|
# @return [String]
|
4921
6173
|
#
|
4922
6174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput AWS API Documentation
|
@@ -4952,8 +6204,8 @@ module Aws::CodeCommit
|
|
4952
6204
|
# @return [String]
|
4953
6205
|
#
|
4954
6206
|
# @!attribute [rw] title
|
4955
|
-
# The updated title of the pull request. This
|
4956
|
-
#
|
6207
|
+
# The updated title of the pull request. This replaces the existing
|
6208
|
+
# title.
|
4957
6209
|
# @return [String]
|
4958
6210
|
#
|
4959
6211
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput AWS API Documentation
|
@@ -5014,7 +6266,7 @@ module Aws::CodeCommit
|
|
5014
6266
|
# }
|
5015
6267
|
#
|
5016
6268
|
# @!attribute [rw] old_name
|
5017
|
-
# The
|
6269
|
+
# The current name of the repository.
|
5018
6270
|
# @return [String]
|
5019
6271
|
#
|
5020
6272
|
# @!attribute [rw] new_name
|