aws-sdk-codegurureviewer 1.4.0 → 1.9.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.
@@ -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:
@@ -24,6 +26,7 @@ module Aws::CodeGuruReviewer
24
26
  CommitDiffSourceCodeType = Shapes::StructureShape.new(name: 'CommitDiffSourceCodeType')
25
27
  CommitId = Shapes::StringShape.new(name: 'CommitId')
26
28
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
29
+ ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
27
30
  DescribeCodeReviewRequest = Shapes::StructureShape.new(name: 'DescribeCodeReviewRequest')
28
31
  DescribeCodeReviewResponse = Shapes::StructureShape.new(name: 'DescribeCodeReviewResponse')
29
32
  DescribeRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationFeedbackRequest')
@@ -83,6 +86,7 @@ module Aws::CodeGuruReviewer
83
86
  SourceCodeType = Shapes::StructureShape.new(name: 'SourceCodeType')
84
87
  StateReason = Shapes::StringShape.new(name: 'StateReason')
85
88
  Text = Shapes::StringShape.new(name: 'Text')
89
+ ThirdPartySourceRepository = Shapes::StructureShape.new(name: 'ThirdPartySourceRepository')
86
90
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
87
91
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
88
92
  Type = Shapes::StringShape.new(name: 'Type')
@@ -268,10 +272,13 @@ module Aws::CodeGuruReviewer
268
272
  RecommendationSummary.struct_class = Types::RecommendationSummary
269
273
 
270
274
  Repository.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitRepository, location_name: "CodeCommit"))
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"))
271
277
  Repository.struct_class = Types::Repository
272
278
 
273
279
  RepositoryAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
274
280
  RepositoryAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn"))
281
+ RepositoryAssociation.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
275
282
  RepositoryAssociation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
276
283
  RepositoryAssociation.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
277
284
  RepositoryAssociation.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType"))
@@ -286,6 +293,7 @@ module Aws::CodeGuruReviewer
286
293
  RepositoryAssociationSummaries.member = Shapes::ShapeRef.new(shape: RepositoryAssociationSummary)
287
294
 
288
295
  RepositoryAssociationSummary.add_member(:association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AssociationArn"))
296
+ RepositoryAssociationSummary.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
289
297
  RepositoryAssociationSummary.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp"))
290
298
  RepositoryAssociationSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
291
299
  RepositoryAssociationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
@@ -302,6 +310,11 @@ module Aws::CodeGuruReviewer
302
310
  SourceCodeType.add_member(:commit_diff, Shapes::ShapeRef.new(shape: CommitDiffSourceCodeType, location_name: "CommitDiff"))
303
311
  SourceCodeType.struct_class = Types::SourceCodeType
304
312
 
313
+ ThirdPartySourceRepository.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
314
+ ThirdPartySourceRepository.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
315
+ ThirdPartySourceRepository.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, required: true, location_name: "Owner"))
316
+ ThirdPartySourceRepository.struct_class = Types::ThirdPartySourceRepository
317
+
305
318
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
306
319
  ThrottlingException.struct_class = Types::ThrottlingException
307
320
 
@@ -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:
@@ -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:
@@ -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
 
@@ -28,6 +31,16 @@ module Aws::CodeGuruReviewer
28
31
  # code_commit: {
29
32
  # name: "Name", # required
30
33
  # },
34
+ # bitbucket: {
35
+ # name: "Name", # required
36
+ # connection_arn: "ConnectionArn", # required
37
+ # owner: "Owner", # required
38
+ # },
39
+ # git_hub_enterprise_server: {
40
+ # name: "Name", # required
41
+ # connection_arn: "ConnectionArn", # required
42
+ # owner: "Owner", # required
43
+ # },
31
44
  # },
32
45
  # client_request_token: "ClientRequestToken",
33
46
  # }
@@ -71,6 +84,7 @@ module Aws::CodeGuruReviewer
71
84
  class AssociateRepositoryRequest < Struct.new(
72
85
  :repository,
73
86
  :client_request_token)
87
+ SENSITIVE = []
74
88
  include Aws::Structure
75
89
  end
76
90
 
