aws-sdk-codecommit 1.35.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa42e1159e6d2cfeb8ac937f937da0a81a36ad809fd29ec6158dec059a9367b7
4
- data.tar.gz: 99ee1410072ad3f7ae208656ee4d69684a0eb78c4586a5e3264fe50bbedb21dd
3
+ metadata.gz: fcc55fc63d64b1ef29de1e536e83a267f8732e86f87cb7b321e70b25ce3bff99
4
+ data.tar.gz: d8296a60aa297324e216e7913dfc607dd834713a01196a761cf0908a43ecd844
5
5
  SHA512:
6
- metadata.gz: 4c12474f58c00e97e62620d7d0e7ff7ad4663d7edc48349f3b752c61cd568cb60b7ca9da12fa5b46a0804009626d068f98e694e6b5c46be55584dbc0e0c45a67
7
- data.tar.gz: 4968aed5eef88812980bd87d120fd68f7c97e9105441fa26c67c5a1f7bdf58267144165af63734480686327c6322642b29e981f889ed6e01e80381c034a6ebc2
6
+ metadata.gz: d4a5387e8b4f43bf44e11174f9e4333b69ca7e7f7287041ab1c4fe40378c6eaecfd247884d98c7d400a267773ac84d2ea55849bdcc02779581b5fb64ce78cb35
7
+ data.tar.gz: f9e066f448f45ff23a090455cd53fa5371b6c45218b5dafc81067fab9c02a4e9df34326a0f056db7a5d67b400839800f476a9f851e706e5ac35ea2a6fd6fd5ba
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-codecommit/customizations'
47
47
  # @service
48
48
  module Aws::CodeCommit
49
49
 
50
- GEM_VERSION = '1.35.0'
50
+ GEM_VERSION = '1.36.0'
51
51
 
52
52
  end
@@ -730,7 +730,7 @@ module Aws::CodeCommit
730
730
  #
731
731
  #
732
732
  #
733
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
733
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
734
734
  #
735
735
  # @option params [String] :approval_rule_template_description
736
736
  # The description of the approval rule template. Consider providing a
@@ -1050,7 +1050,7 @@ module Aws::CodeCommit
1050
1050
  #
1051
1051
  #
1052
1052
  #
1053
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
1053
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
1054
1054
  #
1055
1055
  # @return [Types::CreatePullRequestApprovalRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1056
1056
  #
@@ -1359,6 +1359,10 @@ module Aws::CodeCommit
1359
1359
  # resp.comment.author_arn #=> String
1360
1360
  # resp.comment.deleted #=> Boolean
1361
1361
  # resp.comment.client_request_token #=> String
1362
+ # resp.comment.caller_reactions #=> Array
1363
+ # resp.comment.caller_reactions[0] #=> String
1364
+ # resp.comment.reaction_counts #=> Hash
1365
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
1362
1366
  #
1363
1367
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent AWS API Documentation
1364
1368
  #
@@ -1892,6 +1896,12 @@ module Aws::CodeCommit
1892
1896
  # Returns the content of a comment made on a change, file, or commit in
1893
1897
  # a repository.
1894
1898
  #
1899
+ # <note markdown="1"> Reaction counts might include numbers from user identities who were
1900
+ # deleted after the reaction was made. For a count of reactions from
1901
+ # active identities, use GetCommentReactions.
1902
+ #
1903
+ # </note>
1904
+ #
1895
1905
  # @option params [required, String] :comment_id
1896
1906
  # The unique, system-generated ID of the comment. To get this ID, use
1897
1907
  # GetCommentsForComparedCommit or GetCommentsForPullRequest.
@@ -1916,6 +1926,10 @@ module Aws::CodeCommit
1916
1926
  # resp.comment.author_arn #=> String
1917
1927
  # resp.comment.deleted #=> Boolean
1918
1928
  # resp.comment.client_request_token #=> String
1929
+ # resp.comment.caller_reactions #=> Array
1930
+ # resp.comment.caller_reactions[0] #=> String
1931
+ # resp.comment.reaction_counts #=> Hash
1932
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
1919
1933
  #
1920
1934
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment AWS API Documentation
1921
1935
  #
@@ -1926,9 +1940,70 @@ module Aws::CodeCommit
1926
1940
  req.send_request(options)
1927
1941
  end
1928
1942
 
1943
+ # Returns information about reactions to a specified comment ID.
1944
+ # Reactions from users who have been deleted will not be included in the
1945
+ # count.
1946
+ #
1947
+ # @option params [required, String] :comment_id
1948
+ # The ID of the comment for which you want to get reactions information.
1949
+ #
1950
+ # @option params [String] :reaction_user_arn
1951
+ # Optional. The Amazon Resource Name (ARN) of the user or identity for
1952
+ # which you want to get reaction information.
1953
+ #
1954
+ # @option params [String] :next_token
1955
+ # An enumeration token that, when provided in a request, returns the
1956
+ # next batch of the results.
1957
+ #
1958
+ # @option params [Integer] :max_results
1959
+ # A non-zero, non-negative integer used to limit the number of returned
1960
+ # results. The default is the same as the allowed maximum, 1,000.
1961
+ #
1962
+ # @return [Types::GetCommentReactionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1963
+ #
1964
+ # * {Types::GetCommentReactionsOutput#reactions_for_comment #reactions_for_comment} => Array&lt;Types::ReactionForComment&gt;
1965
+ # * {Types::GetCommentReactionsOutput#next_token #next_token} => String
1966
+ #
1967
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1968
+ #
1969
+ # @example Request syntax with placeholder values
1970
+ #
1971
+ # resp = client.get_comment_reactions({
1972
+ # comment_id: "CommentId", # required
1973
+ # reaction_user_arn: "Arn",
1974
+ # next_token: "NextToken",
1975
+ # max_results: 1,
1976
+ # })
1977
+ #
1978
+ # @example Response structure
1979
+ #
1980
+ # resp.reactions_for_comment #=> Array
1981
+ # resp.reactions_for_comment[0].reaction.emoji #=> String
1982
+ # resp.reactions_for_comment[0].reaction.short_code #=> String
1983
+ # resp.reactions_for_comment[0].reaction.unicode #=> String
1984
+ # resp.reactions_for_comment[0].reaction_users #=> Array
1985
+ # resp.reactions_for_comment[0].reaction_users[0] #=> String
1986
+ # resp.reactions_for_comment[0].reactions_from_deleted_users_count #=> Integer
1987
+ # resp.next_token #=> String
1988
+ #
1989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions AWS API Documentation
1990
+ #
1991
+ # @overload get_comment_reactions(params = {})
1992
+ # @param [Hash] params ({})
1993
+ def get_comment_reactions(params = {}, options = {})
1994
+ req = build_request(:get_comment_reactions, params)
1995
+ req.send_request(options)
1996
+ end
1997
+
1929
1998
  # Returns information about comments made on the comparison between two
