aws-sdk-pricing 1.55.0 → 1.56.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pricing/client.rb +1 -1
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5cbfef041279b69022fb48e932dbd8d2ff2d6b24376655f876827defab400b2
|
4
|
+
data.tar.gz: 9388777dd0676d4845c991d19c41ca8e38120c702538b2b75633ba782a38593b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64706d06184d249ec8bbcfc2a7e7698d1b54afb923b6fcb3144e2de934abac365195b708b3771488a950cb5e8363a26c80a275c910f6f7303ba3990012d561ae
|
7
|
+
data.tar.gz: 63214201809f976138a86c00a37c994ac6323ab2e31765bbca5d30a0cb8dd0487544866dfc1e91dac3496cd3737a94837795cc93c71409b1ae4fe0908d2efd99
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -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.56.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-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|