@@ -82,10 +96,13 @@ module Aws::CodeGuruReviewer
82
96
  #
83
97
  class AssociateRepositoryResponse < Struct.new(
84
98
  :repository_association)
99
+ SENSITIVE = []
85
100
  include Aws::Structure
86
101
  end
87
102
 
88
- # 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.
89
106
  #
90
107
  # @note When making an API call, you may pass CodeCommitRepository
91
108
  # data as a hash:
@@ -95,13 +112,19 @@ module Aws::CodeGuruReviewer
95
112
  # }
96
113
  #
97
114
  # @!attribute [rw] name
98
- # 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
99
121
  # @return [String]
100
122
  #
101
123
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CodeCommitRepository AWS API Documentation
102
124
  #
103
125
  class CodeCommitRepository < Struct.new(
104
126
  :name)
127
+ SENSITIVE = []
105
128
  include Aws::Structure
106
129
  end
107
130
 
@@ -112,7 +135,11 @@ module Aws::CodeGuruReviewer
112
135
  # @return [String]
113
136
  #
114
137
  # @!attribute [rw] code_review_arn
115
- # The Amazon Resource Name (ARN) of the code review to describe.
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
116
143
  # @return [String]
117
144
  #
118
145
  # @!attribute [rw] repository_name
@@ -120,15 +147,28 @@ module Aws::CodeGuruReviewer
120
147
  # @return [String]
121
148
  #
122
149
  # @!attribute [rw] owner
123
- # 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.
124
154
  # @return [String]
125
155
  #
126
156
  # @!attribute [rw] provider_type
127
- # The provider type of the repository association.
157
+ # The type of repository that contains the reviewed code (for example,
158
+ # GitHub or Bitbucket).
128
159
  # @return [String]
129
160
  #
130
161
  # @!attribute [rw] state
131
- # The state of the code review.
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.
132
172
  # @return [String]
133
173
  #
134
174
  # @!attribute [rw] state_reason
@@ -177,6 +217,7 @@ module Aws::CodeGuruReviewer
177
217
  :pull_request_id,
178
218
  :source_code_type,
179
219
  :metrics)
220
+ SENSITIVE = []
180
221
  include Aws::Structure
181
222
  end
182
223
 
@@ -187,7 +228,11 @@ module Aws::CodeGuruReviewer
187
228
  # @return [String]
188
229
  #
189
230
  # @!attribute [rw] code_review_arn
190
- # The Amazon Resource Name (ARN) of the code review to describe.
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
191
236
  # @return [String]
192
237
  #
193
238
  # @!attribute [rw] repository_name
@@ -195,7 +240,10 @@ module Aws::CodeGuruReviewer
195
240
  # @return [String]
196
241
  #
197
242
  # @!attribute [rw] owner
198
- # 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.
199
247
  # @return [String]
200
248
  #
201
249
  # @!attribute [rw] provider_type
@@ -204,6 +252,17 @@ module Aws::CodeGuruReviewer
204
252
  #
205
253
  # @!attribute [rw] state
206
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.
207
266
  # @return [String]
208
267
  #
209
268
  # @!attribute [rw] created_time_stamp
@@ -242,17 +301,18 @@ module Aws::CodeGuruReviewer
242
301
  :type,
243
302
  :pull_request_id,
244
303
  :metrics_summary)
304
+ SENSITIVE = []
245
305
  include Aws::Structure
246
306
  end
247
307
 
248
308
  # The commit diff for the pull request.
249
309
  #
250
310
  # @!attribute [rw] source_commit
251
- # Source Commit SHA.
311
+ # The SHA of the source commit.
252
312
  # @return [String]
253
313
  #
254
314
  # @!attribute [rw] destination_commit
255
- # Destination Commit SHA
315
+ # The SHA of the destination commit.
256
316
  # @return [String]
257
317
  #
258
318
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CommitDiffSourceCodeType AWS API Documentation
@@ -260,6 +320,7 @@ module Aws::CodeGuruReviewer
260
320
  class CommitDiffSourceCodeType < Struct.new(
261
321
  :source_commit,
262
322
  :destination_commit)