1930
1999
  # commits.
1931
2000
  #
2001
+ # <note markdown="1"> Reaction counts might include numbers from user identities who were
2002
+ # deleted after the reaction was made. For a count of reactions from
2003
+ # active identities, use GetCommentReactions.
2004
+ #
2005
+ # </note>
2006
+ #
1932
2007
  # @option params [required, String] :repository_name
1933
2008
  # The name of the repository where you want to compare commits.
1934
2009
  #
@@ -1985,6 +2060,10 @@ module Aws::CodeCommit
1985
2060
  # resp.comments_for_compared_commit_data[0].comments[0].author_arn #=> String
1986
2061
  # resp.comments_for_compared_commit_data[0].comments[0].deleted #=> Boolean
1987
2062
  # resp.comments_for_compared_commit_data[0].comments[0].client_request_token #=> String
2063
+ # resp.comments_for_compared_commit_data[0].comments[0].caller_reactions #=> Array
2064
+ # resp.comments_for_compared_commit_data[0].comments[0].caller_reactions[0] #=> String
2065
+ # resp.comments_for_compared_commit_data[0].comments[0].reaction_counts #=> Hash
2066
+ # resp.comments_for_compared_commit_data[0].comments[0].reaction_counts["ReactionValue"] #=> Integer
1988
2067
  # resp.next_token #=> String
1989
2068
  #
1990
2069
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit AWS API Documentation
@@ -1998,6 +2077,12 @@ module Aws::CodeCommit
1998
2077
 
1999
2078
  # Returns comments made on a pull request.
2000
2079
  #
2080
+ # <note markdown="1"> Reaction counts might include numbers from user identities who were
2081
+ # deleted after the reaction was made. For a count of reactions from
2082
+ # active identities, use GetCommentReactions.
2083
+ #
2084
+ # </note>
2085
+ #
2001
2086
  # @option params [required, String] :pull_request_id
2002
2087
  # The system-generated ID of the pull request. To get this ID, use
2003
2088
  # ListPullRequests.
@@ -2061,6 +2146,10 @@ module Aws::CodeCommit
2061
2146
  # resp.comments_for_pull_request_data[0].comments[0].author_arn #=> String
2062
2147
  # resp.comments_for_pull_request_data[0].comments[0].deleted #=> Boolean
2063
2148
  # resp.comments_for_pull_request_data[0].comments[0].client_request_token #=> String
2149
+ # resp.comments_for_pull_request_data[0].comments[0].caller_reactions #=> Array
2150
+ # resp.comments_for_pull_request_data[0].comments[0].caller_reactions[0] #=> String
2151
+ # resp.comments_for_pull_request_data[0].comments[0].reaction_counts #=> Hash
2152
+ # resp.comments_for_pull_request_data[0].comments[0].reaction_counts["ReactionValue"] #=> Integer
2064
2153
  # resp.next_token #=> String
2065
2154
  #
2066
2155
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest AWS API Documentation
@@ -3767,6 +3856,10 @@ module Aws::CodeCommit
3767
3856
  # resp.comment.author_arn #=> String
3768
3857
  # resp.comment.deleted #=> Boolean
3769
3858
  # resp.comment.client_request_token #=> String
3859
+ # resp.comment.caller_reactions #=> Array
3860
+ # resp.comment.caller_reactions[0] #=> String
3861
+ # resp.comment.reaction_counts #=> Hash
3862
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
3770
3863
  #
3771
3864
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit AWS API Documentation
3772
3865
  #
@@ -3861,6 +3954,10 @@ module Aws::CodeCommit
3861
3954
  # resp.comment.author_arn #=> String
3862
3955
  # resp.comment.deleted #=> Boolean
3863
3956
  # resp.comment.client_request_token #=> String
3957
+ # resp.comment.caller_reactions #=> Array
3958
+ # resp.comment.caller_reactions[0] #=> String
3959
+ # resp.comment.reaction_counts #=> Hash
3960
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
3864
3961
  #
3865
3962
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest AWS API Documentation
3866
3963
  #
@@ -3914,6 +4011,10 @@ module Aws::CodeCommit
3914
4011
  # resp.comment.author_arn #=> String
3915
4012
  # resp.comment.deleted #=> Boolean
3916
4013
  # resp.comment.client_request_token #=> String
4014
+ # resp.comment.caller_reactions #=> Array
4015
+ # resp.comment.caller_reactions[0] #=> String
4016
+ # resp.comment.reaction_counts #=> Hash
4017
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
3917
4018
  #
