aws-sdk-codegurureviewer 1.27.0 → 1.28.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codegurureviewer/client.rb +3 -3
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b2bbbcf5be733fe249d8f33f8be174359dfa0fc44e5748afcfc542ee98ec134
|
4
|
+
data.tar.gz: cd788862c0ffa6d0a3accb13a3134ddfeb55294b5c080e438e9c30635c9de07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62970d9d3425eb3b71b473f545a29e1128b23dce7059a1a3e081e9b7dd998f83461a891573d2c3a899c2681e18ee08b08d1ccf6663f7b57ff14dfe35918e4dcb
|
7
|
+
data.tar.gz: e1b24709d8b624ce31164cc51345d9ae08e34702423eb86649927a22e0f81bca2003c8710a6a4af87414ab64c82f46b842befc725bac9860919dff855504034e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -1386,7 +1386,7 @@ module Aws::CodeGuruReviewer
|
|
1386
1386
|
params: params,
|
1387
1387
|
config: config)
|
1388
1388
|
context[:gem_name] = 'aws-sdk-codegurureviewer'
|
1389
|
-
context[:gem_version] = '1.
|
1389
|
+
context[:gem_version] = '1.28.0'
|
1390
1390
|
Seahorse::Client::Request.new(handlers, context)
|
1391
1391
|
end
|
1392
1392
|
|
@@ -1454,8 +1454,8 @@ module Aws::CodeGuruReviewer
|
|
1454
1454
|
#
|
1455
1455
|
# | waiter_name | params | :delay | :max_attempts |
|
1456
1456
|
# | -------------------------------- | ---------------------------------------- | -------- | ------------- |
|
1457
|
-
# | code_review_completed | {Client#describe_code_review} | 10 |
|
1458
|
-
# | repository_association_succeeded | {Client#describe_repository_association} | 10 |
|
1457
|
+
# | code_review_completed | {Client#describe_code_review} | 10 | 180 |
|
1458
|
+
# | repository_association_succeeded | {Client#describe_repository_association} | 10 | 30 |
|
1459
1459
|
#
|
1460
1460
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1461
1461
|
# 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.28.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-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|