aws-sdk-codecommit 1.31.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-codecommit.rb +3 -1
- data/lib/aws-sdk-codecommit/client.rb +196 -24
- data/lib/aws-sdk-codecommit/client_api.rb +107 -2
- data/lib/aws-sdk-codecommit/customizations.rb +1 -0
- data/lib/aws-sdk-codecommit/errors.rb +46 -0
- data/lib/aws-sdk-codecommit/resource.rb +3 -7
- data/lib/aws-sdk-codecommit/types.rb +392 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fcc55fc63d64b1ef29de1e536e83a267f8732e86f87cb7b321e70b25ce3bff99
|
4
|
+
data.tar.gz: d8296a60aa297324e216e7913dfc607dd834713a01196a761cf0908a43ecd844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a5387e8b4f43bf44e11174f9e4333b69ca7e7f7287041ab1c4fe40378c6eaecfd247884d98c7d400a267773ac84d2ea55849bdcc02779581b5fb64ce78cb35
|
7
|
+
data.tar.gz: f9e066f448f45ff23a090455cd53fa5371b6c45218b5dafc81067fab9c02a4e9df34326a0f056db7a5d67b400839800f476a9f851e706e5ac35ea2a6fd6fd5ba
|
data/lib/aws-sdk-codecommit.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-codecommit/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::CodeCommit
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.36.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:codecommit)
|
|
32
35
|
module Aws::CodeCommit
|
33
36
|
# An API client for CodeCommit. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::CodeCommit::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::CodeCommit
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::CodeCommit
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::CodeCommit
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::CodeCommit
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::CodeCommit
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::CodeCommit
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::CodeCommit
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -723,7 +730,7 @@ module Aws::CodeCommit
|
|
723
730
|
#
|
724
731
|
#
|
725
732
|
#
|
726
|
-
# [1]: https://docs.aws.amazon.com/
|
733
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
727
734
|
#
|
728
735
|
# @option params [String] :approval_rule_template_description
|
729
736
|
# The description of the approval rule template. Consider providing a
|
@@ -1043,7 +1050,7 @@ module Aws::CodeCommit
|
|
1043
1050
|
#
|
1044
1051
|
#
|
1045
1052
|
#
|
1046
|
-
# [1]: https://docs.aws.amazon.com/
|
1053
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
1047
1054
|
#
|
1048
1055
|
# @return [Types::CreatePullRequestApprovalRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1049
1056
|
#
|
@@ -1352,6 +1359,10 @@ module Aws::CodeCommit
|
|
1352
1359
|
# resp.comment.author_arn #=> String
|
1353
1360
|
# resp.comment.deleted #=> Boolean
|
1354
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
|
1355
1366
|
#
|
1356
1367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent AWS API Documentation
|
1357
1368
|
#
|
@@ -1565,6 +1576,8 @@ module Aws::CodeCommit
|
|
1565
1576
|
# * {Types::DescribeMergeConflictsOutput#source_commit_id #source_commit_id} => String
|
1566
1577
|
# * {Types::DescribeMergeConflictsOutput#base_commit_id #base_commit_id} => String
|
1567
1578
|
#
|
1579
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1580
|
+
#
|
1568
1581
|
# @example Request syntax with placeholder values
|
1569
1582
|
#
|
1570
1583
|
# resp = client.describe_merge_conflicts({
|
@@ -1654,6 +1667,8 @@ module Aws::CodeCommit
|
|
1654
1667
|
# * {Types::DescribePullRequestEventsOutput#pull_request_events #pull_request_events} => Array<Types::PullRequestEvent>
|
1655
1668
|
# * {Types::DescribePullRequestEventsOutput#next_token #next_token} => String
|
1656
1669
|
#
|
1670
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1671
|
+
#
|
1657
1672
|
# @example Request syntax with placeholder values
|
1658
1673
|
#
|
1659
1674
|
# resp = client.describe_pull_request_events({
|
@@ -1881,6 +1896,12 @@ module Aws::CodeCommit
|
|
1881
1896
|
# Returns the content of a comment made on a change, file, or commit in
|
1882
1897
|
# a repository.
|
1883
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
|
+
#
|
1884
1905
|
# @option params [required, String] :comment_id
|
1885
1906
|
# The unique, system-generated ID of the comment. To get this ID, use
|
1886
1907
|
# GetCommentsForComparedCommit or GetCommentsForPullRequest.
|
@@ -1905,6 +1926,10 @@ module Aws::CodeCommit
|
|
1905
1926
|
# resp.comment.author_arn #=> String
|
1906
1927
|
# resp.comment.deleted #=> Boolean
|
1907
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
|
1908
1933
|
#
|
1909
1934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment AWS API Documentation
|
1910
1935
|
#
|
@@ -1915,9 +1940,70 @@ module Aws::CodeCommit
|
|
1915
1940
|
req.send_request(options)
|
1916
1941
|
end
|
1917
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<Types::ReactionForComment>
|
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
|
+
|
1918
1998
|
# Returns information about comments made on the comparison between two
|
1919
1999
|
# commits.
|
1920
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
|
+
#
|
1921
2007
|
# @option params [required, String] :repository_name
|
1922
2008
|
# The name of the repository where you want to compare commits.
|
1923
2009
|
#
|
@@ -1942,6 +2028,8 @@ module Aws::CodeCommit
|
|
1942
2028
|
# * {Types::GetCommentsForComparedCommitOutput#comments_for_compared_commit_data #comments_for_compared_commit_data} => Array<Types::CommentsForComparedCommit>
|
1943
2029
|
# * {Types::GetCommentsForComparedCommitOutput#next_token #next_token} => String
|
1944
2030
|
#
|
2031
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2032
|
+
#
|
1945
2033
|
# @example Request syntax with placeholder values
|
1946
2034
|
#
|
1947
2035
|
# resp = client.get_comments_for_compared_commit({
|
@@ -1972,6 +2060,10 @@ module Aws::CodeCommit
|
|
1972
2060
|
# resp.comments_for_compared_commit_data[0].comments[0].author_arn #=> String
|
1973
2061
|
# resp.comments_for_compared_commit_data[0].comments[0].deleted #=> Boolean
|
1974
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
|
1975
2067
|
# resp.next_token #=> String
|
1976
2068
|
#
|
1977
2069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit AWS API Documentation
|
@@ -1985,6 +2077,12 @@ module Aws::CodeCommit
|
|
1985
2077
|
|
1986
2078
|
# Returns comments made on a pull request.
|
1987
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
|
+
#
|
1988
2086
|
# @option params [required, String] :pull_request_id
|
1989
2087
|
# The system-generated ID of the pull request. To get this ID, use
|
1990
2088
|
# ListPullRequests.
|
@@ -2014,6 +2112,8 @@ module Aws::CodeCommit
|
|
2014
2112
|
# * {Types::GetCommentsForPullRequestOutput#comments_for_pull_request_data #comments_for_pull_request_data} => Array<Types::CommentsForPullRequest>
|
2015
2113
|
# * {Types::GetCommentsForPullRequestOutput#next_token #next_token} => String
|
2016
2114
|
#
|
2115
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2116
|
+
#
|
2017
2117
|
# @example Request syntax with placeholder values
|
2018
2118
|
#
|
2019
2119
|
# resp = client.get_comments_for_pull_request({
|
@@ -2046,6 +2146,10 @@ module Aws::CodeCommit
|
|
2046
2146
|
# resp.comments_for_pull_request_data[0].comments[0].author_arn #=> String
|
2047
2147
|
# resp.comments_for_pull_request_data[0].comments[0].deleted #=> Boolean
|
2048
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
|
2049
2153
|
# resp.next_token #=> String
|
2050
2154
|
#
|
2051
2155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest AWS API Documentation
|
@@ -2144,6 +2248,8 @@ module Aws::CodeCommit
|
|
2144
2248
|
# * {Types::GetDifferencesOutput#differences #differences} => Array<Types::Difference>
|
2145
2249
|
# * {Types::GetDifferencesOutput#next_token #next_token} => String
|
2146
2250
|
#
|
2251
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2252
|
+
#
|
2147
2253
|
# @example Request syntax with placeholder values
|
2148
2254
|
#
|
2149
2255
|
# resp = client.get_differences({
|
@@ -2404,6 +2510,8 @@ module Aws::CodeCommit
|
|
2404
2510
|
# * {Types::GetMergeConflictsOutput#conflict_metadata_list #conflict_metadata_list} => Array<Types::ConflictMetadata>
|
2405
2511
|
# * {Types::GetMergeConflictsOutput#next_token #next_token} => String
|
2406
2512
|
#
|
2513
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2514
|
+
#
|
2407
2515
|
# @example Request syntax with placeholder values
|
2408
2516
|
#
|
2409
2517
|
# resp = client.get_merge_conflicts({
|
@@ -2750,6 +2858,8 @@ module Aws::CodeCommit
|
|
2750
2858
|
# * {Types::ListApprovalRuleTemplatesOutput#approval_rule_template_names #approval_rule_template_names} => Array<String>
|
2751
2859
|
# * {Types::ListApprovalRuleTemplatesOutput#next_token #next_token} => String
|
2752
2860
|
#
|
2861
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2862
|
+
#
|
2753
2863
|
# @example Request syntax with placeholder values
|
2754
2864
|
#
|
2755
2865
|
# resp = client.list_approval_rule_templates({
|
@@ -2792,6 +2902,8 @@ module Aws::CodeCommit
|
|
2792
2902
|
# * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#approval_rule_template_names #approval_rule_template_names} => Array<String>
|
2793
2903
|
# * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#next_token #next_token} => String
|
2794
2904
|
#
|
2905
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2906
|
+
#
|
2795
2907
|
# @example Request syntax with placeholder values
|
2796
2908
|
#
|
2797
2909
|
# resp = client.list_associated_approval_rule_templates_for_repository({
|
@@ -2828,6 +2940,8 @@ module Aws::CodeCommit
|
|
2828
2940
|
# * {Types::ListBranchesOutput#branches #branches} => Array<String>
|
2829
2941
|
# * {Types::ListBranchesOutput#next_token #next_token} => String
|
2830
2942
|
#
|
2943
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2944
|
+
#
|
2831
2945
|
# @example Request syntax with placeholder values
|
2832
2946
|
#
|
2833
2947
|
# resp = client.list_branches({
|
@@ -2878,6 +2992,8 @@ module Aws::CodeCommit
|
|
2878
2992
|
# * {Types::ListPullRequestsOutput#pull_request_ids #pull_request_ids} => Array<String>
|
2879
2993
|
# * {Types::ListPullRequestsOutput#next_token #next_token} => String
|
2880
2994
|
#
|
2995
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2996
|
+
#
|
2881
2997
|
# @example Request syntax with placeholder values
|
2882
2998
|
#
|
2883
2999
|
# resp = client.list_pull_requests({
|
@@ -2924,6 +3040,8 @@ module Aws::CodeCommit
|
|
2924
3040
|
# * {Types::ListRepositoriesOutput#repositories #repositories} => Array<Types::RepositoryNameIdPair>
|
2925
3041
|
# * {Types::ListRepositoriesOutput#next_token #next_token} => String
|
2926
3042
|
#
|
3043
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3044
|
+
#
|
2927
3045
|
# @example Request syntax with placeholder values
|
2928
3046
|
#
|
2929
3047
|
# resp = client.list_repositories({
|
@@ -2968,6 +3086,8 @@ module Aws::CodeCommit
|
|
2968
3086
|
# * {Types::ListRepositoriesForApprovalRuleTemplateOutput#repository_names #repository_names} => Array<String>
|
2969
3087
|
# * {Types::ListRepositoriesForApprovalRuleTemplateOutput#next_token #next_token} => String
|
2970
3088
|
#
|
3089
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3090
|
+
#
|
2971
3091
|
# @example Request syntax with placeholder values
|
2972
3092
|
#
|
2973
3093
|
# resp = client.list_repositories_for_approval_rule_template({
|
@@ -3736,6 +3856,10 @@ module Aws::CodeCommit
|
|
3736
3856
|
# resp.comment.author_arn #=> String
|
3737
3857
|
# resp.comment.deleted #=> Boolean
|
3738
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
|
3739
3863
|
#
|
3740
3864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit AWS API Documentation
|
3741
3865
|
#
|
@@ -3830,6 +3954,10 @@ module Aws::CodeCommit
|
|
3830
3954
|
# resp.comment.author_arn #=> String
|
3831
3955
|
# resp.comment.deleted #=> Boolean
|
3832
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
|
3833
3961
|
#
|
3834
3962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest AWS API Documentation
|
3835
3963
|
#
|
@@ -3883,6 +4011,10 @@ module Aws::CodeCommit
|
|
3883
4011
|
# resp.comment.author_arn #=> String
|
3884
4012
|
# resp.comment.deleted #=> Boolean
|
3885
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
|
3886
4018
|
#
|
3887
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply AWS API Documentation
|
3888
4020
|
#
|
@@ -3893,6 +4025,42 @@ module Aws::CodeCommit
|
|
3893
4025
|
req.send_request(options)
|
3894
4026
|
end
|
3895
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
|
+
|
3896
4064
|
# Adds or updates a file in a branch in an AWS CodeCommit repository,
|
3897
4065
|
# and generates a commit for the addition in the specified branch.
|
3898
4066
|
#
|
@@ -4291,6 +4459,10 @@ module Aws::CodeCommit
|
|
4291
4459
|
# resp.comment.author_arn #=> String
|
4292
4460
|
# resp.comment.deleted #=> Boolean
|
4293
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
|
4294
4466
|
#
|
4295
4467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment AWS API Documentation
|
4296
4468
|
#
|
@@ -4383,7 +4555,7 @@ module Aws::CodeCommit
|
|
4383
4555
|
#
|
4384
4556
|
#
|
4385
4557
|
#
|
4386
|
-
# [1]: https://docs.aws.amazon.com/
|
4558
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
4387
4559
|
#
|
4388
4560
|
# @return [Types::UpdatePullRequestApprovalRuleContentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4389
4561
|
#
|
@@ -4725,7 +4897,7 @@ module Aws::CodeCommit
|
|
4725
4897
|
params: params,
|
4726
4898
|
config: config)
|
4727
4899
|
context[:gem_name] = 'aws-sdk-codecommit'
|
4728
|
-
context[:gem_version] = '1.
|
4900
|
+
context[:gem_version] = '1.36.0'
|
4729
4901
|
Seahorse::Client::Request.new(handlers, context)
|
4730
4902
|
end
|
4731
4903
|
|