3918
4019
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply AWS API Documentation
3919
4020
  #
@@ -3924,6 +4025,42 @@ module Aws::CodeCommit
3924
4025
  req.send_request(options)
3925
4026
  end
3926
4027
 
4028
+ # Adds or updates a reaction to a specified comment for the user whose
4029
+ # identity is used to make the request. You can only add or update a
4030
+ # reaction for yourself. You cannot add, modify, or delete a reaction
4031
+ # for another user.
4032
+ #
4033
+ # @option params [required, String] :comment_id
4034
+ # The ID of the comment to which you want to add or update a reaction.
4035
+ #
4036
+ # @option params [required, String] :reaction_value
4037
+ # The emoji reaction you want to add or update. To remove a reaction,
4038
+ # provide a value of blank or null. You can also provide the value of
4039
+ # none. For information about emoji reaction values supported in AWS
4040
+ # CodeCommit, see the [AWS CodeCommit User Guide][1].
4041
+ #
4042
+ #
4043
+ #
4044
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table
4045
+ #
4046
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4047
+ #
4048
+ # @example Request syntax with placeholder values
4049
+ #
4050
+ # resp = client.put_comment_reaction({
4051
+ # comment_id: "CommentId", # required
4052
+ # reaction_value: "ReactionValue", # required
4053
+ # })
4054
+ #
4055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction AWS API Documentation
4056
+ #
4057
+ # @overload put_comment_reaction(params = {})
4058
+ # @param [Hash] params ({})
4059
+ def put_comment_reaction(params = {}, options = {})
4060
+ req = build_request(:put_comment_reaction, params)
4061
+ req.send_request(options)
4062
+ end
4063
+
3927
4064
  # Adds or updates a file in a branch in an AWS CodeCommit repository,
3928
4065
  # and generates a commit for the addition in the specified branch.
3929
4066
  #
@@ -4322,6 +4459,10 @@ module Aws::CodeCommit
4322
4459
  # resp.comment.author_arn #=> String
4323
4460
  # resp.comment.deleted #=> Boolean
4324
4461
  # resp.comment.client_request_token #=> String
4462
+ # resp.comment.caller_reactions #=> Array
4463
+ # resp.comment.caller_reactions[0] #=> String
4464
+ # resp.comment.reaction_counts #=> Hash
4465
+ # resp.comment.reaction_counts["ReactionValue"] #=> Integer
4325
4466
  #
4326
4467
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment AWS API Documentation
4327
4468
  #
@@ -4414,7 +4555,7 @@ module Aws::CodeCommit
4414
4555
  #
4415
4556
  #
4416
4557
  #
4417
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
4558
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
4418
4559
  #
4419
4560
  # @return [Types::UpdatePullRequestApprovalRuleContentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4420
4561
  #
@@ -4756,7 +4897,7 @@ module Aws::CodeCommit
4756
4897
  params: params,
4757
4898
  config: config)
4758
4899
  context[:gem_name] = 'aws-sdk-codecommit'
4759
- context[:gem_version] = '1.35.0'
4900
+ context[:gem_version] = '1.36.0'
4760
4901
  Seahorse::Client::Request.new(handlers, context)
4761
4902
  end
4762
4903
 
@@ -78,6 +78,7 @@ module Aws::CodeCommit
78
78
  BranchNameIsTagNameException = Shapes::StructureShape.new(name: 'BranchNameIsTagNameException')
79
79
  BranchNameList = Shapes::ListShape.new(name: 'BranchNameList')
80
80
  BranchNameRequiredException = Shapes::StructureShape.new(name: 'BranchNameRequiredException')
81
+ CallerReactions = Shapes::ListShape.new(name: 'CallerReactions')
81
82
  CannotDeleteApprovalRuleFromTemplateException = Shapes::StructureShape.new(name: 'CannotDeleteApprovalRuleFromTemplateException')
82
83
  CannotModifyApprovalRuleFromTemplateException = Shapes::StructureShape.new(name: 'CannotModifyApprovalRuleFromTemplateException')
83
84
  CapitalBoolean = Shapes::BooleanShape.new(name: 'CapitalBoolean')
@@ -120,6 +121,7 @@ module Aws::CodeCommit
120
121
  ConflictResolutionStrategyTypeEnum = Shapes::StringShape.new(name: 'ConflictResolutionStrategyTypeEnum')
121
122
  Conflicts = Shapes::ListShape.new(name: 'Conflicts')
122
123
  Content = Shapes::StringShape.new(name: 'Content')
124
+ Count = Shapes::IntegerShape.new(name: 'Count')
123
125
  CreateApprovalRuleTemplateInput = Shapes::StructureShape.new(name: 'CreateApprovalRuleTemplateInput')
124
126
  CreateApprovalRuleTemplateOutput = Shapes::StructureShape.new(name: 'CreateApprovalRuleTemplateOutput')
125
127
  CreateBranchInput = Shapes::StructureShape.new(name: 'CreateBranchInput')
@@ -203,6 +205,8 @@ module Aws::CodeCommit
203
205
  GetBranchOutput = Shapes::StructureShape.new(name: 'GetBranchOutput')
204
206
  GetCommentInput = Shapes::StructureShape.new(name: 'GetCommentInput')
205
207
  GetCommentOutput = Shapes::StructureShape.new(name: 'GetCommentOutput')
208
+ GetCommentReactionsInput = Shapes::StructureShape.new(name: 'GetCommentReactionsInput')
209
+ GetCommentReactionsOutput = Shapes::StructureShape.new(name: 'GetCommentReactionsOutput')
206
210
  GetCommentsForComparedCommitInput = Shapes::StructureShape.new(name: 'GetCommentsForComparedCommitInput')
