aws-sdk-pricing 1.67.0 → 1.69.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 +54 -3
- data/lib/aws-sdk-pricing/client_api.rb +2 -0
- data/lib/aws-sdk-pricing.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7cd2acc6fad8eebd7a5d0577d3494d58bc5ed64a2e9918b0f00823df44a5d79
|
4
|
+
data.tar.gz: e580f78f1d4b2b72d1de019d2a12fe972dcc9a40a708ce8dec7bed5a979f2720
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faca69ac38772f95661b1061720926f835dd9c221da2a4fbbedbea883e411904239d4e05a42815d8f8c2a7968910ad403cf512eb62fbfd1008946f2129c8a42a
|
7
|
+
data.tar.gz: eb494c23966b0da178f598e79360839549250d75dfdee93313504629033c14b4d757dcbaae7af49333d312ba782472e8bef502c69d2d949b2eb1d2af3adeedfe
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2024-09-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add examples for API operations in model.
|
8
|
+
|
9
|
+
1.68.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.67.0 (2024-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:pricing)
|
40
|
-
|
41
39
|
module Aws::Pricing
|
42
40
|
# An API client for Pricing. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -490,6 +488,35 @@ module Aws::Pricing
|
|
490
488
|
#
|
491
489
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
492
490
|
#
|
491
|
+
#
|
492
|
+
# @example Example: To retrieve a list of services and service codes
|
493
|
+
#
|
494
|
+
# # Retrieves the service for the given Service Code.
|
495
|
+
#
|
496
|
+
# resp = client.describe_services({
|
497
|
+
# format_version: "aws_v1",
|
498
|
+
# max_results: 1,
|
499
|
+
# service_code: "AmazonEC2",
|
500
|
+
# })
|
501
|
+
#
|
502
|
+
# resp.to_h outputs the following:
|
503
|
+
# {
|
504
|
+
# format_version: "aws_v1",
|
505
|
+
# next_token: "abcdefg123",
|
506
|
+
# services: [
|
507
|
+
# {
|
508
|
+
# attribute_names: [
|
509
|
+
# "volumeType",
|
510
|
+
# "maxIopsvolume",
|
511
|
+
# "instanceCapacity10xlarge",
|
512
|
+
# "locationType",
|
513
|
+
# "operation",
|
514
|
+
# ],
|
515
|
+
# service_code: "AmazonEC2",
|
516
|
+
# },
|
517
|
+
# ],
|
518
|
+
# }
|
519
|
+
#
|
493
520
|
# @example Request syntax with placeholder values
|
494
521
|
#
|
495
522
|
# resp = client.describe_services({
|
@@ -550,6 +577,30 @@ module Aws::Pricing
|
|
550
577
|
#
|
551
578
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
552
579
|
#
|
580
|
+
#
|
581
|
+
# @example Example: To retrieve a list of attribute values
|
582
|
+
#
|
583
|
+
# # This operation returns a list of values available for the given attribute.
|
584
|
+
#
|
585
|
+
# resp = client.get_attribute_values({
|
586
|
+
# attribute_name: "volumeType",
|
587
|
+
# max_results: 2,
|
588
|
+
# service_code: "AmazonEC2",
|
589
|
+
# })
|
590
|
+
#
|
591
|
+
# resp.to_h outputs the following:
|
592
|
+
# {
|
593
|
+
# attribute_values: [
|
594
|
+
# {
|
595
|
+
# value: "Throughput Optimized HDD",
|
596
|
+
# },
|
597
|
+
# {
|
598
|
+
# value: "Provisioned IOPS",
|
599
|
+
# },
|
600
|
+
# ],
|
601
|
+
# next_token: "GpgauEXAMPLEezucl5LV0w==:7GzYJ0nw0DBTJ2J66EoTIIynE6O1uXwQtTRqioJzQadBnDVgHPzI1en4BUQnPCLpzeBk9RQQAWaFieA4+DapFAGLgk+Z/9/cTw9GldnPOHN98+FdmJP7wKU3QQpQ8MQr5KOeBkIsAqvAQYdL0DkL7tHwPtE5iCEByAmg9gcC/yBU1vAOsf7R3VaNN4M5jMDv3woSWqASSIlBVB6tgW78YL22KhssoItM/jWW+aP6Jqtq4mldxp/ct6DWAl+xLFwHU/CbketimPPXyqHF3/UXDw==",
|
602
|
+
# }
|
603
|
+
#
|
553
604
|
# @example Request syntax with placeholder values
|
554
605
|
#
|
555
606
|
# resp = client.get_attribute_values({
|
@@ -806,7 +857,7 @@ module Aws::Pricing
|
|
806
857
|
tracer: tracer
|
807
858
|
)
|
808
859
|
context[:gem_name] = 'aws-sdk-pricing'
|
809
|
-
context[:gem_version] = '1.
|
860
|
+
context[:gem_version] = '1.69.0'
|
810
861
|
Seahorse::Client::Request.new(handlers, context)
|
811
862
|
end
|
812
863
|
|
@@ -172,9 +172,11 @@ module Aws::Pricing
|
|
172
172
|
|
173
173
|
api.metadata = {
|
174
174
|
"apiVersion" => "2017-10-15",
|
175
|
+
"auth" => ["aws.auth#sigv4"],
|
175
176
|
"endpointPrefix" => "api.pricing",
|
176
177
|
"jsonVersion" => "1.1",
|
177
178
|
"protocol" => "json",
|
179
|
+
"protocols" => ["json"],
|
178
180
|
"serviceAbbreviation" => "AWS Pricing",
|
179
181
|
"serviceFullName" => "AWS Price List Service",
|
180
182
|
"serviceId" => "Pricing",
|
data/lib/aws-sdk-pricing.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:pricing)
|
15
|
+
|
14
16
|
# This module provides support for AWS Price List Service. This module is available in the
|
15
17
|
# `aws-sdk-pricing` gem.
|
16
18
|
#
|
@@ -53,7 +55,7 @@ module Aws::Pricing
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-pricing/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-pricing/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.69.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|
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.69.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: 2024-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Price List Service (AWS Pricing). This
|
48
48
|
gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|