aws-sdk-codegurureviewer 1.29.0 → 1.32.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/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codegurureviewer/client.rb +49 -42
- data/lib/aws-sdk-codegurureviewer/client_api.rb +7 -3
- data/lib/aws-sdk-codegurureviewer/types.rb +114 -76
- data/lib/aws-sdk-codegurureviewer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7108fc1805b4e1dc22b3c9bdf1b26fcd0212d5c3d074c0d5ec92fca50ffc2ff
|
4
|
+
data.tar.gz: e4cf22c792ddf3dac18a9196fad508313ee5391f5cd032db8eff5d62cbae75e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56605ebc4e19c629fbb657cf236c544a9e1904dffa2cd92b05ea56f77e2c6d442842a6c4da76a65f855b8f958a7ea532b2722e66bea8e476499052a12caad7ae
|
7
|
+
data.tar.gz: 4aed6855bde3fbf2c447dbec7fd2226a38bf90528ce318f59790f5db66f94fed1251abb946b37004523dfccca5cc941bf18b256bf34c1721a79841dde12bc9f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2022-09-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates to fix formatting issues in CLI and SDK documentation.
|
8
|
+
|
9
|
+
1.31.0 (2022-04-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon CodeGuru Reviewer now supports suppressing recommendations from being generated on specific files and directories.
|
13
|
+
|
14
|
+
1.30.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.29.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::CodeGuruReviewer
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -350,7 +352,7 @@ module Aws::CodeGuruReviewer
|
|
350
352
|
# @!group API Operations
|
351
353
|
|
352
354
|
# Use to associate an Amazon Web Services CodeCommit repository or a
|
353
|
-
#
|
355
|
+
# repository managed by Amazon Web Services CodeStar Connections with
|
354
356
|
# Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru
|
355
357
|
# Reviewer reviews source code changes in the repository's pull
|
356
358
|
# requests and provides automatic recommendations. You can view
|
@@ -412,7 +414,7 @@ module Aws::CodeGuruReviewer
|
|
412
414
|
# (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
|
413
415
|
#
|
414
416
|
# * The ID of the Amazon Web Services KMS key that is associated with
|
415
|
-
# this
|
417
|
+
# this repository association.
|
416
418
|
#
|
417
419
|
# @return [Types::AssociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
418
420
|
#
|
@@ -480,7 +482,7 @@ module Aws::CodeGuruReviewer
|
|
480
482
|
req.send_request(options)
|
481
483
|
end
|
482
484
|
|
483
|
-
# Use to create a code review with a [
|
485
|
+
# Use to create a code review with a [CodeReviewType][1] of
|
484
486
|
# `RepositoryAnalysis`. This type of code review analyzes all code under
|
485
487
|
# a specified branch in an associated repository. `PullRequest` code
|
486
488
|
# reviews are automatically triggered by a pull request.
|
@@ -494,9 +496,9 @@ module Aws::CodeGuruReviewer
|
|
494
496
|
# Amazon Web Services account must be unique.
|
495
497
|
#
|
496
498
|
# @option params [required, String] :repository_association_arn
|
497
|
-
# The Amazon Resource Name (ARN) of the [
|
498
|
-
# object. You can retrieve this ARN by calling
|
499
|
-
#
|
499
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
500
|
+
# object. You can retrieve this ARN by calling
|
501
|
+
# [ListRepositoryAssociations][2].
|
500
502
|
#
|
501
503
|
# A code review can only be created on an associated repository. This is
|
502
504
|
# the ARN of the associated repository.
|
@@ -507,9 +509,9 @@ module Aws::CodeGuruReviewer
|
|
507
509
|
# [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
|
508
510
|
#
|
509
511
|
# @option params [required, Types::CodeReviewType] :type
|
510
|
-
# The type of code review to create. This is specified using a
|
511
|
-
#
|
512
|
-
#
|
512
|
+
# The type of code review to create. This is specified using a
|
513
|
+
# [CodeReviewType][1] object. You can create a code review only of type
|
514
|
+
# `RepositoryAnalysis`.
|
513
515
|
#
|
514
516
|
#
|
515
517
|
#
|
@@ -605,9 +607,11 @@ module Aws::CodeGuruReviewer
|
|
605
607
|
# resp.code_review.source_code_type.request_metadata.vendor_name #=> String, one of "GitHub", "GitLab", "NativeS3"
|
606
608
|
# resp.code_review.association_arn #=> String
|
607
609
|
# resp.code_review.metrics.metered_lines_of_code_count #=> Integer
|
610
|
+
# resp.code_review.metrics.suppressed_lines_of_code_count #=> Integer
|
608
611
|
# resp.code_review.metrics.findings_count #=> Integer
|
609
612
|
# resp.code_review.analysis_types #=> Array
|
610
613
|
# resp.code_review.analysis_types[0] #=> String, one of "Security", "CodeQuality"
|
614
|
+
# resp.code_review.config_file_state #=> String, one of "Present", "Absent", "PresentWithErrors"
|
611
615
|
#
|
612
616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview AWS API Documentation
|
613
617
|
#
|
@@ -622,7 +626,7 @@ module Aws::CodeGuruReviewer
|
|
622
626
|
# status.
|
623
627
|
#
|
624
628
|
# @option params [required, String] :code_review_arn
|
625
|
-
# The Amazon Resource Name (ARN) of the [
|
629
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
626
630
|
#
|
627
631
|
#
|
628
632
|
#
|
@@ -668,9 +672,11 @@ module Aws::CodeGuruReviewer
|
|
668
672
|
# resp.code_review.source_code_type.request_metadata.vendor_name #=> String, one of "GitHub", "GitLab", "NativeS3"
|
669
673
|
# resp.code_review.association_arn #=> String
|
670
674
|
# resp.code_review.metrics.metered_lines_of_code_count #=> Integer
|
675
|
+
# resp.code_review.metrics.suppressed_lines_of_code_count #=> Integer
|
671
676
|
# resp.code_review.metrics.findings_count #=> Integer
|
672
677
|
# resp.code_review.analysis_types #=> Array
|
673
678
|
# resp.code_review.analysis_types[0] #=> String, one of "Security", "CodeQuality"
|
679
|
+
# resp.code_review.config_file_state #=> String, one of "Present", "Absent", "PresentWithErrors"
|
674
680
|
#
|
675
681
|
#
|
676
682
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -690,7 +696,7 @@ module Aws::CodeGuruReviewer
|
|
690
696
|
# recommendation.
|
691
697
|
#
|
692
698
|
# @option params [required, String] :code_review_arn
|
693
|
-
# The Amazon Resource Name (ARN) of the [
|
699
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
694
700
|
#
|
695
701
|
#
|
696
702
|
#
|
@@ -744,17 +750,17 @@ module Aws::CodeGuruReviewer
|
|
744
750
|
req.send_request(options)
|
745
751
|
end
|
746
752
|
|
747
|
-
# Returns a [
|
748
|
-
#
|
753
|
+
# Returns a [RepositoryAssociation][1] object that contains information
|
754
|
+
# about the requested repository association.
|
749
755
|
#
|
750
756
|
#
|
751
757
|
#
|
752
758
|
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html
|
753
759
|
#
|
754
760
|
# @option params [required, String] :association_arn
|
755
|
-
# The Amazon Resource Name (ARN) of the [
|
756
|
-
# object. You can retrieve this ARN by calling
|
757
|
-
#
|
761
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
762
|
+
# object. You can retrieve this ARN by calling
|
763
|
+
# [ListRepositoryAssociations][2].
|
758
764
|
#
|
759
765
|
#
|
760
766
|
#
|
@@ -810,9 +816,9 @@ module Aws::CodeGuruReviewer
|
|
810
816
|
# repository.
|
811
817
|
#
|
812
818
|
# @option params [required, String] :association_arn
|
813
|
-
# The Amazon Resource Name (ARN) of the [
|
814
|
-
# object. You can retrieve this ARN by calling
|
815
|
-
#
|
819
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
820
|
+
# object. You can retrieve this ARN by calling
|
821
|
+
# [ListRepositoryAssociations][2].
|
816
822
|
#
|
817
823
|
#
|
818
824
|
#
|
@@ -894,10 +900,10 @@ module Aws::CodeGuruReviewer
|
|
894
900
|
# is 100.
|
895
901
|
#
|
896
902
|
# @option params [String] :next_token
|
897
|
-
# If nextToken is returned, there are more results available. The
|
898
|
-
# of nextToken is a unique pagination token for each page. Make
|
899
|
-
# again using the returned token to retrieve the next page.
|
900
|
-
# other arguments unchanged.
|
903
|
+
# If `nextToken` is returned, there are more results available. The
|
904
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
905
|
+
# the call again using the returned token to retrieve the next page.
|
906
|
+
# Keep all other arguments unchanged.
|
901
907
|
#
|
902
908
|
# @return [Types::ListCodeReviewsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
903
909
|
#
|
@@ -931,6 +937,7 @@ module Aws::CodeGuruReviewer
|
|
931
937
|
# resp.code_review_summaries[0].type #=> String, one of "PullRequest", "RepositoryAnalysis"
|
932
938
|
# resp.code_review_summaries[0].pull_request_id #=> String
|
933
939
|
# resp.code_review_summaries[0].metrics_summary.metered_lines_of_code_count #=> Integer
|
940
|
+
# resp.code_review_summaries[0].metrics_summary.suppressed_lines_of_code_count #=> Integer
|
934
941
|
# resp.code_review_summaries[0].metrics_summary.findings_count #=> Integer
|
935
942
|
# resp.code_review_summaries[0].source_code_type.commit_diff.source_commit #=> String
|
936
943
|
# resp.code_review_summaries[0].source_code_type.commit_diff.destination_commit #=> String
|
@@ -958,7 +965,7 @@ module Aws::CodeGuruReviewer
|
|
958
965
|
req.send_request(options)
|
959
966
|
end
|
960
967
|
|
961
|
-
# Returns a list of [
|
968
|
+
# Returns a list of [RecommendationFeedbackSummary][1] objects that
|
962
969
|
# contain customer recommendation feedback for all CodeGuru Reviewer
|
963
970
|
# users.
|
964
971
|
#
|
@@ -968,7 +975,7 @@ module Aws::CodeGuruReviewer
|
|
968
975
|
#
|
969
976
|
# @option params [String] :next_token
|
970
977
|
# If `nextToken` is returned, there are more results available. The
|
971
|
-
# value of nextToken is a unique pagination token for each page. Make
|
978
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
972
979
|
# the call again using the returned token to retrieve the next page.
|
973
980
|
# Keep all other arguments unchanged.
|
974
981
|
#
|
@@ -977,7 +984,7 @@ module Aws::CodeGuruReviewer
|
|
977
984
|
# is 100.
|
978
985
|
#
|
979
986
|
# @option params [required, String] :code_review_arn
|
980
|
-
# The Amazon Resource Name (ARN) of the [
|
987
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
981
988
|
#
|
982
989
|
#
|
983
990
|
#
|
@@ -1045,7 +1052,7 @@ module Aws::CodeGuruReviewer
|
|
1045
1052
|
# is 100.
|
1046
1053
|
#
|
1047
1054
|
# @option params [required, String] :code_review_arn
|
1048
|
-
# The Amazon Resource Name (ARN) of the [
|
1055
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1049
1056
|
#
|
1050
1057
|
#
|
1051
1058
|
#
|
@@ -1093,10 +1100,10 @@ module Aws::CodeGuruReviewer
|
|
1093
1100
|
req.send_request(options)
|
1094
1101
|
end
|
1095
1102
|
|
1096
|
-
# Returns a list of [
|
1103
|
+
# Returns a list of [RepositoryAssociationSummary][1] objects that
|
1097
1104
|
# contain summary information about a repository association. You can
|
1098
|
-
# filter the returned list by [
|
1099
|
-
#
|
1105
|
+
# filter the returned list by [ProviderType][2], [Name][3], [State][4],
|
1106
|
+
# and [Owner][5].
|
1100
1107
|
#
|
1101
1108
|
#
|
1102
1109
|
#
|
@@ -1140,7 +1147,7 @@ module Aws::CodeGuruReviewer
|
|
1140
1147
|
# * **Disassociated**\: CodeGuru Reviewer successfully disassociated the
|
1141
1148
|
# repository. You can create a new association with this repository if
|
1142
1149
|
# you want to review source code in it later. You can control access
|
1143
|
-
# to code reviews created in
|
1150
|
+
# to code reviews created in anassociated repository with tags after
|
1144
1151
|
# it has been disassociated. For more information, see [Using tags to
|
1145
1152
|
# control access to associated repositories][1] in the *Amazon
|
1146
1153
|
# CodeGuru Reviewer User Guide*.
|
@@ -1226,9 +1233,9 @@ module Aws::CodeGuruReviewer
|
|
1226
1233
|
# resource.
|
1227
1234
|
#
|
1228
1235
|
# @option params [required, String] :resource_arn
|
1229
|
-
# The Amazon Resource Name (ARN) of the [
|
1230
|
-
# object. You can retrieve this ARN by calling
|
1231
|
-
#
|
1236
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
1237
|
+
# object. You can retrieve this ARN by calling
|
1238
|
+
# [ListRepositoryAssociations][2].
|
1232
1239
|
#
|
1233
1240
|
#
|
1234
1241
|
#
|
@@ -1264,7 +1271,7 @@ module Aws::CodeGuruReviewer
|
|
1264
1271
|
# feedback is overwritten.
|
1265
1272
|
#
|
1266
1273
|
# @option params [required, String] :code_review_arn
|
1267
|
-
# The Amazon Resource Name (ARN) of the [
|
1274
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1268
1275
|
#
|
1269
1276
|
#
|
1270
1277
|
#
|
@@ -1300,9 +1307,9 @@ module Aws::CodeGuruReviewer
|
|
1300
1307
|
# Adds one or more tags to an associated repository.
|
1301
1308
|
#
|
1302
1309
|
# @option params [required, String] :resource_arn
|
1303
|
-
# The Amazon Resource Name (ARN) of the [
|
1304
|
-
# object. You can retrieve this ARN by calling
|
1305
|
-
#
|
1310
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
1311
|
+
# object. You can retrieve this ARN by calling
|
1312
|
+
# [ListRepositoryAssociations][2].
|
1306
1313
|
#
|
1307
1314
|
#
|
1308
1315
|
#
|
@@ -1344,9 +1351,9 @@ module Aws::CodeGuruReviewer
|
|
1344
1351
|
# Removes a tag from an associated repository.
|
1345
1352
|
#
|
1346
1353
|
# @option params [required, String] :resource_arn
|
1347
|
-
# The Amazon Resource Name (ARN) of the [
|
1348
|
-
# object. You can retrieve this ARN by calling
|
1349
|
-
#
|
1354
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
1355
|
+
# object. You can retrieve this ARN by calling
|
1356
|
+
# [ListRepositoryAssociations][2].
|
1350
1357
|
#
|
1351
1358
|
#
|
1352
1359
|
#
|
@@ -1388,7 +1395,7 @@ module Aws::CodeGuruReviewer
|
|
1388
1395
|
params: params,
|
1389
1396
|
config: config)
|
1390
1397
|
context[:gem_name] = 'aws-sdk-codegurureviewer'
|
1391
|
-
context[:gem_version] = '1.
|
1398
|
+
context[:gem_version] = '1.32.0'
|
1392
1399
|
Seahorse::Client::Request.new(handlers, context)
|
1393
1400
|
end
|
1394
1401
|
|
@@ -34,6 +34,7 @@ module Aws::CodeGuruReviewer
|
|
34
34
|
CodeReviewType = Shapes::StructureShape.new(name: 'CodeReviewType')
|
35
35
|
CommitDiffSourceCodeType = Shapes::StructureShape.new(name: 'CommitDiffSourceCodeType')
|
36
36
|
CommitId = Shapes::StringShape.new(name: 'CommitId')
|
37
|
+
ConfigFileState = Shapes::StringShape.new(name: 'ConfigFileState')
|
37
38
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
38
39
|
ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
|
39
40
|
CreateCodeReviewRequest = Shapes::StructureShape.new(name: 'CreateCodeReviewRequest')
|
@@ -59,6 +60,7 @@ module Aws::CodeGuruReviewer
|
|
59
60
|
KMSKeyDetails = Shapes::StructureShape.new(name: 'KMSKeyDetails')
|
60
61
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
61
62
|
LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
|
63
|
+
LinesOfCodeCount = Shapes::IntegerShape.new(name: 'LinesOfCodeCount')
|
62
64
|
ListCodeReviewsMaxResults = Shapes::IntegerShape.new(name: 'ListCodeReviewsMaxResults')
|
63
65
|
ListCodeReviewsRequest = Shapes::StructureShape.new(name: 'ListCodeReviewsRequest')
|
64
66
|
ListCodeReviewsResponse = Shapes::StructureShape.new(name: 'ListCodeReviewsResponse')
|
@@ -73,7 +75,6 @@ module Aws::CodeGuruReviewer
|
|
73
75
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
74
76
|
LongDescription = Shapes::StringShape.new(name: 'LongDescription')
|
75
77
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
76
|
-
MeteredLinesOfCodeCount = Shapes::IntegerShape.new(name: 'MeteredLinesOfCodeCount')
|
77
78
|
Metrics = Shapes::StructureShape.new(name: 'Metrics')
|
78
79
|
MetricsSummary = Shapes::StructureShape.new(name: 'MetricsSummary')
|
79
80
|
Name = Shapes::StringShape.new(name: 'Name')
|
@@ -183,6 +184,7 @@ module Aws::CodeGuruReviewer
|
|
183
184
|
CodeReview.add_member(:association_arn, Shapes::ShapeRef.new(shape: AssociationArn, location_name: "AssociationArn"))
|
184
185
|
CodeReview.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
185
186
|
CodeReview.add_member(:analysis_types, Shapes::ShapeRef.new(shape: AnalysisTypes, location_name: "AnalysisTypes"))
|
187
|
+
CodeReview.add_member(:config_file_state, Shapes::ShapeRef.new(shape: ConfigFileState, location_name: "ConfigFileState"))
|
186
188
|
CodeReview.struct_class = Types::CodeReview
|
187
189
|
|
188
190
|
CodeReviewSummaries.member = Shapes::ShapeRef.new(shape: CodeReviewSummary)
|
@@ -313,11 +315,13 @@ module Aws::CodeGuruReviewer
|
|
313
315
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
314
316
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
315
317
|
|
316
|
-
Metrics.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape:
|
318
|
+
Metrics.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape: LinesOfCodeCount, location_name: "MeteredLinesOfCodeCount"))
|
319
|
+
Metrics.add_member(:suppressed_lines_of_code_count, Shapes::ShapeRef.new(shape: LinesOfCodeCount, location_name: "SuppressedLinesOfCodeCount"))
|
317
320
|
Metrics.add_member(:findings_count, Shapes::ShapeRef.new(shape: FindingsCount, location_name: "FindingsCount"))
|
318
321
|
Metrics.struct_class = Types::Metrics
|
319
322
|
|
320
|
-
MetricsSummary.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape:
|
323
|
+
MetricsSummary.add_member(:metered_lines_of_code_count, Shapes::ShapeRef.new(shape: LinesOfCodeCount, location_name: "MeteredLinesOfCodeCount"))
|
324
|
+
MetricsSummary.add_member(:suppressed_lines_of_code_count, Shapes::ShapeRef.new(shape: LinesOfCodeCount, location_name: "SuppressedLinesOfCodeCount"))
|
321
325
|
MetricsSummary.add_member(:findings_count, Shapes::ShapeRef.new(shape: FindingsCount, location_name: "FindingsCount"))
|
322
326
|
MetricsSummary.struct_class = Types::MetricsSummary
|
323
327
|
|
@@ -90,7 +90,7 @@ module Aws::CodeGuruReviewer
|
|
90
90
|
# (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
|
91
91
|
#
|
92
92
|
# * The ID of the Amazon Web Services KMS key that is associated with
|
93
|
-
# this
|
93
|
+
# this repository association.
|
94
94
|
# @return [Types::KMSKeyDetails]
|
95
95
|
#
|
96
96
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepositoryRequest AWS API Documentation
|
@@ -130,7 +130,7 @@ module Aws::CodeGuruReviewer
|
|
130
130
|
include Aws::Structure
|
131
131
|
end
|
132
132
|
|
133
|
-
# A type of [
|
133
|
+
# A type of [SourceCodeType][1] that specifies a code diff between a
|
134
134
|
# source and destination branch in an associated repository.
|
135
135
|
#
|
136
136
|
#
|
@@ -242,7 +242,7 @@ module Aws::CodeGuruReviewer
|
|
242
242
|
# @return [String]
|
243
243
|
#
|
244
244
|
# @!attribute [rw] code_review_arn
|
245
|
-
# The Amazon Resource Name (ARN) of the [
|
245
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
246
246
|
#
|
247
247
|
#
|
248
248
|
#
|
@@ -307,9 +307,9 @@ module Aws::CodeGuruReviewer
|
|
307
307
|
# @return [Types::SourceCodeType]
|
308
308
|
#
|
309
309
|
# @!attribute [rw] association_arn
|
310
|
-
# The Amazon Resource Name (ARN) of the [
|
310
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
311
311
|
# that contains the reviewed source code. You can retrieve associated
|
312
|
-
# repository ARNs by calling [
|
312
|
+
# repository ARNs by calling [ListRepositoryAssociations][2].
|
313
313
|
#
|
314
314
|
#
|
315
315
|
#
|
@@ -322,11 +322,18 @@ module Aws::CodeGuruReviewer
|
|
322
322
|
# @return [Types::Metrics]
|
323
323
|
#
|
324
324
|
# @!attribute [rw] analysis_types
|
325
|
-
#
|
325
|
+
# The types of analysis performed during a repository analysis or a
|
326
326
|
# pull request review. You can specify either `Security`,
|
327
327
|
# `CodeQuality`, or both.
|
328
328
|
# @return [Array<String>]
|
329
329
|
#
|
330
|
+
# @!attribute [rw] config_file_state
|
331
|
+
# The state of the `aws-codeguru-reviewer.yml` configuration file that
|
332
|
+
# allows the configuration of the CodeGuru Reviewer analysis. The file
|
333
|
+
# either exists, doesn't exist, or exists with errors at the root
|
334
|
+
# directory of your repository.
|
335
|
+
# @return [String]
|
336
|
+
#
|
330
337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CodeReview AWS API Documentation
|
331
338
|
#
|
332
339
|
class CodeReview < Struct.new(
|
@@ -344,7 +351,8 @@ module Aws::CodeGuruReviewer
|
|
344
351
|
:source_code_type,
|
345
352
|
:association_arn,
|
346
353
|
:metrics,
|
347
|
-
:analysis_types
|
354
|
+
:analysis_types,
|
355
|
+
:config_file_state)
|
348
356
|
SENSITIVE = []
|
349
357
|
include Aws::Structure
|
350
358
|
end
|
@@ -356,7 +364,7 @@ module Aws::CodeGuruReviewer
|
|
356
364
|
# @return [String]
|
357
365
|
#
|
358
366
|
# @!attribute [rw] code_review_arn
|
359
|
-
# The Amazon Resource Name (ARN) of the [
|
367
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
360
368
|
#
|
361
369
|
#
|
362
370
|
#
|
@@ -447,7 +455,7 @@ module Aws::CodeGuruReviewer
|
|
447
455
|
#
|
448
456
|
# * `RepositoryAnalysis` - A code review that analyzes all code under a
|
449
457
|
# specified branch in an associated repository. The associated
|
450
|
-
# repository is specified using its ARN in [
|
458
|
+
# repository is specified using its ARN in [CreateCodeReview][1].
|
451
459
|
#
|
452
460
|
#
|
453
461
|
#
|
@@ -501,7 +509,7 @@ module Aws::CodeGuruReviewer
|
|
501
509
|
# @!attribute [rw] repository_analysis
|
502
510
|
# A code review that analyzes all code under a specified branch in an
|
503
511
|
# associated repository. The associated repository is specified using
|
504
|
-
# its ARN in [
|
512
|
+
# its ARN in [CreateCodeReview][1].
|
505
513
|
#
|
506
514
|
#
|
507
515
|
#
|
@@ -523,7 +531,7 @@ module Aws::CodeGuruReviewer
|
|
523
531
|
include Aws::Structure
|
524
532
|
end
|
525
533
|
|
526
|
-
# A type of [
|
534
|
+
# A type of [SourceCodeType][1] that specifies the commit diff for a
|
527
535
|
# pull request on an associated repository. The `SourceCommit` and
|
528
536
|
# `DestinationCommit` fields are required to do a pull request code
|
529
537
|
# review.
|
@@ -636,9 +644,9 @@ module Aws::CodeGuruReviewer
|
|
636
644
|
# @return [String]
|
637
645
|
#
|
638
646
|
# @!attribute [rw] repository_association_arn
|
639
|
-
# The Amazon Resource Name (ARN) of the [
|
640
|
-
# object. You can retrieve this ARN by calling
|
641
|
-
#
|
647
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
648
|
+
# object. You can retrieve this ARN by calling
|
649
|
+
# [ListRepositoryAssociations][2].
|
642
650
|
#
|
643
651
|
# A code review can only be created on an associated repository. This
|
644
652
|
# is the ARN of the associated repository.
|
@@ -650,8 +658,8 @@ module Aws::CodeGuruReviewer
|
|
650
658
|
# @return [String]
|
651
659
|
#
|
652
660
|
# @!attribute [rw] type
|
653
|
-
# The type of code review to create. This is specified using a
|
654
|
-
#
|
661
|
+
# The type of code review to create. This is specified using a
|
662
|
+
# [CodeReviewType][1] object. You can create a code review only of
|
655
663
|
# type `RepositoryAnalysis`.
|
656
664
|
#
|
657
665
|
#
|
@@ -700,7 +708,7 @@ module Aws::CodeGuruReviewer
|
|
700
708
|
# }
|
701
709
|
#
|
702
710
|
# @!attribute [rw] code_review_arn
|
703
|
-
# The Amazon Resource Name (ARN) of the [
|
711
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
704
712
|
#
|
705
713
|
#
|
706
714
|
#
|
@@ -737,7 +745,7 @@ module Aws::CodeGuruReviewer
|
|
737
745
|
# }
|
738
746
|
#
|
739
747
|
# @!attribute [rw] code_review_arn
|
740
|
-
# The Amazon Resource Name (ARN) of the [
|
748
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
741
749
|
#
|
742
750
|
#
|
743
751
|
#
|
@@ -793,9 +801,9 @@ module Aws::CodeGuruReviewer
|
|
793
801
|
# }
|
794
802
|
#
|
795
803
|
# @!attribute [rw] association_arn
|
796
|
-
# The Amazon Resource Name (ARN) of the [
|
797
|
-
# object. You can retrieve this ARN by calling
|
798
|
-
#
|
804
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
805
|
+
# object. You can retrieve this ARN by calling
|
806
|
+
# [ListRepositoryAssociations][2].
|
799
807
|
#
|
800
808
|
#
|
801
809
|
#
|
@@ -845,9 +853,9 @@ module Aws::CodeGuruReviewer
|
|
845
853
|
# }
|
846
854
|
#
|
847
855
|
# @!attribute [rw] association_arn
|
848
|
-
# The Amazon Resource Name (ARN) of the [
|
849
|
-
# object. You can retrieve this ARN by calling
|
850
|
-
#
|
856
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
857
|
+
# object. You can retrieve this ARN by calling
|
858
|
+
# [ListRepositoryAssociations][2].
|
851
859
|
#
|
852
860
|
#
|
853
861
|
#
|
@@ -940,7 +948,7 @@ module Aws::CodeGuruReviewer
|
|
940
948
|
# (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
|
941
949
|
#
|
942
950
|
# * The ID of the Amazon Web Services KMS key that is associated with a
|
943
|
-
#
|
951
|
+
# repository association.
|
944
952
|
#
|
945
953
|
# @note When making an API call, you may pass KMSKeyDetails
|
946
954
|
# data as a hash:
|
@@ -952,7 +960,7 @@ module Aws::CodeGuruReviewer
|
|
952
960
|
#
|
953
961
|
# @!attribute [rw] kms_key_id
|
954
962
|
# The ID of the Amazon Web Services KMS key that is associated with a
|
955
|
-
#
|
963
|
+
# repository association.
|
956
964
|
# @return [String]
|
957
965
|
#
|
958
966
|
# @!attribute [rw] encryption_option
|
@@ -1020,10 +1028,10 @@ module Aws::CodeGuruReviewer
|
|
1020
1028
|
# @return [Integer]
|
1021
1029
|
#
|
1022
1030
|
# @!attribute [rw] next_token
|
1023
|
-
# If nextToken is returned, there are more results available. The
|
1024
|
-
# value of nextToken is a unique pagination token for each page.
|
1025
|
-
# the call again using the returned token to retrieve the next
|
1026
|
-
# Keep all other arguments unchanged.
|
1031
|
+
# If `nextToken` is returned, there are more results available. The
|
1032
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1033
|
+
# Make the call again using the returned token to retrieve the next
|
1034
|
+
# page. Keep all other arguments unchanged.
|
1027
1035
|
# @return [String]
|
1028
1036
|
#
|
1029
1037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviewsRequest AWS API Documentation
|
@@ -1069,9 +1077,9 @@ module Aws::CodeGuruReviewer
|
|
1069
1077
|
#
|
1070
1078
|
# @!attribute [rw] next_token
|
1071
1079
|
# If `nextToken` is returned, there are more results available. The
|
1072
|
-
# value of nextToken is a unique pagination token for each page.
|
1073
|
-
# the call again using the returned token to retrieve the next
|
1074
|
-
# Keep all other arguments unchanged.
|
1080
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1081
|
+
# Make the call again using the returned token to retrieve the next
|
1082
|
+
# page. Keep all other arguments unchanged.
|
1075
1083
|
# @return [String]
|
1076
1084
|
#
|
1077
1085
|
# @!attribute [rw] max_results
|
@@ -1080,7 +1088,7 @@ module Aws::CodeGuruReviewer
|
|
1080
1088
|
# @return [Integer]
|
1081
1089
|
#
|
1082
1090
|
# @!attribute [rw] code_review_arn
|
1083
|
-
# The Amazon Resource Name (ARN) of the [
|
1091
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1084
1092
|
#
|
1085
1093
|
#
|
1086
1094
|
#
|
@@ -1125,10 +1133,10 @@ module Aws::CodeGuruReviewer
|
|
1125
1133
|
# @return [Array<Types::RecommendationFeedbackSummary>]
|
1126
1134
|
#
|
1127
1135
|
# @!attribute [rw] next_token
|
1128
|
-
# If nextToken is returned, there are more results available. The
|
1129
|
-
# value of nextToken is a unique pagination token for each page.
|
1130
|
-
# the call again using the returned token to retrieve the next
|
1131
|
-
# Keep all other arguments unchanged.
|
1136
|
+
# If `nextToken` is returned, there are more results available. The
|
1137
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1138
|
+
# Make the call again using the returned token to retrieve the next
|
1139
|
+
# page. Keep all other arguments unchanged.
|
1132
1140
|
# @return [String]
|
1133
1141
|
#
|
1134
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedbackResponse AWS API Documentation
|
@@ -1159,7 +1167,7 @@ module Aws::CodeGuruReviewer
|
|
1159
1167
|
# @return [Integer]
|
1160
1168
|
#
|
1161
1169
|
# @!attribute [rw] code_review_arn
|
1162
|
-
# The Amazon Resource Name (ARN) of the [
|
1170
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1163
1171
|
#
|
1164
1172
|
#
|
1165
1173
|
#
|
@@ -1240,7 +1248,7 @@ module Aws::CodeGuruReviewer
|
|
1240
1248
|
# * **Disassociated**\: CodeGuru Reviewer successfully disassociated
|
1241
1249
|
# the repository. You can create a new association with this
|
1242
1250
|
# repository if you want to review source code in it later. You can
|
1243
|
-
# control access to code reviews created in
|
1251
|
+
# control access to code reviews created in anassociated repository
|
1244
1252
|
# with tags after it has been disassociated. For more information,
|
1245
1253
|
# see [Using tags to control access to associated repositories][1]
|
1246
1254
|
# in the *Amazon CodeGuru Reviewer User Guide*.
|
@@ -1331,9 +1339,9 @@ module Aws::CodeGuruReviewer
|
|
1331
1339
|
# }
|
1332
1340
|
#
|
1333
1341
|
# @!attribute [rw] resource_arn
|
1334
|
-
# The Amazon Resource Name (ARN) of the [
|
1335
|
-
# object. You can retrieve this ARN by calling
|
1336
|
-
#
|
1342
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
1343
|
+
# object. You can retrieve this ARN by calling
|
1344
|
+
# [ListRepositoryAssociations][2].
|
1337
1345
|
#
|
1338
1346
|
#
|
1339
1347
|
#
|
@@ -1373,11 +1381,20 @@ module Aws::CodeGuruReviewer
|
|
1373
1381
|
# Information about the statistics from the code review.
|
1374
1382
|
#
|
1375
1383
|
# @!attribute [rw] metered_lines_of_code_count
|
1376
|
-
# `
|
1384
|
+
# `MeteredLinesOfCodeCount` is the number of lines of code in the
|
1377
1385
|
# repository where the code review happened. This does not include
|
1378
1386
|
# non-code lines such as comments and blank lines.
|
1379
1387
|
# @return [Integer]
|
1380
1388
|
#
|
1389
|
+
# @!attribute [rw] suppressed_lines_of_code_count
|
1390
|
+
# `SuppressedLinesOfCodeCount` is the number of lines of code in the
|
1391
|
+
# repository where the code review happened that CodeGuru Reviewer did
|
1392
|
+
# not analyze. The lines suppressed in the analysis is based on the
|
1393
|
+
# `excludeFiles` variable in the `aws-codeguru-reviewer.yml` file.
|
1394
|
+
# This number does not include non-code lines such as comments and
|
1395
|
+
# blank lines.
|
1396
|
+
# @return [Integer]
|
1397
|
+
#
|
1381
1398
|
# @!attribute [rw] findings_count
|
1382
1399
|
# Total number of recommendations found in the code review.
|
1383
1400
|
# @return [Integer]
|
@@ -1386,6 +1403,7 @@ module Aws::CodeGuruReviewer
|
|
1386
1403
|
#
|
1387
1404
|
class Metrics < Struct.new(
|
1388
1405
|
:metered_lines_of_code_count,
|
1406
|
+
:suppressed_lines_of_code_count,
|
1389
1407
|
:findings_count)
|
1390
1408
|
SENSITIVE = []
|
1391
1409
|
include Aws::Structure
|
@@ -1408,6 +1426,25 @@ module Aws::CodeGuruReviewer
|
|
1408
1426
|
# the 25 changed lines of code for a total of 2,725 lines of code.
|
1409
1427
|
# @return [Integer]
|
1410
1428
|
#
|
1429
|
+
# @!attribute [rw] suppressed_lines_of_code_count
|
1430
|
+
# Lines of code suppressed in the code review based on the
|
1431
|
+
# `excludeFiles` element in the `aws-codeguru-reviewer.yml` file. For
|
1432
|
+
# full repository analyses, this number includes all lines of code in
|
1433
|
+
# the files that are suppressed. For pull requests, this number only
|
1434
|
+
# includes the *changed* lines of code that are suppressed. In both
|
1435
|
+
# cases, this number does not include non-code lines such as comments
|
1436
|
+
# and import statements. For example, if you initiate a full
|
1437
|
+
# repository analysis on a repository containing 5 files, each file
|
1438
|
+
# with 100 lines of code, and 2 files are listed as excluded in the
|
1439
|
+
# `aws-codeguru-reviewer.yml` file, then `SuppressedLinesOfCodeCount`
|
1440
|
+
# returns 200 (2 * 100) as the total number of lines of code
|
1441
|
+
# suppressed. However, if you submit a pull request for the same
|
1442
|
+
# repository, then `SuppressedLinesOfCodeCount` only includes the
|
1443
|
+
# lines in the 2 files that changed. If only 1 of the 2 files changed
|
1444
|
+
# in the pull request, then `SuppressedLinesOfCodeCount` returns 100
|
1445
|
+
# (1 * 100) as the total number of lines of code suppressed.
|
1446
|
+
# @return [Integer]
|
1447
|
+
#
|
1411
1448
|
# @!attribute [rw] findings_count
|
1412
1449
|
# Total number of recommendations found in the code review.
|
1413
1450
|
# @return [Integer]
|
@@ -1416,6 +1453,7 @@ module Aws::CodeGuruReviewer
|
|
1416
1453
|
#
|
1417
1454
|
class MetricsSummary < Struct.new(
|
1418
1455
|
:metered_lines_of_code_count,
|
1456
|
+
:suppressed_lines_of_code_count,
|
1419
1457
|
:findings_count)
|
1420
1458
|
SENSITIVE = []
|
1421
1459
|
include Aws::Structure
|
@@ -1444,7 +1482,7 @@ module Aws::CodeGuruReviewer
|
|
1444
1482
|
# }
|
1445
1483
|
#
|
1446
1484
|
# @!attribute [rw] code_review_arn
|
1447
|
-
# The Amazon Resource Name (ARN) of the [
|
1485
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1448
1486
|
#
|
1449
1487
|
#
|
1450
1488
|
#
|
@@ -1478,7 +1516,7 @@ module Aws::CodeGuruReviewer
|
|
1478
1516
|
# Information about the recommendation feedback.
|
1479
1517
|
#
|
1480
1518
|
# @!attribute [rw] code_review_arn
|
1481
|
-
# The Amazon Resource Name (ARN) of the [
|
1519
|
+
# The Amazon Resource Name (ARN) of the [CodeReview][1] object.
|
1482
1520
|
#
|
1483
1521
|
#
|
1484
1522
|
#
|
@@ -1680,7 +1718,7 @@ module Aws::CodeGuruReviewer
|
|
1680
1718
|
|
1681
1719
|
# A code review type that analyzes all code under a specified branch in
|
1682
1720
|
# an associated repository. The associated repository is specified using
|
1683
|
-
# its ARN when you call [
|
1721
|
+
# its ARN when you call [CreateCodeReview][1].
|
1684
1722
|
#
|
1685
1723
|
#
|
1686
1724
|
#
|
@@ -1729,7 +1767,7 @@ module Aws::CodeGuruReviewer
|
|
1729
1767
|
# }
|
1730
1768
|
#
|
1731
1769
|
# @!attribute [rw] repository_head
|
1732
|
-
# A [
|
1770
|
+
# A [SourceCodeType][1] that specifies the tip of a branch in an
|
1733
1771
|
# associated repository.
|
1734
1772
|
#
|
1735
1773
|
#
|
@@ -1750,8 +1788,8 @@ module Aws::CodeGuruReviewer
|
|
1750
1788
|
include Aws::Structure
|
1751
1789
|
end
|
1752
1790
|
|
1753
|
-
# Information about a repository association. The
|
1754
|
-
#
|
1791
|
+
# Information about a repository association. The
|
1792
|
+
# [DescribeRepositoryAssociation][1] operation returns a
|
1755
1793
|
# `RepositoryAssociation` object.
|
1756
1794
|
#
|
1757
1795
|
#
|
@@ -1771,7 +1809,7 @@ module Aws::CodeGuruReviewer
|
|
1771
1809
|
# The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar
|
1772
1810
|
# Connections connection. Its format is
|
1773
1811
|
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
1774
|
-
# For more information, see [
|
1812
|
+
# For more information, see [Connection][1] in the *Amazon Web
|
1775
1813
|
# Services CodeStar Connections API Reference*.
|
1776
1814
|
#
|
1777
1815
|
#
|
@@ -1827,7 +1865,7 @@ module Aws::CodeGuruReviewer
|
|
1827
1865
|
# * **Disassociated**\: CodeGuru Reviewer successfully disassociated
|
1828
1866
|
# the repository. You can create a new association with this
|
1829
1867
|
# repository if you want to review source code in it later. You can
|
1830
|
-
# control access to code reviews created in
|
1868
|
+
# control access to code reviews created in anassociated repository
|
1831
1869
|
# with tags after it has been disassociated. For more information,
|
1832
1870
|
# see [Using tags to control access to associated repositories][1]
|
1833
1871
|
# in the *Amazon CodeGuru Reviewer User Guide*.
|
@@ -1860,7 +1898,7 @@ module Aws::CodeGuruReviewer
|
|
1860
1898
|
# (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
|
1861
1899
|
#
|
1862
1900
|
# * The ID of the Amazon Web Services KMS key that is associated with
|
1863
|
-
# this
|
1901
|
+
# this repository association.
|
1864
1902
|
# @return [Types::KMSKeyDetails]
|
1865
1903
|
#
|
1866
1904
|
# @!attribute [rw] s3_repository_details
|
@@ -1888,8 +1926,8 @@ module Aws::CodeGuruReviewer
|
|
1888
1926
|
include Aws::Structure
|
1889
1927
|
end
|
1890
1928
|
|
1891
|
-
# Summary information about a repository association. The
|
1892
|
-
#
|
1929
|
+
# Summary information about a repository association. The
|
1930
|
+
# [ListRepositoryAssociations][1] operation returns a list of
|
1893
1931
|
# `RepositoryAssociationSummary` objects.
|
1894
1932
|
#
|
1895
1933
|
#
|
@@ -1897,9 +1935,9 @@ module Aws::CodeGuruReviewer
|
|
1897
1935
|
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html
|
1898
1936
|
#
|
1899
1937
|
# @!attribute [rw] association_arn
|
1900
|
-
# The Amazon Resource Name (ARN) of the [
|
1901
|
-
# object. You can retrieve this ARN by calling
|
1902
|
-
#
|
1938
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
1939
|
+
# object. You can retrieve this ARN by calling
|
1940
|
+
# [ListRepositoryAssociations][2].
|
1903
1941
|
#
|
1904
1942
|
#
|
1905
1943
|
#
|
@@ -1911,7 +1949,7 @@ module Aws::CodeGuruReviewer
|
|
1911
1949
|
# The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar
|
1912
1950
|
# Connections connection. Its format is
|
1913
1951
|
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
1914
|
-
# For more information, see [
|
1952
|
+
# For more information, see [Connection][1] in the *Amazon Web
|
1915
1953
|
# Services CodeStar Connections API Reference*.
|
1916
1954
|
#
|
1917
1955
|
#
|
@@ -1976,7 +2014,7 @@ module Aws::CodeGuruReviewer
|
|
1976
2014
|
# * **Disassociated**\: CodeGuru Reviewer successfully disassociated
|
1977
2015
|
# the repository. You can create a new association with this
|
1978
2016
|
# repository if you want to review source code in it later. You can
|
1979
|
-
# control access to code reviews created in
|
2017
|
+
# control access to code reviews created in anassociated repository
|
1980
2018
|
# with tags after it has been disassociated. For more information,
|
1981
2019
|
# see [Using tags to control access to associated repositories][1]
|
1982
2020
|
# in the *Amazon CodeGuru Reviewer User Guide*.
|
@@ -2001,7 +2039,7 @@ module Aws::CodeGuruReviewer
|
|
2001
2039
|
include Aws::Structure
|
2002
2040
|
end
|
2003
2041
|
|
2004
|
-
# A [
|
2042
|
+
# A [SourceCodeType][1] that specifies the tip of a branch in an
|
2005
2043
|
# associated repository.
|
2006
2044
|
#
|
2007
2045
|
#
|
@@ -2275,8 +2313,8 @@ module Aws::CodeGuruReviewer
|
|
2275
2313
|
# }
|
2276
2314
|
#
|
2277
2315
|
# @!attribute [rw] commit_diff
|
2278
|
-
# A [
|
2279
|
-
#
|
2316
|
+
# A [SourceCodeType][1] that specifies a commit diff created by a pull
|
2317
|
+
# request on an associated repository.
|
2280
2318
|
#
|
2281
2319
|
#
|
2282
2320
|
#
|
@@ -2284,7 +2322,7 @@ module Aws::CodeGuruReviewer
|
|
2284
2322
|
# @return [Types::CommitDiffSourceCodeType]
|
2285
2323
|
#
|
2286
2324
|
# @!attribute [rw] repository_head
|
2287
|
-
# A [
|
2325
|
+
# A [SourceCodeType][1] that specifies the tip of a branch in an
|
2288
2326
|
# associated repository.
|
2289
2327
|
#
|
2290
2328
|
#
|
@@ -2293,8 +2331,8 @@ module Aws::CodeGuruReviewer
|
|
2293
2331
|
# @return [Types::RepositoryHeadSourceCodeType]
|
2294
2332
|
#
|
2295
2333
|
# @!attribute [rw] branch_diff
|
2296
|
-
# A type of [
|
2297
|
-
#
|
2334
|
+
# A type of [SourceCodeType][1] that specifies a source branch name
|
2335
|
+
# and a destination branch name in an associated repository.
|
2298
2336
|
#
|
2299
2337
|
#
|
2300
2338
|
#
|
@@ -2306,8 +2344,8 @@ module Aws::CodeGuruReviewer
|
|
2306
2344
|
# includes its name and an `S3RepositoryDetails` object. The
|
2307
2345
|
# `S3RepositoryDetails` object includes the name of an S3 bucket, an
|
2308
2346
|
# S3 key for a source code .zip file, and an S3 key for a build
|
2309
|
-
# artifacts .zip file. `S3BucketRepository` is required in
|
2310
|
-
#
|
2347
|
+
# artifacts .zip file. `S3BucketRepository` is required in
|
2348
|
+
# [SourceCodeType][1] for `S3BucketRepository` based code reviews.
|
2311
2349
|
#
|
2312
2350
|
#
|
2313
2351
|
#
|
@@ -2345,9 +2383,9 @@ module Aws::CodeGuruReviewer
|
|
2345
2383
|
# }
|
2346
2384
|
#
|
2347
2385
|
# @!attribute [rw] resource_arn
|
2348
|
-
# The Amazon Resource Name (ARN) of the [
|
2349
|
-
# object. You can retrieve this ARN by calling
|
2350
|
-
#
|
2386
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
2387
|
+
# object. You can retrieve this ARN by calling
|
2388
|
+
# [ListRepositoryAssociations][2].
|
2351
2389
|
#
|
2352
2390
|
#
|
2353
2391
|
#
|
@@ -2401,7 +2439,7 @@ module Aws::CodeGuruReviewer
|
|
2401
2439
|
# The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar
|
2402
2440
|
# Connections connection. Its format is
|
2403
2441
|
# `arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id`.
|
2404
|
-
# For more information, see [
|
2442
|
+
# For more information, see [Connection][1] in the *Amazon Web
|
2405
2443
|
# Services CodeStar Connections API Reference*.
|
2406
2444
|
#
|
2407
2445
|
#
|
@@ -2413,7 +2451,7 @@ module Aws::CodeGuruReviewer
|
|
2413
2451
|
# The owner of the repository. For a GitHub, GitHub Enterprise, or
|
2414
2452
|
# Bitbucket repository, this is the username for the account that owns
|
2415
2453
|
# the repository. For an S3 repository, this can be the username or
|
2416
|
-
# Amazon Web Services account ID
|
2454
|
+
# Amazon Web Services account ID
|
2417
2455
|
# @return [String]
|
2418
2456
|
#
|
2419
2457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ThirdPartySourceRepository AWS API Documentation
|
@@ -2448,9 +2486,9 @@ module Aws::CodeGuruReviewer
|
|
2448
2486
|
# }
|
2449
2487
|
#
|
2450
2488
|
# @!attribute [rw] resource_arn
|
2451
|
-
# The Amazon Resource Name (ARN) of the [
|
2452
|
-
# object. You can retrieve this ARN by calling
|
2453
|
-
#
|
2489
|
+
# The Amazon Resource Name (ARN) of the [RepositoryAssociation][1]
|
2490
|
+
# object. You can retrieve this ARN by calling
|
2491
|
+
# [ListRepositoryAssociations][2].
|
2454
2492
|
#
|
2455
2493
|
#
|
2456
2494
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codegurureviewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|