323
+ SENSITIVE = []
263
324
  include Aws::Structure
264
325
  end
265
326
 
@@ -274,6 +335,7 @@ module Aws::CodeGuruReviewer
274
335
  #
275
336
  class ConflictException < Struct.new(
276
337
  :message)
338
+ SENSITIVE = []
277
339
  include Aws::Structure
278
340
  end
279
341
 
@@ -285,13 +347,18 @@ module Aws::CodeGuruReviewer
285
347
  # }
286
348
  #
287
349
  # @!attribute [rw] code_review_arn
288
- # The Amazon Resource Name (ARN) of the code review to describe.
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
289
355
  # @return [String]
290
356
  #
291
357
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReviewRequest AWS API Documentation
292
358
  #
293
359
  class DescribeCodeReviewRequest < Struct.new(
294
360
  :code_review_arn)
361
+ SENSITIVE = []
295
362
  include Aws::Structure
296
363
  end
297
364
 
@@ -303,6 +370,7 @@ module Aws::CodeGuruReviewer
303
370
  #
304
371
  class DescribeCodeReviewResponse < Struct.new(
305
372
  :code_review)
373
+ SENSITIVE = []
306
374
  include Aws::Structure
307
375
  end
308
376
 
@@ -316,7 +384,11 @@ module Aws::CodeGuruReviewer
316
384
  # }
317
385
  #
318
386
  # @!attribute [rw] code_review_arn
319
- # The Amazon Resource Name (ARN) that identifies the code review.
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
320
392
  # @return [String]
321
393
  #
322
394
  # @!attribute [rw] recommendation_id
@@ -327,6 +399,15 @@ module Aws::CodeGuruReviewer
327
399
  # @!attribute [rw] user_id
328
400
  # Optional parameter to describe the feedback for a given user. If
329
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
330
411
  # @return [String]
331
412
  #
332
413
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedbackRequest AWS API Documentation
@@ -335,6 +416,7 @@ module Aws::CodeGuruReviewer
335
416
  :code_review_arn,
336
417
  :recommendation_id,
337
418
  :user_id)
419
+ SENSITIVE = []
338
420
  include Aws::Structure
339
421
  end
340
422
 
@@ -346,6 +428,7 @@ module Aws::CodeGuruReviewer
346
428
  #
347
429
  class DescribeRecommendationFeedbackResponse < Struct.new(
348
430
  :recommendation_feedback)
431
+ SENSITIVE = []
349
432
  include Aws::Structure
350
433
  end
351
434
 
@@ -357,14 +440,19 @@ module Aws::CodeGuruReviewer
357
440
  # }
358
441
  #
359
442
  # @!attribute [rw] association_arn
360
- # The Amazon Resource Name (ARN) identifying the association. You can
361
- # 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
362
449
  # @return [String]
363
450
  #
364
451
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociationRequest AWS API Documentation
365
452
  #
366
453
  class DescribeRepositoryAssociationRequest < Struct.new(
367
454
  :association_arn)
455
+ SENSITIVE = []
368
456
  include Aws::Structure
369
457
  end
370
458
 
@@ -376,6 +464,7 @@ module Aws::CodeGuruReviewer
376
464
  #
377
465
  class DescribeRepositoryAssociationResponse < Struct.new(
378
466
  :repository_association)
467
+ SENSITIVE = []
379
468
  include Aws::Structure
380
469
  end
381
470
 
@@ -387,13 +476,19 @@ module Aws::CodeGuruReviewer
387
476
  # }
388
477
  #
389
478
  # @!attribute [rw] association_arn
390
- # The Amazon Resource Name (ARN) identifying the association.
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
391
485
  # @return [String]
392
486
  #
393
487
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepositoryRequest AWS API Documentation
394
488
  #
395
489
  class DisassociateRepositoryRequest < Struct.new(
396
490
  :association_arn)
491
+ SENSITIVE = []
397
492
  include Aws::Structure
398
493
  end
399
494
 
@@ -405,6 +500,7 @@ module Aws::CodeGuruReviewer
405
500
  #
406
501
  class DisassociateRepositoryResponse < Struct.new(
407
502
  :repository_association)
