aws-sdk-pricing 1.55.0 → 1.56.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: 66f60eda358c471fd39dbd6dbd59d0ae928cee6ad4a71d368cdb9a0b7e48db90
4
- data.tar.gz: 9e41aac5f8d0e62c2dd3da948c837e5a2e7c95ba2f60d60aeb30f12a4a1218d0
3
+ metadata.gz: e5cbfef041279b69022fb48e932dbd8d2ff2d6b24376655f876827defab400b2
4
+ data.tar.gz: 9388777dd0676d4845c991d19c41ca8e38120c702538b2b75633ba782a38593b
5
5
  SHA512:
6
- metadata.gz: '084a76618400ecab6e69d33e38998eb43e86eab2c5382c7fe1535fbea8c0dfc034a122070cd1c334f1a2cdef6f955a24caa7920b65861964a5f6be8c92c00a91'
7
- data.tar.gz: 876eb32e6aa0eb71cc761aa9866809bbf83e8b9dbec7d7cb9a5e3ef6a6ab995eceddfa245e0385c83de871345c578f4bba89bf142cb941be4fcd8430c0d98f8e
6
+ metadata.gz: 64706d06184d249ec8bbcfc2a7e7698d1b54afb923b6fcb3144e2de934abac365195b708b3771488a950cb5e8363a26c80a275c910f6f7303ba3990012d561ae
7
+ data.tar.gz: 63214201809f976138a86c00a37c994ac6323ab2e31765bbca5d30a0cb8dd0487544866dfc1e91dac3496cd3737a94837795cc93c71409b1ae4fe0908d2efd99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2024-03-22)
5
+ ------------------
6
+
7
+ * Feature - Add ResourceNotFoundException to ListPriceLists and GetPriceListFileUrl APIs
8
+
4
9
  1.55.0 (2024-02-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -743,7 +743,7 @@ module Aws::Pricing
743
743
  params: params,
744
744
  config: config)
745
745
  context[:gem_name] = 'aws-sdk-pricing'
746
- context[:gem_version] = '1.55.0'
746
+ context[:gem_version] = '1.56.0'
747
747
  Seahorse::Client::Request.new(handlers, context)
748
748
  end
749
749
 
@@ -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
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-pricing/customizations'
53
53
  # @!group service
54
54
  module Aws::Pricing
55
55
 
56
- GEM_VERSION = '1.55.0'
56
+ GEM_VERSION = '1.56.0'
57
57
 
58
58
  end
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.55.0
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-02-09 00:00:00.000000000 Z
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