aws-sdk-pricing 1.45.0 → 1.47.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 -54
- data/lib/aws-sdk-pricing/client_api.rb +15 -15
- data/lib/aws-sdk-pricing/waiters.rb +15 -0
- data/lib/aws-sdk-pricing.rb +2 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68feb3d55757c73a0d3bb48827e94c1ad42b935e5b915d0dcf172124b8f5fce
|
4
|
+
data.tar.gz: ea53f1b9199ce664ae005aadd42ab9605b3a61f33ec24b2768504e74c117c29b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e56d3a15179bc683272c68ebdc6e710ce856749abb0e1ad4449861ccc83e016d19abf3ef8e20ad94dc57bd67ebf29cc55244c0547700b49342097f49456aa7b
|
7
|
+
data.tar.gz: f5fc11e765a63b85410901d4ab80e8c687afff63f9322eb4fb601199edcdccc04b66f28bf21681832cae1dac73cf32d009329247e6e875b4e63c03734f85d2f9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2023-06-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2023-06-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release updates the PriceListArn regex pattern.
|
13
|
+
|
4
14
|
1.45.0 (2023-06-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -417,35 +417,6 @@ module Aws::Pricing
|
|
417
417
|
#
|
418
418
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
419
419
|
#
|
420
|
-
#
|
421
|
-
# @example Example: To retrieve a list of services and service codes
|
422
|
-
#
|
423
|
-
# # Retrieves the service for the given Service Code.
|
424
|
-
#
|
425
|
-
# resp = client.describe_services({
|
426
|
-
# format_version: "aws_v1",
|
427
|
-
# max_results: 1,
|
428
|
-
# service_code: "AmazonEC2",
|
429
|
-
# })
|
430
|
-
#
|
431
|
-
# resp.to_h outputs the following:
|
432
|
-
# {
|
433
|
-
# format_version: "aws_v1",
|
434
|
-
# next_token: "abcdefg123",
|
435
|
-
# services: [
|
436
|
-
# {
|
437
|
-
# attribute_names: [
|
438
|
-
# "volumeType",
|
439
|
-
# "maxIopsvolume",
|
440
|
-
# "instanceCapacity10xlarge",
|
441
|
-
# "locationType",
|
442
|
-
# "operation",
|
443
|
-
# ],
|
444
|
-
# service_code: "AmazonEC2",
|
445
|
-
# },
|
446
|
-
# ],
|
447
|
-
# }
|
448
|
-
#
|
449
420
|
# @example Request syntax with placeholder values
|
450
421
|
#
|
451
422
|
# resp = client.describe_services({
|
@@ -506,30 +477,6 @@ module Aws::Pricing
|
|
506
477
|
#
|
507
478
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
508
479
|
#
|
509
|
-
#
|
510
|
-
# @example Example: To retrieve a list of attribute values
|
511
|
-
#
|
512
|
-
# # This operation returns a list of values available for the given attribute.
|
513
|
-
#
|
514
|
-
# resp = client.get_attribute_values({
|
515
|
-
# attribute_name: "volumeType",
|
516
|
-
# max_results: 2,
|
517
|
-
# service_code: "AmazonEC2",
|
518
|
-
# })
|
519
|
-
#
|
520
|
-
# resp.to_h outputs the following:
|
521
|
-
# {
|
522
|
-
# attribute_values: [
|
523
|
-
# {
|
524
|
-
# value: "Throughput Optimized HDD",
|
525
|
-
# },
|
526
|
-
# {
|
527
|
-
# value: "Provisioned IOPS",
|
528
|
-
# },
|
529
|
-
# ],
|
530
|
-
# next_token: "GpgauEXAMPLEezucl5LV0w==:7GzYJ0nw0DBTJ2J66EoTIIynE6O1uXwQtTRqioJzQadBnDVgHPzI1en4BUQnPCLpzeBk9RQQAWaFieA4+DapFAGLgk+Z/9/cTw9GldnPOHN98+FdmJP7wKU3QQpQ8MQr5KOeBkIsAqvAQYdL0DkL7tHwPtE5iCEByAmg9gcC/yBU1vAOsf7R3VaNN4M5jMDv3woSWqASSIlBVB6tgW78YL22KhssoItM/jWW+aP6Jqtq4mldxp/ct6DWAl+xLFwHU/CbketimPPXyqHF3/UXDw==",
|
531
|
-
# }
|
532
|
-
#
|
533
480
|
# @example Request syntax with placeholder values
|
534
481
|
#
|
535
482
|
# resp = client.get_attribute_values({
|
@@ -781,7 +728,7 @@ module Aws::Pricing
|
|
781
728
|
params: params,
|
782
729
|
config: config)
|
783
730
|
context[:gem_name] = 'aws-sdk-pricing'
|
784
|
-
context[:gem_version] = '1.
|
731
|
+
context[:gem_version] = '1.47.0'
|
785
732
|
Seahorse::Client::Request.new(handlers, context)
|
786
733
|
end
|
787
734
|
|
@@ -43,7 +43,6 @@ module Aws::Pricing
|
|
43
43
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
44
44
|
PriceList = Shapes::StructureShape.new(name: 'PriceList')
|
45
45
|
PriceListArn = Shapes::StringShape.new(name: 'PriceListArn')
|
46
|
-
PriceListJsonItem = Shapes::StringShape.new(name: 'PriceListJsonItem')
|
47
46
|
PriceListJsonItems = Shapes::ListShape.new(name: 'PriceListJsonItems')
|
48
47
|
PriceLists = Shapes::ListShape.new(name: 'PriceLists')
|
49
48
|
RegionCode = Shapes::StringShape.new(name: 'RegionCode')
|
@@ -51,6 +50,7 @@ module Aws::Pricing
|
|
51
50
|
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
|
52
51
|
ServiceList = Shapes::ListShape.new(name: 'ServiceList')
|
53
52
|
String = Shapes::StringShape.new(name: 'String')
|
53
|
+
SynthesizedJsonPriceListJsonItem = Shapes::StringShape.new(name: 'SynthesizedJsonPriceListJsonItem')
|
54
54
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
55
55
|
|
56
56
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
@@ -66,7 +66,7 @@ module Aws::Pricing
|
|
66
66
|
DescribeServicesRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "ServiceCode"))
|
67
67
|
DescribeServicesRequest.add_member(:format_version, Shapes::ShapeRef.new(shape: String, location_name: "FormatVersion"))
|
68
68
|
DescribeServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
69
|
-
DescribeServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"
|
69
|
+
DescribeServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
70
70
|
DescribeServicesRequest.struct_class = Types::DescribeServicesRequest
|
71
71
|
|
72
72
|
DescribeServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "Services"))
|
@@ -89,7 +89,7 @@ module Aws::Pricing
|
|
89
89
|
GetAttributeValuesRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
|
90
90
|
GetAttributeValuesRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AttributeName"))
|
91
91
|
GetAttributeValuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
92
|
-
GetAttributeValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"
|
92
|
+
GetAttributeValuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
93
93
|
GetAttributeValuesRequest.struct_class = Types::GetAttributeValuesRequest
|
94
94
|
|
95
95
|
GetAttributeValuesResponse.add_member(:attribute_values, Shapes::ShapeRef.new(shape: AttributeValueList, location_name: "AttributeValues"))
|
@@ -107,7 +107,7 @@ module Aws::Pricing
|
|
107
107
|
GetProductsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
108
108
|
GetProductsRequest.add_member(:format_version, Shapes::ShapeRef.new(shape: String, location_name: "FormatVersion"))
|
109
109
|
GetProductsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
110
|
-
GetProductsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"
|
110
|
+
GetProductsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "MaxResults"))
|
111
111
|
GetProductsRequest.struct_class = Types::GetProductsRequest
|
112
112
|
|
113
113
|
GetProductsResponse.add_member(:format_version, Shapes::ShapeRef.new(shape: String, location_name: "FormatVersion"))
|
@@ -145,7 +145,7 @@ module Aws::Pricing
|
|
145
145
|
PriceList.add_member(:file_formats, Shapes::ShapeRef.new(shape: FileFormats, location_name: "FileFormats"))
|
146
146
|
PriceList.struct_class = Types::PriceList
|
147
147
|
|
148
|
-
PriceListJsonItems.member = Shapes::ShapeRef.new(shape:
|
148
|
+
PriceListJsonItems.member = Shapes::ShapeRef.new(shape: SynthesizedJsonPriceListJsonItem, metadata: {"jsonvalue"=>true})
|
149
149
|
|
150
150
|
PriceLists.member = Shapes::ShapeRef.new(shape: PriceList)
|
151
151
|
|
@@ -181,10 +181,10 @@ module Aws::Pricing
|
|
181
181
|
o.http_request_uri = "/"
|
182
182
|
o.input = Shapes::ShapeRef.new(shape: DescribeServicesRequest)
|
183
183
|
o.output = Shapes::ShapeRef.new(shape: DescribeServicesResponse)
|
184
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
185
184
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
186
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
187
185
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
186
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
187
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
188
188
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
189
189
|
o[:pager] = Aws::Pager.new(
|
190
190
|
limit_key: "max_results",
|
@@ -200,10 +200,10 @@ module Aws::Pricing
|
|
200
200
|
o.http_request_uri = "/"
|
201
201
|
o.input = Shapes::ShapeRef.new(shape: GetAttributeValuesRequest)
|
202
202
|
o.output = Shapes::ShapeRef.new(shape: GetAttributeValuesResponse)
|
203
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
204
203
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
205
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
206
204
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
205
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
206
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
207
207
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
208
208
|
o[:pager] = Aws::Pager.new(
|
209
209
|
limit_key: "max_results",
|
@@ -219,10 +219,10 @@ module Aws::Pricing
|
|
219
219
|
o.http_request_uri = "/"
|
220
220
|
o.input = Shapes::ShapeRef.new(shape: GetPriceListFileUrlRequest)
|
221
221
|
o.output = Shapes::ShapeRef.new(shape: GetPriceListFileUrlResponse)
|
222
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
223
222
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
224
223
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
225
224
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
225
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
226
226
|
end)
|
227
227
|
|
228
228
|
api.add_operation(:get_products, Seahorse::Model::Operation.new.tap do |o|
|
@@ -231,10 +231,10 @@ module Aws::Pricing
|
|
231
231
|
o.http_request_uri = "/"
|
232
232
|
o.input = Shapes::ShapeRef.new(shape: GetProductsRequest)
|
233
233
|
o.output = Shapes::ShapeRef.new(shape: GetProductsResponse)
|
234
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
235
234
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
236
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
237
235
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
236
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
237
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
238
238
|
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
239
239
|
o[:pager] = Aws::Pager.new(
|
240
240
|
limit_key: "max_results",
|
@@ -250,12 +250,12 @@ module Aws::Pricing
|
|
250
250
|
o.http_request_uri = "/"
|
251
251
|
o.input = Shapes::ShapeRef.new(shape: ListPriceListsRequest)
|
252
252
|
o.output = Shapes::ShapeRef.new(shape: ListPriceListsResponse)
|
253
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
254
253
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
255
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
256
254
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
257
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
255
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
258
256
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
257
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
258
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
|
259
259
|
o[:pager] = Aws::Pager.new(
|
260
260
|
limit_key: "max_results",
|
261
261
|
tokens: {
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::Pricing
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
data/lib/aws-sdk-pricing.rb
CHANGED
@@ -16,6 +16,7 @@ require_relative 'aws-sdk-pricing/client_api'
|
|
16
16
|
require_relative 'aws-sdk-pricing/plugins/endpoints.rb'
|
17
17
|
require_relative 'aws-sdk-pricing/client'
|
18
18
|
require_relative 'aws-sdk-pricing/errors'
|
19
|
+
require_relative 'aws-sdk-pricing/waiters'
|
19
20
|
require_relative 'aws-sdk-pricing/resource'
|
20
21
|
require_relative 'aws-sdk-pricing/endpoint_parameters'
|
21
22
|
require_relative 'aws-sdk-pricing/endpoint_provider'
|
@@ -52,6 +53,6 @@ require_relative 'aws-sdk-pricing/customizations'
|
|
52
53
|
# @!group service
|
53
54
|
module Aws::Pricing
|
54
55
|
|
55
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.47.0'
|
56
57
|
|
57
58
|
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.47.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: 2023-06-
|
11
|
+
date: 2023-06-28 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.176.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.176.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/aws-sdk-pricing/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-pricing/resource.rb
|
68
68
|
- lib/aws-sdk-pricing/types.rb
|
69
|
+
- lib/aws-sdk-pricing/waiters.rb
|
69
70
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
71
|
licenses:
|
71
72
|
- Apache-2.0
|