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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e225b343bf0773f7355c34a0df2f72d62f7833858b973bdca1b430d9c867f95
4
- data.tar.gz: 8feb8cccc1869d37bd5ab1b94f606567fdbaf26fc9ecbfc8af2361ddb85b6246
3
+ metadata.gz: 97877fd3223aa07ecea5b6eaa4080b18b3a3322ad037404fa9836cd4e1d472e4
4
+ data.tar.gz: 17b2086f833788c4e344de3b2b85ecd8b4c70250ef7515dddc8b75e789cbf424
5
5
  SHA512:
6
- metadata.gz: c1b6dffb06995b7a5376c80758e88a869c34467abaf48dc945a25c049b4119f1b7b47bb98bee61885e1c8b18226223eeaa650d2a7dd3200056349a2ee97468db
7
- data.tar.gz: d976bcb2ba488cb18a54decb18c2ce4ae7bb851ec4a93369738e25ec6e5fbd87c0bbe53374b7d97361e8aefda89e8bbd27f945a7fa40498495f40ecd445586db
6
+ metadata.gz: de05bcf32ecccd4fc8b2271fe3572076437c6007cac4164d93105963ad187b04556a14819fb98f8df642b4a49a7b48b65f0f93f2d945bbbf5fde0c07cf064bc0
7
+ data.tar.gz: d93cbeed0e064455f7c7b918b6dd53201a53f845746d042a99d276f0d5cf13495be2019671f5317b82cbd4e6a61ff80455db23fbb749e32b2c8e7d62792677b1
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-codegurureviewer/customizations'
45
47
  # @service
46
48
  module Aws::CodeGuruReviewer
47
49
 
48
- GEM_VERSION = '1.4.0'
50
+ GEM_VERSION = '1.9.0'
49
51
 
50
52
  end
@@ -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 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CodeGuruReviewer
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -161,7 +165,7 @@ module Aws::CodeGuruReviewer
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::CodeGuruReviewer
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -308,14 +312,36 @@ module Aws::CodeGuruReviewer
308
312
 
309
313
  # @!group API Operations
310
314
 
311
- # Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer.
312
- # When you associate an AWS CodeCommit repository with Amazon CodeGuru
313
- # Reviewer, Amazon CodeGuru Reviewer will provide recommendations for
314
- # each pull request raised within the repository. You can view
315
- # recommendations in the AWS CodeCommit repository.
315
+ # Use to associate an AWS CodeCommit repository or a repostory managed
316
+ # by AWS CodeStar Connections with Amazon CodeGuru Reviewer. When you
317
+ # associate a repository, CodeGuru Reviewer reviews source code changes
318
+ # in the repository's pull requests and provides automatic
319
+ # recommendations. You can view recommendations using the CodeGuru
320
+ # Reviewer console. For more information, see [Recommendations in Amazon
321
+ # CodeGuru Reviewer][1] in the *Amazon CodeGuru Reviewer User Guide.*
322
+ #
323
+ # If you associate a CodeCommit repository, it must be in the same AWS
324
+ # Region and AWS account where its CodeGuru Reviewer code reviews are
325
+ # configured.
326
+ #
327
+ # Bitbucket and GitHub Enterprise Server repositories are managed by AWS
328
+ # CodeStar Connections to connect to CodeGuru Reviewer. For more
329
+ # information, see [Connect to a repository source provider][2] in the
330
+ # *Amazon CodeGuru Reviewer User Guide.*
331
+ #
332
+ # <note markdown="1"> You cannot use the CodeGuru Reviewer SDK or the AWS CLI to associate a
333
+ # GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub
334
+ # repository, use the console. For more information, see [Getting
335
+ # started with CodeGuru Reviewer][3] in the *CodeGuru Reviewer User
336
+ # Guide.*
337
+ #
338
+ # </note>
316
339
  #
317
- # You can associate a GitHub repository using the Amazon CodeGuru
318
- # Reviewer console.
340
+ #
341
+ #
342
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html
343
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/reviewer-ug/step-one.html#select-repository-source-provider
344
+ # [3]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html
319
345
  #
320
346
  # @option params [required, Types::Repository] :repository
321
347
  # The repository to associate.
@@ -358,6 +384,16 @@ module Aws::CodeGuruReviewer
358
384
  # code_commit: {
