aws-sdk-pricing 1.44.0 → 1.46.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: baf7ab4d4d1fbe792a602c1599f22dfddc2be6e607108f964125f11f3d2e2b6e
4
- data.tar.gz: 3ac092ba352321bcd402aa79f091037693aecfbadff0470aa1f61df2fb05074d
3
+ metadata.gz: 7d4b8e4d8f25d5659a332da60ff198caf855c9d9900aea2233d5ca5dbc2572ed
4
+ data.tar.gz: 0ebda1682432c82a2651cd8713930cc8580b9da4e11d850a033c9537abadf247
5
5
  SHA512:
6
- metadata.gz: 805fd0ab3a6475d6e5707627693100e521fbe95387da08639192a032029cab530276185d1741b07c98811c73dd88c898a6a3f1312037e50724ef410bceab632b
7
- data.tar.gz: 1cfe15fe873e1a97617acc98f7e89f600aaefa94f970d47665b845aaefb6c23c66e1d3c565e6f9bd8c35501ba6319baf24aaf45080508ed8bf4c8b81f5e83a12
6
+ metadata.gz: 8906387896efb933785a85ecf4c4c56d987aaa3e65857dee0f5a7983e01a7cf9fd8f20dec6096519fd578752a710ecf73a9407b4a1ab465b1a16f2dc0fd9b415
7
+ data.tar.gz: 3a47aab253f1828b51d7c40a6cbbab391723a3ddf85d71cbb736893a4018808018113c5a4a6f81327eda18c99c0b42afad347881e81b0966ba4bfab50aab0051
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-06-19)
5
+ ------------------
6
+
7
+ * Feature - This release updates the PriceListArn regex pattern.
8
+
9
+ 1.45.0 (2023-06-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.44.0 (2023-05-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.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.44.0'
731
+ context[:gem_version] = '1.46.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", metadata: {"box"=>true}))
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", metadata: {"box"=>true}))
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", metadata: {"box"=>true}))
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: PriceListJsonItem, metadata: {"jsonvalue"=>true})
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: ExpiredNextTokenException)
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: {
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::Pricing
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class DescribeServices
@@ -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
@@ -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.44.0'
56
+ GEM_VERSION = '1.46.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.44.0
4
+ version: 1.46.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-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -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