503
+ SENSITIVE = []
408
504
  include Aws::Structure
409
505
  end
410
506
 
@@ -418,6 +514,7 @@ module Aws::CodeGuruReviewer
418
514
  #
419
515
  class InternalServerException < Struct.new(
420
516
  :message)
517
+ SENSITIVE = []
421
518
  include Aws::Structure
422
519
  end
423
520
 
@@ -425,7 +522,7 @@ module Aws::CodeGuruReviewer
425
522
  # data as a hash:
426
523
  #
427
524
  # {
428
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
525
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
429
526
  # states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
430
527
  # repository_names: ["Name"],
431
528
  # type: "PullRequest", # required, accepts PullRequest
@@ -435,14 +532,25 @@ module Aws::CodeGuruReviewer
435
532
  #
436
533
  # @!attribute [rw] provider_types
437
534
  # List of provider types for filtering that needs to be applied before
438
- # displaying the result. For example, "providerTypes=\[GitHub\]"
439
- # will list code reviews from GitHub.
535
+ # displaying the result. For example, `providerTypes=[GitHub]` lists
536
+ # code reviews from GitHub.
440
537
  # @return [Array<String>]
441
538
  #
442
539
  # @!attribute [rw] states
443
540
  # List of states for filtering that needs to be applied before
444
- # displaying the result. For example, "states=\[Pending\]" will list
445
- # code reviews in the Pending state.
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.
446
554
  # @return [Array<String>]
447
555
  #
448
556
  # @!attribute [rw] repository_names
@@ -475,6 +583,7 @@ module Aws::CodeGuruReviewer
475
583
  :type,
476
584
  :max_results,
477
585
  :next_token)
586
+ SENSITIVE = []
478
587
  include Aws::Structure
479
588
  end
480
589
 
@@ -491,6 +600,7 @@ module Aws::CodeGuruReviewer
491
600
  class ListCodeReviewsResponse < Struct.new(
492
601
  :code_review_summaries,
493
602
  :next_token)
603
+ SENSITIVE = []
494
604
  include Aws::Structure
495
605
  end
496
606
 
@@ -506,7 +616,7 @@ module Aws::CodeGuruReviewer
506
616
  # }
507
617
  #
508
618
  # @!attribute [rw] next_token
509
- # If nextToken is returned, there are more results available. The
619
+ # If `nextToken` is returned, there are more results available. The
510
620
  # value of nextToken is a unique pagination token for each page. Make
511
621
  # the call again using the returned token to retrieve the next page.
512
622
  # Keep all other arguments unchanged.
@@ -518,19 +628,31 @@ module Aws::CodeGuruReviewer
518
628
  # @return [Integer]
519
629
  #
520
630
  # @!attribute [rw] code_review_arn
521
- # The Amazon Resource Name (ARN) that identifies the code review.
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
522
636
  # @return [String]
523
637
  #
524
638
  # @!attribute [rw] user_ids
525
- # Filter on userIds that need to be applied before displaying the
526
- # result. This can be used to query all the recommendation feedback
527
- # for a code review from a given user.
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
528
651
  # @return [Array<String>]
529
652
  #
530
653
  # @!attribute [rw] recommendation_ids
531
- # Filter on recommendationIds that need to be applied before
532
- # displaying the result. This can be used to query all the
533
- # recommendation feedback for a given recommendation.
654
+ # Used to query the recommendation feedback for a given
655
+ # recommendation.
534
656
  # @return [Array<String>]
535
657
  #
536
658
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedbackRequest AWS API Documentation
@@ -541,11 +663,12 @@ module Aws::CodeGuruReviewer
541
663
  :code_review_arn,
542
664
  :user_ids,
543
665
  :recommendation_ids)
666
+ SENSITIVE = []
544
667
  include Aws::Structure
545
668
  end
546
669
 
547
670
  # @!attribute [rw] recommendation_feedback_summaries
548
- # Recommendation feedback summaries corresponding to the code reivew
671
+ # Recommendation feedback summaries corresponding to the code review
549
672
  # ARN.
