aws-sdk-pricing 1.17.0 → 1.22.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 +4 -2
- data/lib/aws-sdk-pricing/client.rb +38 -14
- data/lib/aws-sdk-pricing/client_api.rb +2 -0
- data/lib/aws-sdk-pricing/errors.rb +2 -0
- data/lib/aws-sdk-pricing/resource.rb +3 -7
- data/lib/aws-sdk-pricing/types.rb +16 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36466eb434faba0dfd04889863d687f33a7cf8932a47e3bbc6eeabef73d14720
|
4
|
+
data.tar.gz: 279e49bc6341c0c4bc042133a8793bdee80dc78483b3a233d325ec596e7a1d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a94499484b88ed29bf0d28f3cdb8bd9e8c9318bceec5ae4a553ea53c93275adaf169cfb248d4c69dbb5445c649bd201259406b03b212fe489599bf5cec3793
|
7
|
+
data.tar.gz: 9b3d860fd26341e89d3807966eed0ff99fa049243dd105dc9837152246c1b531c5c19c4fb5e9452ff3134d5987b4f69cd8df8b3dff075d8971b866722532c6fe
|
data/lib/aws-sdk-pricing.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-pricing/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::Pricing
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.22.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Pricing
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Pricing
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,15 +116,15 @@ module Aws::Pricing
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
107
126
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
127
|
+
# a default `:region` is searched for in the following locations:
|
109
128
|
#
|
110
129
|
# * `Aws.config[:region]`
|
111
130
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +180,7 @@ module Aws::Pricing
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +195,7 @@ module Aws::Pricing
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -279,8 +298,7 @@ module Aws::Pricing
|
|
279
298
|
#
|
280
299
|
# @option options [Integer] :http_read_timeout (60) The default
|
281
300
|
# number of seconds to wait for response data. This value can
|
282
|
-
# safely be set
|
283
|
-
# per-request on the session yielded by {#session_for}.
|
301
|
+
# safely be set per-request on the session.
|
284
302
|
#
|
285
303
|
# @option options [Float] :http_idle_timeout (5) The number of
|
286
304
|
# seconds a connection is allowed to sit idle before it is
|
@@ -292,7 +310,7 @@ module Aws::Pricing
|
|
292
310
|
# request body. This option has no effect unless the request has
|
293
311
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
294
312
|
# disables this behaviour. This value can safely be set per
|
295
|
-
# request on the session
|
313
|
+
# request on the session.
|
296
314
|
#
|
297
315
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
298
316
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -351,6 +369,8 @@ module Aws::Pricing
|
|
351
369
|
# * {Types::DescribeServicesResponse#format_version #format_version} => String
|
352
370
|
# * {Types::DescribeServicesResponse#next_token #next_token} => String
|
353
371
|
#
|
372
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
373
|
+
#
|
354
374
|
#
|
355
375
|
# @example Example: To retrieve a list of services and service codes
|
356
376
|
#
|
@@ -436,6 +456,8 @@ module Aws::Pricing
|
|
436
456
|
# * {Types::GetAttributeValuesResponse#attribute_values #attribute_values} => Array<Types::AttributeValue>
|
437
457
|
# * {Types::GetAttributeValuesResponse#next_token #next_token} => String
|
438
458
|
#
|
459
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
460
|
+
#
|
439
461
|
#
|
440
462
|
# @example Example: To retrieve a list of attribute values
|
441
463
|
#
|
@@ -511,6 +533,8 @@ module Aws::Pricing
|
|
511
533
|
# * {Types::GetProductsResponse#price_list #price_list} => Array<String>
|
512
534
|
# * {Types::GetProductsResponse#next_token #next_token} => String
|
513
535
|
#
|
536
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
537
|
+
#
|
514
538
|
#
|
515
539
|
# @example Example: To retrieve a list of products
|
516
540
|
#
|
@@ -587,7 +611,7 @@ module Aws::Pricing
|
|
587
611
|
params: params,
|
588
612
|
config: config)
|
589
613
|
context[:gem_name] = 'aws-sdk-pricing'
|
590
|
-
context[:gem_version] = '1.
|
614
|
+
context[:gem_version] = '1.22.0'
|
591
615
|
Seahorse::Client::Request.new(handlers, context)
|
592
616
|
end
|
593
617
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Pricing
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Pricing::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Pricing::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Pricing::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -19,6 +21,7 @@ module Aws::Pricing
|
|
19
21
|
#
|
20
22
|
class AttributeValue < Struct.new(
|
21
23
|
:value)
|
24
|
+
SENSITIVE = []
|
22
25
|
include Aws::Structure
|
23
26
|
end
|
24
27
|
|
@@ -62,6 +65,7 @@ module Aws::Pricing
|
|
62
65
|
:format_version,
|
63
66
|
:next_token,
|
64
67
|
:max_results)
|
68
|
+
SENSITIVE = []
|
65
69
|
include Aws::Structure
|
66
70
|
end
|
67
71
|
|
@@ -83,6 +87,7 @@ module Aws::Pricing
|
|
83
87
|
:services,
|
84
88
|
:format_version,
|
85
89
|
:next_token)
|
90
|
+
SENSITIVE = []
|
86
91
|
include Aws::Structure
|
87
92
|
end
|
88
93
|
|
@@ -95,6 +100,7 @@ module Aws::Pricing
|
|
95
100
|
#
|
96
101
|
class ExpiredNextTokenException < Struct.new(
|
97
102
|
:message)
|
103
|
+
SENSITIVE = []
|
98
104
|
include Aws::Structure
|
99
105
|
end
|
100
106
|
|
@@ -144,6 +150,7 @@ module Aws::Pricing
|
|
144
150
|
:type,
|
145
151
|
:field,
|
146
152
|
:value)
|
153
|
+
SENSITIVE = []
|
147
154
|
include Aws::Structure
|
148
155
|
end
|
149
156
|
|
@@ -184,6 +191,7 @@ module Aws::Pricing
|
|
184
191
|
:attribute_name,
|
185
192
|
:next_token,
|
186
193
|
:max_results)
|
194
|
+
SENSITIVE = []
|
187
195
|
include Aws::Structure
|
188
196
|
end
|
189
197
|
|
@@ -203,6 +211,7 @@ module Aws::Pricing
|
|
203
211
|
class GetAttributeValuesResponse < Struct.new(
|
204
212
|
:attribute_values,
|
205
213
|
:next_token)
|
214
|
+
SENSITIVE = []
|
206
215
|
include Aws::Structure
|
207
216
|
end
|
208
217
|
|
@@ -255,6 +264,7 @@ module Aws::Pricing
|
|
255
264
|
:format_version,
|
256
265
|
:next_token,
|
257
266
|
:max_results)
|
267
|
+
SENSITIVE = []
|
258
268
|
include Aws::Structure
|
259
269
|
end
|
260
270
|
|
@@ -278,6 +288,7 @@ module Aws::Pricing
|
|
278
288
|
:format_version,
|
279
289
|
:price_list,
|
280
290
|
:next_token)
|
291
|
+
SENSITIVE = []
|
281
292
|
include Aws::Structure
|
282
293
|
end
|
283
294
|
|
@@ -291,6 +302,7 @@ module Aws::Pricing
|
|
291
302
|
#
|
292
303
|
class InternalErrorException < Struct.new(
|
293
304
|
:message)
|
305
|
+
SENSITIVE = []
|
294
306
|
include Aws::Structure
|
295
307
|
end
|
296
308
|
|
@@ -303,6 +315,7 @@ module Aws::Pricing
|
|
303
315
|
#
|
304
316
|
class InvalidNextTokenException < Struct.new(
|
305
317
|
:message)
|
318
|
+
SENSITIVE = []
|
306
319
|
include Aws::Structure
|
307
320
|
end
|
308
321
|
|
@@ -315,6 +328,7 @@ module Aws::Pricing
|
|
315
328
|
#
|
316
329
|
class InvalidParameterException < Struct.new(
|
317
330
|
:message)
|
331
|
+
SENSITIVE = []
|
318
332
|
include Aws::Structure
|
319
333
|
end
|
320
334
|
|
@@ -327,6 +341,7 @@ module Aws::Pricing
|
|
327
341
|
#
|
328
342
|
class NotFoundException < Struct.new(
|
329
343
|
:message)
|
344
|
+
SENSITIVE = []
|
330
345
|
include Aws::Structure
|
331
346
|
end
|
332
347
|
|
@@ -346,6 +361,7 @@ module Aws::Pricing
|
|
346
361
|
class Service < Struct.new(
|
347
362
|
:service_code,
|
348
363
|
:attribute_names)
|
364
|
+
SENSITIVE = []
|
349
365
|
include Aws::Structure
|
350
366
|
end
|
351
367
|
|
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.22.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: 2020-
|
11
|
+
date: 2020-08-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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AWS Pricing
|