aws-sdk-codecommit 1.29.0 → 1.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-codecommit.rb +7 -4
- data/lib/aws-sdk-codecommit/client.rb +1416 -295
- data/lib/aws-sdk-codecommit/client_api.rb +1071 -0
- data/lib/aws-sdk-codecommit/errors.rb +2013 -0
- data/lib/aws-sdk-codecommit/resource.rb +1 -0
- data/lib/aws-sdk-codecommit/types.rb +2974 -428
- metadata +5 -5
@@ -8,7 +8,375 @@
|
|
8
8
|
module Aws::CodeCommit
|
9
9
|
module Types
|
10
10
|
|
11
|
-
#
|
11
|
+
# The specified Amazon Resource Name (ARN) does not exist in the AWS
|
12
|
+
# account.
|
13
|
+
#
|
14
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ActorDoesNotExistException AWS API Documentation
|
15
|
+
#
|
16
|
+
class ActorDoesNotExistException < Aws::EmptyStructure; end
|
17
|
+
|
18
|
+
# Returns information about a specific approval on a pull request.
|
19
|
+
#
|
20
|
+
# @!attribute [rw] user_arn
|
21
|
+
# The Amazon Resource Name (ARN) of the user.
|
22
|
+
# @return [String]
|
23
|
+
#
|
24
|
+
# @!attribute [rw] approval_state
|
25
|
+
# The state of the approval, APPROVE or REVOKE. REVOKE states are not
|
26
|
+
# stored.
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Approval AWS API Documentation
|
30
|
+
#
|
31
|
+
class Approval < Struct.new(
|
32
|
+
:user_arn,
|
33
|
+
:approval_state)
|
34
|
+
include Aws::Structure
|
35
|
+
end
|
36
|
+
|
37
|
+
# Returns information about an approval rule.
|
38
|
+
#
|
39
|
+
# @!attribute [rw] approval_rule_id
|
40
|
+
# The system-generated ID of the approval rule.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] approval_rule_name
|
44
|
+
# The name of the approval rule.
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] approval_rule_content
|
48
|
+
# The content of the approval rule.
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
# @!attribute [rw] rule_content_sha_256
|
52
|
+
# The SHA-256 hash signature for the content of the approval rule.
|
53
|
+
# @return [String]
|
54
|
+
#
|
55
|
+
# @!attribute [rw] last_modified_date
|
56
|
+
# The date the approval rule was most recently changed, in timestamp
|
57
|
+
# format.
|
58
|
+
# @return [Time]
|
59
|
+
#
|
60
|
+
# @!attribute [rw] creation_date
|
61
|
+
# The date the approval rule was created, in timestamp format.
|
62
|
+
# @return [Time]
|
63
|
+
#
|
64
|
+
# @!attribute [rw] last_modified_user
|
65
|
+
# The Amazon Resource Name (ARN) of the user who made the most recent
|
66
|
+
# changes to the approval rule.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] origin_approval_rule_template
|
70
|
+
# The approval rule template used to create the rule.
|
71
|
+
# @return [Types::OriginApprovalRuleTemplate]
|
72
|
+
#
|
73
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRule AWS API Documentation
|
74
|
+
#
|
75
|
+
class ApprovalRule < Struct.new(
|
76
|
+
:approval_rule_id,
|
77
|
+
:approval_rule_name,
|
78
|
+
:approval_rule_content,
|
79
|
+
:rule_content_sha_256,
|
80
|
+
:last_modified_date,
|
81
|
+
:creation_date,
|
82
|
+
:last_modified_user,
|
83
|
+
:origin_approval_rule_template)
|
84
|
+
include Aws::Structure
|
85
|
+
end
|
86
|
+
|
87
|
+
# The content for the approval rule is empty. You must provide some
|
88
|
+
# content for an approval rule. The content cannot be null.
|
89
|
+
#
|
90
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleContentRequiredException AWS API Documentation
|
91
|
+
#
|
92
|
+
class ApprovalRuleContentRequiredException < Aws::EmptyStructure; end
|
93
|
+
|
94
|
+
# The specified approval rule does not exist.
|
95
|
+
#
|
96
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleDoesNotExistException AWS API Documentation
|
97
|
+
#
|
98
|
+
class ApprovalRuleDoesNotExistException < Aws::EmptyStructure; end
|
99
|
+
|
100
|
+
# Returns information about an event for an approval rule.
|
101
|
+
#
|
102
|
+
# @!attribute [rw] approval_rule_name
|
103
|
+
# The name of the approval rule.
|
104
|
+
# @return [String]
|
105
|
+
#
|
106
|
+
# @!attribute [rw] approval_rule_id
|
107
|
+
# The system-generated ID of the approval rule.
|
108
|
+
# @return [String]
|
109
|
+
#
|
110
|
+
# @!attribute [rw] approval_rule_content
|
111
|
+
# The content of the approval rule.
|
112
|
+
# @return [String]
|
113
|
+
#
|
114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleEventMetadata AWS API Documentation
|
115
|
+
#
|
116
|
+
class ApprovalRuleEventMetadata < Struct.new(
|
117
|
+
:approval_rule_name,
|
118
|
+
:approval_rule_id,
|
119
|
+
:approval_rule_content)
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# An approval rule with that name already exists. Approval rule names
|
124
|
+
# must be unique within the scope of a pull request.
|
125
|
+
#
|
126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameAlreadyExistsException AWS API Documentation
|
127
|
+
#
|
128
|
+
class ApprovalRuleNameAlreadyExistsException < Aws::EmptyStructure; end
|
129
|
+
|
130
|
+
# An approval rule name is required, but was not specified.
|
131
|
+
#
|
132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameRequiredException AWS API Documentation
|
133
|
+
#
|
134
|
+
class ApprovalRuleNameRequiredException < Aws::EmptyStructure; end
|
135
|
+
|
136
|
+
# Returns information about an override event for approval rules for a
|
137
|
+
# pull request.
|
138
|
+
#
|
139
|
+
# @!attribute [rw] revision_id
|
140
|
+
# The revision ID of the pull request when the override event
|
141
|
+
# occurred.
|
142
|
+
# @return [String]
|
143
|
+
#
|
144
|
+
# @!attribute [rw] override_status
|
145
|
+
# The status of the override event.
|
146
|
+
# @return [String]
|
147
|
+
#
|
148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleOverriddenEventMetadata AWS API Documentation
|
149
|
+
#
|
150
|
+
class ApprovalRuleOverriddenEventMetadata < Struct.new(
|
151
|
+
:revision_id,
|
152
|
+
:override_status)
|
153
|
+
include Aws::Structure
|
154
|
+
end
|
155
|
+
|
156
|
+
# Returns information about an approval rule template.
|
157
|
+
#
|
158
|
+
# @!attribute [rw] approval_rule_template_id
|
159
|
+
# The system-generated ID of the approval rule template.
|
160
|
+
# @return [String]
|
161
|
+
#
|
162
|
+
# @!attribute [rw] approval_rule_template_name
|
163
|
+
# The name of the approval rule template.
|
164
|
+
# @return [String]
|
165
|
+
#
|
166
|
+
# @!attribute [rw] approval_rule_template_description
|
167
|
+
# The description of the approval rule template.
|
168
|
+
# @return [String]
|
169
|
+
#
|
170
|
+
# @!attribute [rw] approval_rule_template_content
|
171
|
+
# The content of the approval rule template.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] rule_content_sha_256
|
175
|
+
# The SHA-256 hash signature for the content of the approval rule
|
176
|
+
# template.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] last_modified_date
|
180
|
+
# The date the approval rule template was most recently changed, in
|
181
|
+
# timestamp format.
|
182
|
+
# @return [Time]
|
183
|
+
#
|
184
|
+
# @!attribute [rw] creation_date
|
185
|
+
# The date the approval rule template was created, in timestamp
|
186
|
+
# format.
|
187
|
+
# @return [Time]
|
188
|
+
#
|
189
|
+
# @!attribute [rw] last_modified_user
|
190
|
+
# The Amazon Resource Name (ARN) of the user who made the most recent
|
191
|
+
# changes to the approval rule template.
|
192
|
+
# @return [String]
|
193
|
+
#
|
194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplate AWS API Documentation
|
195
|
+
#
|
196
|
+
class ApprovalRuleTemplate < Struct.new(
|
197
|
+
:approval_rule_template_id,
|
198
|
+
:approval_rule_template_name,
|
199
|
+
:approval_rule_template_description,
|
200
|
+
:approval_rule_template_content,
|
201
|
+
:rule_content_sha_256,
|
202
|
+
:last_modified_date,
|
203
|
+
:creation_date,
|
204
|
+
:last_modified_user)
|
205
|
+
include Aws::Structure
|
206
|
+
end
|
207
|
+
|
208
|
+
# The content for the approval rule template is empty. You must provide
|
209
|
+
# some content for an approval rule template. The content cannot be
|
210
|
+
# null.
|
211
|
+
#
|
212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateContentRequiredException AWS API Documentation
|
213
|
+
#
|
214
|
+
class ApprovalRuleTemplateContentRequiredException < Aws::EmptyStructure; end
|
215
|
+
|
216
|
+
# The specified approval rule template does not exist. Verify that the
|
217
|
+
# name is correct and that you are signed in to the AWS Region where the
|
218
|
+
# template was created, and then try again.
|
219
|
+
#
|
220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateDoesNotExistException AWS API Documentation
|
221
|
+
#
|
222
|
+
class ApprovalRuleTemplateDoesNotExistException < Aws::EmptyStructure; end
|
223
|
+
|
224
|
+
# The approval rule template is associated with one or more
|
225
|
+
# repositories. You cannot delete a template that is associated with a
|
226
|
+
# repository. Remove all associations, and then try again.
|
227
|
+
#
|
228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateInUseException AWS API Documentation
|
229
|
+
#
|
230
|
+
class ApprovalRuleTemplateInUseException < Aws::EmptyStructure; end
|
231
|
+
|
232
|
+
# You cannot create an approval rule template with that name because a
|
233
|
+
# template with that name already exists in this AWS Region for your AWS
|
234
|
+
# account. Approval rule template names must be unique.
|
235
|
+
#
|
236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameAlreadyExistsException AWS API Documentation
|
237
|
+
#
|
238
|
+
class ApprovalRuleTemplateNameAlreadyExistsException < Aws::EmptyStructure; end
|
239
|
+
|
240
|
+
# An approval rule template name is required, but was not specified.
|
241
|
+
#
|
242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameRequiredException AWS API Documentation
|
243
|
+
#
|
244
|
+
class ApprovalRuleTemplateNameRequiredException < Aws::EmptyStructure; end
|
245
|
+
|
246
|
+
# Returns information about a change in the approval state for a pull
|
247
|
+
# request.
|
248
|
+
#
|
249
|
+
# @!attribute [rw] revision_id
|
250
|
+
# The revision ID of the pull request when the approval state changed.
|
251
|
+
# @return [String]
|
252
|
+
#
|
253
|
+
# @!attribute [rw] approval_status
|
254
|
+
# The approval status for the pull request.
|
255
|
+
# @return [String]
|
256
|
+
#
|
257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalStateChangedEventMetadata AWS API Documentation
|
258
|
+
#
|
259
|
+
class ApprovalStateChangedEventMetadata < Struct.new(
|
260
|
+
:revision_id,
|
261
|
+
:approval_status)
|
262
|
+
include Aws::Structure
|
263
|
+
end
|
264
|
+
|
265
|
+
# An approval state is required, but was not specified.
|
266
|
+
#
|
267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalStateRequiredException AWS API Documentation
|
268
|
+
#
|
269
|
+
class ApprovalStateRequiredException < Aws::EmptyStructure; end
|
270
|
+
|
271
|
+
# @note When making an API call, you may pass AssociateApprovalRuleTemplateWithRepositoryInput
|
272
|
+
# data as a hash:
|
273
|
+
#
|
274
|
+
# {
|
275
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
276
|
+
# repository_name: "RepositoryName", # required
|
277
|
+
# }
|
278
|
+
#
|
279
|
+
# @!attribute [rw] approval_rule_template_name
|
280
|
+
# The name for the approval rule template.
|
281
|
+
# @return [String]
|
282
|
+
#
|
283
|
+
# @!attribute [rw] repository_name
|
284
|
+
# The name of the repository that you want to associate with the
|
285
|
+
# template.
|
286
|
+
# @return [String]
|
287
|
+
#
|
288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepositoryInput AWS API Documentation
|
289
|
+
#
|
290
|
+
class AssociateApprovalRuleTemplateWithRepositoryInput < Struct.new(
|
291
|
+
:approval_rule_template_name,
|
292
|
+
:repository_name)
|
293
|
+
include Aws::Structure
|
294
|
+
end
|
295
|
+
|
296
|
+
# The specified Amazon Resource Name (ARN) does not exist in the AWS
|
297
|
+
# account.
|
298
|
+
#
|
299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AuthorDoesNotExistException AWS API Documentation
|
300
|
+
#
|
301
|
+
class AuthorDoesNotExistException < Aws::EmptyStructure; end
|
302
|
+
|
303
|
+
# Returns information about errors in a
|
304
|
+
# BatchAssociateApprovalRuleTemplateWithRepositories operation.
|
305
|
+
#
|
306
|
+
# @!attribute [rw] repository_name
|
307
|
+
# The name of the repository where the association was not made.
|
308
|
+
# @return [String]
|
309
|
+
#
|
310
|
+
# @!attribute [rw] error_code
|
311
|
+
# An error code that specifies whether the repository name was not
|
312
|
+
# valid or not found.
|
313
|
+
# @return [String]
|
314
|
+
#
|
315
|
+
# @!attribute [rw] error_message
|
316
|
+
# An error message that provides details about why the repository name
|
317
|
+
# was not found or not valid.
|
318
|
+
# @return [String]
|
319
|
+
#
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesError AWS API Documentation
|
321
|
+
#
|
322
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesError < Struct.new(
|
323
|
+
:repository_name,
|
324
|
+
:error_code,
|
325
|
+
:error_message)
|
326
|
+
include Aws::Structure
|
327
|
+
end
|
328
|
+
|
329
|
+
# @note When making an API call, you may pass BatchAssociateApprovalRuleTemplateWithRepositoriesInput
|
330
|
+
# data as a hash:
|
331
|
+
#
|
332
|
+
# {
|
333
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
334
|
+
# repository_names: ["RepositoryName"], # required
|
335
|
+
# }
|
336
|
+
#
|
337
|
+
# @!attribute [rw] approval_rule_template_name
|
338
|
+
# The name of the template you want to associate with one or more
|
339
|
+
# repositories.
|
340
|
+
# @return [String]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] repository_names
|
343
|
+
# The names of the repositories you want to associate with the
|
344
|
+
# template.
|
345
|
+
#
|
346
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
347
|
+
# array itself can be empty.
|
348
|
+
#
|
349
|
+
# </note>
|
350
|
+
# @return [Array<String>]
|
351
|
+
#
|
352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesInput AWS API Documentation
|
353
|
+
#
|
354
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesInput < Struct.new(
|
355
|
+
:approval_rule_template_name,
|
356
|
+
:repository_names)
|
357
|
+
include Aws::Structure
|
358
|
+
end
|
359
|
+
|
360
|
+
# @!attribute [rw] associated_repository_names
|
361
|
+
# A list of names of the repositories that have been associated with
|
362
|
+
# the template.
|
363
|
+
# @return [Array<String>]
|
364
|
+
#
|
365
|
+
# @!attribute [rw] errors
|
366
|
+
# A list of any errors that might have occurred while attempting to
|
367
|
+
# create the association between the template and the repositories.
|
368
|
+
# @return [Array<Types::BatchAssociateApprovalRuleTemplateWithRepositoriesError>]
|
369
|
+
#
|
370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositoriesOutput AWS API Documentation
|
371
|
+
#
|
372
|
+
class BatchAssociateApprovalRuleTemplateWithRepositoriesOutput < Struct.new(
|
373
|
+
:associated_repository_names,
|
374
|
+
:errors)
|
375
|
+
include Aws::Structure
|
376
|
+
end
|
377
|
+
|
378
|
+
# Returns information about errors in a BatchDescribeMergeConflicts
|
379
|
+
# operation.
|
12
380
|
#
|
13
381
|
# @!attribute [rw] file_path
|
14
382
|
# The path to the file.
|
@@ -54,12 +422,12 @@ module Aws::CodeCommit
|
|
54
422
|
#
|
55
423
|
# @!attribute [rw] destination_commit_specifier
|
56
424
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
57
|
-
# identify a commit
|
425
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
58
426
|
# @return [String]
|
59
427
|
#
|
60
428
|
# @!attribute [rw] source_commit_specifier
|
61
429
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
62
|
-
# identify a commit
|
430
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
63
431
|
# @return [String]
|
64
432
|
#
|
65
433
|
# @!attribute [rw] merge_option
|
@@ -81,21 +449,21 @@ module Aws::CodeCommit
|
|
81
449
|
#
|
82
450
|
# @!attribute [rw] conflict_detail_level
|
83
451
|
# The level of conflict detail to use. If unspecified, the default
|
84
|
-
# FILE\_LEVEL is used, which
|
452
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
85
453
|
# same file has differences in both branches. If LINE\_LEVEL is
|
86
|
-
# specified, a conflict
|
87
|
-
#
|
454
|
+
# specified, a conflict is considered not mergeable if the same file
|
455
|
+
# in both branches has differences on the same line.
|
88
456
|
# @return [String]
|
89
457
|
#
|
90
458
|
# @!attribute [rw] conflict_resolution_strategy
|
91
459
|
# Specifies which branch to use when resolving conflicts, or whether
|
92
460
|
# to attempt automatically merging two versions of a file. The default
|
93
461
|
# is NONE, which requires any conflicts to be resolved manually before
|
94
|
-
# the merge operation
|
462
|
+
# the merge operation is successful.
|
95
463
|
# @return [String]
|
96
464
|
#
|
97
465
|
# @!attribute [rw] next_token
|
98
|
-
# An enumeration token that when provided in a request, returns the
|
466
|
+
# An enumeration token that, when provided in a request, returns the
|
99
467
|
# next batch of the results.
|
100
468
|
# @return [String]
|
101
469
|
#
|
@@ -156,6 +524,82 @@ module Aws::CodeCommit
|
|
156
524
|
include Aws::Structure
|
157
525
|
end
|
158
526
|
|
527
|
+
# Returns information about errors in a
|
528
|
+
# BatchDisassociateApprovalRuleTemplateFromRepositories operation.
|
529
|
+
#
|
530
|
+
# @!attribute [rw] repository_name
|
531
|
+
# The name of the repository where the association with the template
|
532
|
+
# was not able to be removed.
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] error_code
|
536
|
+
# An error code that specifies whether the repository name was not
|
537
|
+
# valid or not found.
|
538
|
+
# @return [String]
|
539
|
+
#
|
540
|
+
# @!attribute [rw] error_message
|
541
|
+
# An error message that provides details about why the repository name
|
542
|
+
# was either not found or not valid.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesError AWS API Documentation
|
546
|
+
#
|
547
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesError < Struct.new(
|
548
|
+
:repository_name,
|
549
|
+
:error_code,
|
550
|
+
:error_message)
|
551
|
+
include Aws::Structure
|
552
|
+
end
|
553
|
+
|
554
|
+
# @note When making an API call, you may pass BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
|
555
|
+
# data as a hash:
|
556
|
+
#
|
557
|
+
# {
|
558
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
559
|
+
# repository_names: ["RepositoryName"], # required
|
560
|
+
# }
|
561
|
+
#
|
562
|
+
# @!attribute [rw] approval_rule_template_name
|
563
|
+
# The name of the template that you want to disassociate from one or
|
564
|
+
# more repositories.
|
565
|
+
# @return [String]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] repository_names
|
568
|
+
# The repository names that you want to disassociate from the approval
|
569
|
+
# rule template.
|
570
|
+
#
|
571
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
572
|
+
# array itself can be empty.
|
573
|
+
#
|
574
|
+
# </note>
|
575
|
+
# @return [Array<String>]
|
576
|
+
#
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesInput AWS API Documentation
|
578
|
+
#
|
579
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesInput < Struct.new(
|
580
|
+
:approval_rule_template_name,
|
581
|
+
:repository_names)
|
582
|
+
include Aws::Structure
|
583
|
+
end
|
584
|
+
|
585
|
+
# @!attribute [rw] disassociated_repository_names
|
586
|
+
# A list of repository names that have had their association with the
|
587
|
+
# template removed.
|
588
|
+
# @return [Array<String>]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] errors
|
591
|
+
# A list of any errors that might have occurred while attempting to
|
592
|
+
# remove the association between the template and the repositories.
|
593
|
+
# @return [Array<Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesError>]
|
594
|
+
#
|
595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput AWS API Documentation
|
596
|
+
#
|
597
|
+
class BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput < Struct.new(
|
598
|
+
:disassociated_repository_names,
|
599
|
+
:errors)
|
600
|
+
include Aws::Structure
|
601
|
+
end
|
602
|
+
|
159
603
|
# Returns information about errors in a BatchGetCommits operation.
|
160
604
|
#
|
161
605
|
# @!attribute [rw] commit_id
|
@@ -193,8 +637,8 @@ module Aws::CodeCommit
|
|
193
637
|
# @!attribute [rw] commit_ids
|
194
638
|
# The full commit IDs of the commits to get information about.
|
195
639
|
#
|
196
|
-
# <note markdown="1"> You must supply the full
|
197
|
-
# shortened
|
640
|
+
# <note markdown="1"> You must supply the full SHA IDs of each commit. You cannot use
|
641
|
+
# shortened SHA IDs.
|
198
642
|
#
|
199
643
|
# </note>
|
200
644
|
# @return [Array<String>]
|
@@ -218,9 +662,9 @@ module Aws::CodeCommit
|
|
218
662
|
#
|
219
663
|
# @!attribute [rw] errors
|
220
664
|
# 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
|
665
|
+
# example, if one of the commit IDs was a shortened SHA ID or that
|
666
|
+
# commit was not found in the specified repository, the ID returns an
|
667
|
+
# error object with more information.
|
224
668
|
# @return [Array<Types::BatchGetCommitsError>]
|
225
669
|
#
|
226
670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommitsOutput AWS API Documentation
|
@@ -242,6 +686,11 @@ module Aws::CodeCommit
|
|
242
686
|
#
|
243
687
|
# @!attribute [rw] repository_names
|
244
688
|
# The names of the repositories to get information about.
|
689
|
+
#
|
690
|
+
# <note markdown="1"> The length constraint limit is for each string in the array. The
|
691
|
+
# array itself can be empty.
|
692
|
+
#
|
693
|
+
# </note>
|
245
694
|
# @return [Array<String>]
|
246
695
|
#
|
247
696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesInput AWS API Documentation
|
@@ -271,6 +720,26 @@ module Aws::CodeCommit
|
|
271
720
|
include Aws::Structure
|
272
721
|
end
|
273
722
|
|
723
|
+
# The before commit ID and the after commit ID are the same, which is
|
724
|
+
# not valid. The before commit ID and the after commit ID must be
|
725
|
+
# different commit IDs.
|
726
|
+
#
|
727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BeforeCommitIdAndAfterCommitIdAreSameException AWS API Documentation
|
728
|
+
#
|
729
|
+
class BeforeCommitIdAndAfterCommitIdAreSameException < Aws::EmptyStructure; end
|
730
|
+
|
731
|
+
# The specified blob does not exist.
|
732
|
+
#
|
733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdDoesNotExistException AWS API Documentation
|
734
|
+
#
|
735
|
+
class BlobIdDoesNotExistException < Aws::EmptyStructure; end
|
736
|
+
|
737
|
+
# A blob ID is required, but was not specified.
|
738
|
+
#
|
739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdRequiredException AWS API Documentation
|
740
|
+
#
|
741
|
+
class BlobIdRequiredException < Aws::EmptyStructure; end
|
742
|
+
|
274
743
|
# Returns information about a specific Git blob object.
|
275
744
|
#
|
276
745
|
# @!attribute [rw] blob_id
|
@@ -278,7 +747,7 @@ module Aws::CodeCommit
|
|
278
747
|
# @return [String]
|
279
748
|
#
|
280
749
|
# @!attribute [rw] path
|
281
|
-
# The path to the blob and
|
750
|
+
# The path to the blob and associated file name, if any.
|
282
751
|
# @return [String]
|
283
752
|
#
|
284
753
|
# @!attribute [rw] mode
|
@@ -303,6 +772,12 @@ module Aws::CodeCommit
|
|
303
772
|
include Aws::Structure
|
304
773
|
end
|
305
774
|
|
775
|
+
# The specified branch does not exist.
|
776
|
+
#
|
777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchDoesNotExistException AWS API Documentation
|
778
|
+
#
|
779
|
+
class BranchDoesNotExistException < Aws::EmptyStructure; end
|
780
|
+
|
306
781
|
# Returns information about a branch.
|
307
782
|
#
|
308
783
|
# @!attribute [rw] branch_name
|
@@ -321,15 +796,62 @@ module Aws::CodeCommit
|
|
321
796
|
include Aws::Structure
|
322
797
|
end
|
323
798
|
|
324
|
-
#
|
799
|
+
# The specified branch name already exists.
|
325
800
|
#
|
326
|
-
#
|
327
|
-
# The system-generated comment ID.
|
328
|
-
# @return [String]
|
801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameExistsException AWS API Documentation
|
329
802
|
#
|
330
|
-
|
331
|
-
|
332
|
-
#
|
803
|
+
class BranchNameExistsException < Aws::EmptyStructure; end
|
804
|
+
|
805
|
+
# The specified branch name is not valid because it is a tag name. Enter
|
806
|
+
# the name of a branch in the repository. For a list of valid branch
|
807
|
+
# names, use ListBranches.
|
808
|
+
#
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameIsTagNameException AWS API Documentation
|
810
|
+
#
|
811
|
+
class BranchNameIsTagNameException < Aws::EmptyStructure; end
|
812
|
+
|
813
|
+
# A branch name is required, but was not specified.
|
814
|
+
#
|
815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameRequiredException AWS API Documentation
|
816
|
+
#
|
817
|
+
class BranchNameRequiredException < Aws::EmptyStructure; end
|
818
|
+
|
819
|
+
# The approval rule cannot be deleted from the pull request because it
|
820
|
+
# was created by an approval rule template and applied to the pull
|
821
|
+
# request automatically.
|
822
|
+
#
|
823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotDeleteApprovalRuleFromTemplateException AWS API Documentation
|
824
|
+
#
|
825
|
+
class CannotDeleteApprovalRuleFromTemplateException < Aws::EmptyStructure; end
|
826
|
+
|
827
|
+
# The approval rule cannot be modified for the pull request because it
|
828
|
+
# was created by an approval rule template and applied to the pull
|
829
|
+
# request automatically.
|
830
|
+
#
|
831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotModifyApprovalRuleFromTemplateException AWS API Documentation
|
832
|
+
#
|
833
|
+
class CannotModifyApprovalRuleFromTemplateException < Aws::EmptyStructure; end
|
834
|
+
|
835
|
+
# A client request token is required. A client request token is an
|
836
|
+
# unique, client-generated idempotency token that, when provided in a
|
837
|
+
# request, ensures the request cannot be repeated with a changed
|
838
|
+
# parameter. If a request is received with the same parameters and a
|
839
|
+
# token is included, the request returns information about the initial
|
840
|
+
# request that used that token.
|
841
|
+
#
|
842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ClientRequestTokenRequiredException AWS API Documentation
|
843
|
+
#
|
844
|
+
class ClientRequestTokenRequiredException < Aws::EmptyStructure; end
|
845
|
+
|
846
|
+
# Returns information about a specific comment.
|
847
|
+
#
|
848
|
+
# @!attribute [rw] comment_id
|
849
|
+
# The system-generated comment ID.
|
850
|
+
# @return [String]
|
851
|
+
#
|
852
|
+
# @!attribute [rw] content
|
853
|
+
# The content of the comment.
|
854
|
+
# @return [String]
|
333
855
|
#
|
334
856
|
# @!attribute [rw] in_reply_to
|
335
857
|
# The ID of the comment for which this comment is a reply, if any.
|
@@ -353,11 +875,11 @@ module Aws::CodeCommit
|
|
353
875
|
# @return [Boolean]
|
354
876
|
#
|
355
877
|
# @!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
|
878
|
+
# A unique, client-generated idempotency token that, when provided in
|
879
|
+
# a request, ensures the request cannot be repeated with a changed
|
358
880
|
# parameter. If a request is received with the same parameters and a
|
359
|
-
# token is included, the request
|
360
|
-
#
|
881
|
+
# token is included, the request returns information about the initial
|
882
|
+
# request that used that token.
|
361
883
|
# @return [String]
|
362
884
|
#
|
363
885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment AWS API Documentation
|
@@ -374,6 +896,46 @@ module Aws::CodeCommit
|
|
374
896
|
include Aws::Structure
|
375
897
|
end
|
376
898
|
|
899
|
+
# The comment is empty. You must provide some content for a comment. The
|
900
|
+
# content cannot be null.
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentRequiredException AWS API Documentation
|
903
|
+
#
|
904
|
+
class CommentContentRequiredException < Aws::EmptyStructure; end
|
905
|
+
|
906
|
+
# The comment is too large. Comments are limited to 1,000 characters.
|
907
|
+
#
|
908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentSizeLimitExceededException AWS API Documentation
|
909
|
+
#
|
910
|
+
class CommentContentSizeLimitExceededException < Aws::EmptyStructure; end
|
911
|
+
|
912
|
+
# This comment has already been deleted. You cannot edit or delete a
|
913
|
+
# deleted comment.
|
914
|
+
#
|
915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDeletedException AWS API Documentation
|
916
|
+
#
|
917
|
+
class CommentDeletedException < Aws::EmptyStructure; end
|
918
|
+
|
919
|
+
# No comment exists with the provided ID. Verify that you have used the
|
920
|
+
# correct ID, and then try again.
|
921
|
+
#
|
922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDoesNotExistException AWS API Documentation
|
923
|
+
#
|
924
|
+
class CommentDoesNotExistException < Aws::EmptyStructure; end
|
925
|
+
|
926
|
+
# The comment ID is missing or null. A comment ID is required.
|
927
|
+
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentIdRequiredException AWS API Documentation
|
929
|
+
#
|
930
|
+
class CommentIdRequiredException < Aws::EmptyStructure; end
|
931
|
+
|
932
|
+
# You cannot modify or delete this comment. Only comment authors can
|
933
|
+
# modify or delete their comments.
|
934
|
+
#
|
935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentNotCreatedByCallerException AWS API Documentation
|
936
|
+
#
|
937
|
+
class CommentNotCreatedByCallerException < Aws::EmptyStructure; end
|
938
|
+
|
377
939
|
# Returns information about comments on the comparison between two
|
378
940
|
# commits.
|
379
941
|
#
|
@@ -382,29 +944,29 @@ module Aws::CodeCommit
|
|
382
944
|
# @return [String]
|
383
945
|
#
|
384
946
|
# @!attribute [rw] before_commit_id
|
385
|
-
# The full commit ID of the commit used to establish the
|
386
|
-
#
|
947
|
+
# The full commit ID of the commit used to establish the before of the
|
948
|
+
# comparison.
|
387
949
|
# @return [String]
|
388
950
|
#
|
389
951
|
# @!attribute [rw] after_commit_id
|
390
|
-
# The full commit ID of the commit used to establish the
|
391
|
-
#
|
952
|
+
# The full commit ID of the commit used to establish the after of the
|
953
|
+
# comparison.
|
392
954
|
# @return [String]
|
393
955
|
#
|
394
956
|
# @!attribute [rw] before_blob_id
|
395
|
-
# The full blob ID of the commit used to establish the
|
396
|
-
#
|
957
|
+
# The full blob ID of the commit used to establish the before of the
|
958
|
+
# comparison.
|
397
959
|
# @return [String]
|
398
960
|
#
|
399
961
|
# @!attribute [rw] after_blob_id
|
400
|
-
# The full blob ID of the commit used to establish the
|
401
|
-
#
|
962
|
+
# The full blob ID of the commit used to establish the after of the
|
963
|
+
# comparison.
|
402
964
|
# @return [String]
|
403
965
|
#
|
404
966
|
# @!attribute [rw] location
|
405
967
|
# Location information about the comment on the comparison, including
|
406
968
|
# the file name, line number, and whether the version of the file
|
407
|
-
# where the comment was made is
|
969
|
+
# where the comment was made is BEFORE or AFTER.
|
408
970
|
# @return [Types::Location]
|
409
971
|
#
|
410
972
|
# @!attribute [rw] comments
|
@@ -437,13 +999,13 @@ module Aws::CodeCommit
|
|
437
999
|
#
|
438
1000
|
# @!attribute [rw] before_commit_id
|
439
1001
|
# 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
|
-
#
|
1002
|
+
# branch when the pull request was created. This commit is superceded
|
1003
|
+
# by the after commit in the source branch when and if you merge the
|
1004
|
+
# source branch into the destination branch.
|
443
1005
|
# @return [String]
|
444
1006
|
#
|
445
1007
|
# @!attribute [rw] after_commit_id
|
446
|
-
#
|
1008
|
+
# The full commit ID of the commit that was the tip of the source
|
447
1009
|
# branch at the time the comment was made.
|
448
1010
|
# @return [String]
|
449
1011
|
#
|
@@ -460,8 +1022,8 @@ module Aws::CodeCommit
|
|
460
1022
|
# @!attribute [rw] location
|
461
1023
|
# Location information about the comment on the pull request,
|
462
1024
|
# including the file name, line number, and whether the version of the
|
463
|
-
# file where the comment was made is
|
464
|
-
#
|
1025
|
+
# file where the comment was made is BEFORE (destination branch) or
|
1026
|
+
# AFTER (source branch).
|
465
1027
|
# @return [Types::Location]
|
466
1028
|
#
|
467
1029
|
# @!attribute [rw] comments
|
@@ -486,7 +1048,7 @@ module Aws::CodeCommit
|
|
486
1048
|
# Returns information about a specific commit.
|
487
1049
|
#
|
488
1050
|
# @!attribute [rw] commit_id
|
489
|
-
# The full SHA of the specified commit.
|
1051
|
+
# The full SHA ID of the specified commit.
|
490
1052
|
# @return [String]
|
491
1053
|
#
|
492
1054
|
# @!attribute [rw] tree_id
|
@@ -525,7 +1087,7 @@ module Aws::CodeCommit
|
|
525
1087
|
# @return [Types::UserInfo]
|
526
1088
|
#
|
527
1089
|
# @!attribute [rw] additional_data
|
528
|
-
# Any
|
1090
|
+
# Any other data associated with the specified commit.
|
529
1091
|
# @return [String]
|
530
1092
|
#
|
531
1093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit AWS API Documentation
|
@@ -541,6 +1103,60 @@ module Aws::CodeCommit
|
|
541
1103
|
include Aws::Structure
|
542
1104
|
end
|
543
1105
|
|
1106
|
+
# The specified commit does not exist or no commit was specified, and
|
1107
|
+
# the specified repository has no default branch.
|
1108
|
+
#
|
1109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitDoesNotExistException AWS API Documentation
|
1110
|
+
#
|
1111
|
+
class CommitDoesNotExistException < Aws::EmptyStructure; end
|
1112
|
+
|
1113
|
+
# The specified commit ID does not exist.
|
1114
|
+
#
|
1115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdDoesNotExistException AWS API Documentation
|
1116
|
+
#
|
1117
|
+
class CommitIdDoesNotExistException < Aws::EmptyStructure; end
|
1118
|
+
|
1119
|
+
# A commit ID was not specified.
|
1120
|
+
#
|
1121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdRequiredException AWS API Documentation
|
1122
|
+
#
|
1123
|
+
class CommitIdRequiredException < Aws::EmptyStructure; end
|
1124
|
+
|
1125
|
+
# The maximum number of allowed commit IDs in a batch request is 100.
|
1126
|
+
# Verify that your batch requests contains no more than 100 commit IDs,
|
1127
|
+
# and then try again.
|
1128
|
+
#
|
1129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsLimitExceededException AWS API Documentation
|
1130
|
+
#
|
1131
|
+
class CommitIdsLimitExceededException < Aws::EmptyStructure; end
|
1132
|
+
|
1133
|
+
# A list of commit IDs is required, but was either not specified or the
|
1134
|
+
# list was empty.
|
1135
|
+
#
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsListRequiredException AWS API Documentation
|
1137
|
+
#
|
1138
|
+
class CommitIdsListRequiredException < Aws::EmptyStructure; end
|
1139
|
+
|
1140
|
+
# The commit message is too long. Provide a shorter string.
|
1141
|
+
#
|
1142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitMessageLengthExceededException AWS API Documentation
|
1143
|
+
#
|
1144
|
+
class CommitMessageLengthExceededException < Aws::EmptyStructure; end
|
1145
|
+
|
1146
|
+
# A commit was not specified.
|
1147
|
+
#
|
1148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitRequiredException AWS API Documentation
|
1149
|
+
#
|
1150
|
+
class CommitRequiredException < Aws::EmptyStructure; end
|
1151
|
+
|
1152
|
+
# The merge cannot be completed because the target branch has been
|
1153
|
+
# modified. Another user might have modified the target branch while the
|
1154
|
+
# merge was in progress. Wait a few minutes, and then try again.
|
1155
|
+
#
|
1156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ConcurrentReferenceUpdateException AWS API Documentation
|
1157
|
+
#
|
1158
|
+
class ConcurrentReferenceUpdateException < Aws::EmptyStructure; end
|
1159
|
+
|
544
1160
|
# Information about conflicts in a merge operation.
|
545
1161
|
#
|
546
1162
|
# @!attribute [rw] conflict_metadata
|
@@ -627,8 +1243,8 @@ module Aws::CodeCommit
|
|
627
1243
|
include Aws::Structure
|
628
1244
|
end
|
629
1245
|
|
630
|
-
#
|
631
|
-
#
|
1246
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs to
|
1247
|
+
# use when resolving conflicts during a merge.
|
632
1248
|
#
|
633
1249
|
# @note When making an API call, you may pass ConflictResolution
|
634
1250
|
# data as a hash:
|
@@ -656,17 +1272,16 @@ module Aws::CodeCommit
|
|
656
1272
|
# }
|
657
1273
|
#
|
658
1274
|
# @!attribute [rw] replace_contents
|
659
|
-
# Files
|
1275
|
+
# Files to have content replaced as part of the merge conflict
|
660
1276
|
# resolution.
|
661
1277
|
# @return [Array<Types::ReplaceContentEntry>]
|
662
1278
|
#
|
663
1279
|
# @!attribute [rw] delete_files
|
664
|
-
# Files
|
1280
|
+
# Files to be deleted as part of the merge conflict resolution.
|
665
1281
|
# @return [Array<Types::DeleteFileEntry>]
|
666
1282
|
#
|
667
1283
|
# @!attribute [rw] set_file_modes
|
668
|
-
# File modes that
|
669
|
-
# resolution.
|
1284
|
+
# File modes that are set as part of the merge conflict resolution.
|
670
1285
|
# @return [Array<Types::SetFileModeEntry>]
|
671
1286
|
#
|
672
1287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ConflictResolution AWS API Documentation
|
@@ -678,6 +1293,91 @@ module Aws::CodeCommit
|
|
678
1293
|
include Aws::Structure
|
679
1294
|
end
|
680
1295
|
|
1296
|
+
# @note When making an API call, you may pass CreateApprovalRuleTemplateInput
|
1297
|
+
# data as a hash:
|
1298
|
+
#
|
1299
|
+
# {
|
1300
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1301
|
+
# approval_rule_template_content: "ApprovalRuleTemplateContent", # required
|
1302
|
+
# approval_rule_template_description: "ApprovalRuleTemplateDescription",
|
1303
|
+
# }
|
1304
|
+
#
|
1305
|
+
# @!attribute [rw] approval_rule_template_name
|
1306
|
+
# The name of the approval rule template. Provide descriptive names,
|
1307
|
+
# because this name is applied to the approval rules created
|
1308
|
+
# automatically in associated repositories.
|
1309
|
+
# @return [String]
|
1310
|
+
#
|
1311
|
+
# @!attribute [rw] approval_rule_template_content
|
1312
|
+
# The content of the approval rule that is created on pull requests in
|
1313
|
+
# associated repositories. If you specify one or more destination
|
1314
|
+
# references (branches), approval rules are created in an associated
|
1315
|
+
# repository only if their destination references (branches) match
|
1316
|
+
# those specified in the template.
|
1317
|
+
#
|
1318
|
+
# <note markdown="1"> When you create the content of the approval rule template, you can
|
1319
|
+
# specify 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 are 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
|
+
# @!attribute [rw] approval_rule_template_description
|
1356
|
+
# The description of the approval rule template. Consider providing a
|
1357
|
+
# description that explains what this template does and when it might
|
1358
|
+
# be appropriate to associate it with repositories.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplateInput AWS API Documentation
|
1362
|
+
#
|
1363
|
+
class CreateApprovalRuleTemplateInput < Struct.new(
|
1364
|
+
:approval_rule_template_name,
|
1365
|
+
:approval_rule_template_content,
|
1366
|
+
:approval_rule_template_description)
|
1367
|
+
include Aws::Structure
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# @!attribute [rw] approval_rule_template
|
1371
|
+
# The content and structure of the created approval rule template.
|
1372
|
+
# @return [Types::ApprovalRuleTemplate]
|
1373
|
+
#
|
1374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplateOutput AWS API Documentation
|
1375
|
+
#
|
1376
|
+
class CreateApprovalRuleTemplateOutput < Struct.new(
|
1377
|
+
:approval_rule_template)
|
1378
|
+
include Aws::Structure
|
1379
|
+
end
|
1380
|
+
|
681
1381
|
# Represents the input of a create branch operation.
|
682
1382
|
#
|
683
1383
|
# @note When making an API call, you may pass CreateBranchInput
|
@@ -747,21 +1447,21 @@ module Aws::CodeCommit
|
|
747
1447
|
# }
|
748
1448
|
#
|
749
1449
|
# @!attribute [rw] repository_name
|
750
|
-
# The name of the repository where you
|
1450
|
+
# The name of the repository where you create the commit.
|
751
1451
|
# @return [String]
|
752
1452
|
#
|
753
1453
|
# @!attribute [rw] branch_name
|
754
|
-
# The name of the branch where you
|
1454
|
+
# The name of the branch where you create the commit.
|
755
1455
|
# @return [String]
|
756
1456
|
#
|
757
1457
|
# @!attribute [rw] parent_commit_id
|
758
|
-
# The ID of the commit that is the parent of the commit you
|
759
|
-
#
|
1458
|
+
# The ID of the commit that is the parent of the commit you create.
|
1459
|
+
# Not required if this is an empty repository.
|
760
1460
|
# @return [String]
|
761
1461
|
#
|
762
1462
|
# @!attribute [rw] author_name
|
763
|
-
# The name of the author who created the commit. This information
|
764
|
-
#
|
1463
|
+
# The name of the author who created the commit. This information is
|
1464
|
+
# used as both the author and committer for the commit.
|
765
1465
|
# @return [String]
|
766
1466
|
#
|
767
1467
|
# @!attribute [rw] email
|
@@ -769,16 +1469,15 @@ module Aws::CodeCommit
|
|
769
1469
|
# @return [String]
|
770
1470
|
#
|
771
1471
|
# @!attribute [rw] commit_message
|
772
|
-
# The commit message you want to include
|
773
|
-
#
|
774
|
-
#
|
1472
|
+
# The commit message you want to include in the commit. Commit
|
1473
|
+
# messages are limited to 256 KB. If no message is specified, a
|
1474
|
+
# default message is used.
|
775
1475
|
# @return [String]
|
776
1476
|
#
|
777
1477
|
# @!attribute [rw] keep_empty_folders
|
778
1478
|
# 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.
|
1479
|
+
# structure if the changes leave the folders empty. If true, a
|
1480
|
+
# ..gitkeep file is created for empty folders. The default is false.
|
782
1481
|
# @return [Boolean]
|
783
1482
|
#
|
784
1483
|
# @!attribute [rw] put_files
|
@@ -786,8 +1485,8 @@ module Aws::CodeCommit
|
|
786
1485
|
# @return [Array<Types::PutFileEntry>]
|
787
1486
|
#
|
788
1487
|
# @!attribute [rw] delete_files
|
789
|
-
# The files to delete in this commit. These files
|
790
|
-
#
|
1488
|
+
# The files to delete in this commit. These files still exist in
|
1489
|
+
# earlier commits.
|
791
1490
|
# @return [Array<Types::DeleteFileEntry>]
|
792
1491
|
#
|
793
1492
|
# @!attribute [rw] set_file_modes
|
@@ -843,6 +1542,87 @@ module Aws::CodeCommit
|
|
843
1542
|
include Aws::Structure
|
844
1543
|
end
|
845
1544
|
|
1545
|
+
# @note When making an API call, you may pass CreatePullRequestApprovalRuleInput
|
1546
|
+
# data as a hash:
|
1547
|
+
#
|
1548
|
+
# {
|
1549
|
+
# pull_request_id: "PullRequestId", # required
|
1550
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
1551
|
+
# approval_rule_content: "ApprovalRuleContent", # required
|
1552
|
+
# }
|
1553
|
+
#
|
1554
|
+
# @!attribute [rw] pull_request_id
|
1555
|
+
# The system-generated ID of the pull request for which you want to
|
1556
|
+
# create the approval rule.
|
1557
|
+
# @return [String]
|
1558
|
+
#
|
1559
|
+
# @!attribute [rw] approval_rule_name
|
1560
|
+
# The name for the approval rule.
|
1561
|
+
# @return [String]
|
1562
|
+
#
|
1563
|
+
# @!attribute [rw] approval_rule_content
|
1564
|
+
# The content of the approval rule, including the number of approvals
|
1565
|
+
# needed and the structure of an approval pool defined for approvals,
|
1566
|
+
# if any. For more information about approval pools, see the AWS
|
1567
|
+
# CodeCommit User Guide.
|
1568
|
+
#
|
1569
|
+
# <note markdown="1"> When you create the content of the approval rule, you can specify
|
1570
|
+
# approvers in an approval pool in one of two ways:
|
1571
|
+
#
|
1572
|
+
# * **CodeCommitApprovers**\: This option only requires an AWS account
|
1573
|
+
# and a resource. It can be used for both IAM users and federated
|
1574
|
+
# access users whose name matches the provided resource name. This
|
1575
|
+
# is a very powerful option that offers a great deal of flexibility.
|
1576
|
+
# For example, if you specify the AWS account *123456789012* and
|
1577
|
+
# *Mary\_Major*, all of the following would be counted as approvals
|
1578
|
+
# coming from that user:
|
1579
|
+
#
|
1580
|
+
# * An IAM user in the account
|
1581
|
+
# (arn:aws:iam::*123456789012*\:user/*Mary\_Major*)
|
1582
|
+
#
|
1583
|
+
# * A federated user identified in IAM as Mary\_Major
|
1584
|
+
# (arn:aws:sts::*123456789012*\:federated-user/*Mary\_Major*)
|
1585
|
+
#
|
1586
|
+
# This option does not recognize an active session of someone
|
1587
|
+
# assuming the role of CodeCommitReview with a role session name of
|
1588
|
+
# *Mary\_Major*
|
1589
|
+
# (arn:aws:sts::*123456789012*\:assumed-role/CodeCommitReview/*Mary\_Major*)
|
1590
|
+
# unless you include a wildcard (*Mary\_Major).
|
1591
|
+
#
|
1592
|
+
# * **Fully qualified ARN**\: This option allows you to specify the
|
1593
|
+
# fully qualified Amazon Resource Name (ARN) of the IAM user or
|
1594
|
+
# role.
|
1595
|
+
#
|
1596
|
+
# For more information about IAM ARNs, wildcards, and formats, see
|
1597
|
+
# [IAM Identifiers][1] in the *IAM User Guide*.
|
1598
|
+
#
|
1599
|
+
# </note>
|
1600
|
+
#
|
1601
|
+
#
|
1602
|
+
#
|
1603
|
+
# [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
|
1604
|
+
# @return [String]
|
1605
|
+
#
|
1606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleInput AWS API Documentation
|
1607
|
+
#
|
1608
|
+
class CreatePullRequestApprovalRuleInput < Struct.new(
|
1609
|
+
:pull_request_id,
|
1610
|
+
:approval_rule_name,
|
1611
|
+
:approval_rule_content)
|
1612
|
+
include Aws::Structure
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# @!attribute [rw] approval_rule
|
1616
|
+
# Information about the created approval rule.
|
1617
|
+
# @return [Types::ApprovalRule]
|
1618
|
+
#
|
1619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleOutput AWS API Documentation
|
1620
|
+
#
|
1621
|
+
class CreatePullRequestApprovalRuleOutput < Struct.new(
|
1622
|
+
:approval_rule)
|
1623
|
+
include Aws::Structure
|
1624
|
+
end
|
1625
|
+
|
846
1626
|
# @note When making an API call, you may pass CreatePullRequestInput
|
847
1627
|
# data as a hash:
|
848
1628
|
#
|
@@ -860,8 +1640,8 @@ module Aws::CodeCommit
|
|
860
1640
|
# }
|
861
1641
|
#
|
862
1642
|
# @!attribute [rw] title
|
863
|
-
# The title of the pull request. This title
|
864
|
-
#
|
1643
|
+
# The title of the pull request. This title is used to identify the
|
1644
|
+
# pull request to other users in the repository.
|
865
1645
|
# @return [String]
|
866
1646
|
#
|
867
1647
|
# @!attribute [rw] description
|
@@ -870,21 +1650,20 @@ module Aws::CodeCommit
|
|
870
1650
|
#
|
871
1651
|
# @!attribute [rw] targets
|
872
1652
|
# The targets for the pull request, including the source of the code
|
873
|
-
# to be reviewed (the source branch)
|
1653
|
+
# to be reviewed (the source branch) and the destination where the
|
874
1654
|
# creator of the pull request intends the code to be merged after the
|
875
1655
|
# pull request is closed (the destination branch).
|
876
1656
|
# @return [Array<Types::Target>]
|
877
1657
|
#
|
878
1658
|
# @!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
|
1659
|
+
# A unique, client-generated idempotency token that, when provided in
|
1660
|
+
# a request, ensures the request cannot be repeated with a changed
|
881
1661
|
# parameter. If a request is received with the same parameters and a
|
882
|
-
# token is included, the request
|
883
|
-
#
|
1662
|
+
# token is included, the request returns information about the initial
|
1663
|
+
# request that used that token.
|
884
1664
|
#
|
885
|
-
# <note markdown="1"> The AWS SDKs prepopulate client request tokens. If using an
|
886
|
-
#
|
887
|
-
# done for you.
|
1665
|
+
# <note markdown="1"> The AWS SDKs prepopulate client request tokens. If you are using an
|
1666
|
+
# AWS SDK, an idempotency token is created for you.
|
888
1667
|
#
|
889
1668
|
# </note>
|
890
1669
|
#
|
@@ -930,10 +1709,10 @@ module Aws::CodeCommit
|
|
930
1709
|
# The name of the new repository to be created.
|
931
1710
|
#
|
932
1711
|
# <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
|
1712
|
+
# Repository names are limited to 100 alphanumeric, dash, and
|
1713
|
+
# underscore characters, and cannot include certain characters. For
|
1714
|
+
# more information about the limits on repository names, see
|
1715
|
+
# [Limits][1] in the *AWS CodeCommit User Guide*. The suffix .git is
|
937
1716
|
# prohibited.
|
938
1717
|
#
|
939
1718
|
# </note>
|
@@ -948,10 +1727,10 @@ module Aws::CodeCommit
|
|
948
1727
|
#
|
949
1728
|
# <note markdown="1"> The description field for a repository accepts all HTML characters
|
950
1729
|
# and all valid Unicode characters. Applications that do not
|
951
|
-
# HTML-encode the description and display it in a
|
952
|
-
#
|
953
|
-
#
|
954
|
-
#
|
1730
|
+
# HTML-encode the description and display it in a webpage can expose
|
1731
|
+
# users to potentially malicious code. Make sure that you HTML-encode
|
1732
|
+
# the description field in any application that uses this API to
|
1733
|
+
# display the repository description on a webpage.
|
955
1734
|
#
|
956
1735
|
# </note>
|
957
1736
|
# @return [String]
|
@@ -1026,12 +1805,12 @@ module Aws::CodeCommit
|
|
1026
1805
|
#
|
1027
1806
|
# @!attribute [rw] source_commit_specifier
|
1028
1807
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1029
|
-
# identify a commit
|
1808
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1030
1809
|
# @return [String]
|
1031
1810
|
#
|
1032
1811
|
# @!attribute [rw] destination_commit_specifier
|
1033
1812
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1034
|
-
# identify a commit
|
1813
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1035
1814
|
# @return [String]
|
1036
1815
|
#
|
1037
1816
|
# @!attribute [rw] merge_option
|
@@ -1040,23 +1819,22 @@ module Aws::CodeCommit
|
|
1040
1819
|
#
|
1041
1820
|
# @!attribute [rw] conflict_detail_level
|
1042
1821
|
# The level of conflict detail to use. If unspecified, the default
|
1043
|
-
# FILE\_LEVEL is used, which
|
1822
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
1044
1823
|
# same file has differences in both branches. If LINE\_LEVEL is
|
1045
|
-
# specified, a conflict
|
1046
|
-
#
|
1824
|
+
# specified, a conflict is considered not mergeable if the same file
|
1825
|
+
# in both branches has differences on the same line.
|
1047
1826
|
# @return [String]
|
1048
1827
|
#
|
1049
1828
|
# @!attribute [rw] conflict_resolution_strategy
|
1050
1829
|
# Specifies which branch to use when resolving conflicts, or whether
|
1051
1830
|
# to attempt automatically merging two versions of a file. The default
|
1052
1831
|
# is NONE, which requires any conflicts to be resolved manually before
|
1053
|
-
# the merge operation
|
1832
|
+
# the merge operation is successful.
|
1054
1833
|
# @return [String]
|
1055
1834
|
#
|
1056
1835
|
# @!attribute [rw] author_name
|
1057
1836
|
# The name of the author who created the unreferenced commit. This
|
1058
|
-
# information
|
1059
|
-
# commit.
|
1837
|
+
# information is used as both the author and committer for the commit.
|
1060
1838
|
# @return [String]
|
1061
1839
|
#
|
1062
1840
|
# @!attribute [rw] email
|
@@ -1071,13 +1849,13 @@ module Aws::CodeCommit
|
|
1071
1849
|
# @!attribute [rw] keep_empty_folders
|
1072
1850
|
# If the commit contains deletions, whether to keep a folder or folder
|
1073
1851
|
# structure if the changes leave the folders empty. If this is
|
1074
|
-
# specified as true, a .gitkeep file
|
1075
|
-
#
|
1852
|
+
# specified as true, a .gitkeep file is created for empty folders. The
|
1853
|
+
# default is false.
|
1076
1854
|
# @return [Boolean]
|
1077
1855
|
#
|
1078
1856
|
# @!attribute [rw] conflict_resolution
|
1079
|
-
#
|
1080
|
-
#
|
1857
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
1858
|
+
# to use when resolving conflicts during a merge.
|
1081
1859
|
# @return [Types::ConflictResolution]
|
1082
1860
|
#
|
1083
1861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommitInput AWS API Documentation
|
@@ -1114,6 +1892,45 @@ module Aws::CodeCommit
|
|
1114
1892
|
include Aws::Structure
|
1115
1893
|
end
|
1116
1894
|
|
1895
|
+
# The specified branch is the default branch for the repository, and
|
1896
|
+
# cannot be deleted. To delete this branch, you must first set another
|
1897
|
+
# branch as the default branch.
|
1898
|
+
#
|
1899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DefaultBranchCannotBeDeletedException AWS API Documentation
|
1900
|
+
#
|
1901
|
+
class DefaultBranchCannotBeDeletedException < Aws::EmptyStructure; end
|
1902
|
+
|
1903
|
+
# @note When making an API call, you may pass DeleteApprovalRuleTemplateInput
|
1904
|
+
# data as a hash:
|
1905
|
+
#
|
1906
|
+
# {
|
1907
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1908
|
+
# }
|
1909
|
+
#
|
1910
|
+
# @!attribute [rw] approval_rule_template_name
|
1911
|
+
# The name of the approval rule template to delete.
|
1912
|
+
# @return [String]
|
1913
|
+
#
|
1914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplateInput AWS API Documentation
|
1915
|
+
#
|
1916
|
+
class DeleteApprovalRuleTemplateInput < Struct.new(
|
1917
|
+
:approval_rule_template_name)
|
1918
|
+
include Aws::Structure
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# @!attribute [rw] approval_rule_template_id
|
1922
|
+
# The system-generated ID of the deleted approval rule template. If
|
1923
|
+
# the template has been previously deleted, the only response is a 200
|
1924
|
+
# OK.
|
1925
|
+
# @return [String]
|
1926
|
+
#
|
1927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplateOutput AWS API Documentation
|
1928
|
+
#
|
1929
|
+
class DeleteApprovalRuleTemplateOutput < Struct.new(
|
1930
|
+
:approval_rule_template_id)
|
1931
|
+
include Aws::Structure
|
1932
|
+
end
|
1933
|
+
|
1117
1934
|
# Represents the input of a delete branch operation.
|
1118
1935
|
#
|
1119
1936
|
# @note When making an API call, you may pass DeleteBranchInput
|
@@ -1184,7 +2001,7 @@ module Aws::CodeCommit
|
|
1184
2001
|
include Aws::Structure
|
1185
2002
|
end
|
1186
2003
|
|
1187
|
-
# A file that
|
2004
|
+
# A file that is deleted as part of a commit.
|
1188
2005
|
#
|
1189
2006
|
# @note When making an API call, you may pass DeleteFileEntry
|
1190
2007
|
# data as a hash:
|
@@ -1194,8 +2011,8 @@ module Aws::CodeCommit
|
|
1194
2011
|
# }
|
1195
2012
|
#
|
1196
2013
|
# @!attribute [rw] file_path
|
1197
|
-
# The full path of the file
|
1198
|
-
#
|
2014
|
+
# The full path of the file to be deleted, including the name of the
|
2015
|
+
# file.
|
1199
2016
|
# @return [String]
|
1200
2017
|
#
|
1201
2018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileEntry AWS API Documentation
|
@@ -1224,12 +2041,12 @@ module Aws::CodeCommit
|
|
1224
2041
|
# @return [String]
|
1225
2042
|
#
|
1226
2043
|
# @!attribute [rw] branch_name
|
1227
|
-
# The name of the branch where the commit
|
1228
|
-
#
|
2044
|
+
# The name of the branch where the commit that deletes the file is
|
2045
|
+
# made.
|
1229
2046
|
# @return [String]
|
1230
2047
|
#
|
1231
2048
|
# @!attribute [rw] file_path
|
1232
|
-
# The fully
|
2049
|
+
# The fully qualified path to the file that to be deleted, including
|
1233
2050
|
# the full name and extension of that file. For example,
|
1234
2051
|
# /examples/file.md is a fully qualified path to a file named file.md
|
1235
2052
|
# in a folder named examples.
|
@@ -1237,36 +2054,36 @@ module Aws::CodeCommit
|
|
1237
2054
|
#
|
1238
2055
|
# @!attribute [rw] parent_commit_id
|
1239
2056
|
# 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
|
-
#
|
2057
|
+
# create the commit that deletes the file. This must be the HEAD
|
2058
|
+
# commit for the branch. The commit that deletes the file is created
|
2059
|
+
# from this commit ID.
|
1243
2060
|
# @return [String]
|
1244
2061
|
#
|
1245
2062
|
# @!attribute [rw] keep_empty_folders
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
#
|
1249
|
-
#
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
2063
|
+
# If a file is the only object in the folder or directory, specifies
|
2064
|
+
# whether to delete the folder or directory that contains the file. By
|
2065
|
+
# default, empty folders are deleted. This includes empty folders that
|
2066
|
+
# are part of the directory structure. For example, if the path to a
|
2067
|
+
# file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting
|
2068
|
+
# the last file in dir4 also deletes the empty folders dir4, dir3, and
|
2069
|
+
# dir2.
|
1253
2070
|
# @return [Boolean]
|
1254
2071
|
#
|
1255
2072
|
# @!attribute [rw] commit_message
|
1256
2073
|
# The commit message you want to include as part of deleting the file.
|
1257
2074
|
# Commit messages are limited to 256 KB. If no message is specified, a
|
1258
|
-
# default message
|
2075
|
+
# default message is used.
|
1259
2076
|
# @return [String]
|
1260
2077
|
#
|
1261
2078
|
# @!attribute [rw] name
|
1262
2079
|
# The name of the author of the commit that deletes the file. If no
|
1263
|
-
# name is specified, the user's ARN
|
1264
|
-
#
|
2080
|
+
# name is specified, the user's ARN is used as the author name and
|
2081
|
+
# committer name.
|
1265
2082
|
# @return [String]
|
1266
2083
|
#
|
1267
2084
|
# @!attribute [rw] email
|
1268
2085
|
# The email address for the commit that deletes the file. If no email
|
1269
|
-
# address is specified, the email address
|
2086
|
+
# address is specified, the email address is left blank.
|
1270
2087
|
# @return [String]
|
1271
2088
|
#
|
1272
2089
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileInput AWS API Documentation
|
@@ -1298,8 +2115,8 @@ module Aws::CodeCommit
|
|
1298
2115
|
# @return [String]
|
1299
2116
|
#
|
1300
2117
|
# @!attribute [rw] file_path
|
1301
|
-
# The fully
|
1302
|
-
#
|
2118
|
+
# The fully qualified path to the file to be deleted, including the
|
2119
|
+
# full name and extension of that file.
|
1303
2120
|
# @return [String]
|
1304
2121
|
#
|
1305
2122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFileOutput AWS API Documentation
|
@@ -1312,6 +2129,47 @@ module Aws::CodeCommit
|
|
1312
2129
|
include Aws::Structure
|
1313
2130
|
end
|
1314
2131
|
|
2132
|
+
# @note When making an API call, you may pass DeletePullRequestApprovalRuleInput
|
2133
|
+
# data as a hash:
|
2134
|
+
#
|
2135
|
+
# {
|
2136
|
+
# pull_request_id: "PullRequestId", # required
|
2137
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
2138
|
+
# }
|
2139
|
+
#
|
2140
|
+
# @!attribute [rw] pull_request_id
|
2141
|
+
# The system-generated ID of the pull request that contains the
|
2142
|
+
# approval rule you want to delete.
|
2143
|
+
# @return [String]
|
2144
|
+
#
|
2145
|
+
# @!attribute [rw] approval_rule_name
|
2146
|
+
# The name of the approval rule you want to delete.
|
2147
|
+
# @return [String]
|
2148
|
+
#
|
2149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRuleInput AWS API Documentation
|
2150
|
+
#
|
2151
|
+
class DeletePullRequestApprovalRuleInput < Struct.new(
|
2152
|
+
:pull_request_id,
|
2153
|
+
:approval_rule_name)
|
2154
|
+
include Aws::Structure
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# @!attribute [rw] approval_rule_id
|
2158
|
+
# The ID of the deleted approval rule.
|
2159
|
+
#
|
2160
|
+
# <note markdown="1"> If the approval rule was deleted in an earlier API call, the
|
2161
|
+
# response is 200 OK without content.
|
2162
|
+
#
|
2163
|
+
# </note>
|
2164
|
+
# @return [String]
|
2165
|
+
#
|
2166
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRuleOutput AWS API Documentation
|
2167
|
+
#
|
2168
|
+
class DeletePullRequestApprovalRuleOutput < Struct.new(
|
2169
|
+
:approval_rule_id)
|
2170
|
+
include Aws::Structure
|
2171
|
+
end
|
2172
|
+
|
1315
2173
|
# Represents the input of a delete repository operation.
|
1316
2174
|
#
|
1317
2175
|
# @note When making an API call, you may pass DeleteRepositoryInput
|
@@ -1367,12 +2225,12 @@ module Aws::CodeCommit
|
|
1367
2225
|
#
|
1368
2226
|
# @!attribute [rw] destination_commit_specifier
|
1369
2227
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1370
|
-
# identify a commit
|
2228
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1371
2229
|
# @return [String]
|
1372
2230
|
#
|
1373
2231
|
# @!attribute [rw] source_commit_specifier
|
1374
2232
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1375
|
-
# identify a commit
|
2233
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
1376
2234
|
# @return [String]
|
1377
2235
|
#
|
1378
2236
|
# @!attribute [rw] merge_option
|
@@ -1389,21 +2247,21 @@ module Aws::CodeCommit
|
|
1389
2247
|
#
|
1390
2248
|
# @!attribute [rw] conflict_detail_level
|
1391
2249
|
# The level of conflict detail to use. If unspecified, the default
|
1392
|
-
# FILE\_LEVEL is used, which
|
2250
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
1393
2251
|
# same file has differences in both branches. If LINE\_LEVEL is
|
1394
|
-
# specified, a conflict
|
1395
|
-
#
|
2252
|
+
# specified, a conflict is considered not mergeable if the same file
|
2253
|
+
# in both branches has differences on the same line.
|
1396
2254
|
# @return [String]
|
1397
2255
|
#
|
1398
2256
|
# @!attribute [rw] conflict_resolution_strategy
|
1399
2257
|
# Specifies which branch to use when resolving conflicts, or whether
|
1400
2258
|
# to attempt automatically merging two versions of a file. The default
|
1401
2259
|
# is NONE, which requires any conflicts to be resolved manually before
|
1402
|
-
# the merge operation
|
2260
|
+
# the merge operation is successful.
|
1403
2261
|
# @return [String]
|
1404
2262
|
#
|
1405
2263
|
# @!attribute [rw] next_token
|
1406
|
-
# An enumeration token that when provided in a request, returns the
|
2264
|
+
# An enumeration token that, when provided in a request, returns the
|
1407
2265
|
# next batch of the results.
|
1408
2266
|
# @return [String]
|
1409
2267
|
#
|
@@ -1466,7 +2324,7 @@ module Aws::CodeCommit
|
|
1466
2324
|
#
|
1467
2325
|
# {
|
1468
2326
|
# 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
|
2327
|
+
# 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
2328
|
# actor_arn: "Arn",
|
1471
2329
|
# next_token: "NextToken",
|
1472
2330
|
# max_results: 1,
|
@@ -1484,19 +2342,19 @@ module Aws::CodeCommit
|
|
1484
2342
|
#
|
1485
2343
|
# @!attribute [rw] actor_arn
|
1486
2344
|
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
1487
|
-
# the event. Examples include updating the pull request with
|
1488
|
-
#
|
2345
|
+
# the event. Examples include updating the pull request with more
|
2346
|
+
# commits or changing the status of a pull request.
|
1489
2347
|
# @return [String]
|
1490
2348
|
#
|
1491
2349
|
# @!attribute [rw] next_token
|
1492
|
-
# An enumeration token that when provided in a request, returns the
|
2350
|
+
# An enumeration token that, when provided in a request, returns the
|
1493
2351
|
# next batch of the results.
|
1494
2352
|
# @return [String]
|
1495
2353
|
#
|
1496
2354
|
# @!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.
|
2355
|
+
# A non-zero, non-negative integer used to limit the number of
|
2356
|
+
# returned results. The default is 100 events, which is also the
|
2357
|
+
# maximum number of events that can be returned in a result.
|
1500
2358
|
# @return [Integer]
|
1501
2359
|
#
|
1502
2360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput AWS API Documentation
|
@@ -1553,6 +2411,142 @@ module Aws::CodeCommit
|
|
1553
2411
|
include Aws::Structure
|
1554
2412
|
end
|
1555
2413
|
|
2414
|
+
# A file cannot be added to the repository because the specified path
|
2415
|
+
# name has the same name as a file that already exists in this
|
2416
|
+
# repository. Either provide a different name for the file, or specify a
|
2417
|
+
# different path for the file.
|
2418
|
+
#
|
2419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DirectoryNameConflictsWithFileNameException AWS API Documentation
|
2420
|
+
#
|
2421
|
+
class DirectoryNameConflictsWithFileNameException < Aws::EmptyStructure; end
|
2422
|
+
|
2423
|
+
# @note When making an API call, you may pass DisassociateApprovalRuleTemplateFromRepositoryInput
|
2424
|
+
# data as a hash:
|
2425
|
+
#
|
2426
|
+
# {
|
2427
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2428
|
+
# repository_name: "RepositoryName", # required
|
2429
|
+
# }
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] approval_rule_template_name
|
2432
|
+
# The name of the approval rule template to disassociate from a
|
2433
|
+
# specified repository.
|
2434
|
+
# @return [String]
|
2435
|
+
#
|
2436
|
+
# @!attribute [rw] repository_name
|
2437
|
+
# The name of the repository you want to disassociate from the
|
2438
|
+
# template.
|
2439
|
+
# @return [String]
|
2440
|
+
#
|
2441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepositoryInput AWS API Documentation
|
2442
|
+
#
|
2443
|
+
class DisassociateApprovalRuleTemplateFromRepositoryInput < Struct.new(
|
2444
|
+
:approval_rule_template_name,
|
2445
|
+
:repository_name)
|
2446
|
+
include Aws::Structure
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# An encryption integrity check failed.
|
2450
|
+
#
|
2451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionIntegrityChecksFailedException AWS API Documentation
|
2452
|
+
#
|
2453
|
+
class EncryptionIntegrityChecksFailedException < Aws::EmptyStructure; end
|
2454
|
+
|
2455
|
+
# An encryption key could not be accessed.
|
2456
|
+
#
|
2457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyAccessDeniedException AWS API Documentation
|
2458
|
+
#
|
2459
|
+
class EncryptionKeyAccessDeniedException < Aws::EmptyStructure; end
|
2460
|
+
|
2461
|
+
# The encryption key is disabled.
|
2462
|
+
#
|
2463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyDisabledException AWS API Documentation
|
2464
|
+
#
|
2465
|
+
class EncryptionKeyDisabledException < Aws::EmptyStructure; end
|
2466
|
+
|
2467
|
+
# No encryption key was found.
|
2468
|
+
#
|
2469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyNotFoundException AWS API Documentation
|
2470
|
+
#
|
2471
|
+
class EncryptionKeyNotFoundException < Aws::EmptyStructure; end
|
2472
|
+
|
2473
|
+
# The encryption key is not available.
|
2474
|
+
#
|
2475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyUnavailableException AWS API Documentation
|
2476
|
+
#
|
2477
|
+
class EncryptionKeyUnavailableException < Aws::EmptyStructure; end
|
2478
|
+
|
2479
|
+
# @note When making an API call, you may pass EvaluatePullRequestApprovalRulesInput
|
2480
|
+
# data as a hash:
|
2481
|
+
#
|
2482
|
+
# {
|
2483
|
+
# pull_request_id: "PullRequestId", # required
|
2484
|
+
# revision_id: "RevisionId", # required
|
2485
|
+
# }
|
2486
|
+
#
|
2487
|
+
# @!attribute [rw] pull_request_id
|
2488
|
+
# The system-generated ID of the pull request you want to evaluate.
|
2489
|
+
# @return [String]
|
2490
|
+
#
|
2491
|
+
# @!attribute [rw] revision_id
|
2492
|
+
# The system-generated ID for the pull request revision. To retrieve
|
2493
|
+
# the most recent revision ID for a pull request, use GetPullRequest.
|
2494
|
+
# @return [String]
|
2495
|
+
#
|
2496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRulesInput AWS API Documentation
|
2497
|
+
#
|
2498
|
+
class EvaluatePullRequestApprovalRulesInput < Struct.new(
|
2499
|
+
:pull_request_id,
|
2500
|
+
:revision_id)
|
2501
|
+
include Aws::Structure
|
2502
|
+
end
|
2503
|
+
|
2504
|
+
# @!attribute [rw] evaluation
|
2505
|
+
# The result of the evaluation, including the names of the rules whose
|
2506
|
+
# conditions have been met (if any), the names of the rules whose
|
2507
|
+
# conditions have not been met (if any), whether the pull request is
|
2508
|
+
# in the approved state, and whether the pull request approval rule
|
2509
|
+
# has been set aside by an override.
|
2510
|
+
# @return [Types::Evaluation]
|
2511
|
+
#
|
2512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRulesOutput AWS API Documentation
|
2513
|
+
#
|
2514
|
+
class EvaluatePullRequestApprovalRulesOutput < Struct.new(
|
2515
|
+
:evaluation)
|
2516
|
+
include Aws::Structure
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# Returns information about the approval rules applied to a pull request
|
2520
|
+
# and whether conditions have been met.
|
2521
|
+
#
|
2522
|
+
# @!attribute [rw] approved
|
2523
|
+
# Whether the state of the pull request is approved.
|
2524
|
+
# @return [Boolean]
|
2525
|
+
#
|
2526
|
+
# @!attribute [rw] overridden
|
2527
|
+
# Whether the approval rule requirements for the pull request have
|
2528
|
+
# been overridden and no longer need to be met.
|
2529
|
+
# @return [Boolean]
|
2530
|
+
#
|
2531
|
+
# @!attribute [rw] approval_rules_satisfied
|
2532
|
+
# The names of the approval rules that have had their conditions met.
|
2533
|
+
# @return [Array<String>]
|
2534
|
+
#
|
2535
|
+
# @!attribute [rw] approval_rules_not_satisfied
|
2536
|
+
# The names of the approval rules that have not had their conditions
|
2537
|
+
# met.
|
2538
|
+
# @return [Array<String>]
|
2539
|
+
#
|
2540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Evaluation AWS API Documentation
|
2541
|
+
#
|
2542
|
+
class Evaluation < Struct.new(
|
2543
|
+
:approved,
|
2544
|
+
:overridden,
|
2545
|
+
:approval_rules_satisfied,
|
2546
|
+
:approval_rules_not_satisfied)
|
2547
|
+
include Aws::Structure
|
2548
|
+
end
|
2549
|
+
|
1556
2550
|
# Returns information about a file in a repository.
|
1557
2551
|
#
|
1558
2552
|
# @!attribute [rw] blob_id
|
@@ -1560,7 +2554,7 @@ module Aws::CodeCommit
|
|
1560
2554
|
# @return [String]
|
1561
2555
|
#
|
1562
2556
|
# @!attribute [rw] absolute_path
|
1563
|
-
# The fully
|
2557
|
+
# The fully qualified path to the file in the repository.
|
1564
2558
|
# @return [String]
|
1565
2559
|
#
|
1566
2560
|
# @!attribute [rw] relative_path
|
@@ -1583,12 +2577,50 @@ module Aws::CodeCommit
|
|
1583
2577
|
include Aws::Structure
|
1584
2578
|
end
|
1585
2579
|
|
1586
|
-
#
|
2580
|
+
# The commit cannot be created because both a source file and file
|
2581
|
+
# content have been specified for the same file. You cannot provide
|
2582
|
+
# both. Either specify a source file or provide the file content
|
2583
|
+
# directly.
|
1587
2584
|
#
|
1588
|
-
#
|
1589
|
-
#
|
1590
|
-
|
1591
|
-
|
2585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentAndSourceFileSpecifiedException AWS API Documentation
|
2586
|
+
#
|
2587
|
+
class FileContentAndSourceFileSpecifiedException < Aws::EmptyStructure; end
|
2588
|
+
|
2589
|
+
# The file cannot be added because it is empty. Empty files cannot be
|
2590
|
+
# added to the repository with this API.
|
2591
|
+
#
|
2592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentRequiredException AWS API Documentation
|
2593
|
+
#
|
2594
|
+
class FileContentRequiredException < Aws::EmptyStructure; end
|
2595
|
+
|
2596
|
+
# The file cannot be added because it is too large. The maximum file
|
2597
|
+
# size is 6 MB, and the combined file content change size is 7 MB.
|
2598
|
+
# Consider making these changes using a Git client.
|
2599
|
+
#
|
2600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentSizeLimitExceededException AWS API Documentation
|
2601
|
+
#
|
2602
|
+
class FileContentSizeLimitExceededException < Aws::EmptyStructure; end
|
2603
|
+
|
2604
|
+
# The specified file does not exist. Verify that you have used the
|
2605
|
+
# correct file name, full path, and extension.
|
2606
|
+
#
|
2607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileDoesNotExistException AWS API Documentation
|
2608
|
+
#
|
2609
|
+
class FileDoesNotExistException < Aws::EmptyStructure; end
|
2610
|
+
|
2611
|
+
# The commit cannot be created because no files have been specified as
|
2612
|
+
# added, updated, or changed (PutFile or DeleteFile) for the commit.
|
2613
|
+
#
|
2614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileEntryRequiredException AWS API Documentation
|
2615
|
+
#
|
2616
|
+
class FileEntryRequiredException < Aws::EmptyStructure; end
|
2617
|
+
|
2618
|
+
# A file to be added, updated, or deleted as part of a commit.
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] absolute_path
|
2621
|
+
# The full path to the file to be added or updated, including the name
|
2622
|
+
# of the file.
|
2623
|
+
# @return [String]
|
1592
2624
|
#
|
1593
2625
|
# @!attribute [rw] blob_id
|
1594
2626
|
# The blob ID that contains the file information.
|
@@ -1608,6 +2640,13 @@ module Aws::CodeCommit
|
|
1608
2640
|
include Aws::Structure
|
1609
2641
|
end
|
1610
2642
|
|
2643
|
+
# The commit cannot be created because no file mode has been specified.
|
2644
|
+
# A file mode is required to update mode permissions for a file.
|
2645
|
+
#
|
2646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileModeRequiredException AWS API Documentation
|
2647
|
+
#
|
2648
|
+
class FileModeRequiredException < Aws::EmptyStructure; end
|
2649
|
+
|
1611
2650
|
# Information about file modes in a merge or pull request.
|
1612
2651
|
#
|
1613
2652
|
# @!attribute [rw] source
|
@@ -1632,6 +2671,23 @@ module Aws::CodeCommit
|
|
1632
2671
|
include Aws::Structure
|
1633
2672
|
end
|
1634
2673
|
|
2674
|
+
# A file cannot be added to the repository because the specified file
|
2675
|
+
# name has the same name as a directory in this repository. Either
|
2676
|
+
# provide another name for the file, or add the file in a directory that
|
2677
|
+
# does not match the file name.
|
2678
|
+
#
|
2679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileNameConflictsWithDirectoryNameException AWS API Documentation
|
2680
|
+
#
|
2681
|
+
class FileNameConflictsWithDirectoryNameException < Aws::EmptyStructure; end
|
2682
|
+
|
2683
|
+
# The commit cannot be created because a specified file path points to a
|
2684
|
+
# submodule. Verify that the destination files have valid file paths
|
2685
|
+
# that do not point to a submodule.
|
2686
|
+
#
|
2687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FilePathConflictsWithSubmodulePathException AWS API Documentation
|
2688
|
+
#
|
2689
|
+
class FilePathConflictsWithSubmodulePathException < Aws::EmptyStructure; end
|
2690
|
+
|
1635
2691
|
# Information about the size of files in a merge or pull request.
|
1636
2692
|
#
|
1637
2693
|
# @!attribute [rw] source
|
@@ -1655,6 +2711,18 @@ module Aws::CodeCommit
|
|
1655
2711
|
include Aws::Structure
|
1656
2712
|
end
|
1657
2713
|
|
2714
|
+
# The specified file exceeds the file size limit for AWS CodeCommit. For
|
2715
|
+
# more information about limits in AWS CodeCommit, see [AWS CodeCommit
|
2716
|
+
# User Guide][1].
|
2717
|
+
#
|
2718
|
+
#
|
2719
|
+
#
|
2720
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
|
2721
|
+
#
|
2722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileTooLargeException AWS API Documentation
|
2723
|
+
#
|
2724
|
+
class FileTooLargeException < Aws::EmptyStructure; end
|
2725
|
+
|
1658
2726
|
# Returns information about a folder in a repository.
|
1659
2727
|
#
|
1660
2728
|
# @!attribute [rw] tree_id
|
@@ -1663,7 +2731,7 @@ module Aws::CodeCommit
|
|
1663
2731
|
# @return [String]
|
1664
2732
|
#
|
1665
2733
|
# @!attribute [rw] absolute_path
|
1666
|
-
# The fully
|
2734
|
+
# The fully qualified path of the folder in the repository.
|
1667
2735
|
# @return [String]
|
1668
2736
|
#
|
1669
2737
|
# @!attribute [rw] relative_path
|
@@ -1680,6 +2748,52 @@ module Aws::CodeCommit
|
|
1680
2748
|
include Aws::Structure
|
1681
2749
|
end
|
1682
2750
|
|
2751
|
+
# The commit cannot be created because at least one of the overall
|
2752
|
+
# changes in the commit results in a folder whose contents exceed the
|
2753
|
+
# limit of 6 MB. Either reduce the number and size of your changes, or
|
2754
|
+
# split the changes across multiple folders.
|
2755
|
+
#
|
2756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderContentSizeLimitExceededException AWS API Documentation
|
2757
|
+
#
|
2758
|
+
class FolderContentSizeLimitExceededException < Aws::EmptyStructure; end
|
2759
|
+
|
2760
|
+
# The specified folder does not exist. Either the folder name is not
|
2761
|
+
# correct, or you did not enter the full path to the folder.
|
2762
|
+
#
|
2763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderDoesNotExistException AWS API Documentation
|
2764
|
+
#
|
2765
|
+
class FolderDoesNotExistException < Aws::EmptyStructure; end
|
2766
|
+
|
2767
|
+
# @note When making an API call, you may pass GetApprovalRuleTemplateInput
|
2768
|
+
# data as a hash:
|
2769
|
+
#
|
2770
|
+
# {
|
2771
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2772
|
+
# }
|
2773
|
+
#
|
2774
|
+
# @!attribute [rw] approval_rule_template_name
|
2775
|
+
# The name of the approval rule template for which you want to get
|
2776
|
+
# information.
|
2777
|
+
# @return [String]
|
2778
|
+
#
|
2779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplateInput AWS API Documentation
|
2780
|
+
#
|
2781
|
+
class GetApprovalRuleTemplateInput < Struct.new(
|
2782
|
+
:approval_rule_template_name)
|
2783
|
+
include Aws::Structure
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
# @!attribute [rw] approval_rule_template
|
2787
|
+
# The content and structure of the approval rule template.
|
2788
|
+
# @return [Types::ApprovalRuleTemplate]
|
2789
|
+
#
|
2790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplateOutput AWS API Documentation
|
2791
|
+
#
|
2792
|
+
class GetApprovalRuleTemplateOutput < Struct.new(
|
2793
|
+
:approval_rule_template)
|
2794
|
+
include Aws::Structure
|
2795
|
+
end
|
2796
|
+
|
1683
2797
|
# Represents the input of a get blob operation.
|
1684
2798
|
#
|
1685
2799
|
# @note When making an API call, you may pass GetBlobInput
|
@@ -1806,12 +2920,12 @@ module Aws::CodeCommit
|
|
1806
2920
|
#
|
1807
2921
|
# @!attribute [rw] before_commit_id
|
1808
2922
|
# To establish the directionality of the comparison, the full commit
|
1809
|
-
# ID of the
|
2923
|
+
# ID of the before commit.
|
1810
2924
|
# @return [String]
|
1811
2925
|
#
|
1812
2926
|
# @!attribute [rw] after_commit_id
|
1813
2927
|
# To establish the directionality of the comparison, the full commit
|
1814
|
-
# ID of the
|
2928
|
+
# ID of the after commit.
|
1815
2929
|
# @return [String]
|
1816
2930
|
#
|
1817
2931
|
# @!attribute [rw] next_token
|
@@ -1820,8 +2934,9 @@ module Aws::CodeCommit
|
|
1820
2934
|
# @return [String]
|
1821
2935
|
#
|
1822
2936
|
# @!attribute [rw] max_results
|
1823
|
-
# A non-negative integer used to limit the number of
|
1824
|
-
# The default is 100 comments,
|
2937
|
+
# A non-zero, non-negative integer used to limit the number of
|
2938
|
+
# returned results. The default is 100 comments, but you can configure
|
2939
|
+
# up to 500.
|
1825
2940
|
# @return [Integer]
|
1826
2941
|
#
|
1827
2942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput AWS API Documentation
|
@@ -1884,14 +2999,14 @@ module Aws::CodeCommit
|
|
1884
2999
|
# @return [String]
|
1885
3000
|
#
|
1886
3001
|
# @!attribute [rw] next_token
|
1887
|
-
# An enumeration token that when provided in a request, returns the
|
3002
|
+
# An enumeration token that, when provided in a request, returns the
|
1888
3003
|
# next batch of the results.
|
1889
3004
|
# @return [String]
|
1890
3005
|
#
|
1891
3006
|
# @!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.
|
3007
|
+
# A non-zero, non-negative integer used to limit the number of
|
3008
|
+
# returned results. The default is 100 comments. You can return up to
|
3009
|
+
# 500 comments with a single request.
|
1895
3010
|
# @return [Integer]
|
1896
3011
|
#
|
1897
3012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput AWS API Documentation
|
@@ -1938,7 +3053,7 @@ module Aws::CodeCommit
|
|
1938
3053
|
# @return [String]
|
1939
3054
|
#
|
1940
3055
|
# @!attribute [rw] commit_id
|
1941
|
-
# The commit ID. Commit IDs are the full SHA of the commit.
|
3056
|
+
# The commit ID. Commit IDs are the full SHA ID of the commit.
|
1942
3057
|
# @return [String]
|
1943
3058
|
#
|
1944
3059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput AWS API Documentation
|
@@ -1982,9 +3097,9 @@ module Aws::CodeCommit
|
|
1982
3097
|
#
|
1983
3098
|
# @!attribute [rw] before_commit_specifier
|
1984
3099
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
1985
|
-
# identify a commit
|
1986
|
-
# specified, all changes
|
1987
|
-
#
|
3100
|
+
# identify a commit (for example, the full commit ID). Optional. If
|
3101
|
+
# not specified, all changes before the `afterCommitSpecifier` value
|
3102
|
+
# are shown. If you do not use `beforeCommitSpecifier` in your
|
1988
3103
|
# request, consider limiting the results with `maxResults`.
|
1989
3104
|
# @return [String]
|
1990
3105
|
#
|
@@ -1997,22 +3112,23 @@ module Aws::CodeCommit
|
|
1997
3112
|
# The file path in which to check for differences. Limits the results
|
1998
3113
|
# to this path. Can also be used to specify the previous name of a
|
1999
3114
|
# directory or folder. If `beforePath` and `afterPath` are not
|
2000
|
-
# specified, differences
|
3115
|
+
# specified, differences are shown for all paths.
|
2001
3116
|
# @return [String]
|
2002
3117
|
#
|
2003
3118
|
# @!attribute [rw] after_path
|
2004
3119
|
# The file path in which to check differences. Limits the results to
|
2005
3120
|
# this path. Can also be used to specify the changed name of a
|
2006
3121
|
# directory or folder, if it has changed. If not specified,
|
2007
|
-
# differences
|
3122
|
+
# differences are shown for all paths.
|
2008
3123
|
# @return [String]
|
2009
3124
|
#
|
2010
3125
|
# @!attribute [rw] max_results
|
2011
|
-
# A non-negative integer used to limit the number of
|
3126
|
+
# A non-zero, non-negative integer used to limit the number of
|
3127
|
+
# returned results.
|
2012
3128
|
# @return [Integer]
|
2013
3129
|
#
|
2014
3130
|
# @!attribute [rw] next_token
|
2015
|
-
# An enumeration token that when provided in a request, returns the
|
3131
|
+
# An enumeration token that, when provided in a request, returns the
|
2016
3132
|
# next batch of the results.
|
2017
3133
|
# @return [String]
|
2018
3134
|
#
|
@@ -2030,9 +3146,9 @@ module Aws::CodeCommit
|
|
2030
3146
|
end
|
2031
3147
|
|
2032
3148
|
# @!attribute [rw] differences
|
2033
|
-
# A
|
2034
|
-
#
|
2035
|
-
#
|
3149
|
+
# A data type object that contains information about the differences,
|
3150
|
+
# including whether the difference is added, modified, or deleted (A,
|
3151
|
+
# D, M).
|
2036
3152
|
# @return [Array<Types::Difference>]
|
2037
3153
|
#
|
2038
3154
|
# @!attribute [rw] next_token
|
@@ -2062,17 +3178,16 @@ module Aws::CodeCommit
|
|
2062
3178
|
# @return [String]
|
2063
3179
|
#
|
2064
3180
|
# @!attribute [rw] commit_specifier
|
2065
|
-
# The fully
|
2066
|
-
# contains the file. For example, you
|
2067
|
-
#
|
2068
|
-
# none is provided,
|
3181
|
+
# The fully quaified reference that identifies the commit that
|
3182
|
+
# contains the file. For example, you can specify a full commit ID, a
|
3183
|
+
# tag, a branch name, or a reference such as refs/heads/master. If
|
3184
|
+
# none is provided, the head commit is used.
|
2069
3185
|
# @return [String]
|
2070
3186
|
#
|
2071
3187
|
# @!attribute [rw] file_path
|
2072
|
-
# The fully
|
2073
|
-
# extension of the file. For example, /examples/file.md is the
|
2074
|
-
#
|
2075
|
-
# examples.
|
3188
|
+
# The fully qualified path to the file, including the full name and
|
3189
|
+
# extension of the file. For example, /examples/file.md is the fully
|
3190
|
+
# qualified path to a file named file.md in a folder named examples.
|
2076
3191
|
# @return [String]
|
2077
3192
|
#
|
2078
3193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFileInput AWS API Documentation
|
@@ -2094,8 +3209,8 @@ module Aws::CodeCommit
|
|
2094
3209
|
# @return [String]
|
2095
3210
|
#
|
2096
3211
|
# @!attribute [rw] file_path
|
2097
|
-
# The fully qualified path to the specified file.
|
2098
|
-
#
|
3212
|
+
# The fully qualified path to the specified file. Returns the name and
|
3213
|
+
# extension of the file.
|
2099
3214
|
# @return [String]
|
2100
3215
|
#
|
2101
3216
|
# @!attribute [rw] file_mode
|
@@ -2104,7 +3219,7 @@ module Aws::CodeCommit
|
|
2104
3219
|
#
|
2105
3220
|
# <note markdown="1"> The file mode permissions returned by this API are not the standard
|
2106
3221
|
# file mode permission values, such as 100644, but rather extrapolated
|
2107
|
-
# values. See
|
3222
|
+
# values. See the supported return values.
|
2108
3223
|
#
|
2109
3224
|
# </note>
|
2110
3225
|
# @return [String]
|
@@ -2144,16 +3259,16 @@ module Aws::CodeCommit
|
|
2144
3259
|
# @return [String]
|
2145
3260
|
#
|
2146
3261
|
# @!attribute [rw] commit_specifier
|
2147
|
-
# A fully
|
2148
|
-
# the version of the folder's content to return. A fully
|
3262
|
+
# A fully qualified reference used to identify a commit that contains
|
3263
|
+
# the version of the folder's content to return. A fully qualified
|
2149
3264
|
# reference can be a commit ID, branch name, tag, or reference such as
|
2150
|
-
# HEAD. If no specifier is provided, the folder content
|
2151
|
-
#
|
3265
|
+
# HEAD. If no specifier is provided, the folder content is returned as
|
3266
|
+
# it exists in the HEAD commit.
|
2152
3267
|
# @return [String]
|
2153
3268
|
#
|
2154
3269
|
# @!attribute [rw] folder_path
|
2155
|
-
# The fully
|
2156
|
-
#
|
3270
|
+
# The fully qualified path to the folder whose contents are returned,
|
3271
|
+
# including the folder name. For example, /examples is a
|
2157
3272
|
# fully-qualified path to a folder named examples that was created off
|
2158
3273
|
# of the root directory (/) of a repository.
|
2159
3274
|
# @return [String]
|
@@ -2168,12 +3283,12 @@ module Aws::CodeCommit
|
|
2168
3283
|
end
|
2169
3284
|
|
2170
3285
|
# @!attribute [rw] commit_id
|
2171
|
-
# The full commit ID used as a reference for
|
2172
|
-
# folder content
|
3286
|
+
# The full commit ID used as a reference for the returned version of
|
3287
|
+
# the folder content.
|
2173
3288
|
# @return [String]
|
2174
3289
|
#
|
2175
3290
|
# @!attribute [rw] folder_path
|
2176
|
-
# The fully
|
3291
|
+
# The fully qualified path of the folder whose contents are returned.
|
2177
3292
|
# @return [String]
|
2178
3293
|
#
|
2179
3294
|
# @!attribute [rw] tree_id
|
@@ -2182,20 +3297,20 @@ module Aws::CodeCommit
|
|
2182
3297
|
# @return [String]
|
2183
3298
|
#
|
2184
3299
|
# @!attribute [rw] sub_folders
|
2185
|
-
# The list of folders that exist
|
3300
|
+
# The list of folders that exist under the specified folder, if any.
|
2186
3301
|
# @return [Array<Types::Folder>]
|
2187
3302
|
#
|
2188
3303
|
# @!attribute [rw] files
|
2189
|
-
# The list of files
|
3304
|
+
# The list of files in the specified folder, if any.
|
2190
3305
|
# @return [Array<Types::File>]
|
2191
3306
|
#
|
2192
3307
|
# @!attribute [rw] symbolic_links
|
2193
|
-
# The list of symbolic links to other files and folders
|
2194
|
-
#
|
3308
|
+
# The list of symbolic links to other files and folders in the
|
3309
|
+
# specified folder, if any.
|
2195
3310
|
# @return [Array<Types::SymbolicLink>]
|
2196
3311
|
#
|
2197
3312
|
# @!attribute [rw] sub_modules
|
2198
|
-
# The list of submodules
|
3313
|
+
# The list of submodules in the specified folder, if any.
|
2199
3314
|
# @return [Array<Types::SubModule>]
|
2200
3315
|
#
|
2201
3316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolderOutput AWS API Documentation
|
@@ -2229,27 +3344,27 @@ module Aws::CodeCommit
|
|
2229
3344
|
#
|
2230
3345
|
# @!attribute [rw] source_commit_specifier
|
2231
3346
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2232
|
-
# identify a commit
|
3347
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2233
3348
|
# @return [String]
|
2234
3349
|
#
|
2235
3350
|
# @!attribute [rw] destination_commit_specifier
|
2236
3351
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2237
|
-
# identify a commit
|
3352
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2238
3353
|
# @return [String]
|
2239
3354
|
#
|
2240
3355
|
# @!attribute [rw] conflict_detail_level
|
2241
3356
|
# The level of conflict detail to use. If unspecified, the default
|
2242
|
-
# FILE\_LEVEL is used, which
|
3357
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2243
3358
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2244
|
-
# specified, a conflict
|
2245
|
-
#
|
3359
|
+
# specified, a conflict is considered not mergeable if the same file
|
3360
|
+
# in both branches has differences on the same line.
|
2246
3361
|
# @return [String]
|
2247
3362
|
#
|
2248
3363
|
# @!attribute [rw] conflict_resolution_strategy
|
2249
3364
|
# Specifies which branch to use when resolving conflicts, or whether
|
2250
3365
|
# to attempt automatically merging two versions of a file. The default
|
2251
3366
|
# is NONE, which requires any conflicts to be resolved manually before
|
2252
|
-
# the merge operation
|
3367
|
+
# the merge operation is successful.
|
2253
3368
|
# @return [String]
|
2254
3369
|
#
|
2255
3370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommitInput AWS API Documentation
|
@@ -2280,7 +3395,7 @@ module Aws::CodeCommit
|
|
2280
3395
|
# @!attribute [rw] merged_commit_id
|
2281
3396
|
# The commit ID for the merge commit created when the source branch
|
2282
3397
|
# was merged into the destination branch. If the fast-forward merge
|
2283
|
-
# strategy was used, no merge commit
|
3398
|
+
# strategy was used, there is no merge commit.
|
2284
3399
|
# @return [String]
|
2285
3400
|
#
|
2286
3401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommitOutput AWS API Documentation
|
@@ -2313,12 +3428,12 @@ module Aws::CodeCommit
|
|
2313
3428
|
#
|
2314
3429
|
# @!attribute [rw] destination_commit_specifier
|
2315
3430
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2316
|
-
# identify a commit
|
3431
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2317
3432
|
# @return [String]
|
2318
3433
|
#
|
2319
3434
|
# @!attribute [rw] source_commit_specifier
|
2320
3435
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2321
|
-
# identify a commit
|
3436
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2322
3437
|
# @return [String]
|
2323
3438
|
#
|
2324
3439
|
# @!attribute [rw] merge_option
|
@@ -2327,10 +3442,10 @@ module Aws::CodeCommit
|
|
2327
3442
|
#
|
2328
3443
|
# @!attribute [rw] conflict_detail_level
|
2329
3444
|
# The level of conflict detail to use. If unspecified, the default
|
2330
|
-
# FILE\_LEVEL is used, which
|
3445
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2331
3446
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2332
|
-
# specified, a conflict
|
2333
|
-
#
|
3447
|
+
# specified, a conflict is considered not mergeable if the same file
|
3448
|
+
# in both branches has differences on the same line.
|
2334
3449
|
# @return [String]
|
2335
3450
|
#
|
2336
3451
|
# @!attribute [rw] max_conflict_files
|
@@ -2341,11 +3456,11 @@ module Aws::CodeCommit
|
|
2341
3456
|
# Specifies which branch to use when resolving conflicts, or whether
|
2342
3457
|
# to attempt automatically merging two versions of a file. The default
|
2343
3458
|
# is NONE, which requires any conflicts to be resolved manually before
|
2344
|
-
# the merge operation
|
3459
|
+
# the merge operation is successful.
|
2345
3460
|
# @return [String]
|
2346
3461
|
#
|
2347
3462
|
# @!attribute [rw] next_token
|
2348
|
-
# An enumeration token that when provided in a request, returns the
|
3463
|
+
# An enumeration token that, when provided in a request, returns the
|
2349
3464
|
# next batch of the results.
|
2350
3465
|
# @return [String]
|
2351
3466
|
#
|
@@ -2384,7 +3499,7 @@ module Aws::CodeCommit
|
|
2384
3499
|
#
|
2385
3500
|
# @!attribute [rw] conflict_metadata_list
|
2386
3501
|
# A list of metadata for any conflicting files. If the specified merge
|
2387
|
-
# strategy is FAST\_FORWARD\_MERGE, this list
|
3502
|
+
# strategy is FAST\_FORWARD\_MERGE, this list is always empty.
|
2388
3503
|
# @return [Array<Types::ConflictMetadata>]
|
2389
3504
|
#
|
2390
3505
|
# @!attribute [rw] next_token
|
@@ -2422,27 +3537,27 @@ module Aws::CodeCommit
|
|
2422
3537
|
#
|
2423
3538
|
# @!attribute [rw] source_commit_specifier
|
2424
3539
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2425
|
-
# identify a commit
|
3540
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2426
3541
|
# @return [String]
|
2427
3542
|
#
|
2428
3543
|
# @!attribute [rw] destination_commit_specifier
|
2429
3544
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2430
|
-
# identify a commit
|
3545
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2431
3546
|
# @return [String]
|
2432
3547
|
#
|
2433
3548
|
# @!attribute [rw] conflict_detail_level
|
2434
3549
|
# The level of conflict detail to use. If unspecified, the default
|
2435
|
-
# FILE\_LEVEL is used, which
|
3550
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2436
3551
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2437
|
-
# specified, a conflict
|
2438
|
-
#
|
3552
|
+
# specified, a conflict is considered not mergeable if the same file
|
3553
|
+
# in both branches has differences on the same line.
|
2439
3554
|
# @return [String]
|
2440
3555
|
#
|
2441
3556
|
# @!attribute [rw] conflict_resolution_strategy
|
2442
3557
|
# Specifies which branch to use when resolving conflicts, or whether
|
2443
3558
|
# to attempt automatically merging two versions of a file. The default
|
2444
3559
|
# is NONE, which requires any conflicts to be resolved manually before
|
2445
|
-
# the merge operation
|
3560
|
+
# the merge operation is successful.
|
2446
3561
|
# @return [String]
|
2447
3562
|
#
|
2448
3563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptionsInput AWS API Documentation
|
@@ -2484,6 +3599,41 @@ module Aws::CodeCommit
|
|
2484
3599
|
include Aws::Structure
|
2485
3600
|
end
|
2486
3601
|
|
3602
|
+
# @note When making an API call, you may pass GetPullRequestApprovalStatesInput
|
3603
|
+
# data as a hash:
|
3604
|
+
#
|
3605
|
+
# {
|
3606
|
+
# pull_request_id: "PullRequestId", # required
|
3607
|
+
# revision_id: "RevisionId", # required
|
3608
|
+
# }
|
3609
|
+
#
|
3610
|
+
# @!attribute [rw] pull_request_id
|
3611
|
+
# The system-generated ID for the pull request.
|
3612
|
+
# @return [String]
|
3613
|
+
#
|
3614
|
+
# @!attribute [rw] revision_id
|
3615
|
+
# The system-generated ID for the pull request revision.
|
3616
|
+
# @return [String]
|
3617
|
+
#
|
3618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStatesInput AWS API Documentation
|
3619
|
+
#
|
3620
|
+
class GetPullRequestApprovalStatesInput < Struct.new(
|
3621
|
+
:pull_request_id,
|
3622
|
+
:revision_id)
|
3623
|
+
include Aws::Structure
|
3624
|
+
end
|
3625
|
+
|
3626
|
+
# @!attribute [rw] approvals
|
3627
|
+
# Information about users who have approved the pull request.
|
3628
|
+
# @return [Array<Types::Approval>]
|
3629
|
+
#
|
3630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStatesOutput AWS API Documentation
|
3631
|
+
#
|
3632
|
+
class GetPullRequestApprovalStatesOutput < Struct.new(
|
3633
|
+
:approvals)
|
3634
|
+
include Aws::Structure
|
3635
|
+
end
|
3636
|
+
|
2487
3637
|
# @note When making an API call, you may pass GetPullRequestInput
|
2488
3638
|
# data as a hash:
|
2489
3639
|
#
|
@@ -2498,117 +3648,705 @@ module Aws::CodeCommit
|
|
2498
3648
|
#
|
2499
3649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestInput AWS API Documentation
|
2500
3650
|
#
|
2501
|
-
class GetPullRequestInput < Struct.new(
|
2502
|
-
:pull_request_id)
|
2503
|
-
include Aws::Structure
|
2504
|
-
end
|
2505
|
-
|
2506
|
-
# @!attribute [rw] pull_request
|
2507
|
-
# Information about the specified pull request.
|
2508
|
-
# @return [Types::PullRequest]
|
3651
|
+
class GetPullRequestInput < Struct.new(
|
3652
|
+
:pull_request_id)
|
3653
|
+
include Aws::Structure
|
3654
|
+
end
|
3655
|
+
|
3656
|
+
# @!attribute [rw] pull_request
|
3657
|
+
# Information about the specified pull request.
|
3658
|
+
# @return [Types::PullRequest]
|
3659
|
+
#
|
3660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOutput AWS API Documentation
|
3661
|
+
#
|
3662
|
+
class GetPullRequestOutput < Struct.new(
|
3663
|
+
:pull_request)
|
3664
|
+
include Aws::Structure
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
# @note When making an API call, you may pass GetPullRequestOverrideStateInput
|
3668
|
+
# data as a hash:
|
3669
|
+
#
|
3670
|
+
# {
|
3671
|
+
# pull_request_id: "PullRequestId", # required
|
3672
|
+
# revision_id: "RevisionId", # required
|
3673
|
+
# }
|
3674
|
+
#
|
3675
|
+
# @!attribute [rw] pull_request_id
|
3676
|
+
# The ID of the pull request for which you want to get information
|
3677
|
+
# about whether approval rules have been set aside (overridden).
|
3678
|
+
# @return [String]
|
3679
|
+
#
|
3680
|
+
# @!attribute [rw] revision_id
|
3681
|
+
# The system-generated ID of the revision for the pull request. To
|
3682
|
+
# retrieve the most recent revision ID, use GetPullRequest.
|
3683
|
+
# @return [String]
|
3684
|
+
#
|
3685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideStateInput AWS API Documentation
|
3686
|
+
#
|
3687
|
+
class GetPullRequestOverrideStateInput < Struct.new(
|
3688
|
+
:pull_request_id,
|
3689
|
+
:revision_id)
|
3690
|
+
include Aws::Structure
|
3691
|
+
end
|
3692
|
+
|
3693
|
+
# @!attribute [rw] overridden
|
3694
|
+
# A Boolean value that indicates whether a pull request has had its
|
3695
|
+
# rules set aside (TRUE) or whether all approval rules still apply
|
3696
|
+
# (FALSE).
|
3697
|
+
# @return [Boolean]
|
3698
|
+
#
|
3699
|
+
# @!attribute [rw] overrider
|
3700
|
+
# The Amazon Resource Name (ARN) of the user or identity that overrode
|
3701
|
+
# the rules and their requirements for the pull request.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideStateOutput AWS API Documentation
|
3705
|
+
#
|
3706
|
+
class GetPullRequestOverrideStateOutput < Struct.new(
|
3707
|
+
:overridden,
|
3708
|
+
:overrider)
|
3709
|
+
include Aws::Structure
|
3710
|
+
end
|
3711
|
+
|
3712
|
+
# Represents the input of a get repository operation.
|
3713
|
+
#
|
3714
|
+
# @note When making an API call, you may pass GetRepositoryInput
|
3715
|
+
# data as a hash:
|
3716
|
+
#
|
3717
|
+
# {
|
3718
|
+
# repository_name: "RepositoryName", # required
|
3719
|
+
# }
|
3720
|
+
#
|
3721
|
+
# @!attribute [rw] repository_name
|
3722
|
+
# The name of the repository to get information about.
|
3723
|
+
# @return [String]
|
3724
|
+
#
|
3725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput AWS API Documentation
|
3726
|
+
#
|
3727
|
+
class GetRepositoryInput < Struct.new(
|
3728
|
+
:repository_name)
|
3729
|
+
include Aws::Structure
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
# Represents the output of a get repository operation.
|
3733
|
+
#
|
3734
|
+
# @!attribute [rw] repository_metadata
|
3735
|
+
# Information about the repository.
|
3736
|
+
# @return [Types::RepositoryMetadata]
|
3737
|
+
#
|
3738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput AWS API Documentation
|
3739
|
+
#
|
3740
|
+
class GetRepositoryOutput < Struct.new(
|
3741
|
+
:repository_metadata)
|
3742
|
+
include Aws::Structure
|
3743
|
+
end
|
3744
|
+
|
3745
|
+
# Represents the input of a get repository triggers operation.
|
3746
|
+
#
|
3747
|
+
# @note When making an API call, you may pass GetRepositoryTriggersInput
|
3748
|
+
# data as a hash:
|
3749
|
+
#
|
3750
|
+
# {
|
3751
|
+
# repository_name: "RepositoryName", # required
|
3752
|
+
# }
|
3753
|
+
#
|
3754
|
+
# @!attribute [rw] repository_name
|
3755
|
+
# The name of the repository for which the trigger is configured.
|
3756
|
+
# @return [String]
|
3757
|
+
#
|
3758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput AWS API Documentation
|
3759
|
+
#
|
3760
|
+
class GetRepositoryTriggersInput < Struct.new(
|
3761
|
+
:repository_name)
|
3762
|
+
include Aws::Structure
|
3763
|
+
end
|
3764
|
+
|
3765
|
+
# Represents the output of a get repository triggers operation.
|
3766
|
+
#
|
3767
|
+
# @!attribute [rw] configuration_id
|
3768
|
+
# The system-generated unique ID for the trigger.
|
3769
|
+
# @return [String]
|
3770
|
+
#
|
3771
|
+
# @!attribute [rw] triggers
|
3772
|
+
# The JSON block of configuration information for each trigger.
|
3773
|
+
# @return [Array<Types::RepositoryTrigger>]
|
3774
|
+
#
|
3775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput AWS API Documentation
|
3776
|
+
#
|
3777
|
+
class GetRepositoryTriggersOutput < Struct.new(
|
3778
|
+
:configuration_id,
|
3779
|
+
:triggers)
|
3780
|
+
include Aws::Structure
|
3781
|
+
end
|
3782
|
+
|
3783
|
+
# The client request token is not valid. Either the token is not in a
|
3784
|
+
# valid format, or the token has been used in a previous request and
|
3785
|
+
# cannot be reused.
|
3786
|
+
#
|
3787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IdempotencyParameterMismatchException AWS API Documentation
|
3788
|
+
#
|
3789
|
+
class IdempotencyParameterMismatchException < Aws::EmptyStructure; end
|
3790
|
+
|
3791
|
+
# The Amazon Resource Name (ARN) is not valid. Make sure that you have
|
3792
|
+
# provided the full ARN for the user who initiated the change for the
|
3793
|
+
# pull request, and then try again.
|
3794
|
+
#
|
3795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidActorArnException AWS API Documentation
|
3796
|
+
#
|
3797
|
+
class InvalidActorArnException < Aws::EmptyStructure; end
|
3798
|
+
|
3799
|
+
# The content for the approval rule is not valid.
|
3800
|
+
#
|
3801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleContentException AWS API Documentation
|
3802
|
+
#
|
3803
|
+
class InvalidApprovalRuleContentException < Aws::EmptyStructure; end
|
3804
|
+
|
3805
|
+
# The name for the approval rule is not valid.
|
3806
|
+
#
|
3807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleNameException AWS API Documentation
|
3808
|
+
#
|
3809
|
+
class InvalidApprovalRuleNameException < Aws::EmptyStructure; end
|
3810
|
+
|
3811
|
+
# The content of the approval rule template is not valid.
|
3812
|
+
#
|
3813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateContentException AWS API Documentation
|
3814
|
+
#
|
3815
|
+
class InvalidApprovalRuleTemplateContentException < Aws::EmptyStructure; end
|
3816
|
+
|
3817
|
+
# The description for the approval rule template is not valid because it
|
3818
|
+
# exceeds the maximum characters allowed for a description. For more
|
3819
|
+
# information about limits in AWS CodeCommit, see [AWS CodeCommit User
|
3820
|
+
# Guide][1].
|
3821
|
+
#
|
3822
|
+
#
|
3823
|
+
#
|
3824
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
|
3825
|
+
#
|
3826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateDescriptionException AWS API Documentation
|
3827
|
+
#
|
3828
|
+
class InvalidApprovalRuleTemplateDescriptionException < Aws::EmptyStructure; end
|
3829
|
+
|
3830
|
+
# The name of the approval rule template is not valid. Template names
|
3831
|
+
# must be between 1 and 100 valid characters in length. For more
|
3832
|
+
# information about limits in AWS CodeCommit, see [AWS CodeCommit User
|
3833
|
+
# Guide][1].
|
3834
|
+
#
|
3835
|
+
#
|
3836
|
+
#
|
3837
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
|
3838
|
+
#
|
3839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateNameException AWS API Documentation
|
3840
|
+
#
|
3841
|
+
class InvalidApprovalRuleTemplateNameException < Aws::EmptyStructure; end
|
3842
|
+
|
3843
|
+
# The state for the approval is not valid. Valid values include APPROVE
|
3844
|
+
# and REVOKE.
|
3845
|
+
#
|
3846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalStateException AWS API Documentation
|
3847
|
+
#
|
3848
|
+
class InvalidApprovalStateException < Aws::EmptyStructure; end
|
3849
|
+
|
3850
|
+
# The Amazon Resource Name (ARN) is not valid. Make sure that you have
|
3851
|
+
# provided the full ARN for the author of the pull request, and then try
|
3852
|
+
# again.
|
3853
|
+
#
|
3854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidAuthorArnException AWS API Documentation
|
3855
|
+
#
|
3856
|
+
class InvalidAuthorArnException < Aws::EmptyStructure; end
|
3857
|
+
|
3858
|
+
# The specified blob is not valid.
|
3859
|
+
#
|
3860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBlobIdException AWS API Documentation
|
3861
|
+
#
|
3862
|
+
class InvalidBlobIdException < Aws::EmptyStructure; end
|
3863
|
+
|
3864
|
+
# The specified reference name is not valid.
|
3865
|
+
#
|
3866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBranchNameException AWS API Documentation
|
3867
|
+
#
|
3868
|
+
class InvalidBranchNameException < Aws::EmptyStructure; end
|
3869
|
+
|
3870
|
+
# The client request token is not valid.
|
3871
|
+
#
|
3872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidClientRequestTokenException AWS API Documentation
|
3873
|
+
#
|
3874
|
+
class InvalidClientRequestTokenException < Aws::EmptyStructure; end
|
3875
|
+
|
3876
|
+
# The comment ID is not in a valid format. Make sure that you have
|
3877
|
+
# provided the full comment ID.
|
3878
|
+
#
|
3879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommentIdException AWS API Documentation
|
3880
|
+
#
|
3881
|
+
class InvalidCommentIdException < Aws::EmptyStructure; end
|
3882
|
+
|
3883
|
+
# The specified commit is not valid.
|
3884
|
+
#
|
3885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitException AWS API Documentation
|
3886
|
+
#
|
3887
|
+
class InvalidCommitException < Aws::EmptyStructure; end
|
3888
|
+
|
3889
|
+
# The specified commit ID is not valid.
|
3890
|
+
#
|
3891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitIdException AWS API Documentation
|
3892
|
+
#
|
3893
|
+
class InvalidCommitIdException < Aws::EmptyStructure; end
|
3894
|
+
|
3895
|
+
# The specified conflict detail level is not valid.
|
3896
|
+
#
|
3897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictDetailLevelException AWS API Documentation
|
3898
|
+
#
|
3899
|
+
class InvalidConflictDetailLevelException < Aws::EmptyStructure; end
|
3900
|
+
|
3901
|
+
# The specified conflict resolution list is not valid.
|
3902
|
+
#
|
3903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionException AWS API Documentation
|
3904
|
+
#
|
3905
|
+
class InvalidConflictResolutionException < Aws::EmptyStructure; end
|
3906
|
+
|
3907
|
+
# The specified conflict resolution strategy is not valid.
|
3908
|
+
#
|
3909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionStrategyException AWS API Documentation
|
3910
|
+
#
|
3911
|
+
class InvalidConflictResolutionStrategyException < Aws::EmptyStructure; end
|
3912
|
+
|
3913
|
+
# The specified continuation token is not valid.
|
3914
|
+
#
|
3915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidContinuationTokenException AWS API Documentation
|
3916
|
+
#
|
3917
|
+
class InvalidContinuationTokenException < Aws::EmptyStructure; end
|
3918
|
+
|
3919
|
+
# The specified deletion parameter is not valid.
|
3920
|
+
#
|
3921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDeletionParameterException AWS API Documentation
|
3922
|
+
#
|
3923
|
+
class InvalidDeletionParameterException < Aws::EmptyStructure; end
|
3924
|
+
|
3925
|
+
# The pull request description is not valid. Descriptions cannot be more
|
3926
|
+
# than 1,000 characters.
|
3927
|
+
#
|
3928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDescriptionException AWS API Documentation
|
3929
|
+
#
|
3930
|
+
class InvalidDescriptionException < Aws::EmptyStructure; end
|
3931
|
+
|
3932
|
+
# The destination commit specifier is not valid. You must provide a
|
3933
|
+
# valid branch name, tag, or full commit ID.
|
3934
|
+
#
|
3935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDestinationCommitSpecifierException AWS API Documentation
|
3936
|
+
#
|
3937
|
+
class InvalidDestinationCommitSpecifierException < Aws::EmptyStructure; end
|
3938
|
+
|
3939
|
+
# The specified email address either contains one or more characters
|
3940
|
+
# that are not allowed, or it exceeds the maximum number of characters
|
3941
|
+
# allowed for an email address.
|
3942
|
+
#
|
3943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidEmailException AWS API Documentation
|
3944
|
+
#
|
3945
|
+
class InvalidEmailException < Aws::EmptyStructure; end
|
3946
|
+
|
3947
|
+
# The location of the file is not valid. Make sure that you include the
|
3948
|
+
# file name and extension.
|
3949
|
+
#
|
3950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileLocationException AWS API Documentation
|
3951
|
+
#
|
3952
|
+
class InvalidFileLocationException < Aws::EmptyStructure; end
|
3953
|
+
|
3954
|
+
# The specified file mode permission is not valid. For a list of valid
|
3955
|
+
# file mode permissions, see PutFile.
|
3956
|
+
#
|
3957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileModeException AWS API Documentation
|
3958
|
+
#
|
3959
|
+
class InvalidFileModeException < Aws::EmptyStructure; end
|
3960
|
+
|
3961
|
+
# The position is not valid. Make sure that the line number exists in
|
3962
|
+
# the version of the file you want to comment on.
|
3963
|
+
#
|
3964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFilePositionException AWS API Documentation
|
3965
|
+
#
|
3966
|
+
class InvalidFilePositionException < Aws::EmptyStructure; end
|
3967
|
+
|
3968
|
+
# The specified value for the number of conflict files to return is not
|
3969
|
+
# valid.
|
3970
|
+
#
|
3971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxConflictFilesException AWS API Documentation
|
3972
|
+
#
|
3973
|
+
class InvalidMaxConflictFilesException < Aws::EmptyStructure; end
|
3974
|
+
|
3975
|
+
# The specified value for the number of merge hunks to return is not
|
3976
|
+
# valid.
|
3977
|
+
#
|
3978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxMergeHunksException AWS API Documentation
|
3979
|
+
#
|
3980
|
+
class InvalidMaxMergeHunksException < Aws::EmptyStructure; end
|
3981
|
+
|
3982
|
+
# The specified number of maximum results is not valid.
|
3983
|
+
#
|
3984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxResultsException AWS API Documentation
|
3985
|
+
#
|
3986
|
+
class InvalidMaxResultsException < Aws::EmptyStructure; end
|
3987
|
+
|
3988
|
+
# The specified merge option is not valid for this operation. Not all
|
3989
|
+
# merge strategies are supported for all operations.
|
3990
|
+
#
|
3991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMergeOptionException AWS API Documentation
|
3992
|
+
#
|
3993
|
+
class InvalidMergeOptionException < Aws::EmptyStructure; end
|
3994
|
+
|
3995
|
+
# The specified sort order is not valid.
|
3996
|
+
#
|
3997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOrderException AWS API Documentation
|
3998
|
+
#
|
3999
|
+
class InvalidOrderException < Aws::EmptyStructure; end
|
4000
|
+
|
4001
|
+
# The override status is not valid. Valid statuses are OVERRIDE and
|
4002
|
+
# REVOKE.
|
4003
|
+
#
|
4004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOverrideStatusException AWS API Documentation
|
4005
|
+
#
|
4006
|
+
class InvalidOverrideStatusException < Aws::EmptyStructure; end
|
4007
|
+
|
4008
|
+
# The parent commit ID is not valid. The commit ID cannot be empty, and
|
4009
|
+
# must match the head commit ID for the branch of the repository where
|
4010
|
+
# you want to add or update a file.
|
4011
|
+
#
|
4012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidParentCommitIdException AWS API Documentation
|
4013
|
+
#
|
4014
|
+
class InvalidParentCommitIdException < Aws::EmptyStructure; end
|
4015
|
+
|
4016
|
+
# The specified path is not valid.
|
4017
|
+
#
|
4018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPathException AWS API Documentation
|
4019
|
+
#
|
4020
|
+
class InvalidPathException < Aws::EmptyStructure; end
|
4021
|
+
|
4022
|
+
# The pull request event type is not valid.
|
4023
|
+
#
|
4024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestEventTypeException AWS API Documentation
|
4025
|
+
#
|
4026
|
+
class InvalidPullRequestEventTypeException < Aws::EmptyStructure; end
|
4027
|
+
|
4028
|
+
# The pull request ID is not valid. Make sure that you have provided the
|
4029
|
+
# full ID and that the pull request is in the specified repository, and
|
4030
|
+
# then try again.
|
4031
|
+
#
|
4032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestIdException AWS API Documentation
|
4033
|
+
#
|
4034
|
+
class InvalidPullRequestIdException < Aws::EmptyStructure; end
|
4035
|
+
|
4036
|
+
# The pull request status is not valid. The only valid values are `OPEN`
|
4037
|
+
# and `CLOSED`.
|
4038
|
+
#
|
4039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusException AWS API Documentation
|
4040
|
+
#
|
4041
|
+
class InvalidPullRequestStatusException < Aws::EmptyStructure; end
|
4042
|
+
|
4043
|
+
# The pull request status update is not valid. The only valid update is
|
4044
|
+
# from `OPEN` to `CLOSED`.
|
4045
|
+
#
|
4046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusUpdateException AWS API Documentation
|
4047
|
+
#
|
4048
|
+
class InvalidPullRequestStatusUpdateException < Aws::EmptyStructure; end
|
4049
|
+
|
4050
|
+
# The specified reference name format is not valid. Reference names must
|
4051
|
+
# conform to the Git references format (for example, refs/heads/master).
|
4052
|
+
# For more information, see [Git Internals - Git References][1] or
|
4053
|
+
# consult your Git documentation.
|
4054
|
+
#
|
4055
|
+
#
|
4056
|
+
#
|
4057
|
+
# [1]: https://git-scm.com/book/en/v2/Git-Internals-Git-References
|
4058
|
+
#
|
4059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReferenceNameException AWS API Documentation
|
4060
|
+
#
|
4061
|
+
class InvalidReferenceNameException < Aws::EmptyStructure; end
|
4062
|
+
|
4063
|
+
# Either the enum is not in a valid format, or the specified file
|
4064
|
+
# version enum is not valid in respect to the current file version.
|
4065
|
+
#
|
4066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRelativeFileVersionEnumException AWS API Documentation
|
4067
|
+
#
|
4068
|
+
class InvalidRelativeFileVersionEnumException < Aws::EmptyStructure; end
|
4069
|
+
|
4070
|
+
# Automerge was specified for resolving the conflict, but the
|
4071
|
+
# replacement type is not valid or content is missing.
|
4072
|
+
#
|
4073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementContentException AWS API Documentation
|
4074
|
+
#
|
4075
|
+
class InvalidReplacementContentException < Aws::EmptyStructure; end
|
4076
|
+
|
4077
|
+
# Automerge was specified for resolving the conflict, but the specified
|
4078
|
+
# replacement type is not valid.
|
4079
|
+
#
|
4080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementTypeException AWS API Documentation
|
4081
|
+
#
|
4082
|
+
class InvalidReplacementTypeException < Aws::EmptyStructure; end
|
4083
|
+
|
4084
|
+
# The specified repository description is not valid.
|
4085
|
+
#
|
4086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryDescriptionException AWS API Documentation
|
4087
|
+
#
|
4088
|
+
class InvalidRepositoryDescriptionException < Aws::EmptyStructure; end
|
4089
|
+
|
4090
|
+
# A specified repository name is not valid.
|
4091
|
+
#
|
4092
|
+
# <note markdown="1"> This exception occurs only when a specified repository name is not
|
4093
|
+
# valid. Other exceptions occur when a required repository parameter is
|
4094
|
+
# missing, or when a specified repository does not exist.
|
4095
|
+
#
|
4096
|
+
# </note>
|
4097
|
+
#
|
4098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryNameException AWS API Documentation
|
4099
|
+
#
|
4100
|
+
class InvalidRepositoryNameException < Aws::EmptyStructure; end
|
4101
|
+
|
4102
|
+
# One or more branch names specified for the trigger is not valid.
|
4103
|
+
#
|
4104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerBranchNameException AWS API Documentation
|
4105
|
+
#
|
4106
|
+
class InvalidRepositoryTriggerBranchNameException < Aws::EmptyStructure; end
|
4107
|
+
|
4108
|
+
# The custom data provided for the trigger is not valid.
|
4109
|
+
#
|
4110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerCustomDataException AWS API Documentation
|
4111
|
+
#
|
4112
|
+
class InvalidRepositoryTriggerCustomDataException < Aws::EmptyStructure; end
|
4113
|
+
|
4114
|
+
# The Amazon Resource Name (ARN) for the trigger is not valid for the
|
4115
|
+
# specified destination. The most common reason for this error is that
|
4116
|
+
# the ARN does not meet the requirements for the service type.
|
4117
|
+
#
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerDestinationArnException AWS API Documentation
|
4119
|
+
#
|
4120
|
+
class InvalidRepositoryTriggerDestinationArnException < Aws::EmptyStructure; end
|
4121
|
+
|
4122
|
+
# One or more events specified for the trigger is not valid. Check to
|
4123
|
+
# make sure that all events specified match the requirements for allowed
|
4124
|
+
# events.
|
4125
|
+
#
|
4126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerEventsException AWS API Documentation
|
4127
|
+
#
|
4128
|
+
class InvalidRepositoryTriggerEventsException < Aws::EmptyStructure; end
|
4129
|
+
|
4130
|
+
# The name of the trigger is not valid.
|
4131
|
+
#
|
4132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerNameException AWS API Documentation
|
4133
|
+
#
|
4134
|
+
class InvalidRepositoryTriggerNameException < Aws::EmptyStructure; end
|
4135
|
+
|
4136
|
+
# The AWS Region for the trigger target does not match the AWS Region
|
4137
|
+
# for the repository. Triggers must be created in the same Region as the
|
4138
|
+
# target for the trigger.
|
4139
|
+
#
|
4140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerRegionException AWS API Documentation
|
4141
|
+
#
|
4142
|
+
class InvalidRepositoryTriggerRegionException < Aws::EmptyStructure; end
|
4143
|
+
|
4144
|
+
# The value for the resource ARN is not valid. For more information
|
4145
|
+
# about resources in AWS CodeCommit, see [CodeCommit Resources and
|
4146
|
+
# Operations][1] in the AWS CodeCommit User Guide.
|
4147
|
+
#
|
4148
|
+
#
|
4149
|
+
#
|
4150
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
|
4151
|
+
#
|
4152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidResourceArnException AWS API Documentation
|
4153
|
+
#
|
4154
|
+
class InvalidResourceArnException < Aws::EmptyStructure; end
|
4155
|
+
|
4156
|
+
# The revision ID is not valid. Use GetPullRequest to determine the
|
4157
|
+
# value.
|
4158
|
+
#
|
4159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRevisionIdException AWS API Documentation
|
4160
|
+
#
|
4161
|
+
class InvalidRevisionIdException < Aws::EmptyStructure; end
|
4162
|
+
|
4163
|
+
# The SHA-256 hash signature for the rule content is not valid.
|
4164
|
+
#
|
4165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRuleContentSha256Exception AWS API Documentation
|
4166
|
+
#
|
4167
|
+
class InvalidRuleContentSha256Exception < Aws::EmptyStructure; end
|
4168
|
+
|
4169
|
+
# The specified sort by value is not valid.
|
4170
|
+
#
|
4171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSortByException AWS API Documentation
|
4172
|
+
#
|
4173
|
+
class InvalidSortByException < Aws::EmptyStructure; end
|
4174
|
+
|
4175
|
+
# The source commit specifier is not valid. You must provide a valid
|
4176
|
+
# branch name, tag, or full commit ID.
|
4177
|
+
#
|
4178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSourceCommitSpecifierException AWS API Documentation
|
4179
|
+
#
|
4180
|
+
class InvalidSourceCommitSpecifierException < Aws::EmptyStructure; end
|
4181
|
+
|
4182
|
+
# The specified tag is not valid. Key names cannot be prefixed with
|
4183
|
+
# aws:.
|
4184
|
+
#
|
4185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSystemTagUsageException AWS API Documentation
|
4186
|
+
#
|
4187
|
+
class InvalidSystemTagUsageException < Aws::EmptyStructure; end
|
4188
|
+
|
4189
|
+
# The list of tags is not valid.
|
4190
|
+
#
|
4191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagKeysListException AWS API Documentation
|
4192
|
+
#
|
4193
|
+
class InvalidTagKeysListException < Aws::EmptyStructure; end
|
4194
|
+
|
4195
|
+
# The map of tags is not valid.
|
4196
|
+
#
|
4197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagsMapException AWS API Documentation
|
4198
|
+
#
|
4199
|
+
class InvalidTagsMapException < Aws::EmptyStructure; end
|
4200
|
+
|
4201
|
+
# The specified target branch is not valid.
|
4202
|
+
#
|
4203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetBranchException AWS API Documentation
|
4204
|
+
#
|
4205
|
+
class InvalidTargetBranchException < Aws::EmptyStructure; end
|
4206
|
+
|
4207
|
+
# The target for the pull request is not valid. A target must contain
|
4208
|
+
# the full values for the repository name, source branch, and
|
4209
|
+
# destination branch for the pull request.
|
4210
|
+
#
|
4211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetException AWS API Documentation
|
4212
|
+
#
|
4213
|
+
class InvalidTargetException < Aws::EmptyStructure; end
|
4214
|
+
|
4215
|
+
# The targets for the pull request is not valid or not in a valid
|
4216
|
+
# format. Targets are a list of target objects. Each target object must
|
4217
|
+
# contain the full values for the repository name, source branch, and
|
4218
|
+
# destination branch for a pull request.
|
4219
|
+
#
|
4220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetsException AWS API Documentation
|
4221
|
+
#
|
4222
|
+
class InvalidTargetsException < Aws::EmptyStructure; end
|
4223
|
+
|
4224
|
+
# The title of the pull request is not valid. Pull request titles cannot
|
4225
|
+
# exceed 100 characters in length.
|
4226
|
+
#
|
4227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTitleException AWS API Documentation
|
4228
|
+
#
|
4229
|
+
class InvalidTitleException < Aws::EmptyStructure; end
|
4230
|
+
|
4231
|
+
# Information about whether a file is binary or textual in a merge or
|
4232
|
+
# pull request operation.
|
4233
|
+
#
|
4234
|
+
# @!attribute [rw] source
|
4235
|
+
# The binary or non-binary status of file in the source of a merge or
|
4236
|
+
# pull request.
|
4237
|
+
# @return [Boolean]
|
4238
|
+
#
|
4239
|
+
# @!attribute [rw] destination
|
4240
|
+
# The binary or non-binary status of a file in the destination of a
|
4241
|
+
# merge or pull request.
|
4242
|
+
# @return [Boolean]
|
4243
|
+
#
|
4244
|
+
# @!attribute [rw] base
|
4245
|
+
# The binary or non-binary status of a file in the base of a merge or
|
4246
|
+
# pull request.
|
4247
|
+
# @return [Boolean]
|
2509
4248
|
#
|
2510
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
4249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
|
2511
4250
|
#
|
2512
|
-
class
|
2513
|
-
:
|
4251
|
+
class IsBinaryFile < Struct.new(
|
4252
|
+
:source,
|
4253
|
+
:destination,
|
4254
|
+
:base)
|
2514
4255
|
include Aws::Structure
|
2515
4256
|
end
|
2516
4257
|
|
2517
|
-
#
|
2518
|
-
#
|
2519
|
-
# @note When making an API call, you may pass GetRepositoryInput
|
4258
|
+
# @note When making an API call, you may pass ListApprovalRuleTemplatesInput
|
2520
4259
|
# data as a hash:
|
2521
4260
|
#
|
2522
4261
|
# {
|
2523
|
-
#
|
4262
|
+
# next_token: "NextToken",
|
4263
|
+
# max_results: 1,
|
2524
4264
|
# }
|
2525
4265
|
#
|
2526
|
-
# @!attribute [rw]
|
2527
|
-
#
|
4266
|
+
# @!attribute [rw] next_token
|
4267
|
+
# An enumeration token that, when provided in a request, returns the
|
4268
|
+
# next batch of the results.
|
2528
4269
|
# @return [String]
|
2529
4270
|
#
|
2530
|
-
#
|
4271
|
+
# @!attribute [rw] max_results
|
4272
|
+
# A non-zero, non-negative integer used to limit the number of
|
4273
|
+
# returned results.
|
4274
|
+
# @return [Integer]
|
2531
4275
|
#
|
2532
|
-
|
2533
|
-
|
4276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
|
4277
|
+
#
|
4278
|
+
class ListApprovalRuleTemplatesInput < Struct.new(
|
4279
|
+
:next_token,
|
4280
|
+
:max_results)
|
2534
4281
|
include Aws::Structure
|
2535
4282
|
end
|
2536
4283
|
|
2537
|
-
#
|
4284
|
+
# @!attribute [rw] approval_rule_template_names
|
4285
|
+
# The names of all the approval rule templates found in the AWS Region
|
4286
|
+
# for your AWS account.
|
4287
|
+
# @return [Array<String>]
|
2538
4288
|
#
|
2539
|
-
# @!attribute [rw]
|
2540
|
-
#
|
2541
|
-
#
|
4289
|
+
# @!attribute [rw] next_token
|
4290
|
+
# An enumeration token that allows the operation to batch the next
|
4291
|
+
# results of the operation.
|
4292
|
+
# @return [String]
|
2542
4293
|
#
|
2543
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
4294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
|
2544
4295
|
#
|
2545
|
-
class
|
2546
|
-
:
|
4296
|
+
class ListApprovalRuleTemplatesOutput < Struct.new(
|
4297
|
+
:approval_rule_template_names,
|
4298
|
+
:next_token)
|
2547
4299
|
include Aws::Structure
|
2548
4300
|
end
|
2549
4301
|
|
2550
|
-
#
|
2551
|
-
#
|
2552
|
-
# @note When making an API call, you may pass GetRepositoryTriggersInput
|
4302
|
+
# @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
|
2553
4303
|
# data as a hash:
|
2554
4304
|
#
|
2555
4305
|
# {
|
2556
4306
|
# repository_name: "RepositoryName", # required
|
4307
|
+
# next_token: "NextToken",
|
4308
|
+
# max_results: 1,
|
2557
4309
|
# }
|
2558
4310
|
#
|
2559
4311
|
# @!attribute [rw] repository_name
|
2560
|
-
# The name of the repository for which
|
4312
|
+
# The name of the repository for which you want to list all associated
|
4313
|
+
# approval rule templates.
|
2561
4314
|
# @return [String]
|
2562
4315
|
#
|
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.
|
4316
|
+
# @!attribute [rw] next_token
|
4317
|
+
# An enumeration token that, when provided in a request, returns the
|
4318
|
+
# next batch of the results.
|
2574
4319
|
# @return [String]
|
2575
4320
|
#
|
2576
|
-
# @!attribute [rw]
|
2577
|
-
#
|
2578
|
-
#
|
4321
|
+
# @!attribute [rw] max_results
|
4322
|
+
# A non-zero, non-negative integer used to limit the number of
|
4323
|
+
# returned results.
|
4324
|
+
# @return [Integer]
|
2579
4325
|
#
|
2580
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
4326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
|
2581
4327
|
#
|
2582
|
-
class
|
2583
|
-
:
|
2584
|
-
:
|
4328
|
+
class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
|
4329
|
+
:repository_name,
|
4330
|
+
:next_token,
|
4331
|
+
:max_results)
|
2585
4332
|
include Aws::Structure
|
2586
4333
|
end
|
2587
4334
|
|
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]
|
4335
|
+
# @!attribute [rw] approval_rule_template_names
|
4336
|
+
# The names of all approval rule templates associated with the
|
4337
|
+
# repository.
|
4338
|
+
# @return [Array<String>]
|
2600
4339
|
#
|
2601
|
-
# @!attribute [rw]
|
2602
|
-
#
|
2603
|
-
#
|
2604
|
-
# @return [
|
4340
|
+
# @!attribute [rw] next_token
|
4341
|
+
# An enumeration token that allows the operation to batch the next
|
4342
|
+
# results of the operation.
|
4343
|
+
# @return [String]
|
2605
4344
|
#
|
2606
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/
|
4345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryOutput AWS API Documentation
|
2607
4346
|
#
|
2608
|
-
class
|
2609
|
-
:
|
2610
|
-
:
|
2611
|
-
:base)
|
4347
|
+
class ListAssociatedApprovalRuleTemplatesForRepositoryOutput < Struct.new(
|
4348
|
+
:approval_rule_template_names,
|
4349
|
+
:next_token)
|
2612
4350
|
include Aws::Structure
|
2613
4351
|
end
|
2614
4352
|
|
@@ -2683,12 +4421,13 @@ module Aws::CodeCommit
|
|
2683
4421
|
# @return [String]
|
2684
4422
|
#
|
2685
4423
|
# @!attribute [rw] next_token
|
2686
|
-
# An enumeration token that when provided in a request, returns the
|
4424
|
+
# An enumeration token that, when provided in a request, returns the
|
2687
4425
|
# next batch of the results.
|
2688
4426
|
# @return [String]
|
2689
4427
|
#
|
2690
4428
|
# @!attribute [rw] max_results
|
2691
|
-
# A non-negative integer used to limit the number of
|
4429
|
+
# A non-zero, non-negative integer used to limit the number of
|
4430
|
+
# returned results.
|
2692
4431
|
# @return [Integer]
|
2693
4432
|
#
|
2694
4433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput AWS API Documentation
|
@@ -2707,8 +4446,8 @@ module Aws::CodeCommit
|
|
2707
4446
|
# @return [Array<String>]
|
2708
4447
|
#
|
2709
4448
|
# @!attribute [rw] next_token
|
2710
|
-
# An enumeration token that
|
2711
|
-
#
|
4449
|
+
# An enumeration token that allows the operation to batch the next
|
4450
|
+
# results of the operation.
|
2712
4451
|
# @return [String]
|
2713
4452
|
#
|
2714
4453
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput AWS API Documentation
|
@@ -2719,6 +4458,57 @@ module Aws::CodeCommit
|
|
2719
4458
|
include Aws::Structure
|
2720
4459
|
end
|
2721
4460
|
|
4461
|
+
# @note When making an API call, you may pass ListRepositoriesForApprovalRuleTemplateInput
|
4462
|
+
# data as a hash:
|
4463
|
+
#
|
4464
|
+
# {
|
4465
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
4466
|
+
# next_token: "NextToken",
|
4467
|
+
# max_results: 1,
|
4468
|
+
# }
|
4469
|
+
#
|
4470
|
+
# @!attribute [rw] approval_rule_template_name
|
4471
|
+
# The name of the approval rule template for which you want to list
|
4472
|
+
# repositories that are associated with that template.
|
4473
|
+
# @return [String]
|
4474
|
+
#
|
4475
|
+
# @!attribute [rw] next_token
|
4476
|
+
# An enumeration token that, when provided in a request, returns the
|
4477
|
+
# next batch of the results.
|
4478
|
+
# @return [String]
|
4479
|
+
#
|
4480
|
+
# @!attribute [rw] max_results
|
4481
|
+
# A non-zero, non-negative integer used to limit the number of
|
4482
|
+
# returned results.
|
4483
|
+
# @return [Integer]
|
4484
|
+
#
|
4485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplateInput AWS API Documentation
|
4486
|
+
#
|
4487
|
+
class ListRepositoriesForApprovalRuleTemplateInput < Struct.new(
|
4488
|
+
:approval_rule_template_name,
|
4489
|
+
:next_token,
|
4490
|
+
:max_results)
|
4491
|
+
include Aws::Structure
|
4492
|
+
end
|
4493
|
+
|
4494
|
+
# @!attribute [rw] repository_names
|
4495
|
+
# A list of repository names that are associated with the specified
|
4496
|
+
# approval rule template.
|
4497
|
+
# @return [Array<String>]
|
4498
|
+
#
|
4499
|
+
# @!attribute [rw] next_token
|
4500
|
+
# An enumeration token that allows the operation to batch the next
|
4501
|
+
# results of the operation.
|
4502
|
+
# @return [String]
|
4503
|
+
#
|
4504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplateOutput AWS API Documentation
|
4505
|
+
#
|
4506
|
+
class ListRepositoriesForApprovalRuleTemplateOutput < Struct.new(
|
4507
|
+
:repository_names,
|
4508
|
+
:next_token)
|
4509
|
+
include Aws::Structure
|
4510
|
+
end
|
4511
|
+
|
2722
4512
|
# Represents the input of a list repositories operation.
|
2723
4513
|
#
|
2724
4514
|
# @note When making an API call, you may pass ListRepositoriesInput
|
@@ -2791,7 +4581,7 @@ module Aws::CodeCommit
|
|
2791
4581
|
# @return [String]
|
2792
4582
|
#
|
2793
4583
|
# @!attribute [rw] next_token
|
2794
|
-
# An enumeration token that when provided in a request, returns the
|
4584
|
+
# An enumeration token that, when provided in a request, returns the
|
2795
4585
|
# next batch of the results.
|
2796
4586
|
# @return [String]
|
2797
4587
|
#
|
@@ -2839,13 +4629,12 @@ module Aws::CodeCommit
|
|
2839
4629
|
# @return [String]
|
2840
4630
|
#
|
2841
4631
|
# @!attribute [rw] file_position
|
2842
|
-
# The position of a change
|
2843
|
-
# format.
|
4632
|
+
# The position of a change in a compared file, in line number format.
|
2844
4633
|
# @return [Integer]
|
2845
4634
|
#
|
2846
4635
|
# @!attribute [rw] relative_file_version
|
2847
4636
|
# In a comparison of commits or a pull request, whether the change is
|
2848
|
-
# in the
|
4637
|
+
# in the before or after of that comparison.
|
2849
4638
|
# @return [String]
|
2850
4639
|
#
|
2851
4640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location AWS API Documentation
|
@@ -2857,6 +4646,84 @@ module Aws::CodeCommit
|
|
2857
4646
|
include Aws::Structure
|
2858
4647
|
end
|
2859
4648
|
|
4649
|
+
# The pull request cannot be merged automatically into the destination
|
4650
|
+
# branch. You must manually merge the branches and resolve any
|
4651
|
+
# conflicts.
|
4652
|
+
#
|
4653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ManualMergeRequiredException AWS API Documentation
|
4654
|
+
#
|
4655
|
+
class ManualMergeRequiredException < Aws::EmptyStructure; end
|
4656
|
+
|
4657
|
+
# The number of branches for the trigger was exceeded.
|
4658
|
+
#
|
4659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumBranchesExceededException AWS API Documentation
|
4660
|
+
#
|
4661
|
+
class MaximumBranchesExceededException < Aws::EmptyStructure; end
|
4662
|
+
|
4663
|
+
# The number of allowed conflict resolution entries was exceeded.
|
4664
|
+
#
|
4665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumConflictResolutionEntriesExceededException AWS API Documentation
|
4666
|
+
#
|
4667
|
+
class MaximumConflictResolutionEntriesExceededException < Aws::EmptyStructure; end
|
4668
|
+
|
4669
|
+
# The number of files to load exceeds the allowed limit.
|
4670
|
+
#
|
4671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileContentToLoadExceededException AWS API Documentation
|
4672
|
+
#
|
4673
|
+
class MaximumFileContentToLoadExceededException < Aws::EmptyStructure; end
|
4674
|
+
|
4675
|
+
# The number of specified files to change as part of this commit exceeds
|
4676
|
+
# the maximum number of files that can be changed in a single commit.
|
4677
|
+
# Consider using a Git client for these changes.
|
4678
|
+
#
|
4679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileEntriesExceededException AWS API Documentation
|
4680
|
+
#
|
4681
|
+
class MaximumFileEntriesExceededException < Aws::EmptyStructure; end
|
4682
|
+
|
4683
|
+
# The number of items to compare between the source or destination
|
4684
|
+
# branches and the merge base has exceeded the maximum allowed.
|
4685
|
+
#
|
4686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumItemsToCompareExceededException AWS API Documentation
|
4687
|
+
#
|
4688
|
+
class MaximumItemsToCompareExceededException < Aws::EmptyStructure; end
|
4689
|
+
|
4690
|
+
# The number of approvals required for the approval rule exceeds the
|
4691
|
+
# maximum number allowed.
|
4692
|
+
#
|
4693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumNumberOfApprovalsExceededException AWS API Documentation
|
4694
|
+
#
|
4695
|
+
class MaximumNumberOfApprovalsExceededException < Aws::EmptyStructure; end
|
4696
|
+
|
4697
|
+
# You cannot create the pull request because the repository has too many
|
4698
|
+
# open pull requests. The maximum number of open pull requests for a
|
4699
|
+
# repository is 1,000. Close one or more open pull requests, and then
|
4700
|
+
# try again.
|
4701
|
+
#
|
4702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumOpenPullRequestsExceededException AWS API Documentation
|
4703
|
+
#
|
4704
|
+
class MaximumOpenPullRequestsExceededException < Aws::EmptyStructure; end
|
4705
|
+
|
4706
|
+
# The maximum number of allowed repository names was exceeded.
|
4707
|
+
# Currently, this number is 100.
|
4708
|
+
#
|
4709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryNamesExceededException AWS API Documentation
|
4710
|
+
#
|
4711
|
+
class MaximumRepositoryNamesExceededException < Aws::EmptyStructure; end
|
4712
|
+
|
4713
|
+
# The number of triggers allowed for the repository was exceeded.
|
4714
|
+
#
|
4715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryTriggersExceededException AWS API Documentation
|
4716
|
+
#
|
4717
|
+
class MaximumRepositoryTriggersExceededException < Aws::EmptyStructure; end
|
4718
|
+
|
4719
|
+
# The maximum number of approval rule templates for a repository has
|
4720
|
+
# been exceeded. You cannot associate more than 25 approval rule
|
4721
|
+
# templates with a repository.
|
4722
|
+
#
|
4723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRuleTemplatesAssociatedWithRepositoryException AWS API Documentation
|
4724
|
+
#
|
4725
|
+
class MaximumRuleTemplatesAssociatedWithRepositoryException < Aws::EmptyStructure; end
|
4726
|
+
|
2860
4727
|
# @note When making an API call, you may pass MergeBranchesByFastForwardInput
|
2861
4728
|
# data as a hash:
|
2862
4729
|
#
|
@@ -2873,16 +4740,16 @@ module Aws::CodeCommit
|
|
2873
4740
|
#
|
2874
4741
|
# @!attribute [rw] source_commit_specifier
|
2875
4742
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2876
|
-
# identify a commit
|
4743
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2877
4744
|
# @return [String]
|
2878
4745
|
#
|
2879
4746
|
# @!attribute [rw] destination_commit_specifier
|
2880
4747
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2881
|
-
# identify a commit
|
4748
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2882
4749
|
# @return [String]
|
2883
4750
|
#
|
2884
4751
|
# @!attribute [rw] target_branch
|
2885
|
-
# The branch where the merge
|
4752
|
+
# The branch where the merge is applied.
|
2886
4753
|
# @return [String]
|
2887
4754
|
#
|
2888
4755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForwardInput AWS API Documentation
|
@@ -2954,41 +4821,41 @@ module Aws::CodeCommit
|
|
2954
4821
|
#
|
2955
4822
|
# @!attribute [rw] source_commit_specifier
|
2956
4823
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2957
|
-
# identify a commit
|
4824
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2958
4825
|
# @return [String]
|
2959
4826
|
#
|
2960
4827
|
# @!attribute [rw] destination_commit_specifier
|
2961
4828
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
2962
|
-
# identify a commit
|
4829
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
2963
4830
|
# @return [String]
|
2964
4831
|
#
|
2965
4832
|
# @!attribute [rw] target_branch
|
2966
|
-
# The branch where the merge
|
4833
|
+
# The branch where the merge is applied.
|
2967
4834
|
# @return [String]
|
2968
4835
|
#
|
2969
4836
|
# @!attribute [rw] conflict_detail_level
|
2970
4837
|
# The level of conflict detail to use. If unspecified, the default
|
2971
|
-
# FILE\_LEVEL is used, which
|
4838
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
2972
4839
|
# same file has differences in both branches. If LINE\_LEVEL is
|
2973
|
-
# specified, a conflict
|
2974
|
-
#
|
4840
|
+
# specified, a conflict is considered not mergeable if the same file
|
4841
|
+
# in both branches has differences on the same line.
|
2975
4842
|
# @return [String]
|
2976
4843
|
#
|
2977
4844
|
# @!attribute [rw] conflict_resolution_strategy
|
2978
4845
|
# Specifies which branch to use when resolving conflicts, or whether
|
2979
4846
|
# to attempt automatically merging two versions of a file. The default
|
2980
4847
|
# is NONE, which requires any conflicts to be resolved manually before
|
2981
|
-
# the merge operation
|
4848
|
+
# the merge operation is successful.
|
2982
4849
|
# @return [String]
|
2983
4850
|
#
|
2984
4851
|
# @!attribute [rw] author_name
|
2985
|
-
# The name of the author who created the commit. This information
|
2986
|
-
#
|
4852
|
+
# The name of the author who created the commit. This information is
|
4853
|
+
# used as both the author and committer for the commit.
|
2987
4854
|
# @return [String]
|
2988
4855
|
#
|
2989
4856
|
# @!attribute [rw] email
|
2990
4857
|
# The email address of the person merging the branches. This
|
2991
|
-
# information
|
4858
|
+
# information is used in the commit information for the merge.
|
2992
4859
|
# @return [String]
|
2993
4860
|
#
|
2994
4861
|
# @!attribute [rw] commit_message
|
@@ -2998,13 +4865,13 @@ module Aws::CodeCommit
|
|
2998
4865
|
# @!attribute [rw] keep_empty_folders
|
2999
4866
|
# If the commit contains deletions, whether to keep a folder or folder
|
3000
4867
|
# structure if the changes leave the folders empty. If this is
|
3001
|
-
# specified as true, a .gitkeep file
|
3002
|
-
#
|
4868
|
+
# specified as true, a .gitkeep file is created for empty folders. The
|
4869
|
+
# default is false.
|
3003
4870
|
# @return [Boolean]
|
3004
4871
|
#
|
3005
4872
|
# @!attribute [rw] conflict_resolution
|
3006
|
-
#
|
3007
|
-
#
|
4873
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
4874
|
+
# to use when resolving conflicts during a merge.
|
3008
4875
|
# @return [Types::ConflictResolution]
|
3009
4876
|
#
|
3010
4877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquashInput AWS API Documentation
|
@@ -3083,41 +4950,41 @@ module Aws::CodeCommit
|
|
3083
4950
|
#
|
3084
4951
|
# @!attribute [rw] source_commit_specifier
|
3085
4952
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
3086
|
-
# identify a commit
|
4953
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
3087
4954
|
# @return [String]
|
3088
4955
|
#
|
3089
4956
|
# @!attribute [rw] destination_commit_specifier
|
3090
4957
|
# The branch, tag, HEAD, or other fully qualified reference used to
|
3091
|
-
# identify a commit
|
4958
|
+
# identify a commit (for example, a branch name or a full commit ID).
|
3092
4959
|
# @return [String]
|
3093
4960
|
#
|
3094
4961
|
# @!attribute [rw] target_branch
|
3095
|
-
# The branch where the merge
|
4962
|
+
# The branch where the merge is applied.
|
3096
4963
|
# @return [String]
|
3097
4964
|
#
|
3098
4965
|
# @!attribute [rw] conflict_detail_level
|
3099
4966
|
# The level of conflict detail to use. If unspecified, the default
|
3100
|
-
# FILE\_LEVEL is used, which
|
4967
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3101
4968
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3102
|
-
# specified, a conflict
|
3103
|
-
#
|
4969
|
+
# specified, a conflict is considered not mergeable if the same file
|
4970
|
+
# in both branches has differences on the same line.
|
3104
4971
|
# @return [String]
|
3105
4972
|
#
|
3106
4973
|
# @!attribute [rw] conflict_resolution_strategy
|
3107
4974
|
# Specifies which branch to use when resolving conflicts, or whether
|
3108
4975
|
# to attempt automatically merging two versions of a file. The default
|
3109
4976
|
# is NONE, which requires any conflicts to be resolved manually before
|
3110
|
-
# the merge operation
|
4977
|
+
# the merge operation is successful.
|
3111
4978
|
# @return [String]
|
3112
4979
|
#
|
3113
4980
|
# @!attribute [rw] author_name
|
3114
|
-
# The name of the author who created the commit. This information
|
3115
|
-
#
|
4981
|
+
# The name of the author who created the commit. This information is
|
4982
|
+
# used as both the author and committer for the commit.
|
3116
4983
|
# @return [String]
|
3117
4984
|
#
|
3118
4985
|
# @!attribute [rw] email
|
3119
4986
|
# The email address of the person merging the branches. This
|
3120
|
-
# information
|
4987
|
+
# information is used in the commit information for the merge.
|
3121
4988
|
# @return [String]
|
3122
4989
|
#
|
3123
4990
|
# @!attribute [rw] commit_message
|
@@ -3127,14 +4994,13 @@ module Aws::CodeCommit
|
|
3127
4994
|
#
|
3128
4995
|
# @!attribute [rw] keep_empty_folders
|
3129
4996
|
# 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.
|
4997
|
+
# structure if the changes leave the folders empty. If true, a
|
4998
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3133
4999
|
# @return [Boolean]
|
3134
5000
|
#
|
3135
5001
|
# @!attribute [rw] conflict_resolution
|
3136
|
-
#
|
3137
|
-
#
|
5002
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
5003
|
+
# to use when resolving conflicts during a merge.
|
3138
5004
|
# @return [Types::ConflictResolution]
|
3139
5005
|
#
|
3140
5006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWayInput AWS API Documentation
|
@@ -3176,10 +5042,9 @@ module Aws::CodeCommit
|
|
3176
5042
|
# A Boolean value indicating whether a combination of hunks contains a
|
3177
5043
|
# conflict. Conflicts occur when the same file or the same lines in a
|
3178
5044
|
# 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.
|
5045
|
+
# pull request. Valid values include true, false, and null. True when
|
5046
|
+
# the hunk represents a conflict and one or more files contains a line
|
5047
|
+
# conflict. File mode conflicts in a merge do not set this to true.
|
3183
5048
|
# @return [Boolean]
|
3184
5049
|
#
|
3185
5050
|
# @!attribute [rw] source
|
@@ -3219,8 +5084,8 @@ module Aws::CodeCommit
|
|
3219
5084
|
# @return [Integer]
|
3220
5085
|
#
|
3221
5086
|
# @!attribute [rw] hunk_content
|
3222
|
-
# The base-64 encoded content of the hunk merged region that might
|
3223
|
-
#
|
5087
|
+
# The base-64 encoded content of the hunk merged region that might
|
5088
|
+
# contain a conflict.
|
3224
5089
|
# @return [String]
|
3225
5090
|
#
|
3226
5091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeHunkDetail AWS API Documentation
|
@@ -3264,8 +5129,8 @@ module Aws::CodeCommit
|
|
3264
5129
|
# Information about the file operation conflicts in a merge operation.
|
3265
5130
|
#
|
3266
5131
|
# @!attribute [rw] source
|
3267
|
-
# The operation
|
3268
|
-
#
|
5132
|
+
# The operation (add, modify, or delete) on a file in the source of a
|
5133
|
+
# merge or pull request.
|
3269
5134
|
# @return [String]
|
3270
5135
|
#
|
3271
5136
|
# @!attribute [rw] destination
|
@@ -3281,6 +5146,12 @@ module Aws::CodeCommit
|
|
3281
5146
|
include Aws::Structure
|
3282
5147
|
end
|
3283
5148
|
|
5149
|
+
# A merge option or stategy is required, and none was provided.
|
5150
|
+
#
|
5151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeOptionRequiredException AWS API Documentation
|
5152
|
+
#
|
5153
|
+
class MergeOptionRequiredException < Aws::EmptyStructure; end
|
5154
|
+
|
3284
5155
|
# @note When making an API call, you may pass MergePullRequestByFastForwardInput
|
3285
5156
|
# data as a hash:
|
3286
5157
|
#
|
@@ -3316,8 +5187,7 @@ module Aws::CodeCommit
|
|
3316
5187
|
end
|
3317
5188
|
|
3318
5189
|
# @!attribute [rw] pull_request
|
3319
|
-
# Information about the specified pull request, including
|
3320
|
-
# about the merge.
|
5190
|
+
# Information about the specified pull request, including the merge.
|
3321
5191
|
# @return [Types::PullRequest]
|
3322
5192
|
#
|
3323
5193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput AWS API Documentation
|
@@ -3381,17 +5251,17 @@ module Aws::CodeCommit
|
|
3381
5251
|
#
|
3382
5252
|
# @!attribute [rw] conflict_detail_level
|
3383
5253
|
# The level of conflict detail to use. If unspecified, the default
|
3384
|
-
# FILE\_LEVEL is used, which
|
5254
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3385
5255
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3386
|
-
# specified, a conflict
|
3387
|
-
#
|
5256
|
+
# specified, a conflict is considered not mergeable if the same file
|
5257
|
+
# in both branches has differences on the same line.
|
3388
5258
|
# @return [String]
|
3389
5259
|
#
|
3390
5260
|
# @!attribute [rw] conflict_resolution_strategy
|
3391
5261
|
# Specifies which branch to use when resolving conflicts, or whether
|
3392
5262
|
# to attempt automatically merging two versions of a file. The default
|
3393
5263
|
# is NONE, which requires any conflicts to be resolved manually before
|
3394
|
-
# the merge operation
|
5264
|
+
# the merge operation is successful.
|
3395
5265
|
# @return [String]
|
3396
5266
|
#
|
3397
5267
|
# @!attribute [rw] commit_message
|
@@ -3400,25 +5270,24 @@ module Aws::CodeCommit
|
|
3400
5270
|
# @return [String]
|
3401
5271
|
#
|
3402
5272
|
# @!attribute [rw] author_name
|
3403
|
-
# The name of the author who created the commit. This information
|
3404
|
-
#
|
5273
|
+
# The name of the author who created the commit. This information is
|
5274
|
+
# used as both the author and committer for the commit.
|
3405
5275
|
# @return [String]
|
3406
5276
|
#
|
3407
5277
|
# @!attribute [rw] email
|
3408
5278
|
# The email address of the person merging the branches. This
|
3409
|
-
# information
|
5279
|
+
# information is used in the commit information for the merge.
|
3410
5280
|
# @return [String]
|
3411
5281
|
#
|
3412
5282
|
# @!attribute [rw] keep_empty_folders
|
3413
5283
|
# 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.
|
5284
|
+
# structure if the changes leave the folders empty. If true, a
|
5285
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3417
5286
|
# @return [Boolean]
|
3418
5287
|
#
|
3419
5288
|
# @!attribute [rw] conflict_resolution
|
3420
|
-
#
|
3421
|
-
#
|
5289
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
5290
|
+
# to use when resolving conflicts during a merge.
|
3422
5291
|
# @return [Types::ConflictResolution]
|
3423
5292
|
#
|
3424
5293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquashInput AWS API Documentation
|
@@ -3502,17 +5371,17 @@ module Aws::CodeCommit
|
|
3502
5371
|
#
|
3503
5372
|
# @!attribute [rw] conflict_detail_level
|
3504
5373
|
# The level of conflict detail to use. If unspecified, the default
|
3505
|
-
# FILE\_LEVEL is used, which
|
5374
|
+
# FILE\_LEVEL is used, which returns a not-mergeable result if the
|
3506
5375
|
# same file has differences in both branches. If LINE\_LEVEL is
|
3507
|
-
# specified, a conflict
|
3508
|
-
#
|
5376
|
+
# specified, a conflict is considered not mergeable if the same file
|
5377
|
+
# in both branches has differences on the same line.
|
3509
5378
|
# @return [String]
|
3510
5379
|
#
|
3511
5380
|
# @!attribute [rw] conflict_resolution_strategy
|
3512
5381
|
# Specifies which branch to use when resolving conflicts, or whether
|
3513
5382
|
# to attempt automatically merging two versions of a file. The default
|
3514
5383
|
# is NONE, which requires any conflicts to be resolved manually before
|
3515
|
-
# the merge operation
|
5384
|
+
# the merge operation is successful.
|
3516
5385
|
# @return [String]
|
3517
5386
|
#
|
3518
5387
|
# @!attribute [rw] commit_message
|
@@ -3521,25 +5390,24 @@ module Aws::CodeCommit
|
|
3521
5390
|
# @return [String]
|
3522
5391
|
#
|
3523
5392
|
# @!attribute [rw] author_name
|
3524
|
-
# The name of the author who created the commit. This information
|
3525
|
-
#
|
5393
|
+
# The name of the author who created the commit. This information is
|
5394
|
+
# used as both the author and committer for the commit.
|
3526
5395
|
# @return [String]
|
3527
5396
|
#
|
3528
5397
|
# @!attribute [rw] email
|
3529
5398
|
# The email address of the person merging the branches. This
|
3530
|
-
# information
|
5399
|
+
# information is used in the commit information for the merge.
|
3531
5400
|
# @return [String]
|
3532
5401
|
#
|
3533
5402
|
# @!attribute [rw] keep_empty_folders
|
3534
5403
|
# 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.
|
5404
|
+
# structure if the changes leave the folders empty. If true, a
|
5405
|
+
# .gitkeep file is created for empty folders. The default is false.
|
3538
5406
|
# @return [Boolean]
|
3539
5407
|
#
|
3540
5408
|
# @!attribute [rw] conflict_resolution
|
3541
|
-
#
|
3542
|
-
#
|
5409
|
+
# If AUTOMERGE is the conflict resolution strategy, a list of inputs
|
5410
|
+
# to use when resolving conflicts during a merge.
|
3543
5411
|
# @return [Types::ConflictResolution]
|
3544
5412
|
#
|
3545
5413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWayInput AWS API Documentation
|
@@ -3569,6 +5437,50 @@ module Aws::CodeCommit
|
|
3569
5437
|
include Aws::Structure
|
3570
5438
|
end
|
3571
5439
|
|
5440
|
+
# More than one conflict resolution entries exists for the conflict. A
|
5441
|
+
# conflict can have only one conflict resolution entry.
|
5442
|
+
#
|
5443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleConflictResolutionEntriesException AWS API Documentation
|
5444
|
+
#
|
5445
|
+
class MultipleConflictResolutionEntriesException < Aws::EmptyStructure; end
|
5446
|
+
|
5447
|
+
# You cannot include more than one repository in a pull request. Make
|
5448
|
+
# sure you have specified only one repository name in your request, and
|
5449
|
+
# then try again.
|
5450
|
+
#
|
5451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleRepositoriesInPullRequestException AWS API Documentation
|
5452
|
+
#
|
5453
|
+
class MultipleRepositoriesInPullRequestException < Aws::EmptyStructure; end
|
5454
|
+
|
5455
|
+
# The user name is not valid because it has exceeded the character limit
|
5456
|
+
# for author names.
|
5457
|
+
#
|
5458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NameLengthExceededException AWS API Documentation
|
5459
|
+
#
|
5460
|
+
class NameLengthExceededException < Aws::EmptyStructure; end
|
5461
|
+
|
5462
|
+
# The commit cannot be created because no changes will be made to the
|
5463
|
+
# repository as a result of this commit. A commit must contain at least
|
5464
|
+
# one change.
|
5465
|
+
#
|
5466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NoChangeException AWS API Documentation
|
5467
|
+
#
|
5468
|
+
class NoChangeException < Aws::EmptyStructure; end
|
5469
|
+
|
5470
|
+
# The maximum number of approval rule templates has been exceeded for
|
5471
|
+
# this AWS Region.
|
5472
|
+
#
|
5473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRuleTemplatesExceededException AWS API Documentation
|
5474
|
+
#
|
5475
|
+
class NumberOfRuleTemplatesExceededException < Aws::EmptyStructure; end
|
5476
|
+
|
5477
|
+
# The approval rule cannot be added. The pull request has the maximum
|
5478
|
+
# number of approval rules associated with it.
|
5479
|
+
#
|
5480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRulesExceededException AWS API Documentation
|
5481
|
+
#
|
5482
|
+
class NumberOfRulesExceededException < Aws::EmptyStructure; end
|
5483
|
+
|
3572
5484
|
# Information about the type of an object in a merge operation.
|
3573
5485
|
#
|
3574
5486
|
# @!attribute [rw] source
|
@@ -3592,6 +5504,111 @@ module Aws::CodeCommit
|
|
3592
5504
|
include Aws::Structure
|
3593
5505
|
end
|
3594
5506
|
|
5507
|
+
# Returns information about the template that created the approval rule
|
5508
|
+
# for a pull request.
|
5509
|
+
#
|
5510
|
+
# @!attribute [rw] approval_rule_template_id
|
5511
|
+
# The ID of the template that created the approval rule.
|
5512
|
+
# @return [String]
|
5513
|
+
#
|
5514
|
+
# @!attribute [rw] approval_rule_template_name
|
5515
|
+
# The name of the template that created the approval rule.
|
5516
|
+
# @return [String]
|
5517
|
+
#
|
5518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OriginApprovalRuleTemplate AWS API Documentation
|
5519
|
+
#
|
5520
|
+
class OriginApprovalRuleTemplate < Struct.new(
|
5521
|
+
:approval_rule_template_id,
|
5522
|
+
:approval_rule_template_name)
|
5523
|
+
include Aws::Structure
|
5524
|
+
end
|
5525
|
+
|
5526
|
+
# The pull request has already had its approval rules set to override.
|
5527
|
+
#
|
5528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideAlreadySetException AWS API Documentation
|
5529
|
+
#
|
5530
|
+
class OverrideAlreadySetException < Aws::EmptyStructure; end
|
5531
|
+
|
5532
|
+
# @note When making an API call, you may pass OverridePullRequestApprovalRulesInput
|
5533
|
+
# data as a hash:
|
5534
|
+
#
|
5535
|
+
# {
|
5536
|
+
# pull_request_id: "PullRequestId", # required
|
5537
|
+
# revision_id: "RevisionId", # required
|
5538
|
+
# override_status: "OVERRIDE", # required, accepts OVERRIDE, REVOKE
|
5539
|
+
# }
|
5540
|
+
#
|
5541
|
+
# @!attribute [rw] pull_request_id
|
5542
|
+
# The system-generated ID of the pull request for which you want to
|
5543
|
+
# override all approval rule requirements. To get this information,
|
5544
|
+
# use GetPullRequest.
|
5545
|
+
# @return [String]
|
5546
|
+
#
|
5547
|
+
# @!attribute [rw] revision_id
|
5548
|
+
# The system-generated ID of the most recent revision of the pull
|
5549
|
+
# request. You cannot override approval rules for anything but the
|
5550
|
+
# most recent revision of a pull request. To get the revision ID, use
|
5551
|
+
# GetPullRequest.
|
5552
|
+
# @return [String]
|
5553
|
+
#
|
5554
|
+
# @!attribute [rw] override_status
|
5555
|
+
# Whether you want to set aside approval rule requirements for the
|
5556
|
+
# pull request (OVERRIDE) or revoke a previous override and apply
|
5557
|
+
# approval rule requirements (REVOKE). REVOKE status is not stored.
|
5558
|
+
# @return [String]
|
5559
|
+
#
|
5560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRulesInput AWS API Documentation
|
5561
|
+
#
|
5562
|
+
class OverridePullRequestApprovalRulesInput < Struct.new(
|
5563
|
+
:pull_request_id,
|
5564
|
+
:revision_id,
|
5565
|
+
:override_status)
|
5566
|
+
include Aws::Structure
|
5567
|
+
end
|
5568
|
+
|
5569
|
+
# An override status is required, but no value was provided. Valid
|
5570
|
+
# values include OVERRIDE and REVOKE.
|
5571
|
+
#
|
5572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideStatusRequiredException AWS API Documentation
|
5573
|
+
#
|
5574
|
+
class OverrideStatusRequiredException < Aws::EmptyStructure; end
|
5575
|
+
|
5576
|
+
# The parent commit ID is not valid because it does not exist. The
|
5577
|
+
# specified parent commit ID does not exist in the specified branch of
|
5578
|
+
# the repository.
|
5579
|
+
#
|
5580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitDoesNotExistException AWS API Documentation
|
5581
|
+
#
|
5582
|
+
class ParentCommitDoesNotExistException < Aws::EmptyStructure; end
|
5583
|
+
|
5584
|
+
# The file could not be added because the provided parent commit ID is
|
5585
|
+
# not the current tip of the specified branch. To view the full commit
|
5586
|
+
# ID of the current head of the branch, use GetBranch.
|
5587
|
+
#
|
5588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdOutdatedException AWS API Documentation
|
5589
|
+
#
|
5590
|
+
class ParentCommitIdOutdatedException < Aws::EmptyStructure; end
|
5591
|
+
|
5592
|
+
# A parent commit ID is required. To view the full commit ID of a branch
|
5593
|
+
# in a repository, use GetBranch or a Git command (for example, git pull
|
5594
|
+
# or git log).
|
5595
|
+
#
|
5596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdRequiredException AWS API Documentation
|
5597
|
+
#
|
5598
|
+
class ParentCommitIdRequiredException < Aws::EmptyStructure; end
|
5599
|
+
|
5600
|
+
# The specified path does not exist.
|
5601
|
+
#
|
5602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathDoesNotExistException AWS API Documentation
|
5603
|
+
#
|
5604
|
+
class PathDoesNotExistException < Aws::EmptyStructure; end
|
5605
|
+
|
5606
|
+
# The folderPath for a location cannot be null.
|
5607
|
+
#
|
5608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathRequiredException AWS API Documentation
|
5609
|
+
#
|
5610
|
+
class PathRequiredException < Aws::EmptyStructure; end
|
5611
|
+
|
3595
5612
|
# @note When making an API call, you may pass PostCommentForComparedCommitInput
|
3596
5613
|
# data as a hash:
|
3597
5614
|
#
|
@@ -3615,17 +5632,13 @@ module Aws::CodeCommit
|
|
3615
5632
|
#
|
3616
5633
|
# @!attribute [rw] before_commit_id
|
3617
5634
|
# 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>
|
5635
|
+
# ID of the before commit. Required for commenting on any commit
|
5636
|
+
# unless that commit is the initial commit.
|
3624
5637
|
# @return [String]
|
3625
5638
|
#
|
3626
5639
|
# @!attribute [rw] after_commit_id
|
3627
5640
|
# To establish the directionality of the comparison, the full commit
|
3628
|
-
# ID of the
|
5641
|
+
# ID of the after commit.
|
3629
5642
|
# @return [String]
|
3630
5643
|
#
|
3631
5644
|
# @!attribute [rw] location
|
@@ -3637,11 +5650,11 @@ module Aws::CodeCommit
|
|
3637
5650
|
# @return [String]
|
3638
5651
|
#
|
3639
5652
|
# @!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
|
5653
|
+
# A unique, client-generated idempotency token that, when provided in
|
5654
|
+
# a request, ensures the request cannot be repeated with a changed
|
3642
5655
|
# parameter. If a request is received with the same parameters and a
|
3643
|
-
# token is included, the request
|
3644
|
-
#
|
5656
|
+
# token is included, the request returns information about the initial
|
5657
|
+
# request that used that token.
|
3645
5658
|
#
|
3646
5659
|
# **A suitable default value is auto-generated.** You should normally
|
3647
5660
|
# not need to pass this option.
|
@@ -3666,21 +5679,21 @@ module Aws::CodeCommit
|
|
3666
5679
|
#
|
3667
5680
|
# @!attribute [rw] before_commit_id
|
3668
5681
|
# In the directionality you established, the full commit ID of the
|
3669
|
-
#
|
5682
|
+
# before commit.
|
3670
5683
|
# @return [String]
|
3671
5684
|
#
|
3672
5685
|
# @!attribute [rw] after_commit_id
|
3673
5686
|
# In the directionality you established, the full commit ID of the
|
3674
|
-
#
|
5687
|
+
# after commit.
|
3675
5688
|
# @return [String]
|
3676
5689
|
#
|
3677
5690
|
# @!attribute [rw] before_blob_id
|
3678
|
-
# In the directionality you established, the blob ID of the
|
5691
|
+
# In the directionality you established, the blob ID of the before
|
3679
5692
|
# blob.
|
3680
5693
|
# @return [String]
|
3681
5694
|
#
|
3682
5695
|
# @!attribute [rw] after_blob_id
|
3683
|
-
# In the directionality you established, the blob ID of the
|
5696
|
+
# In the directionality you established, the blob ID of the after
|
3684
5697
|
# blob.
|
3685
5698
|
# @return [String]
|
3686
5699
|
#
|
@@ -3746,9 +5759,9 @@ module Aws::CodeCommit
|
|
3746
5759
|
#
|
3747
5760
|
# @!attribute [rw] location
|
3748
5761
|
# The location of the change where you want to post your comment. If
|
3749
|
-
# no location is provided, the comment
|
3750
|
-
#
|
3751
|
-
#
|
5762
|
+
# no location is provided, the comment is posted as a general comment
|
5763
|
+
# on the pull request difference between the before commit ID and the
|
5764
|
+
# after commit ID.
|
3752
5765
|
# @return [Types::Location]
|
3753
5766
|
#
|
3754
5767
|
# @!attribute [rw] content
|
@@ -3756,11 +5769,11 @@ module Aws::CodeCommit
|
|
3756
5769
|
# @return [String]
|
3757
5770
|
#
|
3758
5771
|
# @!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
|
5772
|
+
# A unique, client-generated idempotency token that, when provided in
|
5773
|
+
# a request, ensures the request cannot be repeated with a changed
|
3761
5774
|
# parameter. If a request is received with the same parameters and a
|
3762
|
-
# token is included, the request
|
3763
|
-
#
|
5775
|
+
# token is included, the request returns information about the initial
|
5776
|
+
# request that used that token.
|
3764
5777
|
#
|
3765
5778
|
# **A suitable default value is auto-generated.** You should normally
|
3766
5779
|
# not need to pass this option.
|
@@ -3796,17 +5809,17 @@ module Aws::CodeCommit
|
|
3796
5809
|
#
|
3797
5810
|
# @!attribute [rw] after_commit_id
|
3798
5811
|
# The full commit ID of the commit in the destination branch where the
|
3799
|
-
# pull request
|
5812
|
+
# pull request is merged.
|
3800
5813
|
# @return [String]
|
3801
5814
|
#
|
3802
5815
|
# @!attribute [rw] before_blob_id
|
3803
|
-
# In the directionality of the pull request, the blob ID of the
|
3804
|
-
#
|
5816
|
+
# In the directionality of the pull request, the blob ID of the before
|
5817
|
+
# blob.
|
3805
5818
|
# @return [String]
|
3806
5819
|
#
|
3807
5820
|
# @!attribute [rw] after_blob_id
|
3808
|
-
# In the directionality of the pull request, the blob ID of the
|
3809
|
-
#
|
5821
|
+
# In the directionality of the pull request, the blob ID of the after
|
5822
|
+
# blob.
|
3810
5823
|
# @return [String]
|
3811
5824
|
#
|
3812
5825
|
# @!attribute [rw] location
|
@@ -3847,11 +5860,11 @@ module Aws::CodeCommit
|
|
3847
5860
|
# @return [String]
|
3848
5861
|
#
|
3849
5862
|
# @!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
|
5863
|
+
# A unique, client-generated idempotency token that, when provided in
|
5864
|
+
# a request, ensures the request cannot be repeated with a changed
|
3852
5865
|
# parameter. If a request is received with the same parameters and a
|
3853
|
-
# token is included, the request
|
3854
|
-
#
|
5866
|
+
# token is included, the request returns information about the initial
|
5867
|
+
# request that used that token.
|
3855
5868
|
#
|
3856
5869
|
# **A suitable default value is auto-generated.** You should normally
|
3857
5870
|
# not need to pass this option.
|
@@ -3889,7 +5902,7 @@ module Aws::CodeCommit
|
|
3889
5902
|
#
|
3890
5903
|
# @!attribute [rw] title
|
3891
5904
|
# The user-defined title of the pull request. This title is displayed
|
3892
|
-
# in the list of pull requests to other users
|
5905
|
+
# in the list of pull requests to other repository users.
|
3893
5906
|
# @return [String]
|
3894
5907
|
#
|
3895
5908
|
# @!attribute [rw] description
|
@@ -3924,13 +5937,21 @@ module Aws::CodeCommit
|
|
3924
5937
|
# @return [Array<Types::PullRequestTarget>]
|
3925
5938
|
#
|
3926
5939
|
# @!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
|
5940
|
+
# A unique, client-generated idempotency token that, when provided in
|
5941
|
+
# a request, ensures the request cannot be repeated with a changed
|
3929
5942
|
# parameter. If a request is received with the same parameters and a
|
3930
|
-
# token is included, the request
|
3931
|
-
#
|
5943
|
+
# token is included, the request returns information about the initial
|
5944
|
+
# request that used that token.
|
5945
|
+
# @return [String]
|
5946
|
+
#
|
5947
|
+
# @!attribute [rw] revision_id
|
5948
|
+
# The system-generated revision ID for the pull request.
|
3932
5949
|
# @return [String]
|
3933
5950
|
#
|
5951
|
+
# @!attribute [rw] approval_rules
|
5952
|
+
# The approval rules applied to the pull request.
|
5953
|
+
# @return [Array<Types::ApprovalRule>]
|
5954
|
+
#
|
3934
5955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest AWS API Documentation
|
3935
5956
|
#
|
3936
5957
|
class PullRequest < Struct.new(
|
@@ -3942,10 +5963,34 @@ module Aws::CodeCommit
|
|
3942
5963
|
:pull_request_status,
|
3943
5964
|
:author_arn,
|
3944
5965
|
:pull_request_targets,
|
3945
|
-
:client_request_token
|
5966
|
+
:client_request_token,
|
5967
|
+
:revision_id,
|
5968
|
+
:approval_rules)
|
3946
5969
|
include Aws::Structure
|
3947
5970
|
end
|
3948
5971
|
|
5972
|
+
# The pull request status cannot be updated because it is already
|
5973
|
+
# closed.
|
5974
|
+
#
|
5975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestAlreadyClosedException AWS API Documentation
|
5976
|
+
#
|
5977
|
+
class PullRequestAlreadyClosedException < Aws::EmptyStructure; end
|
5978
|
+
|
5979
|
+
# The pull request cannot be merged because one or more approval rules
|
5980
|
+
# applied to the pull request have conditions that have not been met.
|
5981
|
+
#
|
5982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestApprovalRulesNotSatisfiedException AWS API Documentation
|
5983
|
+
#
|
5984
|
+
class PullRequestApprovalRulesNotSatisfiedException < Aws::EmptyStructure; end
|
5985
|
+
|
5986
|
+
# The approval cannot be applied because the user approving the pull
|
5987
|
+
# request matches the user who created the pull request. You cannot
|
5988
|
+
# approve a pull request that you created.
|
5989
|
+
#
|
5990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestCannotBeApprovedByAuthorException AWS API Documentation
|
5991
|
+
#
|
5992
|
+
class PullRequestCannotBeApprovedByAuthorException < Aws::EmptyStructure; end
|
5993
|
+
|
3949
5994
|
# Metadata about the pull request that is used when comparing the pull
|
3950
5995
|
# request source with its destination.
|
3951
5996
|
#
|
@@ -3978,6 +6023,14 @@ module Aws::CodeCommit
|
|
3978
6023
|
include Aws::Structure
|
3979
6024
|
end
|
3980
6025
|
|
6026
|
+
# The pull request ID could not be found. Make sure that you have
|
6027
|
+
# specified the correct repository name and pull request ID, and then
|
6028
|
+
# try again.
|
6029
|
+
#
|
6030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestDoesNotExistException AWS API Documentation
|
6031
|
+
#
|
6032
|
+
class PullRequestDoesNotExistException < Aws::EmptyStructure; end
|
6033
|
+
|
3981
6034
|
# Returns information about a pull request event.
|
3982
6035
|
#
|
3983
6036
|
# @!attribute [rw] pull_request_id
|
@@ -3989,15 +6042,15 @@ module Aws::CodeCommit
|
|
3989
6042
|
# @return [Time]
|
3990
6043
|
#
|
3991
6044
|
# @!attribute [rw] pull_request_event_type
|
3992
|
-
# The type of the pull request event
|
6045
|
+
# The type of the pull request event (for example, a status change
|
3993
6046
|
# event (PULL\_REQUEST\_STATUS\_CHANGED) or update event
|
3994
|
-
# (PULL\_REQUEST\_SOURCE\_REFERENCE\_UPDATED).
|
6047
|
+
# (PULL\_REQUEST\_SOURCE\_REFERENCE\_UPDATED)).
|
3995
6048
|
# @return [String]
|
3996
6049
|
#
|
3997
6050
|
# @!attribute [rw] actor_arn
|
3998
6051
|
# The Amazon Resource Name (ARN) of the user whose actions resulted in
|
3999
|
-
# the event. Examples include updating the pull request with
|
4000
|
-
#
|
6052
|
+
# the event. Examples include updating the pull request with more
|
6053
|
+
# commits or changing the status of a pull request.
|
4001
6054
|
# @return [String]
|
4002
6055
|
#
|
4003
6056
|
# @!attribute [rw] pull_request_created_event_metadata
|
@@ -4019,6 +6072,19 @@ module Aws::CodeCommit
|
|
4019
6072
|
# request event.
|
4020
6073
|
# @return [Types::PullRequestMergedStateChangedEventMetadata]
|
4021
6074
|
#
|
6075
|
+
# @!attribute [rw] approval_rule_event_metadata
|
6076
|
+
# Information about a pull request event.
|
6077
|
+
# @return [Types::ApprovalRuleEventMetadata]
|
6078
|
+
#
|
6079
|
+
# @!attribute [rw] approval_state_changed_event_metadata
|
6080
|
+
# Information about an approval state change for a pull request.
|
6081
|
+
# @return [Types::ApprovalStateChangedEventMetadata]
|
6082
|
+
#
|
6083
|
+
# @!attribute [rw] approval_rule_overridden_event_metadata
|
6084
|
+
# Information about an approval rule override event for a pull
|
6085
|
+
# request.
|
6086
|
+
# @return [Types::ApprovalRuleOverriddenEventMetadata]
|
6087
|
+
#
|
4022
6088
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent AWS API Documentation
|
4023
6089
|
#
|
4024
6090
|
class PullRequestEvent < Struct.new(
|
@@ -4029,10 +6095,19 @@ module Aws::CodeCommit
|
|
4029
6095
|
:pull_request_created_event_metadata,
|
4030
6096
|
:pull_request_status_changed_event_metadata,
|
4031
6097
|
:pull_request_source_reference_updated_event_metadata,
|
4032
|
-
:pull_request_merged_state_changed_event_metadata
|
6098
|
+
:pull_request_merged_state_changed_event_metadata,
|
6099
|
+
:approval_rule_event_metadata,
|
6100
|
+
:approval_state_changed_event_metadata,
|
6101
|
+
:approval_rule_overridden_event_metadata)
|
4033
6102
|
include Aws::Structure
|
4034
6103
|
end
|
4035
6104
|
|
6105
|
+
# A pull request ID is required, but none was provided.
|
6106
|
+
#
|
6107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestIdRequiredException AWS API Documentation
|
6108
|
+
#
|
6109
|
+
class PullRequestIdRequiredException < Aws::EmptyStructure; end
|
6110
|
+
|
4036
6111
|
# Returns information about the change in the merge state for a pull
|
4037
6112
|
# request event.
|
4038
6113
|
#
|
@@ -4041,7 +6116,7 @@ module Aws::CodeCommit
|
|
4041
6116
|
# @return [String]
|
4042
6117
|
#
|
4043
6118
|
# @!attribute [rw] destination_reference
|
4044
|
-
# The name of the branch that the pull request
|
6119
|
+
# The name of the branch that the pull request is merged into.
|
4045
6120
|
# @return [String]
|
4046
6121
|
#
|
4047
6122
|
# @!attribute [rw] merge_metadata
|
@@ -4101,6 +6176,12 @@ module Aws::CodeCommit
|
|
4101
6176
|
include Aws::Structure
|
4102
6177
|
end
|
4103
6178
|
|
6179
|
+
# A pull request status is required, but none was provided.
|
6180
|
+
#
|
6181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusRequiredException AWS API Documentation
|
6182
|
+
#
|
6183
|
+
class PullRequestStatusRequiredException < Aws::EmptyStructure; end
|
6184
|
+
|
4104
6185
|
# Returns information about a pull request target.
|
4105
6186
|
#
|
4106
6187
|
# @!attribute [rw] repository_name
|
@@ -4114,8 +6195,8 @@ module Aws::CodeCommit
|
|
4114
6195
|
# @return [String]
|
4115
6196
|
#
|
4116
6197
|
# @!attribute [rw] destination_reference
|
4117
|
-
# The branch of the repository where the pull request changes
|
4118
|
-
# merged
|
6198
|
+
# The branch of the repository where the pull request changes are
|
6199
|
+
# merged. Also known as the destination branch.
|
4119
6200
|
# @return [String]
|
4120
6201
|
#
|
4121
6202
|
# @!attribute [rw] destination_commit
|
@@ -4126,8 +6207,8 @@ module Aws::CodeCommit
|
|
4126
6207
|
# @!attribute [rw] source_commit
|
4127
6208
|
# The full commit ID of the tip of the source branch used to create
|
4128
6209
|
# the pull request. If the pull request branch is updated by a push
|
4129
|
-
# while the pull request is open, the commit ID
|
4130
|
-
#
|
6210
|
+
# while the pull request is open, the commit ID changes to reflect the
|
6211
|
+
# new tip of the branch.
|
4131
6212
|
# @return [String]
|
4132
6213
|
#
|
4133
6214
|
# @!attribute [rw] merge_base
|
@@ -4153,8 +6234,7 @@ module Aws::CodeCommit
|
|
4153
6234
|
include Aws::Structure
|
4154
6235
|
end
|
4155
6236
|
|
4156
|
-
# Information about a file
|
4157
|
-
# commit.
|
6237
|
+
# Information about a file added or updated as part of a commit.
|
4158
6238
|
#
|
4159
6239
|
# @note When making an API call, you may pass PutFileEntry
|
4160
6240
|
# data as a hash:
|
@@ -4199,6 +6279,13 @@ module Aws::CodeCommit
|
|
4199
6279
|
include Aws::Structure
|
4200
6280
|
end
|
4201
6281
|
|
6282
|
+
# The commit cannot be created because one or more files specified in
|
6283
|
+
# the commit reference both a file and a folder.
|
6284
|
+
#
|
6285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFileEntryConflictException AWS API Documentation
|
6286
|
+
#
|
6287
|
+
class PutFileEntryConflictException < Aws::EmptyStructure; end
|
6288
|
+
|
4202
6289
|
# @note When making an API call, you may pass PutFileInput
|
4203
6290
|
# data as a hash:
|
4204
6291
|
#
|
@@ -4220,7 +6307,7 @@ module Aws::CodeCommit
|
|
4220
6307
|
#
|
4221
6308
|
# @!attribute [rw] branch_name
|
4222
6309
|
# The name of the branch where you want to add or update the file. If
|
4223
|
-
# this is an empty repository, this branch
|
6310
|
+
# this is an empty repository, this branch is created.
|
4224
6311
|
# @return [String]
|
4225
6312
|
#
|
4226
6313
|
# @!attribute [rw] file_content
|
@@ -4231,15 +6318,15 @@ module Aws::CodeCommit
|
|
4231
6318
|
# The name of the file you want to add or update, including the
|
4232
6319
|
# relative path to the file in the repository.
|
4233
6320
|
#
|
4234
|
-
# <note markdown="1"> If the path does not currently exist in the repository, the path
|
4235
|
-
#
|
6321
|
+
# <note markdown="1"> If the path does not currently exist in the repository, the path is
|
6322
|
+
# created as part of adding the file.
|
4236
6323
|
#
|
4237
6324
|
# </note>
|
4238
6325
|
# @return [String]
|
4239
6326
|
#
|
4240
6327
|
# @!attribute [rw] file_mode
|
4241
6328
|
# The file mode permissions of the blob. Valid file mode permissions
|
4242
|
-
# are listed
|
6329
|
+
# are listed here.
|
4243
6330
|
# @return [String]
|
4244
6331
|
#
|
4245
6332
|
# @!attribute [rw] parent_commit_id
|
@@ -4249,20 +6336,20 @@ module Aws::CodeCommit
|
|
4249
6336
|
# required.
|
4250
6337
|
#
|
4251
6338
|
# The commit ID must match the ID of the head commit at the time of
|
4252
|
-
# the operation,
|
4253
|
-
#
|
6339
|
+
# the operation. Otherwise, an error occurs, and the file is not added
|
6340
|
+
# or updated.
|
4254
6341
|
# @return [String]
|
4255
6342
|
#
|
4256
6343
|
# @!attribute [rw] commit_message
|
4257
|
-
# A message about why this file was added or updated.
|
4258
|
-
#
|
4259
|
-
# useful
|
6344
|
+
# A message about why this file was added or updated. Although it is
|
6345
|
+
# optional, a message makes the commit history for your repository
|
6346
|
+
# more useful.
|
4260
6347
|
# @return [String]
|
4261
6348
|
#
|
4262
6349
|
# @!attribute [rw] name
|
4263
|
-
# The name of the person adding or updating the file.
|
4264
|
-
#
|
4265
|
-
# useful
|
6350
|
+
# The name of the person adding or updating the file. Although it is
|
6351
|
+
# optional, a name makes the commit history for your repository more
|
6352
|
+
# useful.
|
4266
6353
|
# @return [String]
|
4267
6354
|
#
|
4268
6355
|
# @!attribute [rw] email
|
@@ -4285,7 +6372,7 @@ module Aws::CodeCommit
|
|
4285
6372
|
end
|
4286
6373
|
|
4287
6374
|
# @!attribute [rw] commit_id
|
4288
|
-
# The full SHA of the commit that contains this file change.
|
6375
|
+
# The full SHA ID of the commit that contains this file change.
|
4289
6376
|
# @return [String]
|
4290
6377
|
#
|
4291
6378
|
# @!attribute [rw] blob_id
|
@@ -4306,7 +6393,7 @@ module Aws::CodeCommit
|
|
4306
6393
|
include Aws::Structure
|
4307
6394
|
end
|
4308
6395
|
|
4309
|
-
# Represents the input
|
6396
|
+
# Represents the input of a put repository triggers operation.
|
4310
6397
|
#
|
4311
6398
|
# @note When making an API call, you may pass PutRepositoryTriggersInput
|
4312
6399
|
# data as a hash:
|
@@ -4354,6 +6441,25 @@ module Aws::CodeCommit
|
|
4354
6441
|
include Aws::Structure
|
4355
6442
|
end
|
4356
6443
|
|
6444
|
+
# The specified reference does not exist. You must provide a full commit
|
6445
|
+
# ID.
|
6446
|
+
#
|
6447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceDoesNotExistException AWS API Documentation
|
6448
|
+
#
|
6449
|
+
class ReferenceDoesNotExistException < Aws::EmptyStructure; end
|
6450
|
+
|
6451
|
+
# A reference name is required, but none was provided.
|
6452
|
+
#
|
6453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceNameRequiredException AWS API Documentation
|
6454
|
+
#
|
6455
|
+
class ReferenceNameRequiredException < Aws::EmptyStructure; end
|
6456
|
+
|
6457
|
+
# The specified reference is not a supported type.
|
6458
|
+
#
|
6459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceTypeNotSupportedException AWS API Documentation
|
6460
|
+
#
|
6461
|
+
class ReferenceTypeNotSupportedException < Aws::EmptyStructure; end
|
6462
|
+
|
4357
6463
|
# Information about a replacement content entry in the conflict of a
|
4358
6464
|
# merge or pull request operation.
|
4359
6465
|
#
|
@@ -4395,6 +6501,31 @@ module Aws::CodeCommit
|
|
4395
6501
|
include Aws::Structure
|
4396
6502
|
end
|
4397
6503
|
|
6504
|
+
# USE\_NEW\_CONTENT was specified, but no replacement content has been
|
6505
|
+
# provided.
|
6506
|
+
#
|
6507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementContentRequiredException AWS API Documentation
|
6508
|
+
#
|
6509
|
+
class ReplacementContentRequiredException < Aws::EmptyStructure; end
|
6510
|
+
|
6511
|
+
# A replacement type is required.
|
6512
|
+
#
|
6513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementTypeRequiredException AWS API Documentation
|
6514
|
+
#
|
6515
|
+
class ReplacementTypeRequiredException < Aws::EmptyStructure; end
|
6516
|
+
|
6517
|
+
# The specified repository does not exist.
|
6518
|
+
#
|
6519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryDoesNotExistException AWS API Documentation
|
6520
|
+
#
|
6521
|
+
class RepositoryDoesNotExistException < Aws::EmptyStructure; end
|
6522
|
+
|
6523
|
+
# A repository resource limit was exceeded.
|
6524
|
+
#
|
6525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryLimitExceededException AWS API Documentation
|
6526
|
+
#
|
6527
|
+
class RepositoryLimitExceededException < Aws::EmptyStructure; end
|
6528
|
+
|
4398
6529
|
# Information about a repository.
|
4399
6530
|
#
|
4400
6531
|
# @!attribute [rw] account_id
|
@@ -4454,6 +6585,12 @@ module Aws::CodeCommit
|
|
4454
6585
|
include Aws::Structure
|
4455
6586
|
end
|
4456
6587
|
|
6588
|
+
# The specified repository name already exists.
|
6589
|
+
#
|
6590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameExistsException AWS API Documentation
|
6591
|
+
#
|
6592
|
+
class RepositoryNameExistsException < Aws::EmptyStructure; end
|
6593
|
+
|
4457
6594
|
# Information about a repository name and ID.
|
4458
6595
|
#
|
4459
6596
|
# @!attribute [rw] repository_name
|
@@ -4472,6 +6609,27 @@ module Aws::CodeCommit
|
|
4472
6609
|
include Aws::Structure
|
4473
6610
|
end
|
4474
6611
|
|
6612
|
+
# A repository name is required, but was not specified.
|
6613
|
+
#
|
6614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameRequiredException AWS API Documentation
|
6615
|
+
#
|
6616
|
+
class RepositoryNameRequiredException < Aws::EmptyStructure; end
|
6617
|
+
|
6618
|
+
# At least one repository name object is required, but was not
|
6619
|
+
# specified.
|
6620
|
+
#
|
6621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNamesRequiredException AWS API Documentation
|
6622
|
+
#
|
6623
|
+
class RepositoryNamesRequiredException < Aws::EmptyStructure; end
|
6624
|
+
|
6625
|
+
# The repository does not contain any pull requests with that pull
|
6626
|
+
# request ID. Use GetPullRequest to verify the correct repository name
|
6627
|
+
# for the pull request ID.
|
6628
|
+
#
|
6629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNotAssociatedWithPullRequestException AWS API Documentation
|
6630
|
+
#
|
6631
|
+
class RepositoryNotAssociatedWithPullRequestException < Aws::EmptyStructure; end
|
6632
|
+
|
4475
6633
|
# Information about a trigger for a repository.
|
4476
6634
|
#
|
4477
6635
|
# @note When making an API call, you may pass RepositoryTrigger
|
@@ -4490,18 +6648,18 @@ module Aws::CodeCommit
|
|
4490
6648
|
# @return [String]
|
4491
6649
|
#
|
4492
6650
|
# @!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.
|
6651
|
+
# The ARN of the resource that is the target for a trigger (for
|
6652
|
+
# example, the ARN of a topic in Amazon SNS).
|
4495
6653
|
# @return [String]
|
4496
6654
|
#
|
4497
6655
|
# @!attribute [rw] custom_data
|
4498
|
-
# Any custom data associated with the trigger
|
4499
|
-
#
|
6656
|
+
# Any custom data associated with the trigger to be included in the
|
6657
|
+
# information sent to the target of the trigger.
|
4500
6658
|
# @return [String]
|
4501
6659
|
#
|
4502
6660
|
# @!attribute [rw] branches
|
4503
|
-
# The branches
|
4504
|
-
#
|
6661
|
+
# The branches to be included in the trigger configuration. If you
|
6662
|
+
# specify an empty array, the trigger applies to all branches.
|
4505
6663
|
#
|
4506
6664
|
# <note markdown="1"> Although no content is required in the array, you must include the
|
4507
6665
|
# array itself.
|
@@ -4510,7 +6668,7 @@ module Aws::CodeCommit
|
|
4510
6668
|
# @return [Array<String>]
|
4511
6669
|
#
|
4512
6670
|
# @!attribute [rw] events
|
4513
|
-
# The repository events that
|
6671
|
+
# The repository events that cause the trigger to run actions in
|
4514
6672
|
# another service, such as sending a notification through Amazon SNS.
|
4515
6673
|
#
|
4516
6674
|
# <note markdown="1"> The valid value "all" cannot be used with any other values.
|
@@ -4529,6 +6687,26 @@ module Aws::CodeCommit
|
|
4529
6687
|
include Aws::Structure
|
4530
6688
|
end
|
4531
6689
|
|
6690
|
+
# At least one branch name is required, but was not specified in the
|
6691
|
+
# trigger configuration.
|
6692
|
+
#
|
6693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerBranchNameListRequiredException AWS API Documentation
|
6694
|
+
#
|
6695
|
+
class RepositoryTriggerBranchNameListRequiredException < Aws::EmptyStructure; end
|
6696
|
+
|
6697
|
+
# A destination ARN for the target service for the trigger is required,
|
6698
|
+
# but was not specified.
|
6699
|
+
#
|
6700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerDestinationArnRequiredException AWS API Documentation
|
6701
|
+
#
|
6702
|
+
class RepositoryTriggerDestinationArnRequiredException < Aws::EmptyStructure; end
|
6703
|
+
|
6704
|
+
# At least one event for the trigger is required, but was not specified.
|
6705
|
+
#
|
6706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerEventsListRequiredException AWS API Documentation
|
6707
|
+
#
|
6708
|
+
class RepositoryTriggerEventsListRequiredException < Aws::EmptyStructure; end
|
6709
|
+
|
4532
6710
|
# A trigger failed to run.
|
4533
6711
|
#
|
4534
6712
|
# @!attribute [rw] trigger
|
@@ -4536,7 +6714,7 @@ module Aws::CodeCommit
|
|
4536
6714
|
# @return [String]
|
4537
6715
|
#
|
4538
6716
|
# @!attribute [rw] failure_message
|
4539
|
-
#
|
6717
|
+
# Message information about the trigger that did not run.
|
4540
6718
|
# @return [String]
|
4541
6719
|
#
|
4542
6720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure AWS API Documentation
|
@@ -4547,6 +6725,70 @@ module Aws::CodeCommit
|
|
4547
6725
|
include Aws::Structure
|
4548
6726
|
end
|
4549
6727
|
|
6728
|
+
# A name for the trigger is required, but was not specified.
|
6729
|
+
#
|
6730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerNameRequiredException AWS API Documentation
|
6731
|
+
#
|
6732
|
+
class RepositoryTriggerNameRequiredException < Aws::EmptyStructure; end
|
6733
|
+
|
6734
|
+
# The list of triggers for the repository is required, but was not
|
6735
|
+
# specified.
|
6736
|
+
#
|
6737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggersListRequiredException AWS API Documentation
|
6738
|
+
#
|
6739
|
+
class RepositoryTriggersListRequiredException < Aws::EmptyStructure; end
|
6740
|
+
|
6741
|
+
# A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is
|
6742
|
+
# required. For a list of valid resources in AWS CodeCommit, see
|
6743
|
+
# [CodeCommit Resources and Operations][1] in the AWS CodeCommit User
|
6744
|
+
# Guide.
|
6745
|
+
#
|
6746
|
+
#
|
6747
|
+
#
|
6748
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
|
6749
|
+
#
|
6750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ResourceArnRequiredException AWS API Documentation
|
6751
|
+
#
|
6752
|
+
class ResourceArnRequiredException < Aws::EmptyStructure; end
|
6753
|
+
|
6754
|
+
# The commit cannot be created because one of the changes specifies
|
6755
|
+
# copying or moving a .gitkeep file.
|
6756
|
+
#
|
6757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RestrictedSourceFileException AWS API Documentation
|
6758
|
+
#
|
6759
|
+
class RestrictedSourceFileException < Aws::EmptyStructure; end
|
6760
|
+
|
6761
|
+
# A revision ID is required, but was not provided.
|
6762
|
+
#
|
6763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionIdRequiredException AWS API Documentation
|
6764
|
+
#
|
6765
|
+
class RevisionIdRequiredException < Aws::EmptyStructure; end
|
6766
|
+
|
6767
|
+
# The revision ID provided in the request does not match the current
|
6768
|
+
# revision ID. Use GetPullRequest to retrieve the current revision ID.
|
6769
|
+
#
|
6770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionNotCurrentException AWS API Documentation
|
6771
|
+
#
|
6772
|
+
class RevisionNotCurrentException < Aws::EmptyStructure; end
|
6773
|
+
|
6774
|
+
# The file was not added or updated because the content of the file is
|
6775
|
+
# exactly the same as the content of that file in the repository and
|
6776
|
+
# branch that you specified.
|
6777
|
+
#
|
6778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SameFileContentException AWS API Documentation
|
6779
|
+
#
|
6780
|
+
class SameFileContentException < Aws::EmptyStructure; end
|
6781
|
+
|
6782
|
+
# The commit cannot be created because one or more changes in this
|
6783
|
+
# commit duplicate actions in the same file path. For example, you
|
6784
|
+
# cannot make the same delete request to the same file in the same file
|
6785
|
+
# path twice, or make a delete request and a move request to the same
|
6786
|
+
# file as part of the same commit.
|
6787
|
+
#
|
6788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SamePathRequestException AWS API Documentation
|
6789
|
+
#
|
6790
|
+
class SamePathRequestException < Aws::EmptyStructure; end
|
6791
|
+
|
4550
6792
|
# Information about the file mode changes.
|
4551
6793
|
#
|
4552
6794
|
# @note When making an API call, you may pass SetFileModeEntry
|
@@ -4573,6 +6815,21 @@ module Aws::CodeCommit
|
|
4573
6815
|
include Aws::Structure
|
4574
6816
|
end
|
4575
6817
|
|
6818
|
+
# The source branch and destination branch for the pull request are the
|
6819
|
+
# same. You must specify different branches for the source and
|
6820
|
+
# destination.
|
6821
|
+
#
|
6822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceAndDestinationAreSameException AWS API Documentation
|
6823
|
+
#
|
6824
|
+
class SourceAndDestinationAreSameException < Aws::EmptyStructure; end
|
6825
|
+
|
6826
|
+
# The commit cannot be created because no source files or file content
|
6827
|
+
# have been specified for the commit.
|
6828
|
+
#
|
6829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceFileOrContentRequiredException AWS API Documentation
|
6830
|
+
#
|
6831
|
+
class SourceFileOrContentRequiredException < Aws::EmptyStructure; end
|
6832
|
+
|
4576
6833
|
# Information about a source file that is part of changes made in a
|
4577
6834
|
# commit.
|
4578
6835
|
#
|
@@ -4633,7 +6890,7 @@ module Aws::CodeCommit
|
|
4633
6890
|
# @return [String]
|
4634
6891
|
#
|
4635
6892
|
# @!attribute [rw] absolute_path
|
4636
|
-
# The fully
|
6893
|
+
# The fully qualified path to the folder that contains the symbolic
|
4637
6894
|
# link.
|
4638
6895
|
# @return [String]
|
4639
6896
|
#
|
@@ -4657,6 +6914,18 @@ module Aws::CodeCommit
|
|
4657
6914
|
include Aws::Structure
|
4658
6915
|
end
|
4659
6916
|
|
6917
|
+
# A list of tag keys is required. The list cannot be empty or null.
|
6918
|
+
#
|
6919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagKeysListRequiredException AWS API Documentation
|
6920
|
+
#
|
6921
|
+
class TagKeysListRequiredException < Aws::EmptyStructure; end
|
6922
|
+
|
6923
|
+
# The tag policy is not valid.
|
6924
|
+
#
|
6925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagPolicyException AWS API Documentation
|
6926
|
+
#
|
6927
|
+
class TagPolicyException < Aws::EmptyStructure; end
|
6928
|
+
|
4660
6929
|
# @note When making an API call, you may pass TagResourceInput
|
4661
6930
|
# data as a hash:
|
4662
6931
|
#
|
@@ -4684,6 +6953,12 @@ module Aws::CodeCommit
|
|
4684
6953
|
include Aws::Structure
|
4685
6954
|
end
|
4686
6955
|
|
6956
|
+
# A map of tags is required.
|
6957
|
+
#
|
6958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagsMapRequiredException AWS API Documentation
|
6959
|
+
#
|
6960
|
+
class TagsMapRequiredException < Aws::EmptyStructure; end
|
6961
|
+
|
4687
6962
|
# Returns information about a target for a pull request.
|
4688
6963
|
#
|
4689
6964
|
# @note When making an API call, you may pass Target
|
@@ -4705,8 +6980,8 @@ module Aws::CodeCommit
|
|
4705
6980
|
# @return [String]
|
4706
6981
|
#
|
4707
6982
|
# @!attribute [rw] destination_reference
|
4708
|
-
# The branch of the repository where the pull request changes
|
4709
|
-
# merged
|
6983
|
+
# The branch of the repository where the pull request changes are
|
6984
|
+
# merged. Also known as the destination branch.
|
4710
6985
|
# @return [String]
|
4711
6986
|
#
|
4712
6987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target AWS API Documentation
|
@@ -4718,6 +6993,20 @@ module Aws::CodeCommit
|
|
4718
6993
|
include Aws::Structure
|
4719
6994
|
end
|
4720
6995
|
|
6996
|
+
# A pull request target is required. It cannot be empty or null. A pull
|
6997
|
+
# request target must contain the full values for the repository name,
|
6998
|
+
# source branch, and destination branch for the pull request.
|
6999
|
+
#
|
7000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetRequiredException AWS API Documentation
|
7001
|
+
#
|
7002
|
+
class TargetRequiredException < Aws::EmptyStructure; end
|
7003
|
+
|
7004
|
+
# An array of target objects is required. It cannot be empty or null.
|
7005
|
+
#
|
7006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetsRequiredException AWS API Documentation
|
7007
|
+
#
|
7008
|
+
class TargetsRequiredException < Aws::EmptyStructure; end
|
7009
|
+
|
4721
7010
|
# Represents the input of a test repository triggers operation.
|
4722
7011
|
#
|
4723
7012
|
# @note When making an API call, you may pass TestRepositoryTriggersInput
|
@@ -4761,9 +7050,8 @@ module Aws::CodeCommit
|
|
4761
7050
|
# @return [Array<String>]
|
4762
7051
|
#
|
4763
7052
|
# @!attribute [rw] failed_executions
|
4764
|
-
# The list of triggers that were not
|
4765
|
-
#
|
4766
|
-
# separated by commas.
|
7053
|
+
# The list of triggers that were not tested. This list provides the
|
7054
|
+
# names of the triggers that could not be tested, separated by commas.
|
4767
7055
|
# @return [Array<Types::RepositoryTriggerExecutionFailure>]
|
4768
7056
|
#
|
4769
7057
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput AWS API Documentation
|
@@ -4774,6 +7062,36 @@ module Aws::CodeCommit
|
|
4774
7062
|
include Aws::Structure
|
4775
7063
|
end
|
4776
7064
|
|
7065
|
+
# The tip of the source branch in the destination repository does not
|
7066
|
+
# match the tip of the source branch specified in your request. The pull
|
7067
|
+
# request might have been updated. Make sure that you have the latest
|
7068
|
+
# changes.
|
7069
|
+
#
|
7070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipOfSourceReferenceIsDifferentException AWS API Documentation
|
7071
|
+
#
|
7072
|
+
class TipOfSourceReferenceIsDifferentException < Aws::EmptyStructure; end
|
7073
|
+
|
7074
|
+
# The divergence between the tips of the provided commit specifiers is
|
7075
|
+
# too great to determine whether there might be any merge conflicts.
|
7076
|
+
# Locally compare the specifiers using `git diff` or a diff tool.
|
7077
|
+
#
|
7078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipsDivergenceExceededException AWS API Documentation
|
7079
|
+
#
|
7080
|
+
class TipsDivergenceExceededException < Aws::EmptyStructure; end
|
7081
|
+
|
7082
|
+
# A pull request title is required. It cannot be empty or null.
|
7083
|
+
#
|
7084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TitleRequiredException AWS API Documentation
|
7085
|
+
#
|
7086
|
+
class TitleRequiredException < Aws::EmptyStructure; end
|
7087
|
+
|
7088
|
+
# The maximum number of tags for an AWS CodeCommit resource has been
|
7089
|
+
# exceeded.
|
7090
|
+
#
|
7091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TooManyTagsException AWS API Documentation
|
7092
|
+
#
|
7093
|
+
class TooManyTagsException < Aws::EmptyStructure; end
|
7094
|
+
|
4777
7095
|
# @note When making an API call, you may pass UntagResourceInput
|
4778
7096
|
# data as a hash:
|
4779
7097
|
#
|
@@ -4799,6 +7117,121 @@ module Aws::CodeCommit
|
|
4799
7117
|
include Aws::Structure
|
4800
7118
|
end
|
4801
7119
|
|
7120
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateContentInput
|
7121
|
+
# data as a hash:
|
7122
|
+
#
|
7123
|
+
# {
|
7124
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7125
|
+
# new_rule_content: "ApprovalRuleTemplateContent", # required
|
7126
|
+
# existing_rule_content_sha_256: "RuleContentSha256",
|
7127
|
+
# }
|
7128
|
+
#
|
7129
|
+
# @!attribute [rw] approval_rule_template_name
|
7130
|
+
# The name of the approval rule template where you want to update the
|
7131
|
+
# content of the rule.
|
7132
|
+
# @return [String]
|
7133
|
+
#
|
7134
|
+
# @!attribute [rw] new_rule_content
|
7135
|
+
# The content that replaces the existing content of the rule. Content
|
7136
|
+
# statements must be complete. You cannot provide only the changes.
|
7137
|
+
# @return [String]
|
7138
|
+
#
|
7139
|
+
# @!attribute [rw] existing_rule_content_sha_256
|
7140
|
+
# The SHA-256 hash signature for the content of the approval rule. You
|
7141
|
+
# can retrieve this information by using GetPullRequest.
|
7142
|
+
# @return [String]
|
7143
|
+
#
|
7144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContentInput AWS API Documentation
|
7145
|
+
#
|
7146
|
+
class UpdateApprovalRuleTemplateContentInput < Struct.new(
|
7147
|
+
:approval_rule_template_name,
|
7148
|
+
:new_rule_content,
|
7149
|
+
:existing_rule_content_sha_256)
|
7150
|
+
include Aws::Structure
|
7151
|
+
end
|
7152
|
+
|
7153
|
+
# @!attribute [rw] approval_rule_template
|
7154
|
+
# Returns information about an approval rule template.
|
7155
|
+
# @return [Types::ApprovalRuleTemplate]
|
7156
|
+
#
|
7157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContentOutput AWS API Documentation
|
7158
|
+
#
|
7159
|
+
class UpdateApprovalRuleTemplateContentOutput < Struct.new(
|
7160
|
+
:approval_rule_template)
|
7161
|
+
include Aws::Structure
|
7162
|
+
end
|
7163
|
+
|
7164
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateDescriptionInput
|
7165
|
+
# data as a hash:
|
7166
|
+
#
|
7167
|
+
# {
|
7168
|
+
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7169
|
+
# approval_rule_template_description: "ApprovalRuleTemplateDescription", # required
|
7170
|
+
# }
|
7171
|
+
#
|
7172
|
+
# @!attribute [rw] approval_rule_template_name
|
7173
|
+
# The name of the template for which you want to update the
|
7174
|
+
# description.
|
7175
|
+
# @return [String]
|
7176
|
+
#
|
7177
|
+
# @!attribute [rw] approval_rule_template_description
|
7178
|
+
# The updated description of the approval rule template.
|
7179
|
+
# @return [String]
|
7180
|
+
#
|
7181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescriptionInput AWS API Documentation
|
7182
|
+
#
|
7183
|
+
class UpdateApprovalRuleTemplateDescriptionInput < Struct.new(
|
7184
|
+
:approval_rule_template_name,
|
7185
|
+
:approval_rule_template_description)
|
7186
|
+
include Aws::Structure
|
7187
|
+
end
|
7188
|
+
|
7189
|
+
# @!attribute [rw] approval_rule_template
|
7190
|
+
# The structure and content of the updated approval rule template.
|
7191
|
+
# @return [Types::ApprovalRuleTemplate]
|
7192
|
+
#
|
7193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescriptionOutput AWS API Documentation
|
7194
|
+
#
|
7195
|
+
class UpdateApprovalRuleTemplateDescriptionOutput < Struct.new(
|
7196
|
+
:approval_rule_template)
|
7197
|
+
include Aws::Structure
|
7198
|
+
end
|
7199
|
+
|
7200
|
+
# @note When making an API call, you may pass UpdateApprovalRuleTemplateNameInput
|
7201
|
+
# data as a hash:
|
7202
|
+
#
|
7203
|
+
# {
|
7204
|
+
# old_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7205
|
+
# new_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7206
|
+
# }
|
7207
|
+
#
|
7208
|
+
# @!attribute [rw] old_approval_rule_template_name
|
7209
|
+
# The current name of the approval rule template.
|
7210
|
+
# @return [String]
|
7211
|
+
#
|
7212
|
+
# @!attribute [rw] new_approval_rule_template_name
|
7213
|
+
# The new name you want to apply to the approval rule template.
|
7214
|
+
# @return [String]
|
7215
|
+
#
|
7216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateNameInput AWS API Documentation
|
7217
|
+
#
|
7218
|
+
class UpdateApprovalRuleTemplateNameInput < Struct.new(
|
7219
|
+
:old_approval_rule_template_name,
|
7220
|
+
:new_approval_rule_template_name)
|
7221
|
+
include Aws::Structure
|
7222
|
+
end
|
7223
|
+
|
7224
|
+
# @!attribute [rw] approval_rule_template
|
7225
|
+
# The structure and content of the updated approval rule template.
|
7226
|
+
# @return [Types::ApprovalRuleTemplate]
|
7227
|
+
#
|
7228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateNameOutput AWS API Documentation
|
7229
|
+
#
|
7230
|
+
class UpdateApprovalRuleTemplateNameOutput < Struct.new(
|
7231
|
+
:approval_rule_template)
|
7232
|
+
include Aws::Structure
|
7233
|
+
end
|
7234
|
+
|
4802
7235
|
# @note When making an API call, you may pass UpdateCommentInput
|
4803
7236
|
# data as a hash:
|
4804
7237
|
#
|
@@ -4814,8 +7247,7 @@ module Aws::CodeCommit
|
|
4814
7247
|
# @return [String]
|
4815
7248
|
#
|
4816
7249
|
# @!attribute [rw] content
|
4817
|
-
# The updated content
|
4818
|
-
# content of the comment.
|
7250
|
+
# The updated content to replace the existing content of the comment.
|
4819
7251
|
# @return [String]
|
4820
7252
|
#
|
4821
7253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput AWS API Documentation
|
@@ -4863,6 +7295,120 @@ module Aws::CodeCommit
|
|
4863
7295
|
include Aws::Structure
|
4864
7296
|
end
|
4865
7297
|
|
7298
|
+
# @note When making an API call, you may pass UpdatePullRequestApprovalRuleContentInput
|
7299
|
+
# data as a hash:
|
7300
|
+
#
|
7301
|
+
# {
|
7302
|
+
# pull_request_id: "PullRequestId", # required
|
7303
|
+
# approval_rule_name: "ApprovalRuleName", # required
|
7304
|
+
# existing_rule_content_sha_256: "RuleContentSha256",
|
7305
|
+
# new_rule_content: "ApprovalRuleContent", # required
|
7306
|
+
# }
|
7307
|
+
#
|
7308
|
+
# @!attribute [rw] pull_request_id
|
7309
|
+
# The system-generated ID of the pull request.
|
7310
|
+
# @return [String]
|
7311
|
+
#
|
7312
|
+
# @!attribute [rw] approval_rule_name
|
7313
|
+
# The name of the approval rule you want to update.
|
7314
|
+
# @return [String]
|
7315
|
+
#
|
7316
|
+
# @!attribute [rw] existing_rule_content_sha_256
|
7317
|
+
# The SHA-256 hash signature for the content of the approval rule. You
|
7318
|
+
# can retrieve this information by using GetPullRequest.
|
7319
|
+
# @return [String]
|
7320
|
+
#
|
7321
|
+
# @!attribute [rw] new_rule_content
|
7322
|
+
# The updated content for the approval rule.
|
7323
|
+
#
|
7324
|
+
# <note markdown="1"> When you update the content of the approval rule, you can specify
|
7325
|
+
# approvers in an approval pool in one of two ways:
|
7326
|
+
#
|
7327
|
+
# * **CodeCommitApprovers**\: This option only requires an AWS account
|
7328
|
+
# and a resource. It can be used for both IAM users and federated
|
7329
|
+
# access users whose name matches the provided resource name. This
|
7330
|
+
# is a very powerful option that offers a great deal of flexibility.
|
7331
|
+
# For example, if you specify the AWS account *123456789012* and
|
7332
|
+
# *Mary\_Major*, all of the following are counted as approvals
|
7333
|
+
# coming from that user:
|
7334
|
+
#
|
7335
|
+
# * An IAM user in the account
|
7336
|
+
# (arn:aws:iam::*123456789012*\:user/*Mary\_Major*)
|
7337
|
+
#
|
7338
|
+
# * A federated user identified in IAM as Mary\_Major
|
7339
|
+
# (arn:aws:sts::*123456789012*\:federated-user/*Mary\_Major*)
|
7340
|
+
#
|
7341
|
+
# This option does not recognize an active session of someone
|
7342
|
+
# assuming the role of CodeCommitReview with a role session name of
|
7343
|
+
# *Mary\_Major*
|
7344
|
+
# (arn:aws:sts::*123456789012*\:assumed-role/CodeCommitReview/*Mary\_Major*)
|
7345
|
+
# unless you include a wildcard (*Mary\_Major).
|
7346
|
+
#
|
7347
|
+
# * **Fully qualified ARN**\: This option allows you to specify the
|
7348
|
+
# fully qualified Amazon Resource Name (ARN) of the IAM user or
|
7349
|
+
# role.
|
7350
|
+
#
|
7351
|
+
# For more information about IAM ARNs, wildcards, and formats, see
|
7352
|
+
# [IAM Identifiers][1] in the *IAM User Guide*.
|
7353
|
+
#
|
7354
|
+
# </note>
|
7355
|
+
#
|
7356
|
+
#
|
7357
|
+
#
|
7358
|
+
# [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
|
7359
|
+
# @return [String]
|
7360
|
+
#
|
7361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContentInput AWS API Documentation
|
7362
|
+
#
|
7363
|
+
class UpdatePullRequestApprovalRuleContentInput < Struct.new(
|
7364
|
+
:pull_request_id,
|
7365
|
+
:approval_rule_name,
|
7366
|
+
:existing_rule_content_sha_256,
|
7367
|
+
:new_rule_content)
|
7368
|
+
include Aws::Structure
|
7369
|
+
end
|
7370
|
+
|
7371
|
+
# @!attribute [rw] approval_rule
|
7372
|
+
# Information about the updated approval rule.
|
7373
|
+
# @return [Types::ApprovalRule]
|
7374
|
+
#
|
7375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContentOutput AWS API Documentation
|
7376
|
+
#
|
7377
|
+
class UpdatePullRequestApprovalRuleContentOutput < Struct.new(
|
7378
|
+
:approval_rule)
|
7379
|
+
include Aws::Structure
|
7380
|
+
end
|
7381
|
+
|
7382
|
+
# @note When making an API call, you may pass UpdatePullRequestApprovalStateInput
|
7383
|
+
# data as a hash:
|
7384
|
+
#
|
7385
|
+
# {
|
7386
|
+
# pull_request_id: "PullRequestId", # required
|
7387
|
+
# revision_id: "RevisionId", # required
|
7388
|
+
# approval_state: "APPROVE", # required, accepts APPROVE, REVOKE
|
7389
|
+
# }
|
7390
|
+
#
|
7391
|
+
# @!attribute [rw] pull_request_id
|
7392
|
+
# The system-generated ID of the pull request.
|
7393
|
+
# @return [String]
|
7394
|
+
#
|
7395
|
+
# @!attribute [rw] revision_id
|
7396
|
+
# The system-generated ID of the revision.
|
7397
|
+
# @return [String]
|
7398
|
+
#
|
7399
|
+
# @!attribute [rw] approval_state
|
7400
|
+
# The approval state to associate with the user on the pull request.
|
7401
|
+
# @return [String]
|
7402
|
+
#
|
7403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalStateInput AWS API Documentation
|
7404
|
+
#
|
7405
|
+
class UpdatePullRequestApprovalStateInput < Struct.new(
|
7406
|
+
:pull_request_id,
|
7407
|
+
:revision_id,
|
7408
|
+
:approval_state)
|
7409
|
+
include Aws::Structure
|
7410
|
+
end
|
7411
|
+
|
4866
7412
|
# @note When making an API call, you may pass UpdatePullRequestDescriptionInput
|
4867
7413
|
# data as a hash:
|
4868
7414
|
#
|
@@ -4878,7 +7424,7 @@ module Aws::CodeCommit
|
|
4878
7424
|
#
|
4879
7425
|
# @!attribute [rw] description
|
4880
7426
|
# The updated content of the description for the pull request. This
|
4881
|
-
# content
|
7427
|
+
# content replaces the existing description.
|
4882
7428
|
# @return [String]
|
4883
7429
|
#
|
4884
7430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionInput AWS API Documentation
|
@@ -4916,7 +7462,7 @@ module Aws::CodeCommit
|
|
4916
7462
|
# @!attribute [rw] pull_request_status
|
4917
7463
|
# The status of the pull request. The only valid operations are to
|
4918
7464
|
# update the status from `OPEN` to `OPEN`, `OPEN` to `CLOSED` or from
|
4919
|
-
#
|
7465
|
+
# `CLOSED` to `CLOSED`.
|
4920
7466
|
# @return [String]
|
4921
7467
|
#
|
4922
7468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput AWS API Documentation
|
@@ -4952,8 +7498,8 @@ module Aws::CodeCommit
|
|
4952
7498
|
# @return [String]
|
4953
7499
|
#
|
4954
7500
|
# @!attribute [rw] title
|
4955
|
-
# The updated title of the pull request. This
|
4956
|
-
#
|
7501
|
+
# The updated title of the pull request. This replaces the existing
|
7502
|
+
# title.
|
4957
7503
|
# @return [String]
|
4958
7504
|
#
|
4959
7505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput AWS API Documentation
|
@@ -5014,7 +7560,7 @@ module Aws::CodeCommit
|
|
5014
7560
|
# }
|
5015
7561
|
#
|
5016
7562
|
# @!attribute [rw] old_name
|
5017
|
-
# The
|
7563
|
+
# The current name of the repository.
|
5018
7564
|
# @return [String]
|
5019
7565
|
#
|
5020
7566
|
# @!attribute [rw] new_name
|