359
385
  # name: "Name", # required
360
386
  # },
387
+ # bitbucket: {
388
+ # name: "Name", # required
389
+ # connection_arn: "ConnectionArn", # required
390
+ # owner: "Owner", # required
391
+ # },
392
+ # git_hub_enterprise_server: {
393
+ # name: "Name", # required
394
+ # connection_arn: "ConnectionArn", # required
395
+ # owner: "Owner", # required
396
+ # },
361
397
  # },
362
398
  # client_request_token: "ClientRequestToken",
363
399
  # })
@@ -366,9 +402,10 @@ module Aws::CodeGuruReviewer
366
402
  #
367
403
  # resp.repository_association.association_id #=> String
368
404
  # resp.repository_association.association_arn #=> String
405
+ # resp.repository_association.connection_arn #=> String
369
406
  # resp.repository_association.name #=> String
370
407
  # resp.repository_association.owner #=> String
371
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
408
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
372
409
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
373
410
  # resp.repository_association.state_reason #=> String
374
411
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -383,11 +420,15 @@ module Aws::CodeGuruReviewer
383
420
  req.send_request(options)
384
421
  end
385
422
 
386
- # Returns the metadaata associated with the code review along with its
423
+ # Returns the metadata associated with the code review along with its
387
424
  # status.
388
425
  #
389
426
  # @option params [required, String] :code_review_arn
390
- # The Amazon Resource Name (ARN) of the code review to describe.
427
+ # The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
428
+ #
429
+ #
430
+ #
431
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
391
432
  #
392
433
  # @return [Types::DescribeCodeReviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
393
434
  #
@@ -405,7 +446,7 @@ module Aws::CodeGuruReviewer
405
446
  # resp.code_review.code_review_arn #=> String
406
447
  # resp.code_review.repository_name #=> String
407
448
  # resp.code_review.owner #=> String
408
- # resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub"
449
+ # resp.code_review.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
409
450
  # resp.code_review.state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
410
451
  # resp.code_review.state_reason #=> String
411
452
  # resp.code_review.created_time_stamp #=> Time
@@ -430,7 +471,11 @@ module Aws::CodeGuruReviewer
430
471
  # recommendation.
431
472
  #
432
473
  # @option params [required, String] :code_review_arn
433
- # The Amazon Resource Name (ARN) that identifies the code review.
474
+ # The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
475
+ #
476
+ #
477
+ #
478
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
434
479
  #
435
480
  # @option params [required, String] :recommendation_id
436
481
  # The recommendation ID that can be used to track the provided
@@ -440,6 +485,15 @@ module Aws::CodeGuruReviewer
440
485
  # Optional parameter to describe the feedback for a given user. If this
441
486
  # is not supplied, it defaults to the user making the request.
442
487
  #
488
+ # The `UserId` is an IAM principal that can be specified as an AWS
489
+ # account ID or an Amazon Resource Name (ARN). For more information, see
490
+ # [ Specifying a Principal][1] in the *AWS Identity and Access
491
+ # Management User Guide*.
492
+ #
493
+ #
494
+ #
495
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
496
+ #
443
497
  # @return [Types::DescribeRecommendationFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
444
498
  #
445
499
  # * {Types::DescribeRecommendationFeedbackResponse#recommendation_feedback #recommendation_feedback} => Types::RecommendationFeedback
@@ -471,11 +525,20 @@ module Aws::CodeGuruReviewer
471
525
  req.send_request(options)
472
526
  end
473
527
 
474
- # Describes a repository association.
528
+ # Returns a [ `RepositoryAssociation` ][1] object that contains
529
+ # information about the requested repository association.
530
+ #
531
+ #
532
+ #
533
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
475
534
  #
476
535
  # @option params [required, String] :association_arn
477
- # The Amazon Resource Name (ARN) identifying the association. You can
478
- # retrieve this ARN by calling `ListRepositories`.
536
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
537
+ # object. You can retrieve this ARN by calling `ListRepositories`.
538
+ #
539
+ #
540
+ #
541
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
479
542
  #
480
543
  # @return [Types::DescribeRepositoryAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
481
544
  #
@@ -491,9 +554,10 @@ module Aws::CodeGuruReviewer
491
554
  #
