aws-sdk-pricing 1.53.0 → 1.55.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pricing/client.rb +1 -1
- data/lib/aws-sdk-pricing/client_api.rb +9 -0
- data/lib/aws-sdk-pricing/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-pricing/errors.rb +28 -0
- data/lib/aws-sdk-pricing/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-pricing/types.rb +13 -0
- data/lib/aws-sdk-pricing.rb +1 -1
- data/sig/client.rbs +156 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +144 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66f60eda358c471fd39dbd6dbd59d0ae928cee6ad4a71d368cdb9a0b7e48db90
|
4
|
+
data.tar.gz: 9e41aac5f8d0e62c2dd3da948c837e5a2e7c95ba2f60d60aeb30f12a4a1218d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '084a76618400ecab6e69d33e38998eb43e86eab2c5382c7fe1535fbea8c0dfc034a122070cd1c334f1a2cdef6f955a24caa7920b65861964a5f6be8c92c00a91'
|
7
|
+
data.tar.gz: 876eb32e6aa0eb71cc761aa9866809bbf83e8b9dbec7d7cb9a5e3ef6a6ab995eceddfa245e0385c83de871345c578f4bba89bf142cb941be4fcd8430c0d98f8e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2024-02-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add Throttling Exception to all APIs.
|
8
|
+
|
9
|
+
1.54.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.53.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
@@ -51,6 +51,7 @@ module Aws::Pricing
|
|
51
51
|
ServiceList = Shapes::ListShape.new(name: 'ServiceList')
|
52
52
|
String = Shapes::StringShape.new(name: 'String')
|
53
53
|
SynthesizedJsonPriceListJsonItem = Shapes::StringShape.new(name: 'SynthesizedJsonPriceListJsonItem')
|
54
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
54
55
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
55
56
|
|
56
57
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
@@ -155,6 +156,9 @@ module Aws::Pricing
|
|
155
156
|
|
156
157
|
ServiceList.member = Shapes::ShapeRef.new(shape: Service)
|
157
158
|
|
159
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
160
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
161
|
+
|
158
162
|
|
159
163
|
# @api private
|
160
164
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -185,6 +189,7 @@ module Aws::Pricing
|
|
185
189
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
186
190
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
187
191
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
192
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
188
193
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
189
194
|
o[:pager] = Aws::Pager.new(
|
190
195
|
limit_key: "max_results",
|
@@ -204,6 +209,7 @@ module Aws::Pricing
|
|
204
209
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
205
210
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
206
211
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
212
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
207
213
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
208
214
|
o[:pager] = Aws::Pager.new(
|
209
215
|
limit_key: "max_results",
|
@@ -223,6 +229,7 @@ module Aws::Pricing
|
|
223
229
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
224
230
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
225
231
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
232
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
226
233
|
end)
|
227
234
|
|
228
235
|
api.add_operation(:get_products, Seahorse::Model::Operation.new.tap do |o|
|
@@ -235,6 +242,7 @@ module Aws::Pricing
|
|
235
242
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
236
243
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
237
244
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
245
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
238
246
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
239
247
|
o[:pager] = Aws::Pager.new(
|
240
248
|
limit_key: "max_results",
|
@@ -255,6 +263,7 @@ module Aws::Pricing
|
|
255
263
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
256
264
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
257
265
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
258
267
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
259
268
|
o[:pager] = Aws::Pager.new(
|
260
269
|
limit_key: "max_results",
|
@@ -32,7 +32,7 @@ module Aws::Pricing
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://api.pricing-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -33,6 +33,7 @@ module Aws::Pricing
|
|
33
33
|
# * {InvalidNextTokenException}
|
34
34
|
# * {InvalidParameterException}
|
35
35
|
# * {NotFoundException}
|
36
|
+
# * {ThrottlingException}
|
36
37
|
#
|
37
38
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
38
39
|
# if they are not defined above.
|
@@ -83,6 +84,10 @@ module Aws::Pricing
|
|
83
84
|
def message
|
84
85
|
@message || @data[:message]
|
85
86
|
end
|
87
|
+
|
88
|
+
def retryable?
|
89
|
+
true
|
90
|
+
end
|
86
91
|
end
|
87
92
|
|
88
93
|
class InvalidNextTokenException < ServiceError
|
@@ -130,5 +135,28 @@ module Aws::Pricing
|
|
130
135
|
end
|
131
136
|
end
|
132
137
|
|
138
|
+
class ThrottlingException < ServiceError
|
139
|
+
|
140
|
+
# @param [Seahorse::Client::RequestContext] context
|
141
|
+
# @param [String] message
|
142
|
+
# @param [Aws::Pricing::Types::ThrottlingException] data
|
143
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
144
|
+
super(context, message, data)
|
145
|
+
end
|
146
|
+
|
147
|
+
# @return [String]
|
148
|
+
def message
|
149
|
+
@message || @data[:message]
|
150
|
+
end
|
151
|
+
|
152
|
+
def retryable?
|
153
|
+
true
|
154
|
+
end
|
155
|
+
|
156
|
+
def throttling?
|
157
|
+
true
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
133
161
|
end
|
134
162
|
end
|
@@ -14,6 +14,7 @@ module Aws::Pricing
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Pricing::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -508,5 +508,18 @@ module Aws::Pricing
|
|
508
508
|
include Aws::Structure
|
509
509
|
end
|
510
510
|
|
511
|
+
# You've made too many requests exceeding service quotas.
|
512
|
+
#
|
513
|
+
# @!attribute [rw] message
|
514
|
+
# @return [String]
|
515
|
+
#
|
516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/ThrottlingException AWS API Documentation
|
517
|
+
#
|
518
|
+
class ThrottlingException < Struct.new(
|
519
|
+
:message)
|
520
|
+
SENSITIVE = []
|
521
|
+
include Aws::Structure
|
522
|
+
end
|
523
|
+
|
511
524
|
end
|
512
525
|
end
|
data/lib/aws-sdk-pricing.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Pricing
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _DescribeServicesResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServicesResponse]
|
78
|
+
def services: () -> ::Array[Types::Service]
|
79
|
+
def format_version: () -> ::String
|
80
|
+
def next_token: () -> ::String
|
81
|
+
end
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#describe_services-instance_method
|
83
|
+
def describe_services: (
|
84
|
+
?service_code: ::String,
|
85
|
+
?format_version: ::String,
|
86
|
+
?next_token: ::String,
|
87
|
+
?max_results: ::Integer
|
88
|
+
) -> _DescribeServicesResponseSuccess
|
89
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServicesResponseSuccess
|
90
|
+
|
91
|
+
interface _GetAttributeValuesResponseSuccess
|
92
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAttributeValuesResponse]
|
93
|
+
def attribute_values: () -> ::Array[Types::AttributeValue]
|
94
|
+
def next_token: () -> ::String
|
95
|
+
end
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#get_attribute_values-instance_method
|
97
|
+
def get_attribute_values: (
|
98
|
+
service_code: ::String,
|
99
|
+
attribute_name: ::String,
|
100
|
+
?next_token: ::String,
|
101
|
+
?max_results: ::Integer
|
102
|
+
) -> _GetAttributeValuesResponseSuccess
|
103
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAttributeValuesResponseSuccess
|
104
|
+
|
105
|
+
interface _GetPriceListFileUrlResponseSuccess
|
106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPriceListFileUrlResponse]
|
107
|
+
def url: () -> ::String
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#get_price_list_file_url-instance_method
|
110
|
+
def get_price_list_file_url: (
|
111
|
+
price_list_arn: ::String,
|
112
|
+
file_format: ::String
|
113
|
+
) -> _GetPriceListFileUrlResponseSuccess
|
114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPriceListFileUrlResponseSuccess
|
115
|
+
|
116
|
+
interface _GetProductsResponseSuccess
|
117
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProductsResponse]
|
118
|
+
def format_version: () -> ::String
|
119
|
+
def price_list: () -> ::Array[::String]
|
120
|
+
def next_token: () -> ::String
|
121
|
+
end
|
122
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#get_products-instance_method
|
123
|
+
def get_products: (
|
124
|
+
service_code: ::String,
|
125
|
+
?filters: Array[
|
126
|
+
{
|
127
|
+
type: ("TERM_MATCH"),
|
128
|
+
field: ::String,
|
129
|
+
value: ::String
|
130
|
+
},
|
131
|
+
],
|
132
|
+
?format_version: ::String,
|
133
|
+
?next_token: ::String,
|
134
|
+
?max_results: ::Integer
|
135
|
+
) -> _GetProductsResponseSuccess
|
136
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProductsResponseSuccess
|
137
|
+
|
138
|
+
interface _ListPriceListsResponseSuccess
|
139
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPriceListsResponse]
|
140
|
+
def price_lists: () -> ::Array[Types::PriceList]
|
141
|
+
def next_token: () -> ::String
|
142
|
+
end
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Client.html#list_price_lists-instance_method
|
144
|
+
def list_price_lists: (
|
145
|
+
service_code: ::String,
|
146
|
+
effective_date: ::Time,
|
147
|
+
?region_code: ::String,
|
148
|
+
currency_code: ::String,
|
149
|
+
?next_token: ::String,
|
150
|
+
?max_results: ::Integer
|
151
|
+
) -> _ListPriceListsResponseSuccess
|
152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPriceListsResponseSuccess
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Pricing
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ExpiredNextTokenException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalErrorException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class InvalidNextTokenException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class InvalidParameterException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Pricing
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Pricing/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Pricing
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AttributeValue
|
17
|
+
attr_accessor value: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class DescribeServicesRequest
|
22
|
+
attr_accessor service_code: ::String
|
23
|
+
attr_accessor format_version: ::String
|
24
|
+
attr_accessor next_token: ::String
|
25
|
+
attr_accessor max_results: ::Integer
|
26
|
+
SENSITIVE: []
|
27
|
+
end
|
28
|
+
|
29
|
+
class DescribeServicesResponse
|
30
|
+
attr_accessor services: ::Array[Types::Service]
|
31
|
+
attr_accessor format_version: ::String
|
32
|
+
attr_accessor next_token: ::String
|
33
|
+
SENSITIVE: []
|
34
|
+
end
|
35
|
+
|
36
|
+
class ExpiredNextTokenException
|
37
|
+
attr_accessor message: ::String
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class Filter
|
42
|
+
attr_accessor type: ("TERM_MATCH")
|
43
|
+
attr_accessor field: ::String
|
44
|
+
attr_accessor value: ::String
|
45
|
+
SENSITIVE: []
|
46
|
+
end
|
47
|
+
|
48
|
+
class GetAttributeValuesRequest
|
49
|
+
attr_accessor service_code: ::String
|
50
|
+
attr_accessor attribute_name: ::String
|
51
|
+
attr_accessor next_token: ::String
|
52
|
+
attr_accessor max_results: ::Integer
|
53
|
+
SENSITIVE: []
|
54
|
+
end
|
55
|
+
|
56
|
+
class GetAttributeValuesResponse
|
57
|
+
attr_accessor attribute_values: ::Array[Types::AttributeValue]
|
58
|
+
attr_accessor next_token: ::String
|
59
|
+
SENSITIVE: []
|
60
|
+
end
|
61
|
+
|
62
|
+
class GetPriceListFileUrlRequest
|
63
|
+
attr_accessor price_list_arn: ::String
|
64
|
+
attr_accessor file_format: ::String
|
65
|
+
SENSITIVE: []
|
66
|
+
end
|
67
|
+
|
68
|
+
class GetPriceListFileUrlResponse
|
69
|
+
attr_accessor url: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class GetProductsRequest
|
74
|
+
attr_accessor service_code: ::String
|
75
|
+
attr_accessor filters: ::Array[Types::Filter]
|
76
|
+
attr_accessor format_version: ::String
|
77
|
+
attr_accessor next_token: ::String
|
78
|
+
attr_accessor max_results: ::Integer
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class GetProductsResponse
|
83
|
+
attr_accessor format_version: ::String
|
84
|
+
attr_accessor price_list: ::Array[::String]
|
85
|
+
attr_accessor next_token: ::String
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
89
|
+
class InternalErrorException
|
90
|
+
attr_accessor message: ::String
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class InvalidNextTokenException
|
95
|
+
attr_accessor message: ::String
|
96
|
+
SENSITIVE: []
|
97
|
+
end
|
98
|
+
|
99
|
+
class InvalidParameterException
|
100
|
+
attr_accessor message: ::String
|
101
|
+
SENSITIVE: []
|
102
|
+
end
|
103
|
+
|
104
|
+
class ListPriceListsRequest
|
105
|
+
attr_accessor service_code: ::String
|
106
|
+
attr_accessor effective_date: ::Time
|
107
|
+
attr_accessor region_code: ::String
|
108
|
+
attr_accessor currency_code: ::String
|
109
|
+
attr_accessor next_token: ::String
|
110
|
+
attr_accessor max_results: ::Integer
|
111
|
+
SENSITIVE: []
|
112
|
+
end
|
113
|
+
|
114
|
+
class ListPriceListsResponse
|
115
|
+
attr_accessor price_lists: ::Array[Types::PriceList]
|
116
|
+
attr_accessor next_token: ::String
|
117
|
+
SENSITIVE: []
|
118
|
+
end
|
119
|
+
|
120
|
+
class NotFoundException
|
121
|
+
attr_accessor message: ::String
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class PriceList
|
126
|
+
attr_accessor price_list_arn: ::String
|
127
|
+
attr_accessor region_code: ::String
|
128
|
+
attr_accessor currency_code: ::String
|
129
|
+
attr_accessor file_formats: ::Array[::String]
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class Service
|
134
|
+
attr_accessor service_code: ::String
|
135
|
+
attr_accessor attribute_names: ::Array[::String]
|
136
|
+
SENSITIVE: []
|
137
|
+
end
|
138
|
+
|
139
|
+
class ThrottlingException
|
140
|
+
attr_accessor message: ::String
|
141
|
+
SENSITIVE: []
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Pricing
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
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.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-09 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.191.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.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,18 @@ files:
|
|
67
67
|
- lib/aws-sdk-pricing/resource.rb
|
68
68
|
- lib/aws-sdk-pricing/types.rb
|
69
69
|
- lib/aws-sdk-pricing/waiters.rb
|
70
|
+
- sig/client.rbs
|
71
|
+
- sig/errors.rbs
|
72
|
+
- sig/resource.rbs
|
73
|
+
- sig/types.rbs
|
74
|
+
- sig/waiters.rbs
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
71
76
|
licenses:
|
72
77
|
- Apache-2.0
|
73
78
|
metadata:
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pricing
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pricing/CHANGELOG.md
|
76
|
-
post_install_message:
|
81
|
+
post_install_message:
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
- !ruby/object:Gem::Version
|
89
94
|
version: '0'
|
90
95
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
96
|
+
rubygems_version: 3.4.10
|
97
|
+
signing_key:
|
93
98
|
specification_version: 4
|
94
99
|
summary: AWS SDK for Ruby - AWS Pricing
|
95
100
|
test_files: []
|