550
673
  # @return [Array<Types::RecommendationFeedbackSummary>]
551
674
  #
@@ -561,6 +684,7 @@ module Aws::CodeGuruReviewer
561
684
  class ListRecommendationFeedbackResponse < Struct.new(
562
685
  :recommendation_feedback_summaries,
563
686
  :next_token)
687
+ SENSITIVE = []
564
688
  include Aws::Structure
565
689
  end
566
690
 
@@ -583,7 +707,11 @@ module Aws::CodeGuruReviewer
583
707
  # @return [Integer]
584
708
  #
585
709
  # @!attribute [rw] code_review_arn
586
- # The Amazon Resource Name (ARN) of the code review to describe.
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
587
715
  # @return [String]
588
716
  #
589
717
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationsRequest AWS API Documentation
@@ -592,6 +720,7 @@ module Aws::CodeGuruReviewer
592
720
  :next_token,
593
721
  :max_results,
594
722
  :code_review_arn)
723
+ SENSITIVE = []
595
724
  include Aws::Structure
596
725
  end
597
726
 
@@ -608,6 +737,7 @@ module Aws::CodeGuruReviewer
608
737
  class ListRecommendationsResponse < Struct.new(
609
738
  :recommendation_summaries,
610
739
  :next_token)
740
+ SENSITIVE = []
611
741
  include Aws::Structure
612
742
  end
613
743
 
@@ -615,7 +745,7 @@ module Aws::CodeGuruReviewer
615
745
  # data as a hash:
616
746
  #
617
747
  # {
618
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
748
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
619
749
  # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
620
750
  # names: ["Name"],
621
751
  # owners: ["Owner"],
@@ -628,7 +758,31 @@ module Aws::CodeGuruReviewer
628
758
  # @return [Array<String>]
629
759
  #
630
760
  # @!attribute [rw] states
631
- # 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.
632
786
  # @return [Array<String>]
633
787
  #
634
788
  # @!attribute [rw] names
@@ -636,10 +790,11 @@ module Aws::CodeGuruReviewer
636
790
  # @return [Array<String>]
637
791
  #
638
792
  # @!attribute [rw] owners
639
- # List of owners to use as a filter. For GitHub, this is name of the
640
- # GitHub account that was used to associate the repository. For AWS
641
- # CodeCommit, it is the name of the CodeCommit account that was used
642
- # to associate the repository.
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.
643
798
  # @return [Array<String>]
644
799
  #
645
800
  # @!attribute [rw] max_results
@@ -649,9 +804,9 @@ module Aws::CodeGuruReviewer
649
804
  # `maxResults` results in a single page with a `nextToken` response
650
805
  # element. The remaining results of the initial request can be seen by
651
806
  # sending another `ListRepositoryAssociations` request with the
652
- # returned `nextToken` value. This value can be between 1 and 25. If
807
+ # returned `nextToken` value. This value can be between 1 and 100. If
653
808
  # this parameter is not used, `ListRepositoryAssociations` returns up
654
- # to 25 results and a `nextToken` value if applicable.
809
+ # to 100 results and a `nextToken` value if applicable.
655
810
  # @return [Integer]
656
811
  #
657
812
  # @!attribute [rw] next_token
@@ -677,6 +832,7 @@ module Aws::CodeGuruReviewer
677
832
  :owners,
678
833
  :max_results,
679
834
  :next_token)
835
+ SENSITIVE = []
680
836
  include Aws::Structure
681
837
  end
682
838
 
@@ -698,13 +854,25 @@ module Aws::CodeGuruReviewer
698
854
  class ListRepositoryAssociationsResponse < Struct.new(
699
855
  :repository_association_summaries,
700
856
  :next_token)
857
+ SENSITIVE = []
701
858
  include Aws::Structure
702
859
  end
703
860
 
704
861
  # Information about the statistics from the code review.
705
862
  #
706
863
  # @!attribute [rw] metered_lines_of_code_count
707
- # 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.
708
876
  # @return [Integer]
709
877
  #
710
878
  # @!attribute [rw] findings_count