492
555
  # resp.repository_association.association_id #=> String
493
556
  # resp.repository_association.association_arn #=> String
557
+ # resp.repository_association.connection_arn #=> String
494
558
  # resp.repository_association.name #=> String
495
559
  # resp.repository_association.owner #=> String
496
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
560
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
497
561
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
498
562
  # resp.repository_association.state_reason #=> String
499
563
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -512,7 +576,12 @@ module Aws::CodeGuruReviewer
512
576
  # repository.
513
577
  #
514
578
  # @option params [required, String] :association_arn
515
- # The Amazon Resource Name (ARN) identifying the association.
579
+ # The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1]
580
+ # object.
581
+ #
582
+ #
583
+ #
584
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
516
585
  #
517
586
  # @return [Types::DisassociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
518
587
  #
@@ -528,9 +597,10 @@ module Aws::CodeGuruReviewer
528
597
  #
529
598
  # resp.repository_association.association_id #=> String
530
599
  # resp.repository_association.association_arn #=> String
600
+ # resp.repository_association.connection_arn #=> String
531
601
  # resp.repository_association.name #=> String
532
602
  # resp.repository_association.owner #=> String
533
- # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub"
603
+ # resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
534
604
  # resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
535
605
  # resp.repository_association.state_reason #=> String
536
606
  # resp.repository_association.last_updated_time_stamp #=> Time
@@ -550,13 +620,23 @@ module Aws::CodeGuruReviewer
550
620
  #
551
621
  # @option params [Array<String>] :provider_types
552
622
  # List of provider types for filtering that needs to be applied before
553
- # displaying the result. For example, "providerTypes=\[GitHub\]" will
554
- # list code reviews from GitHub.
623
+ # displaying the result. For example, `providerTypes=[GitHub]` lists
624
+ # code reviews from GitHub.
555
625
  #
556
626
  # @option params [Array<String>] :states
557
627
  # List of states for filtering that needs to be applied before
558
- # displaying the result. For example, "states=\[Pending\]" will list
559
- # code reviews in the Pending state.
628
+ # displaying the result. For example, `states=[Pending]` lists code
629
+ # reviews in the Pending state.
630
+ #
631
+ # The valid code review states are:
632
+ #
633
+ # * `Completed`\: The code review is complete.
634
+ #
635
+ # * `Pending`\: The code review started and has not completed or failed.
636
+ #
637
+ # * `Failed`\: The code review failed.
638
+ #
639
+ # * `Deleting`\: The code review is being deleted.
560
640
  #
561
641
  # @option params [Array<String>] :repository_names
562
642
  # List of repository names for filtering that needs to be applied before
@@ -585,7 +665,7 @@ module Aws::CodeGuruReviewer
585
665
  # @example Request syntax with placeholder values
586
666
  #
587
667
  # resp = client.list_code_reviews({
588
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
668
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
589
669
  # states: ["Completed"], # accepts Completed, Pending, Failed, Deleting
590
670
  # repository_names: ["Name"],
591
671
  # type: "PullRequest", # required, accepts PullRequest
@@ -600,7 +680,7 @@ module Aws::CodeGuruReviewer
600
680
  # resp.code_review_summaries[0].code_review_arn #=> String
601
681
  # resp.code_review_summaries[0].repository_name #=> String
602
682
  # resp.code_review_summaries[0].owner #=> String
603
- # resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub"
683
+ # resp.code_review_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
604
684
  # resp.code_review_summaries[0].state #=> String, one of "Completed", "Pending", "Failed", "Deleting"
605
685
  # resp.code_review_summaries[0].created_time_stamp #=> Time
606
686
  # resp.code_review_summaries[0].last_updated_time_stamp #=> Time
@@ -619,33 +699,46 @@ module Aws::CodeGuruReviewer
619
699
  req.send_request(options)
620
700
  end
621
701
 
622
- # Lists the customer feedback for a CodeGuru Reviewer recommendation for
623
- # all users. This API will be used from the console to extract the
624
- # previously given feedback by the user to pre-populate the feedback
625
- # emojis for all recommendations.
702
+ # Returns a list of [ `RecommendationFeedbackSummary` ][1] objects that
703
+ # contain customer recommendation feedback for all CodeGuru Reviewer
704
+ # users.
705
+ #
706
+ #
707
+ #
708
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html
626
709
  #
