aws-sdk-codegurureviewer 1.16.0 → 1.17.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codegurureviewer.rb +1 -1
- data/lib/aws-sdk-codegurureviewer/client.rb +24 -4
- data/lib/aws-sdk-codegurureviewer/client_api.rb +9 -0
- data/lib/aws-sdk-codegurureviewer/types.rb +71 -6
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: de1579048264593150393396476a03d254711166e6f38e131f27bf76f010320e
|
|
4
|
+
data.tar.gz: dc6fdeb64156b0d626b3491ecbc2da1cfd9a96b5ad9f533c8bf4176cb3e07188
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9eb0f2c09c67f1c8d7158fba240d86ec92ed9b375c21622dd97272e454bc71431ce5d158ff41bde6cfcbbe480dfd321d7560e7d735d10c5f11fc974ea519ee72
|
|
7
|
+
data.tar.gz: 266915a8a37edc43fba5220256d13561f9dc81447da34a7542da471077a888a2bea9566a8cb4fb0d505881b014e5758c8d70c4be4f54004d96ed50c6313d7419
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.17.0
|
|
@@ -341,8 +341,8 @@ module Aws::CodeGuruReviewer
|
|
|
341
341
|
#
|
|
342
342
|
# Bitbucket and GitHub Enterprise Server repositories are managed by AWS
|
|
343
343
|
# CodeStar Connections to connect to CodeGuru Reviewer. For more
|
|
344
|
-
# information, see [
|
|
345
|
-
#
|
|
344
|
+
# information, see [Associate a repository][2] in the *Amazon CodeGuru
|
|
345
|
+
# Reviewer User Guide.*
|
|
346
346
|
#
|
|
347
347
|
# <note markdown="1"> You cannot use the CodeGuru Reviewer SDK or the AWS CLI to associate a
|
|
348
348
|
# GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub
|
|
@@ -355,7 +355,7 @@ module Aws::CodeGuruReviewer
|
|
|
355
355
|
#
|
|
356
356
|
#
|
|
357
357
|
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html
|
|
358
|
-
# [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/
|
|
358
|
+
# [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html
|
|
359
359
|
# [3]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html
|
|
360
360
|
#
|
|
361
361
|
# @option params [required, Types::Repository] :repository
|
|
@@ -381,6 +381,16 @@ module Aws::CodeGuruReviewer
|
|
|
381
381
|
# value is the same as using an empty string. Like tag keys, tag
|
|
382
382
|
# values are case sensitive.
|
|
383
383
|
#
|
|
384
|
+
# @option params [Types::KMSKeyDetails] :kms_key_details
|
|
385
|
+
# A `KMSKeyDetails` object that contains:
|
|
386
|
+
#
|
|
387
|
+
# * The encryption option for this repository association. It is either
|
|
388
|
+
# owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
|
|
389
|
+
# customer managed (`CUSTOMER_MANAGED_CMK`).
|
|
390
|
+
#
|
|
391
|
+
# * The ID of the AWS KMS key that is associated with this respository
|
|
392
|
+
# association.
|
|
393
|
+
#
|
|
384
394
|
# @return [Types::AssociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
385
395
|
#
|
|
386
396
|
# * {Types::AssociateRepositoryResponse#repository_association #repository_association} => Types::RepositoryAssociation
|
|
@@ -408,6 +418,10 @@ module Aws::CodeGuruReviewer
|
|
|
408
418
|
# tags: {
|
|
409
419
|
# "TagKey" => "TagValue",
|
|
410
420
|
# },
|
|
421
|
+
# kms_key_details: {
|
|
422
|
+
# kms_key_id: "KMSKeyId",
|
|
423
|
+
# encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
|
|
424
|
+
# },
|
|
411
425
|
# })
|
|
412
426
|
#
|
|
413
427
|
# @example Response structure
|
|
@@ -422,6 +436,8 @@ module Aws::CodeGuruReviewer
|
|
|
422
436
|
# resp.repository_association.state_reason #=> String
|
|
423
437
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
|
424
438
|
# resp.repository_association.created_time_stamp #=> Time
|
|
439
|
+
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
|
440
|
+
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
|
425
441
|
# resp.tags #=> Hash
|
|
426
442
|
# resp.tags["TagKey"] #=> String
|
|
427
443
|
#
|
|
@@ -672,6 +688,8 @@ module Aws::CodeGuruReviewer
|
|
|
672
688
|
# resp.repository_association.state_reason #=> String
|
|
673
689
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
|
674
690
|
# resp.repository_association.created_time_stamp #=> Time
|
|
691
|
+
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
|
692
|
+
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
|
675
693
|
# resp.tags #=> Hash
|
|
676
694
|
# resp.tags["TagKey"] #=> String
|
|
677
695
|
#
|
|
@@ -720,6 +738,8 @@ module Aws::CodeGuruReviewer
|
|
|
720
738
|
# resp.repository_association.state_reason #=> String
|
|
721
739
|
# resp.repository_association.last_updated_time_stamp #=> Time
|
|
722
740
|
# resp.repository_association.created_time_stamp #=> Time
|
|
741
|
+
# resp.repository_association.kms_key_details.kms_key_id #=> String
|
|
742
|
+
# resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
|
|
723
743
|
# resp.tags #=> Hash
|
|
724
744
|
# resp.tags["TagKey"] #=> String
|
|
725
745
|
#
|
|
@@ -1237,7 +1257,7 @@ module Aws::CodeGuruReviewer
|
|
|
1237
1257
|
params: params,
|
|
1238
1258
|
config: config)
|
|
1239
1259
|
context[:gem_name] = 'aws-sdk-codegurureviewer'
|
|
1240
|
-
context[:gem_version] = '1.
|
|
1260
|
+
context[:gem_version] = '1.17.0'
|
|
1241
1261
|
Seahorse::Client::Request.new(handlers, context)
|
|
1242
1262
|
end
|
|
1243
1263
|
|
|
@@ -41,12 +41,15 @@ module Aws::CodeGuruReviewer
|
|
|
41
41
|
DescribeRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'DescribeRepositoryAssociationResponse')
|
|
42
42
|
DisassociateRepositoryRequest = Shapes::StructureShape.new(name: 'DisassociateRepositoryRequest')
|
|
43
43
|
DisassociateRepositoryResponse = Shapes::StructureShape.new(name: 'DisassociateRepositoryResponse')
|
|
44
|
+
EncryptionOption = Shapes::StringShape.new(name: 'EncryptionOption')
|
|
44
45
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
45
46
|
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
|
46
47
|
FindingsCount = Shapes::IntegerShape.new(name: 'FindingsCount')
|
|
47
48
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
48
49
|
JobState = Shapes::StringShape.new(name: 'JobState')
|
|
49
50
|
JobStates = Shapes::ListShape.new(name: 'JobStates')
|
|
51
|
+
KMSKeyDetails = Shapes::StructureShape.new(name: 'KMSKeyDetails')
|
|
52
|
+
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
|
50
53
|
LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
|
|
51
54
|
ListCodeReviewsMaxResults = Shapes::IntegerShape.new(name: 'ListCodeReviewsMaxResults')
|
|
52
55
|
ListCodeReviewsRequest = Shapes::StructureShape.new(name: 'ListCodeReviewsRequest')
|
|
@@ -118,6 +121,7 @@ module Aws::CodeGuruReviewer
|
|
|
118
121
|
AssociateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "Repository"))
|
|
119
122
|
AssociateRepositoryRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
|
120
123
|
AssociateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
|
124
|
+
AssociateRepositoryRequest.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails"))
|
|
121
125
|
AssociateRepositoryRequest.struct_class = Types::AssociateRepositoryRequest
|
|
122
126
|
|
|
123
127
|
AssociateRepositoryResponse.add_member(:repository_association, Shapes::ShapeRef.new(shape: RepositoryAssociation, location_name: "RepositoryAssociation"))
|
|
@@ -210,6 +214,10 @@ module Aws::CodeGuruReviewer
|
|
|
210
214
|
|
|
211
215
|
JobStates.member = Shapes::ShapeRef.new(shape: JobState)
|
|
212
216
|
|
|
217
|
+
KMSKeyDetails.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "KMSKeyId"))
|
|
218
|
+
KMSKeyDetails.add_member(:encryption_option, Shapes::ShapeRef.new(shape: EncryptionOption, location_name: "EncryptionOption"))
|
|
219
|
+
KMSKeyDetails.struct_class = Types::KMSKeyDetails
|
|
220
|
+
|
|
213
221
|
ListCodeReviewsRequest.add_member(:provider_types, Shapes::ShapeRef.new(shape: ProviderTypes, location: "querystring", location_name: "ProviderTypes"))
|
|
214
222
|
ListCodeReviewsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobStates, location: "querystring", location_name: "States"))
|
|
215
223
|
ListCodeReviewsRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNames, location: "querystring", location_name: "RepositoryNames"))
|
|
@@ -330,6 +338,7 @@ module Aws::CodeGuruReviewer
|
|
|
330
338
|
RepositoryAssociation.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "StateReason"))
|
|
331
339
|
RepositoryAssociation.add_member(:last_updated_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdatedTimeStamp"))
|
|
332
340
|
RepositoryAssociation.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreatedTimeStamp"))
|
|
341
|
+
RepositoryAssociation.add_member(:kms_key_details, Shapes::ShapeRef.new(shape: KMSKeyDetails, location_name: "KMSKeyDetails"))
|
|
333
342
|
RepositoryAssociation.struct_class = Types::RepositoryAssociation
|
|
334
343
|
|
|
335
344
|
RepositoryAssociationStates.member = Shapes::ShapeRef.new(shape: RepositoryAssociationState)
|
|
@@ -46,6 +46,10 @@ module Aws::CodeGuruReviewer
|
|
|
46
46
|
# tags: {
|
|
47
47
|
# "TagKey" => "TagValue",
|
|
48
48
|
# },
|
|
49
|
+
# kms_key_details: {
|
|
50
|
+
# kms_key_id: "KMSKeyId",
|
|
51
|
+
# encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
|
|
52
|
+
# },
|
|
49
53
|
# }
|
|
50
54
|
#
|
|
51
55
|
# @!attribute [rw] repository
|
|
@@ -74,12 +78,24 @@ module Aws::CodeGuruReviewer
|
|
|
74
78
|
# values are case sensitive.
|
|
75
79
|
# @return [Hash<String,String>]
|
|
76
80
|
#
|
|
81
|
+
# @!attribute [rw] kms_key_details
|
|
82
|
+
# A `KMSKeyDetails` object that contains:
|
|
83
|
+
#
|
|
84
|
+
# * The encryption option for this repository association. It is
|
|
85
|
+
# either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`)
|
|
86
|
+
# or customer managed (`CUSTOMER_MANAGED_CMK`).
|
|
87
|
+
#
|
|
88
|
+
# * The ID of the AWS KMS key that is associated with this respository
|
|
89
|
+
# association.
|
|
90
|
+
# @return [Types::KMSKeyDetails]
|
|
91
|
+
#
|
|
77
92
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepositoryRequest AWS API Documentation
|
|
78
93
|
#
|
|
79
94
|
class AssociateRepositoryRequest < Struct.new(
|
|
80
95
|
:repository,
|
|
81
96
|
:client_request_token,
|
|
82
|
-
:tags
|
|
97
|
+
:tags,
|
|
98
|
+
:kms_key_details)
|
|
83
99
|
SENSITIVE = []
|
|
84
100
|
include Aws::Structure
|
|
85
101
|
end
|
|
@@ -331,12 +347,12 @@ module Aws::CodeGuruReviewer
|
|
|
331
347
|
# The type of a code review. There are two code review types:
|
|
332
348
|
#
|
|
333
349
|
# * `PullRequest` - A code review that is automatically triggered by a
|
|
334
|
-
# pull request on an
|
|
350
|
+
# pull request on an associated repository. Because this type of code
|
|
335
351
|
# review is automatically generated, you cannot specify this code
|
|
336
352
|
# review type using [ `CreateCodeReview` ][1].
|
|
337
353
|
#
|
|
338
354
|
# * `RepositoryAnalysis` - A code review that analyzes all code under a
|
|
339
|
-
# specified branch in an associated
|
|
355
|
+
# specified branch in an associated repository. The associated
|
|
340
356
|
# repository is specified using its ARN in [ `CreateCodeReview` ][1].
|
|
341
357
|
#
|
|
342
358
|
#
|
|
@@ -356,7 +372,7 @@ module Aws::CodeGuruReviewer
|
|
|
356
372
|
#
|
|
357
373
|
# @!attribute [rw] repository_analysis
|
|
358
374
|
# A code review that analyzes all code under a specified branch in an
|
|
359
|
-
# associated
|
|
375
|
+
# associated repository. The associated repository is specified using
|
|
360
376
|
# its ARN in [ `CreateCodeReview` ][1].
|
|
361
377
|
#
|
|
362
378
|
#
|
|
@@ -700,6 +716,43 @@ module Aws::CodeGuruReviewer
|
|
|
700
716
|
include Aws::Structure
|
|
701
717
|
end
|
|
702
718
|
|
|
719
|
+
# An object that contains:
|
|
720
|
+
#
|
|
721
|
+
# * The encryption option for a repository association. It is either
|
|
722
|
+
# owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
|
|
723
|
+
# customer managed (`CUSTOMER_MANAGED_CMK`).
|
|
724
|
+
#
|
|
725
|
+
# * The ID of the AWS KMS key that is associated with a respository
|
|
726
|
+
# association.
|
|
727
|
+
#
|
|
728
|
+
# @note When making an API call, you may pass KMSKeyDetails
|
|
729
|
+
# data as a hash:
|
|
730
|
+
#
|
|
731
|
+
# {
|
|
732
|
+
# kms_key_id: "KMSKeyId",
|
|
733
|
+
# encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
|
|
734
|
+
# }
|
|
735
|
+
#
|
|
736
|
+
# @!attribute [rw] kms_key_id
|
|
737
|
+
# The ID of the AWS KMS key that is associated with a respository
|
|
738
|
+
# association.
|
|
739
|
+
# @return [String]
|
|
740
|
+
#
|
|
741
|
+
# @!attribute [rw] encryption_option
|
|
742
|
+
# The encryption option for a repository association. It is either
|
|
743
|
+
# owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
|
|
744
|
+
# customer managed (`CUSTOMER_MANAGED_CMK`).
|
|
745
|
+
# @return [String]
|
|
746
|
+
#
|
|
747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/KMSKeyDetails AWS API Documentation
|
|
748
|
+
#
|
|
749
|
+
class KMSKeyDetails < Struct.new(
|
|
750
|
+
:kms_key_id,
|
|
751
|
+
:encryption_option)
|
|
752
|
+
SENSITIVE = []
|
|
753
|
+
include Aws::Structure
|
|
754
|
+
end
|
|
755
|
+
|
|
703
756
|
# @note When making an API call, you may pass ListCodeReviewsRequest
|
|
704
757
|
# data as a hash:
|
|
705
758
|
#
|
|
@@ -1389,7 +1442,7 @@ module Aws::CodeGuruReviewer
|
|
|
1389
1442
|
end
|
|
1390
1443
|
|
|
1391
1444
|
# A code review type that analyzes all code under a specified branch in
|
|
1392
|
-
# an associated
|
|
1445
|
+
# an associated repository. The associated repository is specified using
|
|
1393
1446
|
# its ARN when you call [ `CreateCodeReview` ][1].
|
|
1394
1447
|
#
|
|
1395
1448
|
#
|
|
@@ -1522,6 +1575,17 @@ module Aws::CodeGuruReviewer
|
|
|
1522
1575
|
# association was created.
|
|
1523
1576
|
# @return [Time]
|
|
1524
1577
|
#
|
|
1578
|
+
# @!attribute [rw] kms_key_details
|
|
1579
|
+
# A `KMSKeyDetails` object that contains:
|
|
1580
|
+
#
|
|
1581
|
+
# * The encryption option for this repository association. It is
|
|
1582
|
+
# either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`)
|
|
1583
|
+
# or customer managed (`CUSTOMER_MANAGED_CMK`).
|
|
1584
|
+
#
|
|
1585
|
+
# * The ID of the AWS KMS key that is associated with this respository
|
|
1586
|
+
# association.
|
|
1587
|
+
# @return [Types::KMSKeyDetails]
|
|
1588
|
+
#
|
|
1525
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/RepositoryAssociation AWS API Documentation
|
|
1526
1590
|
#
|
|
1527
1591
|
class RepositoryAssociation < Struct.new(
|
|
@@ -1534,7 +1598,8 @@ module Aws::CodeGuruReviewer
|
|
|
1534
1598
|
:state,
|
|
1535
1599
|
:state_reason,
|
|
1536
1600
|
:last_updated_time_stamp,
|
|
1537
|
-
:created_time_stamp
|
|
1601
|
+
:created_time_stamp,
|
|
1602
|
+
:kms_key_details)
|
|
1538
1603
|
SENSITIVE = []
|
|
1539
1604
|
include Aws::Structure
|
|
1540
1605
|
end
|
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.17.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: 2021-
|
|
11
|
+
date: 2021-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
66
66
|
licenses:
|
|
67
67
|
- Apache-2.0
|
|
68
68
|
metadata:
|
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurureviewer
|
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurureviewer/CHANGELOG.md
|
|
71
71
|
post_install_message:
|
|
72
72
|
rdoc_options: []
|
|
73
73
|
require_paths:
|
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
|
-
|
|
87
|
-
rubygems_version: 2.7.6.2
|
|
86
|
+
rubygems_version: 3.1.6
|
|
88
87
|
signing_key:
|
|
89
88
|
specification_version: 4
|
|
90
89
|
summary: AWS SDK for Ruby - CodeGuruReviewer
|