aws-sdk-codegurureviewer 1.27.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38a7caac67ae6aa269dc5088fabdaeb519576fc886c55a10f658e3b5e2d6f51e
4
- data.tar.gz: cdd63da4a7cc65b9e0b7023d4e9419bbf200d012bfd45ebc91d2a7ac27e12a14
3
+ metadata.gz: 3b2bbbcf5be733fe249d8f33f8be174359dfa0fc44e5748afcfc542ee98ec134
4
+ data.tar.gz: cd788862c0ffa6d0a3accb13a3134ddfeb55294b5c080e438e9c30635c9de07d
5
5
  SHA512:
6
- metadata.gz: 94f0b4c3b9bf107955d993395adc94cc008e01270767f8de8429a6f86a7dd79e24fd45121da00de14adb5e229c446c37316404d0e6046f44c6b1df0b045f5f00
7
- data.tar.gz: 12d27ce84f9cd4cdf85fc66f01beb80e6c013bd2b622431b8240a824ef9cbbe05831410ec3f636d1d5301b3249cf1075dae0c77c73a1903859d985c65092b38e
6
+ metadata.gz: 62970d9d3425eb3b71b473f545a29e1128b23dce7059a1a3e081e9b7dd998f83461a891573d2c3a899c2681e18ee08b08d1ccf6663f7b57ff14dfe35918e4dcb
7
+ data.tar.gz: e1b24709d8b624ce31164cc51345d9ae08e34702423eb86649927a22e0f81bca2003c8710a6a4af87414ab64c82f46b842befc725bac9860919dff855504034e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2022-01-26)
5
+ ------------------
6
+
7
+ * Feature - Added failure state and adjusted timeout in waiter
8
+
4
9
  1.27.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
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.27.0'
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 | 60 |
1458
- # | repository_association_succeeded | {Client#describe_repository_association} | 10 | 20 |
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: MaxResults, location: "querystring", location_name: "MaxResults"))
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 | 60 |
73
- # | repository_association_succeeded | {Client#describe_repository_association} | 10 | 20 |
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 (60)
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: 60,
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 (20)
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: 20,
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",
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-codegurureviewer/customizations'
49
49
  # @!group service
50
50
  module Aws::CodeGuruReviewer
51
51
 
52
- GEM_VERSION = '1.27.0'
52
+ GEM_VERSION = '1.28.0'
53
53
 
54
54
  end
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.27.0
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: 2021-12-21 00:00:00.000000000 Z
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