aws-sdk-codegurureviewer 1.24.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6caa943c0954ba22f46f20020af87a7c7fae6521958158347343b66ec42b65d9
4
- data.tar.gz: d11f70de7357ec670f898cffa6543a927e793ada8e9acfd174a3ebe5109a9099
3
+ metadata.gz: 3b2bbbcf5be733fe249d8f33f8be174359dfa0fc44e5748afcfc542ee98ec134
4
+ data.tar.gz: cd788862c0ffa6d0a3accb13a3134ddfeb55294b5c080e438e9c30635c9de07d
5
5
  SHA512:
6
- metadata.gz: beb9268d35a971bd5712737ef399136f3da32dba6ca1719286ea18e01e37da901b169aad97c01da6688a0bc79ed739bcaf62573ef4ce6a200bf978cf2fd21e46
7
- data.tar.gz: 994ffbcd87b939688ac20279a0007987490965eb76aae52143ef9f7831ca15e5ea079e3b4612b349224b682b9496522d36d68b5cd3d58e3de11534b9481c7219
6
+ metadata.gz: 62970d9d3425eb3b71b473f545a29e1128b23dce7059a1a3e081e9b7dd998f83461a891573d2c3a899c2681e18ee08b08d1ccf6663f7b57ff14dfe35918e4dcb
7
+ data.tar.gz: e1b24709d8b624ce31164cc51345d9ae08e34702423eb86649927a22e0f81bca2003c8710a6a4af87414ab64c82f46b842befc725bac9860919dff855504034e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
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
+
9
+ 1.27.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.26.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.25.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.24.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.28.0
@@ -27,6 +27,7 @@ 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'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::CodeGuruReviewer
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::CodeGuruReviewer
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::CodeGuruReviewer
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -275,6 +283,15 @@ module Aws::CodeGuruReviewer
275
283
  # ** Please note ** When response stubbing is enabled, no HTTP
276
284
  # requests are made, and retries are disabled.
277
285
  #
286
+ # @option options [Boolean] :use_dualstack_endpoint
287
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
288
+ # will be used if available.
289
+ #
290
+ # @option options [Boolean] :use_fips_endpoint
291
+ # When set to `true`, fips compatible endpoints will be used if available.
292
+ # When a `fips` region is used, the region is normalized and this config
293
+ # is set to `true`.
294
+ #
278
295
  # @option options [Boolean] :validate_params (true)
279
296
  # When `true`, request parameters are validated before
280
297
  # sending the request.
@@ -286,7 +303,7 @@ module Aws::CodeGuruReviewer
286
303
  # seconds to wait when opening a HTTP session before raising a
287
304
  # `Timeout::Error`.
288
305
  #
289
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
290
307
  # number of seconds to wait for response data. This value can
291
308
  # safely be set per-request on the session.
292
309
  #
@@ -302,6 +319,9 @@ module Aws::CodeGuruReviewer
302
319
  # disables this behaviour. This value can safely be set per
303
320
  # request on the session.
304
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
305
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
306
326
  # HTTP debug output will be sent to the `:logger`.
307
327
  #
@@ -1366,7 +1386,7 @@ module Aws::CodeGuruReviewer
1366
1386
  params: params,
1367
1387
  config: config)
1368
1388
  context[:gem_name] = 'aws-sdk-codegurureviewer'
1369
- context[:gem_version] = '1.24.0'
1389
+ context[:gem_version] = '1.28.0'
1370
1390
  Seahorse::Client::Request.new(handlers, context)
1371
1391
  end
1372
1392
 
@@ -1434,8 +1454,8 @@ module Aws::CodeGuruReviewer
1434
1454
  #
1435
1455
  # | waiter_name | params | :delay | :max_attempts |
1436
1456
  # | -------------------------------- | ---------------------------------------- | -------- | ------------- |
1437
- # | code_review_completed | {Client#describe_code_review} | 10 | 60 |
1438
- # | 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 |
1439
1459
  #
1440
1460
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
1441
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.24.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.24.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-10-18 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement