aws-sdk-codegurureviewer 1.5.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codegurureviewer.rb +4 -2
- data/lib/aws-sdk-codegurureviewer/client.rb +205 -64
- data/lib/aws-sdk-codegurureviewer/client_api.rb +3 -0
- data/lib/aws-sdk-codegurureviewer/errors.rb +2 -0
- data/lib/aws-sdk-codegurureviewer/resource.rb +2 -0
- data/lib/aws-sdk-codegurureviewer/types.rb +376 -72
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -271,6 +273,7 @@ module Aws::CodeGuruReviewer
|
|
271
273
|
|
272
274
|
Repository.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitRepository, location_name: "CodeCommit"))
|
273
275
|
Repository.add_member(:bitbucket, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "Bitbucket"))
|
276
|
+
Repository.add_member(:git_hub_enterprise_server, Shapes::ShapeRef.new(shape: ThirdPartySourceRepository, location_name: "GitHubEnterpriseServer"))
|
274
277
|
Repository.struct_class = Types::Repository
|
275
278
|
|
276
279
|
RepositoryAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -17,6 +19,7 @@ module Aws::CodeGuruReviewer
|
|
17
19
|
#
|
18
20
|
class AccessDeniedException < Struct.new(
|
19
21
|
:message)
|
22
|
+
SENSITIVE = []
|
20
23
|
include Aws::Structure
|
21
24
|
end
|
22
25
|
|
@@ -33,6 +36,11 @@ module Aws::CodeGuruReviewer
|
|
33
36
|
# connection_arn: "ConnectionArn", # required
|
34
37
|
# owner: "Owner", # required
|
35
38
|
# },
|
39
|
+
# git_hub_enterprise_server: {
|
40
|
+
# name: "Name", # required
|
41
|
+
# connection_arn: "ConnectionArn", # required
|
42
|
+
# owner: "Owner", # required
|
43
|
+
# },
|
36
44
|
# },
|
37
45
|
# client_request_token: "ClientRequestToken",
|
38
46
|
# }
|
@@ -76,6 +84,7 @@ module Aws::CodeGuruReviewer
|
|
76
84
|
class AssociateRepositoryRequest < Struct.new(
|
77
85
|
:repository,
|
78
86
|
:client_request_token)
|
87
|
+
SENSITIVE = []
|
79
88
|
include Aws::Structure
|
80
89
|
end
|
81
90
|
|
@@ -87,10 +96,13 @@ module Aws::CodeGuruReviewer
|
|
87
96
|
#
|
88
97
|
class AssociateRepositoryResponse < Struct.new(
|
89
98
|
:repository_association)
|
99
|
+
SENSITIVE = []
|
90
100
|
include Aws::Structure
|
91
101
|
end
|
92
102
|
|
93
|
-
# Information about an AWS CodeCommit repository.
|
103
|
+
# Information about an AWS CodeCommit repository. The CodeCommit
|
104
|
+
# repository must be in the same AWS Region and AWS account where its
|
105
|
+
# CodeGuru Reviewer code reviews are configured.
|
94
106
|
#
|
95
107
|
# @note When making an API call, you may pass CodeCommitRepository
|
96
108
|
# data as a hash:
|
@@ -100,13 +112,19 @@ module Aws::CodeGuruReviewer
|
|
100
112
|
# }
|
101
113
|
#
|
102
114
|
# @!attribute [rw] name
|
103
|
-
# The name of the AWS CodeCommit repository.
|
115
|
+
# The name of the AWS CodeCommit repository. For more information, see
|
116
|
+
# [repositoryName][1] in the *AWS CodeCommit API Reference*.
|
117
|
+
#
|
118
|
+
#
|
119
|
+
#
|
120
|
+
# [1]: https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetRepository.html#CodeCommit-GetRepository-request-repositoryName
|
104
121
|
# @return [String]
|
105
122
|
#
|
106
123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CodeCommitRepository AWS API Documentation
|
107
124
|
#
|
108
125
|
class CodeCommitRepository < Struct.new(
|
109
126
|
:name)
|
127
|
+
SENSITIVE = []
|
110
128
|
include Aws::Structure
|
111
129
|
end
|
112
130
|
|
@@ -117,7 +135,11 @@ module Aws::CodeGuruReviewer
|
|
117
135
|
# @return [String]
|
118
136
|
#
|
119
137
|
# @!attribute [rw] code_review_arn
|
120
|
-
# The Amazon Resource Name (ARN) of the
|
138
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
139
|
+
#
|
140
|
+
#
|
141
|
+
#
|
142
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
121
143
|
# @return [String]
|
122
144
|
#
|
123
145
|
# @!attribute [rw] repository_name
|
@@ -125,15 +147,28 @@ module Aws::CodeGuruReviewer
|
|
125
147
|
# @return [String]
|
126
148
|
#
|
127
149
|
# @!attribute [rw] owner
|
128
|
-
# The owner of the repository.
|
150
|
+
# The owner of the repository. For an AWS CodeCommit repository, this
|
151
|
+
# is the AWS account ID of the account that owns the repository. For a
|
152
|
+
# GitHub or Bitbucket repository, this is the username for the account
|
153
|
+
# that owns the repository.
|
129
154
|
# @return [String]
|
130
155
|
#
|
131
156
|
# @!attribute [rw] provider_type
|
132
|
-
# The
|
157
|
+
# The type of repository that contains the reviewed code (for example,
|
158
|
+
# GitHub or Bitbucket).
|
133
159
|
# @return [String]
|
134
160
|
#
|
135
161
|
# @!attribute [rw] state
|
136
|
-
# The
|
162
|
+
# The valid code review states are:
|
163
|
+
#
|
164
|
+
# * `Completed`\: The code review is complete.
|
165
|
+
#
|
166
|
+
# * `Pending`\: The code review started and has not completed or
|
167
|
+
# failed.
|
168
|
+
#
|
169
|
+
# * `Failed`\: The code review failed.
|
170
|
+
#
|
171
|
+
# * `Deleting`\: The code review is being deleted.
|
137
172
|
# @return [String]
|
138
173
|
#
|
139
174
|
# @!attribute [rw] state_reason
|
@@ -182,6 +217,7 @@ module Aws::CodeGuruReviewer
|
|
182
217
|
:pull_request_id,
|
183
218
|
:source_code_type,
|
184
219
|
:metrics)
|
220
|
+
SENSITIVE = []
|
185
221
|
include Aws::Structure
|
186
222
|
end
|
187
223
|
|
@@ -192,7 +228,11 @@ module Aws::CodeGuruReviewer
|
|
192
228
|
# @return [String]
|
193
229
|
#
|
194
230
|
# @!attribute [rw] code_review_arn
|
195
|
-
# The Amazon Resource Name (ARN) of the
|
231
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
232
|
+
#
|
233
|
+
#
|
234
|
+
#
|
235
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
196
236
|
# @return [String]
|
197
237
|
#
|
198
238
|
# @!attribute [rw] repository_name
|
@@ -200,7 +240,10 @@ module Aws::CodeGuruReviewer
|
|
200
240
|
# @return [String]
|
201
241
|
#
|
202
242
|
# @!attribute [rw] owner
|
203
|
-
# The owner of the repository.
|
243
|
+
# The owner of the repository. For an AWS CodeCommit repository, this
|
244
|
+
# is the AWS account ID of the account that owns the repository. For a
|
245
|
+
# GitHub or Bitbucket repository, this is the username for the account
|
246
|
+
# that owns the repository.
|
204
247
|
# @return [String]
|
205
248
|
#
|
206
249
|
# @!attribute [rw] provider_type
|
@@ -209,6 +252,17 @@ module Aws::CodeGuruReviewer
|
|
209
252
|
#
|
210
253
|
# @!attribute [rw] state
|
211
254
|
# The state of the code review.
|
255
|
+
#
|
256
|
+
# The valid code review states are:
|
257
|
+
#
|
258
|
+
# * `Completed`\: The code review is complete.
|
259
|
+
#
|
260
|
+
# * `Pending`\: The code review started and has not completed or
|
261
|
+
# failed.
|
262
|
+
#
|
263
|
+
# * `Failed`\: The code review failed.
|
264
|
+
#
|
265
|
+
# * `Deleting`\: The code review is being deleted.
|
212
266
|
# @return [String]
|
213
267
|
#
|
214
268
|
# @!attribute [rw] created_time_stamp
|
@@ -247,17 +301,18 @@ module Aws::CodeGuruReviewer
|
|
247
301
|
:type,
|
248
302
|
:pull_request_id,
|
249
303
|
:metrics_summary)
|
304
|
+
SENSITIVE = []
|
250
305
|
include Aws::Structure
|
251
306
|
end
|
252
307
|
|
253
308
|
# The commit diff for the pull request.
|
254
309
|
#
|
255
310
|
# @!attribute [rw] source_commit
|
256
|
-
#
|
311
|
+
# The SHA of the source commit.
|
257
312
|
# @return [String]
|
258
313
|
#
|
259
314
|
# @!attribute [rw] destination_commit
|
260
|
-
#
|
315
|
+
# The SHA of the destination commit.
|
261
316
|
# @return [String]
|
262
317
|
#
|
263
318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CommitDiffSourceCodeType AWS API Documentation
|
@@ -265,6 +320,7 @@ module Aws::CodeGuruReviewer
|
|
265
320
|
class CommitDiffSourceCodeType < Struct.new(
|
266
321
|
:source_commit,
|
267
322
|
:destination_commit)
|
323
|
+
SENSITIVE = []
|
268
324
|
include Aws::Structure
|
269
325
|
end
|
270
326
|
|
@@ -279,6 +335,7 @@ module Aws::CodeGuruReviewer
|
|
279
335
|
#
|
280
336
|
class ConflictException < Struct.new(
|
281
337
|
:message)
|
338
|
+
SENSITIVE = []
|
282
339
|
include Aws::Structure
|
283
340
|
end
|
284
341
|
|
@@ -290,13 +347,18 @@ module Aws::CodeGuruReviewer
|
|
290
347
|
# }
|
291
348
|
#
|
292
349
|
# @!attribute [rw] code_review_arn
|
293
|
-
# The Amazon Resource Name (ARN) of the
|
350
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
351
|
+
#
|
352
|
+
#
|
353
|
+
#
|
354
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
294
355
|
# @return [String]
|
295
356
|
#
|
296
357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReviewRequest AWS API Documentation
|
297
358
|
#
|
298
359
|
class DescribeCodeReviewRequest < Struct.new(
|
299
360
|
:code_review_arn)
|
361
|
+
SENSITIVE = []
|
300
362
|
include Aws::Structure
|
301
363
|
end
|
302
364
|
|
@@ -308,6 +370,7 @@ module Aws::CodeGuruReviewer
|
|
308
370
|
#
|
309
371
|
class DescribeCodeReviewResponse < Struct.new(
|
310
372
|
:code_review)
|
373
|
+
SENSITIVE = []
|
311
374
|
include Aws::Structure
|
312
375
|
end
|
313
376
|
|
@@ -321,7 +384,11 @@ module Aws::CodeGuruReviewer
|
|
321
384
|
# }
|
322
385
|
#
|
323
386
|
# @!attribute [rw] code_review_arn
|
324
|
-
# The Amazon Resource Name (ARN)
|
387
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
388
|
+
#
|
389
|
+
#
|
390
|
+
#
|
391
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
325
392
|
# @return [String]
|
326
393
|
#
|
327
394
|
# @!attribute [rw] recommendation_id
|
@@ -332,6 +399,15 @@ module Aws::CodeGuruReviewer
|
|
332
399
|
# @!attribute [rw] user_id
|
333
400
|
# Optional parameter to describe the feedback for a given user. If
|
334
401
|
# this is not supplied, it defaults to the user making the request.
|
402
|
+
#
|
403
|
+
# The `UserId` is an IAM principal that can be specified as an AWS
|
404
|
+
# account ID or an Amazon Resource Name (ARN). For more information,
|
405
|
+
# see [ Specifying a Principal][1] in the *AWS Identity and Access
|
406
|
+
# Management User Guide*.
|
407
|
+
#
|
408
|
+
#
|
409
|
+
#
|
410
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
|
335
411
|
# @return [String]
|
336
412
|
#
|
337
413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedbackRequest AWS API Documentation
|
@@ -340,6 +416,7 @@ module Aws::CodeGuruReviewer
|
|
340
416
|
:code_review_arn,
|
341
417
|
:recommendation_id,
|
342
418
|
:user_id)
|
419
|
+
SENSITIVE = []
|
343
420
|
include Aws::Structure
|
344
421
|
end
|
345
422
|
|
@@ -351,6 +428,7 @@ module Aws::CodeGuruReviewer
|
|
351
428
|
#
|
352
429
|
class DescribeRecommendationFeedbackResponse < Struct.new(
|
353
430
|
:recommendation_feedback)
|
431
|
+
SENSITIVE = []
|
354
432
|
include Aws::Structure
|
355
433
|
end
|
356
434
|
|
@@ -362,14 +440,19 @@ module Aws::CodeGuruReviewer
|
|
362
440
|
# }
|
363
441
|
#
|
364
442
|
# @!attribute [rw] association_arn
|
365
|
-
# The Amazon Resource Name (ARN)
|
366
|
-
# retrieve this ARN by calling `ListRepositories`.
|
443
|
+
# The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
|
444
|
+
# object. You can retrieve this ARN by calling `ListRepositories`.
|
445
|
+
#
|
446
|
+
#
|
447
|
+
#
|
448
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
|
367
449
|
# @return [String]
|
368
450
|
#
|
369
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociationRequest AWS API Documentation
|
370
452
|
#
|
371
453
|
class DescribeRepositoryAssociationRequest < Struct.new(
|
372
454
|
:association_arn)
|
455
|
+
SENSITIVE = []
|
373
456
|
include Aws::Structure
|
374
457
|
end
|
375
458
|
|
@@ -381,6 +464,7 @@ module Aws::CodeGuruReviewer
|
|
381
464
|
#
|
382
465
|
class DescribeRepositoryAssociationResponse < Struct.new(
|
383
466
|
:repository_association)
|
467
|
+
SENSITIVE = []
|
384
468
|
include Aws::Structure
|
385
469
|
end
|
386
470
|
|
@@ -392,13 +476,19 @@ module Aws::CodeGuruReviewer
|
|
392
476
|
# }
|
393
477
|
#
|
394
478
|
# @!attribute [rw] association_arn
|
395
|
-
# The Amazon Resource Name (ARN)
|
479
|
+
# The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
|
480
|
+
# object.
|
481
|
+
#
|
482
|
+
#
|
483
|
+
#
|
484
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
|
396
485
|
# @return [String]
|
397
486
|
#
|
398
487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepositoryRequest AWS API Documentation
|
399
488
|
#
|
400
489
|
class DisassociateRepositoryRequest < Struct.new(
|
401
490
|
:association_arn)
|
491
|
+
SENSITIVE = []
|
402
492
|
include Aws::Structure
|
403
493
|
end
|
404
494
|
|
@@ -410,6 +500,7 @@ module Aws::CodeGuruReviewer
|
|
410
500
|
#
|
411
501
|
class DisassociateRepositoryResponse < Struct.new(
|
412
502
|
:repository_association)
|
503
|
+
SENSITIVE = []
|
413
504
|
include Aws::Structure
|
414
505
|
end
|
415
506
|
|
@@ -423,6 +514,7 @@ module Aws::CodeGuruReviewer
|
|
423
514
|
#
|
424
515
|
class InternalServerException < Struct.new(
|
425
516
|
:message)
|
517
|
+
SENSITIVE = []
|
426
518
|
include Aws::Structure
|
427
519
|
end
|
428
520
|
|
@@ -430,7 +522,7 @@ module Aws::CodeGuruReviewer
|
|
430
522
|
# data as a hash:
|
431
523
|
#
|
432
524
|
# {
|
433
|
-
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
|
525
|
+
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
|
434
526
|
# states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
|
435
527
|
# repository_names: ["Name"],
|
436
528
|
# type: "PullRequest", # required, accepts PullRequest
|
@@ -440,14 +532,25 @@ module Aws::CodeGuruReviewer
|
|
440
532
|
#
|
441
533
|
# @!attribute [rw] provider_types
|
442
534
|
# List of provider types for filtering that needs to be applied before
|
443
|
-
# displaying the result. For example,
|
444
|
-
#
|
535
|
+
# displaying the result. For example, `providerTypes=[GitHub]` lists
|
536
|
+
# code reviews from GitHub.
|
445
537
|
# @return [Array<String>]
|
446
538
|
#
|
447
539
|
# @!attribute [rw] states
|
448
540
|
# List of states for filtering that needs to be applied before
|
449
|
-
# displaying the result. For example,
|
450
|
-
#
|
541
|
+
# displaying the result. For example, `states=[Pending]` lists code
|
542
|
+
# reviews in the Pending state.
|
543
|
+
#
|
544
|
+
# The valid code review states are:
|
545
|
+
#
|
546
|
+
# * `Completed`\: The code review is complete.
|
547
|
+
#
|
548
|
+
# * `Pending`\: The code review started and has not completed or
|
549
|
+
# failed.
|
550
|
+
#
|
551
|
+
# * `Failed`\: The code review failed.
|
552
|
+
#
|
553
|
+
# * `Deleting`\: The code review is being deleted.
|
451
554
|
# @return [Array<String>]
|
452
555
|
#
|
453
556
|
# @!attribute [rw] repository_names
|
@@ -480,6 +583,7 @@ module Aws::CodeGuruReviewer
|
|
480
583
|
:type,
|
481
584
|
:max_results,
|
482
585
|
:next_token)
|
586
|
+
SENSITIVE = []
|
483
587
|
include Aws::Structure
|
484
588
|
end
|
485
589
|
|
@@ -496,6 +600,7 @@ module Aws::CodeGuruReviewer
|
|
496
600
|
class ListCodeReviewsResponse < Struct.new(
|
497
601
|
:code_review_summaries,
|
498
602
|
:next_token)
|
603
|
+
SENSITIVE = []
|
499
604
|
include Aws::Structure
|
500
605
|
end
|
501
606
|
|
@@ -511,7 +616,7 @@ module Aws::CodeGuruReviewer
|
|
511
616
|
# }
|
512
617
|
#
|
513
618
|
# @!attribute [rw] next_token
|
514
|
-
# If nextToken is returned, there are more results available. The
|
619
|
+
# If `nextToken` is returned, there are more results available. The
|
515
620
|
# value of nextToken is a unique pagination token for each page. Make
|
516
621
|
# the call again using the returned token to retrieve the next page.
|
517
622
|
# Keep all other arguments unchanged.
|
@@ -523,19 +628,31 @@ module Aws::CodeGuruReviewer
|
|
523
628
|
# @return [Integer]
|
524
629
|
#
|
525
630
|
# @!attribute [rw] code_review_arn
|
526
|
-
# The Amazon Resource Name (ARN)
|
631
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
632
|
+
#
|
633
|
+
#
|
634
|
+
#
|
635
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
527
636
|
# @return [String]
|
528
637
|
#
|
529
638
|
# @!attribute [rw] user_ids
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
639
|
+
# An AWS user's account ID or Amazon Resource Name (ARN). Use this ID
|
640
|
+
# to query the recommendation feedback for a code review from that
|
641
|
+
# user.
|
642
|
+
#
|
643
|
+
# The `UserId` is an IAM principal that can be specified as an AWS
|
644
|
+
# account ID or an Amazon Resource Name (ARN). For more information,
|
645
|
+
# see [ Specifying a Principal][1] in the *AWS Identity and Access
|
646
|
+
# Management User Guide*.
|
647
|
+
#
|
648
|
+
#
|
649
|
+
#
|
650
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
|
533
651
|
# @return [Array<String>]
|
534
652
|
#
|
535
653
|
# @!attribute [rw] recommendation_ids
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# recommendation feedback for a given recommendation.
|
654
|
+
# Used to query the recommendation feedback for a given
|
655
|
+
# recommendation.
|
539
656
|
# @return [Array<String>]
|
540
657
|
#
|
541
658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedbackRequest AWS API Documentation
|
@@ -546,11 +663,12 @@ module Aws::CodeGuruReviewer
|
|
546
663
|
:code_review_arn,
|
547
664
|
:user_ids,
|
548
665
|
:recommendation_ids)
|
666
|
+
SENSITIVE = []
|
549
667
|
include Aws::Structure
|
550
668
|
end
|
551
669
|
|
552
670
|
# @!attribute [rw] recommendation_feedback_summaries
|
553
|
-
# Recommendation feedback summaries corresponding to the code
|
671
|
+
# Recommendation feedback summaries corresponding to the code review
|
554
672
|
# ARN.
|
555
673
|
# @return [Array<Types::RecommendationFeedbackSummary>]
|
556
674
|
#
|
@@ -566,6 +684,7 @@ module Aws::CodeGuruReviewer
|
|
566
684
|
class ListRecommendationFeedbackResponse < Struct.new(
|
567
685
|
:recommendation_feedback_summaries,
|
568
686
|
:next_token)
|
687
|
+
SENSITIVE = []
|
569
688
|
include Aws::Structure
|
570
689
|
end
|
571
690
|
|
@@ -588,7 +707,11 @@ module Aws::CodeGuruReviewer
|
|
588
707
|
# @return [Integer]
|
589
708
|
#
|
590
709
|
# @!attribute [rw] code_review_arn
|
591
|
-
# The Amazon Resource Name (ARN) of the
|
710
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
711
|
+
#
|
712
|
+
#
|
713
|
+
#
|
714
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
592
715
|
# @return [String]
|
593
716
|
#
|
594
717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationsRequest AWS API Documentation
|
@@ -597,6 +720,7 @@ module Aws::CodeGuruReviewer
|
|
597
720
|
:next_token,
|
598
721
|
:max_results,
|
599
722
|
:code_review_arn)
|
723
|
+
SENSITIVE = []
|
600
724
|
include Aws::Structure
|
601
725
|
end
|
602
726
|
|
@@ -613,6 +737,7 @@ module Aws::CodeGuruReviewer
|
|
613
737
|
class ListRecommendationsResponse < Struct.new(
|
614
738
|
:recommendation_summaries,
|
615
739
|
:next_token)
|
740
|
+
SENSITIVE = []
|
616
741
|
include Aws::Structure
|
617
742
|
end
|
618
743
|
|
@@ -620,7 +745,7 @@ module Aws::CodeGuruReviewer
|
|
620
745
|
# data as a hash:
|
621
746
|
#
|
622
747
|
# {
|
623
|
-
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket
|
748
|
+
# provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
|
624
749
|
# states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
|
625
750
|
# names: ["Name"],
|
626
751
|
# owners: ["Owner"],
|
@@ -633,7 +758,31 @@ module Aws::CodeGuruReviewer
|
|
633
758
|
# @return [Array<String>]
|
634
759
|
#
|
635
760
|
# @!attribute [rw] states
|
636
|
-
# List of states to use as a filter.
|
761
|
+
# List of repository association states to use as a filter.
|
762
|
+
#
|
763
|
+
# The valid repository association states are:
|
764
|
+
#
|
765
|
+
# * **Associated**\: The repository association is complete.
|
766
|
+
#
|
767
|
+
# * **Associating**\: CodeGuru Reviewer is:
|
768
|
+
#
|
769
|
+
# * Setting up pull request notifications. This is required for pull
|
770
|
+
# requests to trigger a CodeGuru Reviewer review.
|
771
|
+
#
|
772
|
+
# <note markdown="1"> If your repository `ProviderType` is `GitHub` or `Bitbucket`,
|
773
|
+
# CodeGuru Reviewer creates webhooks in your repository to trigger
|
774
|
+
# CodeGuru Reviewer reviews. If you delete these webhooks, reviews
|
775
|
+
# of code in your repository cannot be triggered.
|
776
|
+
#
|
777
|
+
# </note>
|
778
|
+
#
|
779
|
+
# * Setting up source code access. This is required for CodeGuru
|
780
|
+
# Reviewer to securely clone code in your repository.
|
781
|
+
#
|
782
|
+
# * **Failed**\: The repository failed to associate or disassociate.
|
783
|
+
#
|
784
|
+
# * **Disassociating**\: CodeGuru Reviewer is removing the
|
785
|
+
# repository's pull request notifications and source code access.
|
637
786
|
# @return [Array<String>]
|
638
787
|
#
|
639
788
|
# @!attribute [rw] names
|
@@ -641,10 +790,11 @@ module Aws::CodeGuruReviewer
|
|
641
790
|
# @return [Array<String>]
|
642
791
|
#
|
643
792
|
# @!attribute [rw] owners
|
644
|
-
# List of owners to use as a filter. For
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
793
|
+
# List of owners to use as a filter. For AWS CodeCommit, it is the
|
794
|
+
# name of the CodeCommit account that was used to associate the
|
795
|
+
# repository. For other repository source providers, such as
|
796
|
+
# Bitbucket, this is name of the account that was used to associate
|
797
|
+
# the repository.
|
648
798
|
# @return [Array<String>]
|
649
799
|
#
|
650
800
|
# @!attribute [rw] max_results
|
@@ -654,9 +804,9 @@ module Aws::CodeGuruReviewer
|
|
654
804
|
# `maxResults` results in a single page with a `nextToken` response
|
655
805
|
# element. The remaining results of the initial request can be seen by
|
656
806
|
# sending another `ListRepositoryAssociations` request with the
|
657
|
-
# returned `nextToken` value. This value can be between 1 and
|
807
|
+
# returned `nextToken` value. This value can be between 1 and 100. If
|
658
808
|
# this parameter is not used, `ListRepositoryAssociations` returns up
|
659
|
-
# to
|
809
|
+
# to 100 results and a `nextToken` value if applicable.
|
660
810
|
# @return [Integer]
|
661
811
|
#
|
662
812
|
# @!attribute [rw] next_token
|
@@ -682,6 +832,7 @@ module Aws::CodeGuruReviewer
|
|
682
832
|
:owners,
|
683
833
|
:max_results,
|
684
834
|
:next_token)
|
835
|
+
SENSITIVE = []
|
685
836
|
include Aws::Structure
|
686
837
|
end
|
687
838
|
|
@@ -703,13 +854,25 @@ module Aws::CodeGuruReviewer
|
|
703
854
|
class ListRepositoryAssociationsResponse < Struct.new(
|
704
855
|
:repository_association_summaries,
|
705
856
|
:next_token)
|
857
|
+
SENSITIVE = []
|
706
858
|
include Aws::Structure
|
707
859
|
end
|
708
860
|
|
709
861
|
# Information about the statistics from the code review.
|
710
862
|
#
|
711
863
|
# @!attribute [rw] metered_lines_of_code_count
|
712
|
-
# Lines of code metered in the code review.
|
864
|
+
# Lines of code metered in the code review. For the initial code
|
865
|
+
# review pull request and all subsequent revisions, this includes all
|
866
|
+
# lines of code in the files added to the pull request. In subsequent
|
867
|
+
# revisions, for files that already existed in the pull request, this
|
868
|
+
# includes only the changed lines of code. In both cases, this does
|
869
|
+
# not include non-code lines such as comments and import statements.
|
870
|
+
# For example, if you submit a pull request containing 5 files, each
|
871
|
+
# with 500 lines of code, and in a subsequent revision you added a new
|
872
|
+
# file with 200 lines of code, and also modified a total of 25 lines
|
873
|
+
# across the initial 5 files, `MeteredLinesOfCodeCount` includes the
|
874
|
+
# first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and
|
875
|
+
# the 25 changed lines of code for a total of 2,725 lines of code.
|
713
876
|
# @return [Integer]
|
714
877
|
#
|
715
878
|
# @!attribute [rw] findings_count
|
@@ -721,13 +884,25 @@ module Aws::CodeGuruReviewer
|
|
721
884
|
class Metrics < Struct.new(
|
722
885
|
:metered_lines_of_code_count,
|
723
886
|
:findings_count)
|
887
|
+
SENSITIVE = []
|
724
888
|
include Aws::Structure
|
725
889
|
end
|
726
890
|
|
727
891
|
# Information about metrics summaries.
|
728
892
|
#
|
729
893
|
# @!attribute [rw] metered_lines_of_code_count
|
730
|
-
# Lines of code metered in the code review.
|
894
|
+
# Lines of code metered in the code review. For the initial code
|
895
|
+
# review pull request and all subsequent revisions, this includes all
|
896
|
+
# lines of code in the files added to the pull request. In subsequent
|
897
|
+
# revisions, for files that already existed in the pull request, this
|
898
|
+
# includes only the changed lines of code. In both cases, this does
|
899
|
+
# not include non-code lines such as comments and import statements.
|
900
|
+
# For example, if you submit a pull request containing 5 files, each
|
901
|
+
# with 500 lines of code, and in a subsequent revision you added a new
|
902
|
+
# file with 200 lines of code, and also modified a total of 25 lines
|
903
|
+
# across the initial 5 files, `MeteredLinesOfCodeCount` includes the
|
904
|
+
# first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and
|
905
|
+
# the 25 changed lines of code for a total of 2,725 lines of code.
|
731
906
|
# @return [Integer]
|
732
907
|
#
|
733
908
|
# @!attribute [rw] findings_count
|
@@ -739,6 +914,7 @@ module Aws::CodeGuruReviewer
|
|
739
914
|
class MetricsSummary < Struct.new(
|
740
915
|
:metered_lines_of_code_count,
|
741
916
|
:findings_count)
|
917
|
+
SENSITIVE = []
|
742
918
|
include Aws::Structure
|
743
919
|
end
|
744
920
|
|
@@ -751,6 +927,7 @@ module Aws::CodeGuruReviewer
|
|
751
927
|
#
|
752
928
|
class NotFoundException < Struct.new(
|
753
929
|
:message)
|
930
|
+
SENSITIVE = []
|
754
931
|
include Aws::Structure
|
755
932
|
end
|
756
933
|
|
@@ -764,7 +941,11 @@ module Aws::CodeGuruReviewer
|
|
764
941
|
# }
|
765
942
|
#
|
766
943
|
# @!attribute [rw] code_review_arn
|
767
|
-
# The Amazon Resource Name (ARN)
|
944
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
945
|
+
#
|
946
|
+
#
|
947
|
+
#
|
948
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
768
949
|
# @return [String]
|
769
950
|
#
|
770
951
|
# @!attribute [rw] recommendation_id
|
@@ -783,6 +964,7 @@ module Aws::CodeGuruReviewer
|
|
783
964
|
:code_review_arn,
|
784
965
|
:recommendation_id,
|
785
966
|
:reactions)
|
967
|
+
SENSITIVE = []
|
786
968
|
include Aws::Structure
|
787
969
|
end
|
788
970
|
|
@@ -793,7 +975,11 @@ module Aws::CodeGuruReviewer
|
|
793
975
|
# Information about the recommendation feedback.
|
794
976
|
#
|
795
977
|
# @!attribute [rw] code_review_arn
|
796
|
-
# The Amazon Resource Name (ARN)
|
978
|
+
# The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
|
797
983
|
# @return [String]
|
798
984
|
#
|
799
985
|
# @!attribute [rw] recommendation_id
|
@@ -807,7 +993,16 @@ module Aws::CodeGuruReviewer
|
|
807
993
|
# @return [Array<String>]
|
808
994
|
#
|
809
995
|
# @!attribute [rw] user_id
|
810
|
-
# The user
|
996
|
+
# The ID of the user that made the API call.
|
997
|
+
#
|
998
|
+
# The `UserId` is an IAM principal that can be specified as an AWS
|
999
|
+
# account ID or an Amazon Resource Name (ARN). For more information,
|
1000
|
+
# see [ Specifying a Principal][1] in the *AWS Identity and Access
|
1001
|
+
# Management User Guide*.
|
1002
|
+
#
|
1003
|
+
#
|
1004
|
+
#
|
1005
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
|
811
1006
|
# @return [String]
|
812
1007
|
#
|
813
1008
|
# @!attribute [rw] created_time_stamp
|
@@ -827,6 +1022,7 @@ module Aws::CodeGuruReviewer
|
|
827
1022
|
:user_id,
|
828
1023
|
:created_time_stamp,
|
829
1024
|
:last_updated_time_stamp)
|
1025
|
+
SENSITIVE = []
|
830
1026
|
include Aws::Structure
|
831
1027
|
end
|
832
1028
|
|
@@ -843,7 +1039,16 @@ module Aws::CodeGuruReviewer
|
|
843
1039
|
# @return [Array<String>]
|
844
1040
|
#
|
845
1041
|
# @!attribute [rw] user_id
|
846
|
-
# The
|
1042
|
+
# The ID of the user that gave the feedback.
|
1043
|
+
#
|
1044
|
+
# The `UserId` is an IAM principal that can be specified as an AWS
|
1045
|
+
# account ID or an Amazon Resource Name (ARN). For more information,
|
1046
|
+
# see [ Specifying a Principal][1] in the *AWS Identity and Access
|
1047
|
+
# Management User Guide*.
|
1048
|
+
#
|
1049
|
+
#
|
1050
|
+
#
|
1051
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
|
847
1052
|
# @return [String]
|
848
1053
|
#
|
849
1054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RecommendationFeedbackSummary AWS API Documentation
|
@@ -852,6 +1057,7 @@ module Aws::CodeGuruReviewer
|
|
852
1057
|
:recommendation_id,
|
853
1058
|
:reactions,
|
854
1059
|
:user_id)
|
1060
|
+
SENSITIVE = []
|
855
1061
|
include Aws::Structure
|
856
1062
|
end
|
857
1063
|
|
@@ -874,7 +1080,7 @@ module Aws::CodeGuruReviewer
|
|
874
1080
|
# @!attribute [rw] end_line
|
875
1081
|
# Last line where the recommendation is applicable in the source
|
876
1082
|
# commit or source branch. For a single line comment the start line
|
877
|
-
# and end line values
|
1083
|
+
# and end line values are the same.
|
878
1084
|
# @return [Integer]
|
879
1085
|
#
|
880
1086
|
# @!attribute [rw] description
|
@@ -890,10 +1096,14 @@ module Aws::CodeGuruReviewer
|
|
890
1096
|
:start_line,
|
891
1097
|
:end_line,
|
892
1098
|
:description)
|
1099
|
+
SENSITIVE = []
|
893
1100
|
include Aws::Structure
|
894
1101
|
end
|
895
1102
|
|
896
|
-
# Information about
|
1103
|
+
# Information about an associated AWS CodeCommit repository or an
|
1104
|
+
# associated repository that is managed by AWS CodeStar Connections (for
|
1105
|
+
# example, Bitbucket). This `Repository` object is not used if your
|
1106
|
+
# source code is in an associated GitHub repository.
|
897
1107
|
#
|
898
1108
|
# @note When making an API call, you may pass Repository
|
899
1109
|
# data as a hash:
|
@@ -907,6 +1117,11 @@ module Aws::CodeGuruReviewer
|
|
907
1117
|
# connection_arn: "ConnectionArn", # required
|
908
1118
|
# owner: "Owner", # required
|
909
1119
|
# },
|
1120
|
+
# git_hub_enterprise_server: {
|
1121
|
+
# name: "Name", # required
|
1122
|
+
# connection_arn: "ConnectionArn", # required
|
1123
|
+
# owner: "Owner", # required
|
1124
|
+
# },
|
910
1125
|
# }
|
911
1126
|
#
|
912
1127
|
# @!attribute [rw] code_commit
|
@@ -914,18 +1129,30 @@ module Aws::CodeGuruReviewer
|
|
914
1129
|
# @return [Types::CodeCommitRepository]
|
915
1130
|
#
|
916
1131
|
# @!attribute [rw] bitbucket
|
917
|
-
# Information about a Bitbucket
|
1132
|
+
# Information about a Bitbucket repository.
|
1133
|
+
# @return [Types::ThirdPartySourceRepository]
|
1134
|
+
#
|
1135
|
+
# @!attribute [rw] git_hub_enterprise_server
|
1136
|
+
# Information about a GitHub Enterprise Server repository.
|
918
1137
|
# @return [Types::ThirdPartySourceRepository]
|
919
1138
|
#
|
920
1139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/Repository AWS API Documentation
|
921
1140
|
#
|
922
1141
|
class Repository < Struct.new(
|
923
1142
|
:code_commit,
|
924
|
-
:bitbucket
|
1143
|
+
:bitbucket,
|
1144
|
+
:git_hub_enterprise_server)
|
1145
|
+
SENSITIVE = []
|
925
1146
|
include Aws::Structure
|
926
1147
|
end
|
927
1148
|
|
928
|
-
# Information about a repository association.
|
1149
|
+
# Information about a repository association. The [
|
1150
|
+
# `DescribeRepositoryAssociation` ][1] operation returns a
|
1151
|
+
# `RepositoryAssociation` object.
|
1152
|
+
#
|
1153
|
+
#
|
1154
|
+
#
|
1155
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_DescribeRepositoryAssociation.html
|
929
1156
|
#
|
930
1157
|
# @!attribute [rw] association_id
|
931
1158
|
# The ID of the repository association.
|
@@ -937,8 +1164,15 @@ module Aws::CodeGuruReviewer
|
|
937
1164
|
# @return [String]
|
938
1165
|
#
|
939
1166
|
# @!attribute [rw] connection_arn
|
940
|
-
# The Amazon Resource Name (ARN)
|
941
|
-
# connection.
|
1167
|
+
# The Amazon Resource Name (ARN) of an AWS CodeStar Connections
|
1168
|
+
# connection. Its format is
|
1169
|
+
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
1170
|
+
# For more information, see [Connection][1] in the *AWS CodeStar
|
1171
|
+
# Connections API Reference*.
|
1172
|
+
#
|
1173
|
+
#
|
1174
|
+
#
|
1175
|
+
# [1]: https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html
|
942
1176
|
# @return [String]
|
943
1177
|
#
|
944
1178
|
# @!attribute [rw] name
|
@@ -946,7 +1180,10 @@ module Aws::CodeGuruReviewer
|
|
946
1180
|
# @return [String]
|
947
1181
|
#
|
948
1182
|
# @!attribute [rw] owner
|
949
|
-
# The owner of the repository.
|
1183
|
+
# The owner of the repository. For an AWS CodeCommit repository, this
|
1184
|
+
# is the AWS account ID of the account that owns the repository. For a
|
1185
|
+
# GitHub or Bitbucket repository, this is the username for the account
|
1186
|
+
# that owns the repository.
|
950
1187
|
# @return [String]
|
951
1188
|
#
|
952
1189
|
# @!attribute [rw] provider_type
|
@@ -955,6 +1192,30 @@ module Aws::CodeGuruReviewer
|
|
955
1192
|
#
|
956
1193
|
# @!attribute [rw] state
|
957
1194
|
# The state of the repository association.
|
1195
|
+
#
|
1196
|
+
# The valid repository association states are:
|
1197
|
+
#
|
1198
|
+
# * **Associated**\: The repository association is complete.
|
1199
|
+
#
|
1200
|
+
# * **Associating**\: CodeGuru Reviewer is:
|
1201
|
+
#
|
1202
|
+
# * Setting up pull request notifications. This is required for pull
|
1203
|
+
# requests to trigger a CodeGuru Reviewer review.
|
1204
|
+
#
|
1205
|
+
# <note markdown="1"> If your repository `ProviderType` is `GitHub` or `Bitbucket`,
|
1206
|
+
# CodeGuru Reviewer creates webhooks in your repository to trigger
|
1207
|
+
# CodeGuru Reviewer reviews. If you delete these webhooks, reviews
|
1208
|
+
# of code in your repository cannot be triggered.
|
1209
|
+
#
|
1210
|
+
# </note>
|
1211
|
+
#
|
1212
|
+
# * Setting up source code access. This is required for CodeGuru
|
1213
|
+
# Reviewer to securely clone code in your repository.
|
1214
|
+
#
|
1215
|
+
# * **Failed**\: The repository failed to associate or disassociate.
|
1216
|
+
#
|
1217
|
+
# * **Disassociating**\: CodeGuru Reviewer is removing the
|
1218
|
+
# repository's pull request notifications and source code access.
|
958
1219
|
# @return [String]
|
959
1220
|
#
|
960
1221
|
# @!attribute [rw] state_reason
|
@@ -985,19 +1246,37 @@ module Aws::CodeGuruReviewer
|
|
985
1246
|
:state_reason,
|
986
1247
|
:last_updated_time_stamp,
|
987
1248
|
:created_time_stamp)
|
1249
|
+
SENSITIVE = []
|
988
1250
|
include Aws::Structure
|
989
1251
|
end
|
990
1252
|
|
991
|
-
#
|
1253
|
+
# Summary information about a repository association. The [
|
1254
|
+
# `ListRepositoryAssociations` ][1] operation returns a list of
|
1255
|
+
# `RepositoryAssociationSummary` objects.
|
1256
|
+
#
|
1257
|
+
#
|
1258
|
+
#
|
1259
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
|
992
1260
|
#
|
993
1261
|
# @!attribute [rw] association_arn
|
994
|
-
# The Amazon Resource Name (ARN)
|
995
|
-
#
|
1262
|
+
# The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
|
1263
|
+
# object.
|
1264
|
+
#
|
1265
|
+
#
|
1266
|
+
#
|
1267
|
+
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
|
996
1268
|
# @return [String]
|
997
1269
|
#
|
998
1270
|
# @!attribute [rw] connection_arn
|
999
|
-
# The Amazon Resource Name (ARN)
|
1000
|
-
# connection.
|
1271
|
+
# The Amazon Resource Name (ARN) of an AWS CodeStar Connections
|
1272
|
+
# connection. Its format is
|
1273
|
+
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
1274
|
+
# For more information, see [Connection][1] in the *AWS CodeStar
|
1275
|
+
# Connections API Reference*.
|
1276
|
+
#
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
# [1]: https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html
|
1001
1280
|
# @return [String]
|
1002
1281
|
#
|
1003
1282
|
# @!attribute [rw] last_updated_time_stamp
|
@@ -1014,7 +1293,10 @@ module Aws::CodeGuruReviewer
|
|
1014
1293
|
# @return [String]
|
1015
1294
|
#
|
1016
1295
|
# @!attribute [rw] owner
|
1017
|
-
# The owner of the repository
|
1296
|
+
# The owner of the repository. For an AWS CodeCommit repository, this
|
1297
|
+
# is the AWS account ID of the account that owns the repository. For a
|
1298
|
+
# GitHub or Bitbucket repository, this is the username for the account
|
1299
|
+
# that owns the repository.
|
1018
1300
|
# @return [String]
|
1019
1301
|
#
|
1020
1302
|
# @!attribute [rw] provider_type
|
@@ -1024,22 +1306,29 @@ module Aws::CodeGuruReviewer
|
|
1024
1306
|
# @!attribute [rw] state
|
1025
1307
|
# The state of the repository association.
|
1026
1308
|
#
|
1027
|
-
#
|
1309
|
+
# The valid repository association states are:
|
1028
1310
|
#
|
1029
|
-
#
|
1311
|
+
# * **Associated**\: The repository association is complete.
|
1030
1312
|
#
|
1031
|
-
# Associating
|
1313
|
+
# * **Associating**\: CodeGuru Reviewer is:
|
1032
1314
|
#
|
1033
|
-
#
|
1315
|
+
# * Setting up pull request notifications. This is required for pull
|
1316
|
+
# requests to trigger a CodeGuru Reviewer review.
|
1034
1317
|
#
|
1035
|
-
#
|
1318
|
+
# <note markdown="1"> If your repository `ProviderType` is `GitHub` or `Bitbucket`,
|
1319
|
+
# CodeGuru Reviewer creates webhooks in your repository to trigger
|
1320
|
+
# CodeGuru Reviewer reviews. If you delete these webhooks, reviews
|
1321
|
+
# of code in your repository cannot be triggered.
|
1036
1322
|
#
|
1037
|
-
#
|
1323
|
+
# </note>
|
1038
1324
|
#
|
1039
|
-
#
|
1325
|
+
# * Setting up source code access. This is required for CodeGuru
|
1326
|
+
# Reviewer to securely clone code in your repository.
|
1040
1327
|
#
|
1041
|
-
#
|
1042
|
-
#
|
1328
|
+
# * **Failed**\: The repository failed to associate or disassociate.
|
1329
|
+
#
|
1330
|
+
# * **Disassociating**\: CodeGuru Reviewer is removing the
|
1331
|
+
# repository's pull request notifications and source code access.
|
1043
1332
|
# @return [String]
|
1044
1333
|
#
|
1045
1334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RepositoryAssociationSummary AWS API Documentation
|
@@ -1053,6 +1342,7 @@ module Aws::CodeGuruReviewer
|
|
1053
1342
|
:owner,
|
1054
1343
|
:provider_type,
|
1055
1344
|
:state)
|
1345
|
+
SENSITIVE = []
|
1056
1346
|
include Aws::Structure
|
1057
1347
|
end
|
1058
1348
|
|
@@ -1065,6 +1355,7 @@ module Aws::CodeGuruReviewer
|
|
1065
1355
|
#
|
1066
1356
|
class ResourceNotFoundException < Struct.new(
|
1067
1357
|
:message)
|
1358
|
+
SENSITIVE = []
|
1068
1359
|
include Aws::Structure
|
1069
1360
|
end
|
1070
1361
|
|
@@ -1078,11 +1369,12 @@ module Aws::CodeGuruReviewer
|
|
1078
1369
|
#
|
1079
1370
|
class SourceCodeType < Struct.new(
|
1080
1371
|
:commit_diff)
|
1372
|
+
SENSITIVE = []
|
1081
1373
|
include Aws::Structure
|
1082
1374
|
end
|
1083
1375
|
|
1084
|
-
# Information about a third
|
1085
|
-
#
|
1376
|
+
# Information about a third-party source repository connected to
|
1377
|
+
# CodeGuru Reviewer.
|
1086
1378
|
#
|
1087
1379
|
# @note When making an API call, you may pass ThirdPartySourceRepository
|
1088
1380
|
# data as a hash:
|
@@ -1098,12 +1390,21 @@ module Aws::CodeGuruReviewer
|
|
1098
1390
|
# @return [String]
|
1099
1391
|
#
|
1100
1392
|
# @!attribute [rw] connection_arn
|
1101
|
-
# The Amazon Resource Name (ARN)
|
1102
|
-
# connection.
|
1393
|
+
# The Amazon Resource Name (ARN) of an AWS CodeStar Connections
|
1394
|
+
# connection. Its format is
|
1395
|
+
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
1396
|
+
# For more information, see [Connection][1] in the *AWS CodeStar
|
1397
|
+
# Connections API Reference*.
|
1398
|
+
#
|
1399
|
+
#
|
1400
|
+
#
|
1401
|
+
# [1]: https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html
|
1103
1402
|
# @return [String]
|
1104
1403
|
#
|
1105
1404
|
# @!attribute [rw] owner
|
1106
|
-
# The
|
1405
|
+
# The owner of the repository. For a GitHub, GitHub Enterprise, or
|
1406
|
+
# Bitbucket repository, this is the username for the account that owns
|
1407
|
+
# the repository.
|
1107
1408
|
# @return [String]
|
1108
1409
|
#
|
1109
1410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ThirdPartySourceRepository AWS API Documentation
|
@@ -1112,6 +1413,7 @@ module Aws::CodeGuruReviewer
|
|
1112
1413
|
:name,
|
1113
1414
|
:connection_arn,
|
1114
1415
|
:owner)
|
1416
|
+
SENSITIVE = []
|
1115
1417
|
include Aws::Structure
|
1116
1418
|
end
|
1117
1419
|
|
@@ -1124,6 +1426,7 @@ module Aws::CodeGuruReviewer
|
|
1124
1426
|
#
|
1125
1427
|
class ThrottlingException < Struct.new(
|
1126
1428
|
:message)
|
1429
|
+
SENSITIVE = []
|
1127
1430
|
include Aws::Structure
|
1128
1431
|
end
|
1129
1432
|
|
@@ -1136,6 +1439,7 @@ module Aws::CodeGuruReviewer
|
|
1136
1439
|
#
|
1137
1440
|
class ValidationException < Struct.new(
|
1138
1441
|
:message)
|
1442
|
+
SENSITIVE = []
|
1139
1443
|
include Aws::Structure
|
1140
1444
|
end
|
1141
1445
|
|