aws-sdk-codecommit 1.31.0 → 1.32.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 +1 -1
- data/lib/aws-sdk-codecommit/client.rb +47 -20
- data/lib/aws-sdk-codecommit/resource.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4a0d341dfc2fe5613486ca46b661896dd4c95605b024de0381041f2a5afae629
|
4
|
+
data.tar.gz: 2da128f77e2227d7fcf37bbc75095a6320ee2aec199d1dbc9c874f9de4ecdb39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '056468b1f611aaabeb83faec8678ba3fa7884e340e14b61a6ff06e93800318373abf945d8c12a0bfe8a0d2d92a01eff31f694175cbeca01c9041ab5ecbd53c3f'
|
7
|
+
data.tar.gz: '08ef4e373a66d3b76479340647b9eb91a4a6c345451a1ab2a6015e892d7fb8b28ae0b8a87935896d01deec5ad3009f09a1f6f563e027c520c88ee8d5c996ab2e'
|
data/lib/aws-sdk-codecommit.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:codecommit)
|
|
32
32
|
module Aws::CodeCommit
|
33
33
|
# An API client for CodeCommit. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::CodeCommit::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::CodeCommit
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::CodeCommit
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::CodeCommit
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::CodeCommit
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# 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}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::CodeCommit
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1565,6 +1568,8 @@ module Aws::CodeCommit
|
|
1565
1568
|
# * {Types::DescribeMergeConflictsOutput#source_commit_id #source_commit_id} => String
|
1566
1569
|
# * {Types::DescribeMergeConflictsOutput#base_commit_id #base_commit_id} => String
|
1567
1570
|
#
|
1571
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1572
|
+
#
|
1568
1573
|
# @example Request syntax with placeholder values
|
1569
1574
|
#
|
1570
1575
|
# resp = client.describe_merge_conflicts({
|
@@ -1654,6 +1659,8 @@ module Aws::CodeCommit
|
|
1654
1659
|
# * {Types::DescribePullRequestEventsOutput#pull_request_events #pull_request_events} => Array<Types::PullRequestEvent>
|
1655
1660
|
# * {Types::DescribePullRequestEventsOutput#next_token #next_token} => String
|
1656
1661
|
#
|
1662
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1663
|
+
#
|
1657
1664
|
# @example Request syntax with placeholder values
|
1658
1665
|
#
|
1659
1666
|
# resp = client.describe_pull_request_events({
|
@@ -1942,6 +1949,8 @@ module Aws::CodeCommit
|
|
1942
1949
|
# * {Types::GetCommentsForComparedCommitOutput#comments_for_compared_commit_data #comments_for_compared_commit_data} => Array<Types::CommentsForComparedCommit>
|
1943
1950
|
# * {Types::GetCommentsForComparedCommitOutput#next_token #next_token} => String
|
1944
1951
|
#
|
1952
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1953
|
+
#
|
1945
1954
|
# @example Request syntax with placeholder values
|
1946
1955
|
#
|
1947
1956
|
# resp = client.get_comments_for_compared_commit({
|
@@ -2014,6 +2023,8 @@ module Aws::CodeCommit
|
|
2014
2023
|
# * {Types::GetCommentsForPullRequestOutput#comments_for_pull_request_data #comments_for_pull_request_data} => Array<Types::CommentsForPullRequest>
|
2015
2024
|
# * {Types::GetCommentsForPullRequestOutput#next_token #next_token} => String
|
2016
2025
|
#
|
2026
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2027
|
+
#
|
2017
2028
|
# @example Request syntax with placeholder values
|
2018
2029
|
#
|
2019
2030
|
# resp = client.get_comments_for_pull_request({
|
@@ -2144,6 +2155,8 @@ module Aws::CodeCommit
|
|
2144
2155
|
# * {Types::GetDifferencesOutput#differences #differences} => Array<Types::Difference>
|
2145
2156
|
# * {Types::GetDifferencesOutput#next_token #next_token} => String
|
2146
2157
|
#
|
2158
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2159
|
+
#
|
2147
2160
|
# @example Request syntax with placeholder values
|
2148
2161
|
#
|
2149
2162
|
# resp = client.get_differences({
|
@@ -2404,6 +2417,8 @@ module Aws::CodeCommit
|
|
2404
2417
|
# * {Types::GetMergeConflictsOutput#conflict_metadata_list #conflict_metadata_list} => Array<Types::ConflictMetadata>
|
2405
2418
|
# * {Types::GetMergeConflictsOutput#next_token #next_token} => String
|
2406
2419
|
#
|
2420
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2421
|
+
#
|
2407
2422
|
# @example Request syntax with placeholder values
|
2408
2423
|
#
|
2409
2424
|
# resp = client.get_merge_conflicts({
|
@@ -2750,6 +2765,8 @@ module Aws::CodeCommit
|
|
2750
2765
|
# * {Types::ListApprovalRuleTemplatesOutput#approval_rule_template_names #approval_rule_template_names} => Array<String>
|
2751
2766
|
# * {Types::ListApprovalRuleTemplatesOutput#next_token #next_token} => String
|
2752
2767
|
#
|
2768
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2769
|
+
#
|
2753
2770
|
# @example Request syntax with placeholder values
|
2754
2771
|
#
|
2755
2772
|
# resp = client.list_approval_rule_templates({
|
@@ -2792,6 +2809,8 @@ module Aws::CodeCommit
|
|
2792
2809
|
# * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#approval_rule_template_names #approval_rule_template_names} => Array<String>
|
2793
2810
|
# * {Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput#next_token #next_token} => String
|
2794
2811
|
#
|
2812
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2813
|
+
#
|
2795
2814
|
# @example Request syntax with placeholder values
|
2796
2815
|
#
|
2797
2816
|
# resp = client.list_associated_approval_rule_templates_for_repository({
|
@@ -2828,6 +2847,8 @@ module Aws::CodeCommit
|
|
2828
2847
|
# * {Types::ListBranchesOutput#branches #branches} => Array<String>
|
2829
2848
|
# * {Types::ListBranchesOutput#next_token #next_token} => String
|
2830
2849
|
#
|
2850
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2851
|
+
#
|
2831
2852
|
# @example Request syntax with placeholder values
|
2832
2853
|
#
|
2833
2854
|
# resp = client.list_branches({
|
@@ -2878,6 +2899,8 @@ module Aws::CodeCommit
|
|
2878
2899
|
# * {Types::ListPullRequestsOutput#pull_request_ids #pull_request_ids} => Array<String>
|
2879
2900
|
# * {Types::ListPullRequestsOutput#next_token #next_token} => String
|
2880
2901
|
#
|
2902
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2903
|
+
#
|
2881
2904
|
# @example Request syntax with placeholder values
|
2882
2905
|
#
|
2883
2906
|
# resp = client.list_pull_requests({
|
@@ -2924,6 +2947,8 @@ module Aws::CodeCommit
|
|
2924
2947
|
# * {Types::ListRepositoriesOutput#repositories #repositories} => Array<Types::RepositoryNameIdPair>
|
2925
2948
|
# * {Types::ListRepositoriesOutput#next_token #next_token} => String
|
2926
2949
|
#
|
2950
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2951
|
+
#
|
2927
2952
|
# @example Request syntax with placeholder values
|
2928
2953
|
#
|
2929
2954
|
# resp = client.list_repositories({
|
@@ -2968,6 +2993,8 @@ module Aws::CodeCommit
|
|
2968
2993
|
# * {Types::ListRepositoriesForApprovalRuleTemplateOutput#repository_names #repository_names} => Array<String>
|
2969
2994
|
# * {Types::ListRepositoriesForApprovalRuleTemplateOutput#next_token #next_token} => String
|
2970
2995
|
#
|
2996
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2997
|
+
#
|
2971
2998
|
# @example Request syntax with placeholder values
|
2972
2999
|
#
|
2973
3000
|
# resp = client.list_repositories_for_approval_rule_template({
|
@@ -4725,7 +4752,7 @@ module Aws::CodeCommit
|
|
4725
4752
|
params: params,
|
4726
4753
|
config: config)
|
4727
4754
|
context[:gem_name] = 'aws-sdk-codecommit'
|
4728
|
-
context[:gem_version] = '1.
|
4755
|
+
context[:gem_version] = '1.32.0'
|
4729
4756
|
Seahorse::Client::Request.new(handlers, context)
|
4730
4757
|
end
|
4731
4758
|
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CodeCommit
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::CodeCommit::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::CodeCommit::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::CodeCommit::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
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.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - CodeCommit
|