207
211
  GetCommentsForComparedCommitOutput = Shapes::StructureShape.new(name: 'GetCommentsForComparedCommitOutput')
208
212
  GetCommentsForPullRequestInput = Shapes::StructureShape.new(name: 'GetCommentsForPullRequestInput')
@@ -270,6 +274,8 @@ module Aws::CodeCommit
270
274
  InvalidPullRequestIdException = Shapes::StructureShape.new(name: 'InvalidPullRequestIdException')
271
275
  InvalidPullRequestStatusException = Shapes::StructureShape.new(name: 'InvalidPullRequestStatusException')
272
276
  InvalidPullRequestStatusUpdateException = Shapes::StructureShape.new(name: 'InvalidPullRequestStatusUpdateException')
277
+ InvalidReactionUserArnException = Shapes::StructureShape.new(name: 'InvalidReactionUserArnException')
278
+ InvalidReactionValueException = Shapes::StructureShape.new(name: 'InvalidReactionValueException')
273
279
  InvalidReferenceNameException = Shapes::StructureShape.new(name: 'InvalidReferenceNameException')
274
280
  InvalidRelativeFileVersionEnumException = Shapes::StructureShape.new(name: 'InvalidRelativeFileVersionEnumException')
275
281
  InvalidReplacementContentException = Shapes::StructureShape.new(name: 'InvalidReplacementContentException')
@@ -409,6 +415,7 @@ module Aws::CodeCommit
409
415
  PullRequestStatusRequiredException = Shapes::StructureShape.new(name: 'PullRequestStatusRequiredException')
410
416
  PullRequestTarget = Shapes::StructureShape.new(name: 'PullRequestTarget')
411
417
  PullRequestTargetList = Shapes::ListShape.new(name: 'PullRequestTargetList')
418
+ PutCommentReactionInput = Shapes::StructureShape.new(name: 'PutCommentReactionInput')
412
419
  PutFileEntries = Shapes::ListShape.new(name: 'PutFileEntries')
413
420
  PutFileEntry = Shapes::StructureShape.new(name: 'PutFileEntry')
414
421
  PutFileEntryConflictException = Shapes::StructureShape.new(name: 'PutFileEntryConflictException')
@@ -416,6 +423,17 @@ module Aws::CodeCommit
416
423
  PutFileOutput = Shapes::StructureShape.new(name: 'PutFileOutput')
417
424
  PutRepositoryTriggersInput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersInput')
418
425
  PutRepositoryTriggersOutput = Shapes::StructureShape.new(name: 'PutRepositoryTriggersOutput')
426
+ ReactionCountsMap = Shapes::MapShape.new(name: 'ReactionCountsMap')
427
+ ReactionEmoji = Shapes::StringShape.new(name: 'ReactionEmoji')
428
+ ReactionForComment = Shapes::StructureShape.new(name: 'ReactionForComment')
429
+ ReactionLimitExceededException = Shapes::StructureShape.new(name: 'ReactionLimitExceededException')
430
+ ReactionShortCode = Shapes::StringShape.new(name: 'ReactionShortCode')
431
+ ReactionUnicode = Shapes::StringShape.new(name: 'ReactionUnicode')
432
+ ReactionUsersList = Shapes::ListShape.new(name: 'ReactionUsersList')
433
+ ReactionValue = Shapes::StringShape.new(name: 'ReactionValue')
434
+ ReactionValueFormats = Shapes::StructureShape.new(name: 'ReactionValueFormats')
435
+ ReactionValueRequiredException = Shapes::StructureShape.new(name: 'ReactionValueRequiredException')
436
+ ReactionsForCommentList = Shapes::ListShape.new(name: 'ReactionsForCommentList')
419
437
  ReferenceDoesNotExistException = Shapes::StructureShape.new(name: 'ReferenceDoesNotExistException')
420
438
  ReferenceName = Shapes::StringShape.new(name: 'ReferenceName')
421
439
  ReferenceNameRequiredException = Shapes::StructureShape.new(name: 'ReferenceNameRequiredException')
@@ -698,6 +716,8 @@ module Aws::CodeCommit
698
716
 
699
717
  BranchNameRequiredException.struct_class = Types::BranchNameRequiredException
700
718
 
719
+ CallerReactions.member = Shapes::ShapeRef.new(shape: ReactionValue)
720
+
701
721
  CannotDeleteApprovalRuleFromTemplateException.struct_class = Types::CannotDeleteApprovalRuleFromTemplateException
702
722
 
703
723
  CannotModifyApprovalRuleFromTemplateException.struct_class = Types::CannotModifyApprovalRuleFromTemplateException
@@ -712,6 +732,8 @@ module Aws::CodeCommit
712
732
  Comment.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
713
733
  Comment.add_member(:deleted, Shapes::ShapeRef.new(shape: IsCommentDeleted, location_name: "deleted"))
714
734
  Comment.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
735
+ Comment.add_member(:caller_reactions, Shapes::ShapeRef.new(shape: CallerReactions, location_name: "callerReactions"))
736
+ Comment.add_member(:reaction_counts, Shapes::ShapeRef.new(shape: ReactionCountsMap, location_name: "reactionCounts"))
715
737
  Comment.struct_class = Types::Comment
716
738
 
717
739
  CommentContentRequiredException.struct_class = Types::CommentContentRequiredException
@@ -1082,6 +1104,16 @@ module Aws::CodeCommit
1082
1104
  GetCommentOutput.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
1083
1105
  GetCommentOutput.struct_class = Types::GetCommentOutput
1084
1106
 
