aws-sdk-pricing 1.45.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: 6f54d76c0302c4c431d1eeee834b41bb19a10417b642502b462cec3df549ed8b
4
- data.tar.gz: 0b748a43fb88a40a11a1623a6607ba3d903a2c3334a293e898d192db9738086c
3
+ metadata.gz: 7d4b8e4d8f25d5659a332da60ff198caf855c9d9900aea2233d5ca5dbc2572ed
4
+ data.tar.gz: 0ebda1682432c82a2651cd8713930cc8580b9da4e11d850a033c9537abadf247
5
5
  SHA512:
6
- metadata.gz: a4145becb3529fa91a2f2873cb0d329e7ca391285e64fa5311d6ad5c3a1e3aa23e66cee7e584abf84fcf9f8c1cb5d3d38118716b81196563f776aabc5d8c247f
7
- data.tar.gz: 764916e4d5a65a335297941f80611849e629ee6a565c8ef426fcf631f88a6483c4f0064361091f276a66170af3160a2a1c339f44439755df25a83ff7c2caeda9
6
+ metadata.gz: 8906387896efb933785a85ecf4c4c56d987aaa3e65857dee0f5a7983e01a7cf9fd8f20dec6096519fd578752a710ecf73a9407b4a1ab465b1a16f2dc0fd9b415
7
+ data.tar.gz: 3a47aab253f1828b51d7c40a6cbbab391723a3ddf85d71cbb736893a4018808018113c5a4a6f81327eda18c99c0b42afad347881e81b0966ba4bfab50aab0051
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.45.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.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.45.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: {
@@ -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.45.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.45.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-06-15 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