@@ -716,13 +884,25 @@ module Aws::CodeGuruReviewer
716
884
  class Metrics < Struct.new(
717
885
  :metered_lines_of_code_count,
718
886
  :findings_count)
887
+ SENSITIVE = []
719
888
  include Aws::Structure
720
889
  end
721
890
 
722
891
  # Information about metrics summaries.
723
892
  #
724
893
  # @!attribute [rw] metered_lines_of_code_count
725
- # 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.
726
906
  # @return [Integer]
727
907
  #
728
908
  # @!attribute [rw] findings_count
@@ -734,6 +914,7 @@ module Aws::CodeGuruReviewer
734
914
  class MetricsSummary < Struct.new(
735
915
  :metered_lines_of_code_count,
736
916
  :findings_count)
917
+ SENSITIVE = []
737
918
  include Aws::Structure
738
919
  end
739
920
 
@@ -746,6 +927,7 @@ module Aws::CodeGuruReviewer
746
927
  #
747
928
  class NotFoundException < Struct.new(
748
929
  :message)
930
+ SENSITIVE = []
749
931
  include Aws::Structure
750
932
  end
751
933
 
@@ -759,7 +941,11 @@ module Aws::CodeGuruReviewer
759
941
  # }
760
942
  #
761
943
  # @!attribute [rw] code_review_arn
762
- # The Amazon Resource Name (ARN) that identifies the code review.
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
763
949
  # @return [String]
764
950
  #
765
951
  # @!attribute [rw] recommendation_id
@@ -778,6 +964,7 @@ module Aws::CodeGuruReviewer
778
964
  :code_review_arn,
779
965
  :recommendation_id,
780
966
  :reactions)
967
+ SENSITIVE = []
781
968
  include Aws::Structure
782
969
  end
783
970
 
@@ -788,7 +975,11 @@ module Aws::CodeGuruReviewer
788
975
  # Information about the recommendation feedback.
789
976
  #
790
977
  # @!attribute [rw] code_review_arn
791
- # The Amazon Resource Name (ARN) that identifies the code review.
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
792
983
  # @return [String]
793
984
  #
794
985
  # @!attribute [rw] recommendation_id
@@ -802,7 +993,16 @@ module Aws::CodeGuruReviewer
802
993
  # @return [Array<String>]
803
994
  #
804
995
  # @!attribute [rw] user_id
805
- # The user principal that made the API call.
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
806
1006
  # @return [String]
807
1007
  #
808
1008
  # @!attribute [rw] created_time_stamp
@@ -822,6 +1022,7 @@ module Aws::CodeGuruReviewer
822
1022
  :user_id,
823
1023
  :created_time_stamp,
824
1024
  :last_updated_time_stamp)
1025
+ SENSITIVE = []
825
1026
  include Aws::Structure
826
1027
  end
827
1028
 
@@ -838,7 +1039,16 @@ module Aws::CodeGuruReviewer
838
1039
  # @return [Array<String>]
839
1040
  #
840
1041
  # @!attribute [rw] user_id
841
- # The identifier for the user that gave the feedback.
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
842
1052
  # @return [String]
843
1053
  #
844
1054
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RecommendationFeedbackSummary AWS API Documentation
@@ -847,6 +1057,7 @@ module Aws::CodeGuruReviewer
847
1057
  :recommendation_id,
848
1058
  :reactions,
849
1059
  :user_id)
1060
+ SENSITIVE = []
850
1061
  include Aws::Structure
851
1062
  end
852
1063
 
@@ -869,7 +1080,7 @@ module Aws::CodeGuruReviewer
869
1080
  # @!attribute [rw] end_line
870
1081
  # Last line where the recommendation is applicable in the source
871
1082
  # commit or source branch. For a single line comment the start line
872
- # and end line values will be the same.
1083
+ # and end line values are the same.
873
1084
  # @return [Integer]
874
1085
  #
875
1086
  # @!attribute [rw] description
@@ -885,10 +1096,14 @@ module Aws::CodeGuruReviewer
885
1096
  :start_line,
886
1097
  :end_line,
887
1098
  :description)
1099
+ SENSITIVE = []
888
1100
  include Aws::Structure
889
1101
  end
890
1102
 