1107
+ GetCommentReactionsInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
1108
+ GetCommentReactionsInput.add_member(:reaction_user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "reactionUserArn"))
1109
+ GetCommentReactionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1110
+ GetCommentReactionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1111
+ GetCommentReactionsInput.struct_class = Types::GetCommentReactionsInput
1112
+
1113
+ GetCommentReactionsOutput.add_member(:reactions_for_comment, Shapes::ShapeRef.new(shape: ReactionsForCommentList, required: true, location_name: "reactionsForComment"))
1114
+ GetCommentReactionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1115
+ GetCommentReactionsOutput.struct_class = Types::GetCommentReactionsOutput
1116
+
1085
1117
  GetCommentsForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1086
1118
  GetCommentsForComparedCommitInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
1087
1119
  GetCommentsForComparedCommitInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
@@ -1306,6 +1338,10 @@ module Aws::CodeCommit
1306
1338
 
1307
1339
  InvalidPullRequestStatusUpdateException.struct_class = Types::InvalidPullRequestStatusUpdateException
1308
1340
 
1341
+ InvalidReactionUserArnException.struct_class = Types::InvalidReactionUserArnException
1342
+
1343
+ InvalidReactionValueException.struct_class = Types::InvalidReactionValueException
1344
+
1309
1345
  InvalidReferenceNameException.struct_class = Types::InvalidReferenceNameException
1310
1346
 
1311
1347
  InvalidRelativeFileVersionEnumException.struct_class = Types::InvalidRelativeFileVersionEnumException
@@ -1716,6 +1752,10 @@ module Aws::CodeCommit
1716
1752
 
1717
1753
  PullRequestTargetList.member = Shapes::ShapeRef.new(shape: PullRequestTarget)
1718
1754
 
1755
+ PutCommentReactionInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
1756
+ PutCommentReactionInput.add_member(:reaction_value, Shapes::ShapeRef.new(shape: ReactionValue, required: true, location_name: "reactionValue"))
1757
+ PutCommentReactionInput.struct_class = Types::PutCommentReactionInput
1758
+
1719
1759
  PutFileEntries.member = Shapes::ShapeRef.new(shape: PutFileEntry)
1720
1760
 
1721
1761
  PutFileEntry.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
@@ -1749,6 +1789,27 @@ module Aws::CodeCommit
1749
1789
  PutRepositoryTriggersOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: RepositoryTriggersConfigurationId, location_name: "configurationId"))
1750
1790
  PutRepositoryTriggersOutput.struct_class = Types::PutRepositoryTriggersOutput
1751
1791
 
1792
+ ReactionCountsMap.key = Shapes::ShapeRef.new(shape: ReactionValue)
1793
+ ReactionCountsMap.value = Shapes::ShapeRef.new(shape: Count)
1794
+
1795
+ ReactionForComment.add_member(:reaction, Shapes::ShapeRef.new(shape: ReactionValueFormats, location_name: "reaction"))
1796
+ ReactionForComment.add_member(:reaction_users, Shapes::ShapeRef.new(shape: ReactionUsersList, location_name: "reactionUsers"))
1797
+ ReactionForComment.add_member(:reactions_from_deleted_users_count, Shapes::ShapeRef.new(shape: Count, location_name: "reactionsFromDeletedUsersCount"))
1798
+ ReactionForComment.struct_class = Types::ReactionForComment
1799
+
1800
+ ReactionLimitExceededException.struct_class = Types::ReactionLimitExceededException
1801
+
1802
+ ReactionUsersList.member = Shapes::ShapeRef.new(shape: Arn)
1803
+
1804
+ ReactionValueFormats.add_member(:emoji, Shapes::ShapeRef.new(shape: ReactionEmoji, location_name: "emoji"))
1805
+ ReactionValueFormats.add_member(:short_code, Shapes::ShapeRef.new(shape: ReactionShortCode, location_name: "shortCode"))
1806
+ ReactionValueFormats.add_member(:unicode, Shapes::ShapeRef.new(shape: ReactionUnicode, location_name: "unicode"))
1807
+ ReactionValueFormats.struct_class = Types::ReactionValueFormats
1808
+
1809
+ ReactionValueRequiredException.struct_class = Types::ReactionValueRequiredException
1810
+
1811
+ ReactionsForCommentList.member = Shapes::ShapeRef.new(shape: ReactionForComment)
1812
+
1752
1813
  ReferenceDoesNotExistException.struct_class = Types::ReferenceDoesNotExistException
1753
1814
 
1754
1815
  ReferenceNameRequiredException.struct_class = Types::ReferenceNameRequiredException
@@ -2609,9 +2670,35 @@ module Aws::CodeCommit
2609
2670
  o.input = Shapes::ShapeRef.new(shape: GetCommentInput)
2610
2671
  o.output = Shapes::ShapeRef.new(shape: GetCommentOutput)
2611
2672
  o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
2673
+ o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
2674
+ o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
2675
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
2676
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2677
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2678
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2679
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2680
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2681
+ end)
2682
+
2683
+ api.add_operation(:get_comment_reactions, Seahorse::Model::Operation.new.tap do |o|
2684
+ o.name = "GetCommentReactions"
2685
+ o.http_method = "POST"
2686
+ o.http_request_uri = "/"
2687
+ o.input = Shapes::ShapeRef.new(shape: GetCommentReactionsInput)
2688
+ o.output = Shapes::ShapeRef.new(shape: GetCommentReactionsOutput)
2689
+ o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
2612
2690
  o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
2613
2691
  o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
2692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReactionUserArnException)
2693
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2694
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2614
2695
  o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
2696
+ o[:pager] = Aws::Pager.new(
2697
+ limit_key: "max_results",
2698
+ tokens: {
2699
+ "next_token" => "next_token"
2700
+ }
2701
+ )
2615
2702
  end)