627
710
  # @option params [String] :next_token
628
- # If nextToken is returned, there are more results available. The value
629
- # of nextToken is a unique pagination token for each page. Make the call
630
- # again using the returned token to retrieve the next page. Keep all
631
- # other arguments unchanged.
711
+ # If `nextToken` is returned, there are more results available. The
712
+ # value of nextToken is a unique pagination token for each page. Make
713
+ # the call again using the returned token to retrieve the next page.
714
+ # Keep all other arguments unchanged.
632
715
  #
633
716
  # @option params [Integer] :max_results
634
717
  # The maximum number of results that are returned per call. The default
635
718
  # is 100.
636
719
  #
637
720
  # @option params [required, String] :code_review_arn
638
- # The Amazon Resource Name (ARN) that identifies the code review.
721
+ # The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
722
+ #
723
+ #
724
+ #
725
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
639
726
  #
640
727
  # @option params [Array<String>] :user_ids
641
- # Filter on userIds that need to be applied before displaying the
642
- # result. This can be used to query all the recommendation feedback for
643
- # a code review from a given user.
728
+ # An AWS user's account ID or Amazon Resource Name (ARN). Use this ID
729
+ # to query the recommendation feedback for a code review from that user.
730
+ #
731
+ # The `UserId` is an IAM principal that can be specified as an AWS
732
+ # account ID or an Amazon Resource Name (ARN). For more information, see
733
+ # [ Specifying a Principal][1] in the *AWS Identity and Access
734
+ # Management User Guide*.
735
+ #
736
+ #
737
+ #
738
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
644
739
  #
645
740
  # @option params [Array<String>] :recommendation_ids
646
- # Filter on recommendationIds that need to be applied before displaying
647
- # the result. This can be used to query all the recommendation feedback
648
- # for a given recommendation.
741
+ # Used to query the recommendation feedback for a given recommendation.
649
742
  #
650
743
  # @return [Types::ListRecommendationFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
651
744
  #
@@ -692,7 +785,11 @@ module Aws::CodeGuruReviewer
692
785
  # is 100.
693
786
  #
694
787
  # @option params [required, String] :code_review_arn
695
- # The Amazon Resource Name (ARN) of the code review to describe.
788
+ # The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
789
+ #
790
+ #
791
+ #
792
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
696
793
  #
697
794
  # @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
698
795
  #
@@ -728,24 +825,57 @@ module Aws::CodeGuruReviewer
728
825
  req.send_request(options)
729
826
  end
730
827
 
731
- # Lists repository associations. You can optionally filter on one or
732
- # more of the following recommendation properties: provider types,
733
- # states, names, and owners.
828
+ # Returns a list of [ `RepositoryAssociationSummary` ][1] objects that
829
+ # contain summary information about a repository association. You can
830
+ # filter the returned list by [ `ProviderType` ][2], [ `Name` ][3], [
831
+ # `State` ][4], and [ `Owner` ][5].
832
+ #
833
+ #
834
+ #
835
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html
836
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType
837
+ # [3]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name
838
+ # [4]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State
839
+ # [5]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner
734
840
  #
735
841
  # @option params [Array<String>] :provider_types
736
842
  # List of provider types to use as a filter.
737
843
  #
738
844
  # @option params [Array<String>] :states
739
- # List of states to use as a filter.
845
+ # List of repository association states to use as a filter.
846
+ #
847
+ # The valid repository association states are:
848
+ #
849
+ # * **Associated**\: The repository association is complete.
850
+ #
851
+ # * **Associating**\: CodeGuru Reviewer is:
852
+ #
853
+ # * Setting up pull request notifications. This is required for pull
854
+ # requests to trigger a CodeGuru Reviewer review.
855
+ #
856
+ # <note markdown="1"> If your repository `ProviderType` is `GitHub` or `Bitbucket`,
857
+ # CodeGuru Reviewer creates webhooks in your repository to trigger
858
+ # CodeGuru Reviewer reviews. If you delete these webhooks, reviews
859
+ # of code in your repository cannot be triggered.
860
+ #
861
+ # </note>
862
+ #
863
+ # * Setting up source code access. This is required for CodeGuru
864
+ # Reviewer to securely clone code in your repository.
865
+ #
866
+ # * **Failed**\: The repository failed to associate or disassociate.
867
+ #
868
+ # * **Disassociating**\: CodeGuru Reviewer is removing the repository's
869
+ # pull request notifications and source code access.
740
870
  #