891
- # Information about a repository.
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.
892
1107
  #
893
1108
  # @note When making an API call, you may pass Repository
894
1109
  # data as a hash:
@@ -897,20 +1112,47 @@ module Aws::CodeGuruReviewer
897
1112
  # code_commit: {
898
1113
  # name: "Name", # required
899
1114
  # },
1115
+ # bitbucket: {
1116
+ # name: "Name", # required
1117
+ # connection_arn: "ConnectionArn", # required
1118
+ # owner: "Owner", # required
1119
+ # },
1120
+ # git_hub_enterprise_server: {
1121
+ # name: "Name", # required
1122
+ # connection_arn: "ConnectionArn", # required
1123
+ # owner: "Owner", # required
1124
+ # },
900
1125
  # }
901
1126
  #
902
1127
  # @!attribute [rw] code_commit
903
1128
  # Information about an AWS CodeCommit repository.
904
1129
  # @return [Types::CodeCommitRepository]
905
1130
  #
1131
+ # @!attribute [rw] 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.
1137
+ # @return [Types::ThirdPartySourceRepository]
1138
+ #
906
1139
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/Repository AWS API Documentation
907
1140
  #
908
1141
  class Repository < Struct.new(
909
- :code_commit)
1142
+ :code_commit,
1143
+ :bitbucket,
1144
+ :git_hub_enterprise_server)
1145
+ SENSITIVE = []
910
1146
  include Aws::Structure
911
1147
  end
912
1148
 
913
- # 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
914
1156
  #
915
1157
  # @!attribute [rw] association_id
916
1158
  # The ID of the repository association.
@@ -921,12 +1163,27 @@ module Aws::CodeGuruReviewer
921
1163
  # association.
922
1164
  # @return [String]
923
1165
  #
1166
+ # @!attribute [rw] connection_arn
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
1176
+ # @return [String]
1177
+ #
924
1178
  # @!attribute [rw] name
925
1179
  # The name of the repository.
926
1180
  # @return [String]
927
1181
  #
928
1182
  # @!attribute [rw] owner
929
- # 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.
930
1187
  # @return [String]
931
1188
  #
932
1189
  # @!attribute [rw] provider_type
@@ -935,6 +1192,30 @@ module Aws::CodeGuruReviewer
935
1192
  #
936
1193
  # @!attribute [rw] state
937
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.
938
1219
  # @return [String]
939
1220
  #
940
1221
  # @!attribute [rw] state_reason
@@ -957,6 +1238,7 @@ module Aws::CodeGuruReviewer
957
1238
  class RepositoryAssociation < Struct.new(
958
1239
  :association_id,
959
1240
  :association_arn,
1241
+ :connection_arn,
960
1242
  :name,
961
1243
  :owner,
962
1244
  :provider_type,
@@ -964,14 +1246,37 @@ module Aws::CodeGuruReviewer
964
1246
  :state_reason,
965
1247
  :last_updated_time_stamp,
966
1248
  :created_time_stamp)
1249
+ SENSITIVE = []
967
1250
  include Aws::Structure
968
1251
  end
969
1252
 
970
- # Information about a repository association.
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
971
1260
  #
972
1261
  # @!attribute [rw] association_arn
973
- # The Amazon Resource Name (ARN) identifying the repository
974
- # association.
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
1268
+ # @return [String]
1269
+ #
1270
+ # @!attribute [rw] connection_arn
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
975
1280
  # @return [String]
976
1281
  #
977
1282
  # @!attribute [rw] last_updated_time_stamp
@@ -988,7 +1293,10 @@ module Aws::CodeGuruReviewer
988
1293
  # @return [String]
989
1294
  #
990
1295
  # @!attribute [rw] owner
991
- # The owner of the repository association.
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.
992
1300
  # @return [String]
993
1301
  #
994
1302
  # @!attribute [rw] provider_type
@@ -998,34 +1306,43 @@ module Aws::CodeGuruReviewer
998
1306
  # @!attribute [rw] state
999
1307
  # The state of the repository association.
1000
1308
  #