2616
2703
 
2617
2704
  api.add_operation(:get_comments_for_compared_commit, Seahorse::Model::Operation.new.tap do |o|
@@ -3353,15 +3440,16 @@ module Aws::CodeCommit
3353
3440
  o.errors << Shapes::ShapeRef.new(shape: InvalidFilePositionException)
3354
3441
  o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
3355
3442
  o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
3443
+ o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
3356
3444
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3357
3445
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3358
3446
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3359
3447
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3360
3448
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3361
- o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
3362
3449
  o.errors << Shapes::ShapeRef.new(shape: CommitDoesNotExistException)
3363
3450
  o.errors << Shapes::ShapeRef.new(shape: InvalidPathException)
3364
3451
  o.errors << Shapes::ShapeRef.new(shape: PathDoesNotExistException)
3452
+ o.errors << Shapes::ShapeRef.new(shape: PathRequiredException)
3365
3453
  end)
3366
3454
 
3367
3455
  api.add_operation(:post_comment_for_pull_request, Seahorse::Model::Operation.new.tap do |o|
@@ -3388,6 +3476,7 @@ module Aws::CodeCommit
3388
3476
  o.errors << Shapes::ShapeRef.new(shape: InvalidFilePositionException)
3389
3477
  o.errors << Shapes::ShapeRef.new(shape: CommitIdRequiredException)
3390
3478
  o.errors << Shapes::ShapeRef.new(shape: InvalidCommitIdException)
3479
+ o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
3391
3480
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3392
3481
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3393
3482
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -3397,7 +3486,6 @@ module Aws::CodeCommit
3397
3486
  o.errors << Shapes::ShapeRef.new(shape: InvalidPathException)
3398
3487
  o.errors << Shapes::ShapeRef.new(shape: PathDoesNotExistException)
3399
3488
  o.errors << Shapes::ShapeRef.new(shape: PathRequiredException)
3400
- o.errors << Shapes::ShapeRef.new(shape: BeforeCommitIdAndAfterCommitIdAreSameException)
3401
3489
  end)
3402
3490
 
3403
3491
  api.add_operation(:post_comment_reply, Seahorse::Model::Operation.new.tap do |o|
@@ -3416,6 +3504,21 @@ module Aws::CodeCommit
3416
3504
  o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
3417
3505
  end)
3418
3506
 
3507
+ api.add_operation(:put_comment_reaction, Seahorse::Model::Operation.new.tap do |o|
3508
+ o.name = "PutCommentReaction"
3509
+ o.http_method = "POST"
3510
+ o.http_request_uri = "/"
3511
+ o.input = Shapes::ShapeRef.new(shape: PutCommentReactionInput)
3512
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3513
+ o.errors << Shapes::ShapeRef.new(shape: CommentDoesNotExistException)
3514
+ o.errors << Shapes::ShapeRef.new(shape: CommentIdRequiredException)
3515
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCommentIdException)
3516
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReactionValueException)
3517
+ o.errors << Shapes::ShapeRef.new(shape: ReactionValueRequiredException)
3518
+ o.errors << Shapes::ShapeRef.new(shape: ReactionLimitExceededException)
3519
+ o.errors << Shapes::ShapeRef.new(shape: CommentDeletedException)
3520
+ end)
3521
+
3419
3522
  api.add_operation(:put_file, Seahorse::Model::Operation.new.tap do |o|
3420
3523
  o.name = "PutFile"
3421
3524
  o.http_method = "POST"
@@ -119,6 +119,8 @@ module Aws::CodeCommit
119
119
  # * {InvalidPullRequestIdException}
120
120
  # * {InvalidPullRequestStatusException}
121
121
  # * {InvalidPullRequestStatusUpdateException}
122
+ # * {InvalidReactionUserArnException}
123
+ # * {InvalidReactionValueException}
122
124
  # * {InvalidReferenceNameException}
123
125
  # * {InvalidRelativeFileVersionEnumException}
124
126
  # * {InvalidReplacementContentException}
@@ -175,6 +177,8 @@ module Aws::CodeCommit
175
177
  # * {PullRequestIdRequiredException}
176
178
  # * {PullRequestStatusRequiredException}
177
179
  # * {PutFileEntryConflictException}
180
+ # * {ReactionLimitExceededException}
181
+ # * {ReactionValueRequiredException}
178
182
  # * {ReferenceDoesNotExistException}
179
183
  # * {ReferenceNameRequiredException}
180
184
  # * {ReferenceTypeNotSupportedException}
@@ -1135,6 +1139,26 @@ module Aws::CodeCommit
1135
1139
  end
1136
1140
  end
1137
1141
 
1142
+ class InvalidReactionUserArnException < ServiceError
1143
+
1144
+ # @param [Seahorse::Client::RequestContext] context
1145
+ # @param [String] message
1146
+ # @param [Aws::CodeCommit::Types::InvalidReactionUserArnException] data
1147
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1148
+ super(context, message, data)
1149
+ end
1150
+ end
1151
+
1152
+ class InvalidReactionValueException < ServiceError
1153
+
1154
+ # @param [Seahorse::Client::RequestContext] context
1155
+ # @param [String] message
1156
+ # @param [Aws::CodeCommit::Types::InvalidReactionValueException] data
1157
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1158
+ super(context, message, data)
1159
+ end
1160
+ end
1161
+
1138
1162
  class InvalidReferenceNameException < ServiceError
1139
1163
 
1140
1164
  # @param [Seahorse::Client::RequestContext] context
@@ -1695,6 +1719,26 @@ module Aws::CodeCommit
1695
1719
  end
1696
1720
  end
1697
1721
 
1722
+ class ReactionLimitExceededException < ServiceError
1723
+
1724
+ # @param [Seahorse::Client::RequestContext] context
1725
+ # @param [String] message
1726
+ # @param [Aws::CodeCommit::Types::ReactionLimitExceededException] data
1727
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1728
+ super(context, message, data)
1729
+ end
1730
+ end
1731
+
1732
+ class ReactionValueRequiredException < ServiceError
1733
+
1734
+ # @param [Seahorse::Client::RequestContext] context
1735
+ # @param [String] message
1736
+ # @param [Aws::CodeCommit::Types::ReactionValueRequiredException] data
1737
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1738
+ super(context, message, data)
1739
+ end
1740
+ end
1741
+
1698
1742
  class ReferenceDoesNotExistException < ServiceError
1699
1743
 
1700
1744
  # @param [Seahorse::Client::RequestContext] context
@@ -821,7 +821,9 @@ module Aws::CodeCommit
821
821
  include Aws::Structure
822
822
  end
823
823
 
824
- # The specified branch name already exists.
824
+ # Cannot create the branch with the specified name because the commit
825
+ # conflicts with an existing branch with the same name. Branch names
826
+ # must be unique.
825
827
  #
826
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameExistsException AWS API Documentation
827
829
  #
@@ -907,6 +909,16 @@ module Aws::CodeCommit
907
909
  # request that used that token.
908
910
  # @return [String]
909
911
  #
912
+ # @!attribute [rw] caller_reactions
913
+ # The emoji reactions to a comment, if any, submitted by the user
914
+ # whose credentials are associated with the call to the API.
915
+ # @return [Array<String>]
916
+ #
917
+ # @!attribute [rw] reaction_counts
918
+ # A string to integer map that represents the number of individual
919
+ # users who have responded to a comment with the specified reactions.
920
+ # @return [Hash<String,Integer>]
921
+ #
910
922
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment AWS API Documentation
911
923
  #
912
924
  class Comment < Struct.new(
@@ -917,7 +929,9 @@ module Aws::CodeCommit
917
929
  :last_modified_date,
918
930
  :author_arn,
919
931
  :deleted,
920
- :client_request_token)
932
+ :client_request_token,
933
+ :caller_reactions,
934
+ :reaction_counts)
921
935
  SENSITIVE = []