741
871
  # @option params [Array<String>] :names
742
872
  # List of repository names to use as a filter.
743
873
  #
744
874
  # @option params [Array<String>] :owners
745
- # List of owners to use as a filter. For GitHub, this is name of the
746
- # GitHub account that was used to associate the repository. For AWS
747
- # CodeCommit, it is the name of the CodeCommit account that was used to
748
- # associate the repository.
875
+ # List of owners to use as a filter. For AWS CodeCommit, it is the name
876
+ # of the CodeCommit account that was used to associate the repository.
877
+ # For other repository source providers, such as Bitbucket, this is name
878
+ # of the account that was used to associate the repository.
749
879
  #
750
880
  # @option params [Integer] :max_results
751
881
  # The maximum number of repository association results returned by
@@ -754,8 +884,8 @@ module Aws::CodeGuruReviewer
754
884
  # results in a single page with a `nextToken` response element. The
755
885
  # remaining results of the initial request can be seen by sending
756
886
  # another `ListRepositoryAssociations` request with the returned
757
- # `nextToken` value. This value can be between 1 and 25. If this
758
- # parameter is not used, `ListRepositoryAssociations` returns up to 25
887
+ # `nextToken` value. This value can be between 1 and 100. If this
888
+ # parameter is not used, `ListRepositoryAssociations` returns up to 100
759
889
  # results and a `nextToken` value if applicable.
760
890
  #
761
891
  # @option params [String] :next_token
@@ -780,7 +910,7 @@ module Aws::CodeGuruReviewer
780
910
  # @example Request syntax with placeholder values
781
911
  #
782
912
  # resp = client.list_repository_associations({
783
- # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub
913
+ # provider_types: ["CodeCommit"], # accepts CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer
784
914
  # states: ["Associated"], # accepts Associated, Associating, Failed, Disassociating
785
915
  # names: ["Name"],
786
916
  # owners: ["Owner"],
@@ -792,11 +922,12 @@ module Aws::CodeGuruReviewer
792
922
  #
793
923
  # resp.repository_association_summaries #=> Array
794
924
  # resp.repository_association_summaries[0].association_arn #=> String
925
+ # resp.repository_association_summaries[0].connection_arn #=> String
795
926
  # resp.repository_association_summaries[0].last_updated_time_stamp #=> Time
796
927
  # resp.repository_association_summaries[0].association_id #=> String
797
928
  # resp.repository_association_summaries[0].name #=> String
798
929
  # resp.repository_association_summaries[0].owner #=> String
799
- # resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub"
930
+ # resp.repository_association_summaries[0].provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
800
931
  # resp.repository_association_summaries[0].state #=> String, one of "Associated", "Associating", "Failed", "Disassociating"
801
932
  # resp.next_token #=> String
802
933
  #
@@ -809,12 +940,16 @@ module Aws::CodeGuruReviewer
809
940
  req.send_request(options)
810
941
  end
811
942
 
812
- # Stores customer feedback for a CodeGuru-Reviewer recommendation. When
943
+ # Stores customer feedback for a CodeGuru Reviewer recommendation. When
813
944
  # this API is called again with different reactions the previous
814
945
  # feedback is overwritten.
815
946
  #
816
947
  # @option params [required, String] :code_review_arn
817
- # The Amazon Resource Name (ARN) that identifies the code review.
948
+ # The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object.
949
+ #
950
+ #
951
+ #
952
+ # [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html
818
953
  #
819
954
  # @option params [required, String] :recommendation_id
820
955
  # The recommendation ID that can be used to track the provided
@@ -856,7 +991,7 @@ module Aws::CodeGuruReviewer
856
991
  params: params,
857
992
  config: config)
858
993
  context[:gem_name] = 'aws-sdk-codegurureviewer'
859
- context[:gem_version] = '1.4.0'
994
+ context[:gem_version] = '1.9.0'
860
995
  Seahorse::Client::Request.new(handlers, context)
861
996
  end
862
997