aws-sdk-pricing 1.55.0 → 1.57.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pricing/client.rb +70 -46
- data/lib/aws-sdk-pricing/client_api.rb +6 -0
- data/lib/aws-sdk-pricing/errors.rb +16 -0
- data/lib/aws-sdk-pricing/types.rb +13 -0
- data/lib/aws-sdk-pricing.rb +1 -1
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +5 -0
- 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: dfe9c55299dde36ef05491d65b4a555dd17518c6fc50283a90ca7c24b959f370
|
4
|
+
data.tar.gz: b9d2eb96915be98c9205157941737c938e1016c266b4c81f20ac6b75d3a560df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc9a28364ada1a7340488dfed8b1ee5a91aa990ea48f96ace20a058e202c080801e56cf6b541d17bbd95fe49d21172a5c9c662f141a270911ff24434f768d19
|
7
|
+
data.tar.gz: 1d01e264637801b586ded1617261bf5faf57e57d97bbf9a8d884d11d5cff24d37f566944477a6dd45813add9945f1438cb8a40592629ce6d10adb34e5e251d9e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.56.0 (2024-03-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add ResourceNotFoundException to ListPriceLists and GetPriceListFileUrl APIs
|
13
|
+
|
4
14
|
1.55.0 (2024-02-09)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Pricing
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Pricing
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -347,50 +356,65 @@ module Aws::Pricing
|
|
347
356
|
# @option options [Aws::Pricing::EndpointProvider] :endpoint_provider
|
348
357
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Pricing::EndpointParameters`
|
349
358
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
359
|
+
# @option options [Float] :http_continue_timeout (1)
|
360
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
361
|
+
# request body. This option has no effect unless the request has "Expect"
|
362
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
363
|
+
# behaviour. This value can safely be set per request on the session.
|
364
|
+
#
|
365
|
+
# @option options [Float] :http_idle_timeout (5)
|
366
|
+
# The number of seconds a connection is allowed to sit idle before it
|
367
|
+
# is considered stale. Stale connections are closed and removed from the
|
368
|
+
# pool before making a request.
|
369
|
+
#
|
370
|
+
# @option options [Float] :http_open_timeout (15)
|
371
|
+
# The default number of seconds to wait for response data.
|
372
|
+
# This value can safely be set per-request on the session.
|
373
|
+
#
|
374
|
+
# @option options [URI::HTTP,String] :http_proxy
|
375
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
376
|
+
#
|
377
|
+
# @option options [Float] :http_read_timeout (60)
|
378
|
+
# The default number of seconds to wait for response data.
|
379
|
+
# This value can safely be set per-request on the session.
|
380
|
+
#
|
381
|
+
# @option options [Boolean] :http_wire_trace (false)
|
382
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
383
|
+
#
|
384
|
+
# @option options [Proc] :on_chunk_received
|
385
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
386
|
+
# of the response body is received. It provides three arguments: the chunk,
|
387
|
+
# the number of bytes received, and the total number of
|
388
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
389
|
+
#
|
390
|
+
# @option options [Proc] :on_chunk_sent
|
391
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
392
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
393
|
+
# the number of bytes read from the body, and the total number of
|
394
|
+
# bytes in the body.
|
395
|
+
#
|
396
|
+
# @option options [Boolean] :raise_response_errors (true)
|
397
|
+
# When `true`, response errors are raised.
|
398
|
+
#
|
399
|
+
# @option options [String] :ssl_ca_bundle
|
400
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
401
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
402
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
403
|
+
#
|
404
|
+
# @option options [String] :ssl_ca_directory
|
405
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
406
|
+
# authority files for verifying peer certificates. If you do
|
407
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
408
|
+
# default will be used if available.
|
375
409
|
#
|
376
|
-
# @option options [
|
377
|
-
#
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
378
412
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
382
415
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
388
|
-
#
|
389
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
390
|
-
# directory that contains the unbundled SSL certificate
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
416
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
417
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
418
|
#
|
395
419
|
def initialize(*args)
|
396
420
|
super
|
@@ -743,7 +767,7 @@ module Aws::Pricing
|
|
743
767
|
params: params,
|
744
768
|
config: config)
|
745
769
|
context[:gem_name] = 'aws-sdk-pricing'
|
746
|
-
context[:gem_version] = '1.
|
770
|
+
context[:gem_version] = '1.57.0'
|
747
771
|
Seahorse::Client::Request.new(handlers, context)
|
748
772
|
end
|
749
773
|
|
@@ -46,6 +46,7 @@ module Aws::Pricing
|
|
46
46
|
PriceListJsonItems = Shapes::ListShape.new(name: 'PriceListJsonItems')
|
47
47
|
PriceLists = Shapes::ListShape.new(name: 'PriceLists')
|
48
48
|
RegionCode = Shapes::StringShape.new(name: 'RegionCode')
|
49
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
49
50
|
Service = Shapes::StructureShape.new(name: 'Service')
|
50
51
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
51
52
|
ServiceList = Shapes::ListShape.new(name: 'ServiceList')
|
@@ -150,6 +151,9 @@ module Aws::Pricing
|
|
150
151
|
|
151
152
|
PriceLists.member = Shapes::ShapeRef.new(shape: PriceList)
|
152
153
|
|
154
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
155
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
156
|
+
|
153
157
|
Service.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
|
154
158
|
Service.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
|
155
159
|
Service.struct_class = Types::Service
|
@@ -230,6 +234,7 @@ module Aws::Pricing
|
|
230
234
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
231
235
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
232
236
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
237
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
233
238
|
end)
|
234
239
|
|
235
240
|
api.add_operation(:get_products, Seahorse::Model::Operation.new.tap do |o|
|
@@ -264,6 +269,7 @@ module Aws::Pricing
|
|
264
269
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
265
270
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
266
271
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
272
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
267
273
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
268
274
|
o[:pager] = Aws::Pager.new(
|
269
275
|
limit_key: "max_results",
|
@@ -33,6 +33,7 @@ module Aws::Pricing
|
|
33
33
|
# * {InvalidNextTokenException}
|
34
34
|
# * {InvalidParameterException}
|
35
35
|
# * {NotFoundException}
|
36
|
+
# * {ResourceNotFoundException}
|
36
37
|
# * {ThrottlingException}
|
37
38
|
#
|
38
39
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -135,6 +136,21 @@ module Aws::Pricing
|
|
135
136
|
end
|
136
137
|
end
|
137
138
|
|
139
|
+
class ResourceNotFoundException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::Pricing::Types::ResourceNotFoundException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
|
148
|
+
# @return [String]
|
149
|
+
def message
|
150
|
+
@message || @data[:message]
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
138
154
|
class ThrottlingException < ServiceError
|
139
155
|
|
140
156
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -488,6 +488,19 @@ module Aws::Pricing
|
|
488
488
|
include Aws::Structure
|
489
489
|
end
|
490
490
|
|
491
|
+
# The requested resource can't be found.
|
492
|
+
#
|
493
|
+
# @!attribute [rw] message
|
494
|
+
# @return [String]
|
495
|
+
#
|
496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/ResourceNotFoundException AWS API Documentation
|
497
|
+
#
|
498
|
+
class ResourceNotFoundException < Struct.new(
|
499
|
+
:message)
|
500
|
+
SENSITIVE = []
|
501
|
+
include Aws::Structure
|
502
|
+
end
|
503
|
+
|
491
504
|
# The metadata for a service, such as the service code and available
|
492
505
|
# attribute names.
|
493
506
|
#
|
data/lib/aws-sdk-pricing.rb
CHANGED
data/sig/errors.rbs
CHANGED
@@ -29,6 +29,9 @@ module Aws
|
|
29
29
|
class NotFoundException < ::Aws::Errors::ServiceError
|
30
30
|
def message: () -> ::String
|
31
31
|
end
|
32
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
32
35
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
33
36
|
def message: () -> ::String
|
34
37
|
end
|
data/sig/types.rbs
CHANGED
@@ -130,6 +130,11 @@ module Aws::Pricing
|
|
130
130
|
SENSITIVE: []
|
131
131
|
end
|
132
132
|
|
133
|
+
class ResourceNotFoundException
|
134
|
+
attr_accessor message: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
133
138
|
class Service
|
134
139
|
attr_accessor service_code: ::String
|
135
140
|
attr_accessor attribute_names: ::Array[::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pricing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.57.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: 2024-
|
11
|
+
date: 2024-04-25 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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|