lib/aws-sdk-codegurureviewer/client.rb in aws-sdk-codegurureviewer-1.16.0 vs lib/aws-sdk-codegurureviewer/client.rb in aws-sdk-codegurureviewer-1.17.0
- old
+ new
@@ -339,12 +339,12 @@
# Region and AWS account where its CodeGuru Reviewer code reviews are
# configured.
#
# Bitbucket and GitHub Enterprise Server repositories are managed by AWS
# CodeStar Connections to connect to CodeGuru Reviewer. For more
- # information, see [Connect to a repository source provider][2] in the
- # *Amazon CodeGuru Reviewer User Guide.*
+ # information, see [Associate a repository][2] in the *Amazon CodeGuru
+ # Reviewer User Guide.*
#
# <note markdown="1"> You cannot use the CodeGuru Reviewer SDK or the AWS CLI to associate a
# GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub
# repository, use the console. For more information, see [Getting
# started with CodeGuru Reviewer][3] in the *CodeGuru Reviewer User
@@ -353,11 +353,11 @@
# </note>
#
#
#
# [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html
- # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/reviewer-ug/step-one.html#select-repository-source-provider
+ # [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html
# [3]: https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html
#
# @option params [required, Types::Repository] :repository
# The repository to associate.
#
@@ -379,10 +379,20 @@
# * An optional field known as a *tag value* (for example,
# `111122223333`, `Production`, or a team name). Omitting the tag
# value is the same as using an empty string. Like tag keys, tag
# values are case sensitive.
#
+ # @option params [Types::KMSKeyDetails] :kms_key_details
+ # A `KMSKeyDetails` object that contains:
+ #
+ # * The encryption option for this repository association. It is either
+ # owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or
+ # customer managed (`CUSTOMER_MANAGED_CMK`).
+ #
+ # * The ID of the AWS KMS key that is associated with this respository
+ # association.
+ #
# @return [Types::AssociateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::AssociateRepositoryResponse#repository_association #repository_association} => Types::RepositoryAssociation
# * {Types::AssociateRepositoryResponse#tags #tags} => Hash<String,String>
#
@@ -406,10 +416,14 @@
# },
# client_request_token: "ClientRequestToken",
# tags: {
# "TagKey" => "TagValue",
# },
+ # kms_key_details: {
+ # kms_key_id: "KMSKeyId",
+ # encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
+ # },
# })
#
# @example Response structure
#
# resp.repository_association.association_id #=> String
@@ -420,10 +434,12 @@
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
# resp.repository_association.state_reason #=> String
# resp.repository_association.last_updated_time_stamp #=> Time
# resp.repository_association.created_time_stamp #=> Time
+ # resp.repository_association.kms_key_details.kms_key_id #=> String
+ # resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
# resp.tags #=> Hash
# resp.tags["TagKey"] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository AWS API Documentation
#
@@ -670,10 +686,12 @@
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
# resp.repository_association.state_reason #=> String
# resp.repository_association.last_updated_time_stamp #=> Time
# resp.repository_association.created_time_stamp #=> Time
+ # resp.repository_association.kms_key_details.kms_key_id #=> String
+ # resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
# resp.tags #=> Hash
# resp.tags["TagKey"] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation AWS API Documentation
#
@@ -718,10 +736,12 @@
# resp.repository_association.provider_type #=> String, one of "CodeCommit", "GitHub", "Bitbucket", "GitHubEnterpriseServer"
# resp.repository_association.state #=> String, one of "Associated", "Associating", "Failed", "Disassociating", "Disassociated"
# resp.repository_association.state_reason #=> String
# resp.repository_association.last_updated_time_stamp #=> Time
# resp.repository_association.created_time_stamp #=> Time
+ # resp.repository_association.kms_key_details.kms_key_id #=> String
+ # resp.repository_association.kms_key_details.encryption_option #=> String, one of "AWS_OWNED_CMK", "CUSTOMER_MANAGED_CMK"
# resp.tags #=> Hash
# resp.tags["TagKey"] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository AWS API Documentation
#
@@ -1235,10 +1255,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-codegurureviewer'
- context[:gem_version] = '1.16.0'
+ context[:gem_version] = '1.17.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated