aws-sdk-pricing 1.11.0 → 1.12.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/lib/aws-sdk-pricing.rb +1 -1
- data/lib/aws-sdk-pricing/client.rb +1 -1
- data/lib/aws-sdk-pricing/client_api.rb +15 -0
- data/lib/aws-sdk-pricing/errors.rb +80 -0
- data/lib/aws-sdk-pricing/types.rb +61 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dacf40d78283c971f1382e87c8b5d5b398b65f0
|
4
|
+
data.tar.gz: a127a5b5e6e22a9ec77b44eb288fe342967be37d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47a42c8fe0f7d5d4bda9b4f481165329a0662a264cfdb7d86dc8a0e003c1bf0fcb7b9a4533ca53f0ad2e89c76a40053e8ef3c80ffdca2f382b5373d6f03f69df
|
7
|
+
data.tar.gz: 16bf451c846542e4112e3a01638bc04fede45a64d98efe2c29af623705714239f9be632bc2905340213ea5745efc6cc63107990422ecca1b344ef201538a13cf
|
data/lib/aws-sdk-pricing.rb
CHANGED
@@ -54,6 +54,9 @@ module Aws::Pricing
|
|
54
54
|
DescribeServicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
55
55
|
DescribeServicesResponse.struct_class = Types::DescribeServicesResponse
|
56
56
|
|
57
|
+
ExpiredNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
58
|
+
ExpiredNextTokenException.struct_class = Types::ExpiredNextTokenException
|
59
|
+
|
57
60
|
Filter.add_member(:type, Shapes::ShapeRef.new(shape: FilterType, required: true, location_name: "Type"))
|
58
61
|
Filter.add_member(:field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Field"))
|
59
62
|
Filter.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
|
@@ -83,6 +86,18 @@ module Aws::Pricing
|
|
83
86
|
GetProductsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
84
87
|
GetProductsResponse.struct_class = Types::GetProductsResponse
|
85
88
|
|
89
|
+
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
90
|
+
InternalErrorException.struct_class = Types::InternalErrorException
|
91
|
+
|
92
|
+
InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
93
|
+
InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
|
94
|
+
|
95
|
+
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
96
|
+
InvalidParameterException.struct_class = Types::InvalidParameterException
|
97
|
+
|
98
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
99
|
+
NotFoundException.struct_class = Types::NotFoundException
|
100
|
+
|
86
101
|
PriceList.member = Shapes::ShapeRef.new(shape: PriceListItemJSON, metadata: {"jsonvalue"=>true})
|
87
102
|
|
88
103
|
Service.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
|
@@ -10,5 +10,85 @@ module Aws::Pricing
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ExpiredNextTokenException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Pricing::Types::ExpiredNextTokenException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InternalErrorException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Pricing::Types::InternalErrorException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InvalidNextTokenException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::Pricing::Types::InvalidNextTokenException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class InvalidParameterException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::Pricing::Types::InvalidParameterException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class NotFoundException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Pricing::Types::NotFoundException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
13
93
|
end
|
14
94
|
end
|
@@ -86,6 +86,18 @@ module Aws::Pricing
|
|
86
86
|
include Aws::Structure
|
87
87
|
end
|
88
88
|
|
89
|
+
# The pagination token expired. Try again without a pagination token.
|
90
|
+
#
|
91
|
+
# @!attribute [rw] message
|
92
|
+
# @return [String]
|
93
|
+
#
|
94
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/ExpiredNextTokenException AWS API Documentation
|
95
|
+
#
|
96
|
+
class ExpiredNextTokenException < Struct.new(
|
97
|
+
:message)
|
98
|
+
include Aws::Structure
|
99
|
+
end
|
100
|
+
|
89
101
|
# The constraints that you want all returned products to match.
|
90
102
|
#
|
91
103
|
# @note When making an API call, you may pass Filter
|
@@ -269,6 +281,55 @@ module Aws::Pricing
|
|
269
281
|
include Aws::Structure
|
270
282
|
end
|
271
283
|
|
284
|
+
# An error on the server occurred during the processing of your request.
|
285
|
+
# Try again later.
|
286
|
+
#
|
287
|
+
# @!attribute [rw] message
|
288
|
+
# @return [String]
|
289
|
+
#
|
290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/InternalErrorException AWS API Documentation
|
291
|
+
#
|
292
|
+
class InternalErrorException < Struct.new(
|
293
|
+
:message)
|
294
|
+
include Aws::Structure
|
295
|
+
end
|
296
|
+
|
297
|
+
# The pagination token is invalid. Try again without a pagination token.
|
298
|
+
#
|
299
|
+
# @!attribute [rw] message
|
300
|
+
# @return [String]
|
301
|
+
#
|
302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/InvalidNextTokenException AWS API Documentation
|
303
|
+
#
|
304
|
+
class InvalidNextTokenException < Struct.new(
|
305
|
+
:message)
|
306
|
+
include Aws::Structure
|
307
|
+
end
|
308
|
+
|
309
|
+
# One or more parameters had an invalid value.
|
310
|
+
#
|
311
|
+
# @!attribute [rw] message
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/InvalidParameterException AWS API Documentation
|
315
|
+
#
|
316
|
+
class InvalidParameterException < Struct.new(
|
317
|
+
:message)
|
318
|
+
include Aws::Structure
|
319
|
+
end
|
320
|
+
|
321
|
+
# The requested resource can't be found.
|
322
|
+
#
|
323
|
+
# @!attribute [rw] message
|
324
|
+
# @return [String]
|
325
|
+
#
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/NotFoundException AWS API Documentation
|
327
|
+
#
|
328
|
+
class NotFoundException < Struct.new(
|
329
|
+
:message)
|
330
|
+
include Aws::Structure
|
331
|
+
end
|
332
|
+
|
272
333
|
# The metadata for a service, such as the service code and available
|
273
334
|
# attribute names.
|
274
335
|
#
|
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.12.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|