922
936
  include Aws::Structure
923
937
  end
@@ -1381,7 +1395,7 @@ module Aws::CodeCommit
1381
1395
  #
1382
1396
  #
1383
1397
  #
1384
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
1398
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
1385
1399
  # @return [String]
1386
1400
  #
1387
1401
  # @!attribute [rw] approval_rule_template_description
@@ -1637,7 +1651,7 @@ module Aws::CodeCommit
1637
1651
  #
1638
1652
  #
1639
1653
  #
1640
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
1654
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
1641
1655
  # @return [String]
1642
1656
  #
1643
1657
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleInput AWS API Documentation
@@ -2983,6 +2997,66 @@ module Aws::CodeCommit
2983
2997
  include Aws::Structure
2984
2998
  end
2985
2999
 
3000
+ # @note When making an API call, you may pass GetCommentReactionsInput
3001
+ # data as a hash:
3002
+ #
3003
+ # {
3004
+ # comment_id: "CommentId", # required
3005
+ # reaction_user_arn: "Arn",
3006
+ # next_token: "NextToken",
3007
+ # max_results: 1,
3008
+ # }
3009
+ #
3010
+ # @!attribute [rw] comment_id
3011
+ # The ID of the comment for which you want to get reactions
3012
+ # information.
3013
+ # @return [String]
3014
+ #
3015
+ # @!attribute [rw] reaction_user_arn
3016
+ # Optional. The Amazon Resource Name (ARN) of the user or identity for
3017
+ # which you want to get reaction information.
3018
+ # @return [String]
3019
+ #
3020
+ # @!attribute [rw] next_token
3021
+ # An enumeration token that, when provided in a request, returns the
3022
+ # next batch of the results.
3023
+ # @return [String]
3024
+ #
3025
+ # @!attribute [rw] max_results
3026
+ # A non-zero, non-negative integer used to limit the number of
3027
+ # returned results. The default is the same as the allowed maximum,
3028
+ # 1,000.
3029
+ # @return [Integer]
3030
+ #
3031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactionsInput AWS API Documentation
3032
+ #
3033
+ class GetCommentReactionsInput < Struct.new(
3034
+ :comment_id,
3035
+ :reaction_user_arn,
3036
+ :next_token,
3037
+ :max_results)
3038
+ SENSITIVE = []
3039
+ include Aws::Structure
3040
+ end
3041
+
3042
+ # @!attribute [rw] reactions_for_comment
3043
+ # An array of reactions to the specified comment.
3044
+ # @return [Array<Types::ReactionForComment>]
3045
+ #
3046
+ # @!attribute [rw] next_token
3047
+ # An enumeration token that can be used in a request to return the
3048
+ # next batch of the results.
3049
+ # @return [String]
3050
+ #
3051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactionsOutput AWS API Documentation
3052
+ #
3053
+ class GetCommentReactionsOutput < Struct.new(
3054
+ :reactions_for_comment,
3055
+ :next_token)
3056
+ SENSITIVE = []
3057
+ include Aws::Structure
3058
+ end
3059
+
2986
3060
  # @note When making an API call, you may pass GetCommentsForComparedCommitInput
2987
3061
  # data as a hash:
2988
3062
  #
@@ -4155,6 +4229,23 @@ module Aws::CodeCommit
4155
4229
  #
4156
4230
  class InvalidPullRequestStatusUpdateException < Aws::EmptyStructure; end
4157
4231
 
