aws-sdk-codegurureviewer 1.25.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codegurureviewer/client.rb +18 -5
- data/lib/aws-sdk-codegurureviewer/client_api.rb +2 -1
- data/lib/aws-sdk-codegurureviewer/waiters.rb +18 -6
- data/lib/aws-sdk-codegurureviewer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f2af4041ac2887cf0db9a517064711994a81cf3d94175c0985031dce373d00c
|
4
|
+
data.tar.gz: 90a1c962bd16eadece1b8dbfaecfb46a8172d7436ca4c2029037814d10935b60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098302c47fc8ac3fdad6dae7ad834e790cf869b4a5abd1fdfa93733e9423b8c19f67f2e7b1fb7da406f5b98f005b73a2091e963c203f219c7054e34f2fb3a0a2'
|
7
|
+
data.tar.gz: 55b81c0dba9bb0ef61f1b599b4fc70c8d6169f1341f3280aed2ee5b3663891b9c3256cf9dae40ef05947d7768e198ec0e4c7abdf4edf8eb0e3aae8e6402088ff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.28.0 (2022-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added failure state and adjusted timeout in waiter
|
13
|
+
|
14
|
+
1.27.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.26.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.25.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::CodeGuruReviewer
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::CodeGuruReviewer
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::CodeGuruReviewer
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::CodeGuruReviewer
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::CodeGuruReviewer
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -1375,7 +1388,7 @@ module Aws::CodeGuruReviewer
|
|
1375
1388
|
params: params,
|
1376
1389
|
config: config)
|
1377
1390
|
context[:gem_name] = 'aws-sdk-codegurureviewer'
|
1378
|
-
context[:gem_version] = '1.
|
1391
|
+
context[:gem_version] = '1.29.0'
|
1379
1392
|
Seahorse::Client::Request.new(handlers, context)
|
1380
1393
|
end
|
1381
1394
|
|
@@ -1443,8 +1456,8 @@ module Aws::CodeGuruReviewer
|
|
1443
1456
|
#
|
1444
1457
|
# | waiter_name | params | :delay | :max_attempts |
|
1445
1458
|
# | -------------------------------- | ---------------------------------------- | -------- | ------------- |
|
1446
|
-
# | code_review_completed | {Client#describe_code_review} | 10 |
|
1447
|
-
# | repository_association_succeeded | {Client#describe_repository_association} | 10 |
|
1459
|
+
# | code_review_completed | {Client#describe_code_review} | 10 | 180 |
|
1460
|
+
# | repository_association_succeeded | {Client#describe_repository_association} | 10 | 30 |
|
1448
1461
|
#
|
1449
1462
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1450
1463
|
# because the waiter has entered a state that it will not transition
|
@@ -64,6 +64,7 @@ module Aws::CodeGuruReviewer
|
|
64
64
|
ListCodeReviewsResponse = Shapes::StructureShape.new(name: 'ListCodeReviewsResponse')
|
65
65
|
ListRecommendationFeedbackRequest = Shapes::StructureShape.new(name: 'ListRecommendationFeedbackRequest')
|
66
66
|
ListRecommendationFeedbackResponse = Shapes::StructureShape.new(name: 'ListRecommendationFeedbackResponse')
|
67
|
+
ListRecommendationsMaxResults = Shapes::IntegerShape.new(name: 'ListRecommendationsMaxResults')
|
67
68
|
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
68
69
|
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
69
70
|
ListRepositoryAssociationsRequest = Shapes::StructureShape.new(name: 'ListRepositoryAssociationsRequest')
|
@@ -286,7 +287,7 @@ module Aws::CodeGuruReviewer
|
|
286
287
|
ListRecommendationFeedbackResponse.struct_class = Types::ListRecommendationFeedbackResponse
|
287
288
|
|
288
289
|
ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
289
|
-
ListRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape:
|
290
|
+
ListRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendationsMaxResults, location: "querystring", location_name: "MaxResults"))
|
290
291
|
ListRecommendationsRequest.add_member(:code_review_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "CodeReviewArn"))
|
291
292
|
ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
|
292
293
|
|
@@ -69,8 +69,8 @@ module Aws::CodeGuruReviewer
|
|
69
69
|
#
|
70
70
|
# | waiter_name | params | :delay | :max_attempts |
|
71
71
|
# | -------------------------------- | ---------------------------------------- | -------- | ------------- |
|
72
|
-
# | code_review_completed | {Client#describe_code_review} | 10 |
|
73
|
-
# | repository_association_succeeded | {Client#describe_repository_association} | 10 |
|
72
|
+
# | code_review_completed | {Client#describe_code_review} | 10 | 180 |
|
73
|
+
# | repository_association_succeeded | {Client#describe_repository_association} | 10 | 30 |
|
74
74
|
#
|
75
75
|
module Waiters
|
76
76
|
|
@@ -79,14 +79,14 @@ module Aws::CodeGuruReviewer
|
|
79
79
|
|
80
80
|
# @param [Hash] options
|
81
81
|
# @option options [required, Client] :client
|
82
|
-
# @option options [Integer] :max_attempts (
|
82
|
+
# @option options [Integer] :max_attempts (180)
|
83
83
|
# @option options [Integer] :delay (10)
|
84
84
|
# @option options [Proc] :before_attempt
|
85
85
|
# @option options [Proc] :before_wait
|
86
86
|
def initialize(options)
|
87
87
|
@client = options.fetch(:client)
|
88
88
|
@waiter = Aws::Waiters::Waiter.new({
|
89
|
-
max_attempts:
|
89
|
+
max_attempts: 180,
|
90
90
|
delay: 10,
|
91
91
|
poller: Aws::Waiters::Poller.new(
|
92
92
|
operation_name: :describe_code_review,
|
@@ -97,6 +97,12 @@ module Aws::CodeGuruReviewer
|
|
97
97
|
"argument" => "code_review.state",
|
98
98
|
"expected" => "Completed"
|
99
99
|
},
|
100
|
+
{
|
101
|
+
"state" => "failure",
|
102
|
+
"matcher" => "path",
|
103
|
+
"argument" => "code_review.state",
|
104
|
+
"expected" => "Failed"
|
105
|
+
},
|
100
106
|
{
|
101
107
|
"state" => "retry",
|
102
108
|
"matcher" => "path",
|
@@ -124,14 +130,14 @@ module Aws::CodeGuruReviewer
|
|
124
130
|
|
125
131
|
# @param [Hash] options
|
126
132
|
# @option options [required, Client] :client
|
127
|
-
# @option options [Integer] :max_attempts (
|
133
|
+
# @option options [Integer] :max_attempts (30)
|
128
134
|
# @option options [Integer] :delay (10)
|
129
135
|
# @option options [Proc] :before_attempt
|
130
136
|
# @option options [Proc] :before_wait
|
131
137
|
def initialize(options)
|
132
138
|
@client = options.fetch(:client)
|
133
139
|
@waiter = Aws::Waiters::Waiter.new({
|
134
|
-
max_attempts:
|
140
|
+
max_attempts: 30,
|
135
141
|
delay: 10,
|
136
142
|
poller: Aws::Waiters::Poller.new(
|
137
143
|
operation_name: :describe_repository_association,
|
@@ -142,6 +148,12 @@ module Aws::CodeGuruReviewer
|
|
142
148
|
"argument" => "repository_association.state",
|
143
149
|
"expected" => "Associated"
|
144
150
|
},
|
151
|
+
{
|
152
|
+
"state" => "failure",
|
153
|
+
"matcher" => "path",
|
154
|
+
"argument" => "repository_association.state",
|
155
|
+
"expected" => "Failed"
|
156
|
+
},
|
145
157
|
{
|
146
158
|
"state" => "retry",
|
147
159
|
"matcher" => "path",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codegurureviewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.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:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|