1001
- # Associated
1309
+ # The valid repository association states are:
1310
+ #
1311
+ # * **Associated**\: The repository association is complete.
1002
1312
  #
1003
- # : Amazon CodeGuru Reviewer is associated with the repository.
1313
+ # * **Associating**\: CodeGuru Reviewer is:
1004
1314
  #
1005
- # Associating
1315
+ # * Setting up pull request notifications. This is required for pull
1316
+ # requests to trigger a CodeGuru Reviewer review.
1006
1317
  #
1007
- # : The association is in progress.
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.
1008
1322
  #
1009
- # Failed
1323
+ # </note>
1010
1324
  #
1011
- # : The association failed.
1325
+ # * Setting up source code access. This is required for CodeGuru
1326
+ # Reviewer to securely clone code in your repository.
1012
1327
  #
1013
- # Disassociating
1328
+ # * **Failed**\: The repository failed to associate or disassociate.
1014
1329
  #
1015
- # : Amazon CodeGuru Reviewer is in the process of disassociating with
1016
- # the repository.
1330
+ # * **Disassociating**\: CodeGuru Reviewer is removing the
1331
+ # repository's pull request notifications and source code access.
1017
1332
  # @return [String]
1018
1333
  #
1019
1334
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RepositoryAssociationSummary AWS API Documentation
1020
1335
  #
1021
1336
  class RepositoryAssociationSummary < Struct.new(
1022
1337
  :association_arn,
1338
+ :connection_arn,
1023
1339
  :last_updated_time_stamp,
1024
1340
  :association_id,
1025
1341
  :name,
1026
1342
  :owner,
1027
1343
  :provider_type,
1028
1344
  :state)
1345
+ SENSITIVE = []
1029
1346
  include Aws::Structure
1030
1347
  end
1031
1348
 
@@ -1038,6 +1355,7 @@ module Aws::CodeGuruReviewer
1038
1355
  #
1039
1356
  class ResourceNotFoundException < Struct.new(
1040
1357
  :message)
1358
+ SENSITIVE = []
1041
1359
  include Aws::Structure
1042
1360
  end
1043
1361
 
@@ -1051,6 +1369,51 @@ module Aws::CodeGuruReviewer
1051
1369
  #
1052
1370
  class SourceCodeType < Struct.new(
1053
1371
  :commit_diff)
1372
+ SENSITIVE = []
1373
+ include Aws::Structure
1374
+ end
1375
+
1376
+ # Information about a third-party source repository connected to
1377
+ # CodeGuru Reviewer.
1378
+ #
1379
+ # @note When making an API call, you may pass ThirdPartySourceRepository
1380
+ # data as a hash:
1381
+ #
1382
+ # {
1383
+ # name: "Name", # required
1384
+ # connection_arn: "ConnectionArn", # required
1385
+ # owner: "Owner", # required
1386
+ # }
1387
+ #
1388
+ # @!attribute [rw] name
1389
+ # The name of the third party source repository.
1390
+ # @return [String]
1391
+ #
1392
+ # @!attribute [rw] connection_arn
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
1402
+ # @return [String]
1403
+ #
1404
+ # @!attribute [rw] owner
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.
1408
+ # @return [String]
1409
+ #
1410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ThirdPartySourceRepository AWS API Documentation
1411
+ #
1412
+ class ThirdPartySourceRepository < Struct.new(
1413
+ :name,
1414
+ :connection_arn,
1415
+ :owner)
1416
+ SENSITIVE = []
1054
1417
  include Aws::Structure
1055
1418
  end
1056
1419
 
@@ -1063,6 +1426,7 @@ module Aws::CodeGuruReviewer
1063
1426
  #
1064
1427
  class ThrottlingException < Struct.new(
1065
1428
  :message)
1429
+ SENSITIVE = []
1066
1430
  include Aws::Structure
1067
1431
  end
1068
1432
 
@@ -1075,6 +1439,7 @@ module Aws::CodeGuruReviewer
1075
1439
  #
1076
1440
  class ValidationException < Struct.new(
1077
1441
  :message)
1442
+ SENSITIVE = []
1078
1443
  include Aws::Structure
1079
1444
  end
1080
1445