4232
+ # The Amazon Resource Name (ARN) of the user or identity is not valid.
4233
+ #
4234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReactionUserArnException AWS API Documentation
4235
+ #
4236
+ class InvalidReactionUserArnException < Aws::EmptyStructure; end
4237
+
4238
+ # The value of the reaction is not valid. For more information, see the
4239
+ # [AWS CodeCommit User Guide][1].
4240
+ #
4241
+ #
4242
+ #
4243
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
4244
+ #
4245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReactionValueException AWS API Documentation
4246
+ #
4247
+ class InvalidReactionValueException < Aws::EmptyStructure; end
4248
+
4158
4249
  # The specified reference name format is not valid. Reference names must
4159
4250
  # conform to the Git references format (for example, refs/heads/master).
4160
4251
  # For more information, see [Git Internals - Git References][1] or
@@ -6390,6 +6481,38 @@ module Aws::CodeCommit
6390
6481
  include Aws::Structure
6391
6482
  end
6392
6483
 
6484
+ # @note When making an API call, you may pass PutCommentReactionInput
6485
+ # data as a hash:
6486
+ #
6487
+ # {
6488
+ # comment_id: "CommentId", # required
6489
+ # reaction_value: "ReactionValue", # required
6490
+ # }
6491
+ #
6492
+ # @!attribute [rw] comment_id
6493
+ # The ID of the comment to which you want to add or update a reaction.
6494
+ # @return [String]
6495
+ #
6496
+ # @!attribute [rw] reaction_value
6497
+ # The emoji reaction you want to add or update. To remove a reaction,
6498
+ # provide a value of blank or null. You can also provide the value of
6499
+ # none. For information about emoji reaction values supported in AWS
6500
+ # CodeCommit, see the [AWS CodeCommit User Guide][1].
6501
+ #
6502
+ #
6503
+ #
6504
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table
6505
+ # @return [String]
6506
+ #
6507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReactionInput AWS API Documentation
6508
+ #
6509
+ class PutCommentReactionInput < Struct.new(
6510
+ :comment_id,
6511
+ :reaction_value)
6512
+ SENSITIVE = []
6513
+ include Aws::Structure
6514
+ end
6515
+
6393
6516
  # Information about a file added or updated as part of a commit.
6394
6517
  #
6395
6518
  # @note When making an API call, you may pass PutFileEntry
@@ -6602,6 +6725,74 @@ module Aws::CodeCommit
6602
6725
  include Aws::Structure
6603
6726
  end
6604
6727
 
6728
+ # Information about the reaction values provided by users on a comment.
6729
+ #
6730
+ # @!attribute [rw] reaction
6731
+ # The reaction for a specified comment.
6732
+ # @return [Types::ReactionValueFormats]
6733
+ #
6734
+ # @!attribute [rw] reaction_users
6735
+ # The Amazon Resource Names (ARNs) of users who have provided
6736
+ # reactions to the comment.
6737
+ # @return [Array<String>]
6738
+ #
6739
+ # @!attribute [rw] reactions_from_deleted_users_count
6740
+ # A numerical count of users who reacted with the specified emoji
6741
+ # whose identities have been subsequently deleted from IAM. While
6742
+ # these IAM users or roles no longer exist, the reactions might still
6743
+ # appear in total reaction counts.
6744
+ # @return [Integer]
6745
+ #
6746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReactionForComment AWS API Documentation
6747
+ #
6748
+ class ReactionForComment < Struct.new(
6749
+ :reaction,
6750
+ :reaction_users,
6751
+ :reactions_from_deleted_users_count)
6752
+ SENSITIVE = []
6753
+ include Aws::Structure
6754
+ end
6755
+
6756
+ # The number of reactions has been exceeded. Reactions are limited to
6757
+ # one reaction per user for each individual comment ID.
6758
+ #
6759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReactionLimitExceededException AWS API Documentation
6760
+ #
6761
+ class ReactionLimitExceededException < Aws::EmptyStructure; end
6762
+
6763
+ # Information about the values for reactions to a comment. AWS
6764
+ # CodeCommit supports a limited set of reactions.
6765
+ #
6766
+ # @!attribute [rw] emoji
6767
+ # The Emoji Version 1.0 graphic of the reaction. These graphics are
6768
+ # interpreted slightly differently on different operating systems.
6769
+ # @return [String]
6770
+ #
6771
+ # @!attribute [rw] short_code
6772
+ # The emoji short code for the reaction. Short codes are interpreted
6773
+ # slightly differently on different operating systems.
6774
+ # @return [String]
6775
+ #
6776
+ # @!attribute [rw] unicode
6777
+ # The Unicode codepoint for the reaction.
6778
+ # @return [String]
6779
+ #
6780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReactionValueFormats AWS API Documentation
6781
+ #
6782
+ class ReactionValueFormats < Struct.new(
6783
+ :emoji,
6784
+ :short_code,
6785
+ :unicode)
6786
+ SENSITIVE = []
6787
+ include Aws::Structure
6788
+ end
6789
+
6790
+ # A reaction value is required.
6791
+ #
6792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReactionValueRequiredException AWS API Documentation
6793
+ #
6794
+ class ReactionValueRequiredException < Aws::EmptyStructure; end
6795
+
6605
6796
  # The specified reference does not exist. You must provide a full commit
6606
6797
  # ID.
6607
6798
  #
@@ -7539,7 +7730,7 @@ module Aws::CodeCommit
7539
7730
  #
7540
7731
  #
7541
7732
  #
7542
- # [1]: https://docs.aws.amazon.com/iam/latest/UserGuide/reference_identifiers.html
7733
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
7543
7734
  # @return [String]
7544
7735
  #
7545
7736
  # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContentInput AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codecommit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core